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

知识图谱上的多样化与自适应负采样

Diversified and Adaptive Negative Sampling on Knowledge Graphs

Singapore Management University(新加坡管理学院);Institute for Infocomm Research(信息与通信研究所);Beijing Normal University(北京师范大学)

Ran Liu, Zhongzhou Liu, Xiaoli Li, Hao Wu, Yuan Fang

AI总结:

针对知识图谱嵌入中负采样信息量不足的问题,提出生成对抗方法DANS,利用双向生成器和自适应机制增强负例多样性与细粒度,在三个基准上验证了有效性。

摘要:

在知识图谱嵌入中,除了正三元组(即知识图谱中的事实)之外,用于训练的负三元组也对模型性能有直接影响。实际上,由于知识图谱是稀疏且不完整的,负三元组往往缺乏明确的标签,因此它们通常通过各种采样策略获得(例如,随机替换正三元组中的一个实体)。一个理想的采样负三元组应具有足够的信息量,以帮助模型更好地训练。然而,现有方法在采样过程中往往忽视多样性和自适应性,这损害了负三元组的信息量。为此,我们提出了一种生成对抗方法,称为知识图谱上的多样化与自适应负采样(DANS)。DANS配备了一个双向生成器,通过两条路径生成更多样化的负三元组,以及一个自适应机制,通过为不同实体和关系定位全局生成器来产生更细粒度的示例。一方面,双向生成器通过更多样化的负例增加了整体信息量;另一方面,自适应机制通过更细粒度的采样增加了单个样本的信息量。最后,我们在三个基准知识图谱上评估了DANS的性能,通过定量和定性实验证明了其有效性。

英文摘要:

In knowledge graph embedding, aside from positive triplets (ie: facts in the knowledge graph), the negative triplets used for training also have a direct influence on the model performance. In reality, since knowledge graphs are sparse and incomplete, negative triplets often lack explicit labels, and thus they are often obtained from various sampling strategies (eg: randomly replacing an entity in a positive triplet). An ideal sampled negative triplet should be informative enough to help the model train better. However, existing methods often ignore diversity and adaptiveness in their sampling process, which harms the informativeness of negative triplets. As such, we propose a generative adversarial approach called Diversified and Adaptive Negative Sampling DANS on knowledge graphs. DANS is equipped with a two-way generator that generates more diverse negative triplets through two pathways, and an adaptive mechanism that produces more fine-grained examples by localizing the global generator for different entities and relations. On the one hand, the two-way generator increase the overall informativeness with more diverse negative examples; on the other hand, the adaptive mechanism increases the individual sample-wise informativeness with more fine-grained sampling. Finally, we evaluate the performance of DANS on three benchmark knowledge graphs to demonstrate its effectiveness through quantitative and qualitative experiments.

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

↑