arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.04251cs.CLcs.LG
收藏

知识图谱嵌入中负采样损失函数平滑方法的统一解释

Unified Interpretation of Smoothing Methods for Negative Sampling Loss Functions in Knowledge Graph Embedding

Nara Institute of Science and Technology(奈良先端科学技术大学院大学);The University of Tokyo(东京大学)

Xincan Feng, Hidetaka Kamigaito, Katsuhiko Hayashi, Taro Watanabe

AI总结:

本文从理论上统一解释了知识图谱嵌入中负采样损失的平滑方法,并提出三元组自适应负采样(TANS),在多个模型和数据集上验证了其合理性与性能提升。

摘要:

知识图谱(KGs)是自然语言处理中知识密集型任务的基础资源。由于人工构建知识图谱存在局限性,知识图谱补全(KGC)通过知识图谱嵌入(KGE)对链接进行评分,在自动补全知识图谱方面具有重要作用。为了处理训练中的大量实体,KGE 依赖负采样(NS)损失,通过采样来降低计算成本。由于知识图谱中每个链接的出现频率至多为一,稀疏性是一个本质且不可避免的问题。NS 损失也不例外。作为一种解决方案,KGE 中的 NS 损失依赖平滑方法,如自对抗负采样(SANS)和子采样。然而,由于缺乏理论理解,何种平滑方法适合这一目的尚不确定。本文为 KGE 中 NS 损失的平滑方法提供了理论解释,并推导出一种新的 NS 损失,即三元组自适应负采样(TANS),它能够涵盖传统平滑方法的特性。TransE、DistMult、ComplEx、RotatE、HAKE 和 HousE 在 FB15k-237、WN18RR 和 YAGO3-10 数据集及其更稀疏子集上的实验结果表明了我们解释的合理性和 TANS 带来的性能提升。

英文摘要:

Knowledge Graphs (KGs) are fundamental resources in knowledge-intensive tasks in NLP. Due to the limitation of manually creating KGs, KG Completion (KGC) has an important role in automatically completing KGs by scoring their links with KG Embedding (KGE). To handle many entities in training, KGE relies on Negative Sampling (NS) loss that can reduce the computational cost by sampling. Since the appearance frequencies for each link are at most one in KGs, sparsity is an essential and inevitable problem. The NS loss is no exception. As a solution, the NS loss in KGE relies on smoothing methods like Self-Adversarial Negative Sampling (SANS) and subsampling. However, it is uncertain what kind of smoothing method is suitable for this purpose due to the lack of theoretical understanding. This paper provides theoretical interpretations of the smoothing methods for the NS loss in KGE and induces a new NS loss, Triplet Adaptive Negative Sampling (TANS), that can cover the characteristics of the conventional smoothing methods. Experimental results of TransE, DistMult, ComplEx, RotatE, HAKE, and HousE on FB15k-237, WN18RR, and YAGO3-10 datasets and their sparser subsets show the soundness of our interpretation and performance improvement by our TANS.

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

↑