arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.09606cs.AI
收藏

MixKG:混合知识图谱中较硬的阴性样本

MixKG: Mixing for harder negative samples in knowledge graph

Feihu Che, Guohua Yang, Pengpeng Shao, Dawei Zhang, Jianhua Tao

摘要:

知识图谱嵌入(KGE)旨在将实体和关系表示为低维向量,以满足许多实际应用的需要。实体和关系的表征是通过对比积极和消极的三元组来学习的。因此,高质量的阴性样本在KGE中极其重要。然而,目前的KGE模型要么依赖于简单的负采样方法,这使得很难获得有信息的负三元组;要么采用复杂的对抗方法,这需要更多的训练数据和策略。此外,这些方法只能使用现有的实体构建负三元组,这限制了探索更难的负三元组的潜力。为了解决这些问题,我们采用混合操作来生成知识图谱的硬负样本,并介绍了一种廉价但有效的方法称为MixKG。在技术上,MixKG首先提出了两种标准来过滤样本底片中的硬底片三元组:基于评分函数和基于正确的实体相似度。然后,MixKG通过成对的选择的硬底片的凸组合来合成更硬的底片样本。在两个公开数据集和四种经典KGE方法上的实验表明,MixKG算法优于以往的负采样算法。

英文摘要:

Knowledge graph embedding~(KGE) aims to represent entities and relations into low-dimensional vectors for many real-world applications. The representations of entities and relations are learned via contrasting the positive and negative triplets. Thus, high-quality negative samples are extremely important in KGE. However, the present KGE models either rely on simple negative sampling methods, which makes it difficult to obtain informative negative triplets; or employ complex adversarial methods, which requires more training data and strategies. In addition, these methods can only construct negative triplets using the existing entities, which limits the potential to explore harder negative triplets. To address these issues, we adopt mixing operation in generating harder negative samples for knowledge graphs and introduce an inexpensive but effective method called MixKG. Technically, MixKG first proposes two kinds of criteria to filter hard negative triplets among the sampled negatives: based on scoring function and based on correct entity similarity. Then, MixKG synthesizes harder negative samples via the convex combinations of the paired selected hard negatives. Experiments on two public datasets and four classical KGE methods show MixKG is superior to previous negative sampling algorithms.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑