We introduce KBGAN, an adversarial learning framework to improve the performances of a wide range of existing knowledge graph embedding models. Because knowledge graphs typically only contain positive facts, sampling useful negative training examples is a non-trivial task. Replacing the head or tail entity of a fact with a uniformly randomly selected entity is a conventional method for generating negative facts, but the majority of the generated negative facts can be easily discriminated from positive facts, and will contribute little towards the training. Inspired by generative adversarial networks (GANs), we use one knowledge graph embedding model as a negative sample generator to assist the training of our desired model, which acts as the discriminator in GANs. This framework is independent of the concrete form of generator and discriminator, and therefore can utilize a wide variety of knowledge graph embedding models as its building blocks. In experiments, we adversarially train two translation-based models, TransE and TransD, each with assistance from one of the two probability-based models, DistMult and ComplEx. We evaluate the performances of KBGAN on the link prediction task, using three knowledge base completion datasets: FB15k-237, WN18 and WN18RR. Experimental results show that adversarial training substantially improves the performances of target embedding models under various settings.
翻译:我们引入了KBGAN,这是一个改善现有大量知识图嵌入模型的功能的对抗性学习框架。由于知识图通常只包含正面事实,因此将有用的负面培训实例抽样是一种非三重任务。用一个统一随机选择的实体取代事实的正面或尾部实体是一种常规方法,可以产生负面事实,但产生的大多数负面事实很容易与积极事实区分开来,对培训贡献甚微。在基因化的对抗网络(GANs)的启发下,我们使用一个知识图嵌入模型作为负样样生成器,协助培训我们理想的模型,该模型在GANs中充当歧视者。这个框架独立于生成者和歧视者的具体形式,因此可以使用各种各样的知识图嵌入模型作为其构建基础。在实验中,我们用两种概率模型之一DistMult和ComplEx的帮助,我们评估KBGAN在链接预测任务中的性能,该模型是作为GAN在FRR17、三个基本实验性实验性数据显示的完成结果。