Comprehensive Analysis of Negative Sampling in Knowledge Graph Representation Learning
Hidetaka Kamigaito, Katsuhiko Hayashi
摘要
Negative sampling (NS) loss plays an important role in learning knowledge graph embedding (KGE) to handle a huge number of entities. However, the performance of KGE degrades without hyperparameters such as the margin term and number of negative samples in NS loss being appropriately selected. Currently, empirical hyperparameter tuning addresses this problem at the cost of computational time. To solve this problem, we theoretically analyzed NS loss to assist hyperparameter tuning and understand the better use of the NS loss in KGE learning. Our theoretical analysis showed that scoring methods with restricted value ranges, such as TransE and RotatE, require appropriate adjustment of the margin term or the number of negative samples different from those without restricted value ranges, such as RESCAL, ComplEx, and DistMult. We also propose subsampling methods specialized for the NS loss in KGE studied from a theoretical aspect. Our empirical analysis on the FB15k-237, WN18RR, and YAGO3-10 datasets showed that the results of actually trained models agree with our theoretical findings.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Unified Interpretation of Softmax Cross-Entropy and Negative Sampling: With Case Study for Knowledge Graph Embedding 引用了 You CAN Teach an Old Dog New Tricks! On Training Knowledge Graph Embeddings
- Efficient Hyper-parameter Search for Knowledge Graph Embedding 引用了 You CAN Teach an Old Dog New Tricks! On Training Knowledge Graph Embeddings
引用它的顶会 Paper3
- Combating Bilateral Edge Noise for Robust Link PredictionZhanke Zhou, Jiangchao Yao, Jiaxu Liu, Xiawei Guo 等NeurIPS 2023 · 28 次引用
- Learning Representations for Hierarchies with Minimal SupportBenjamin Rozonoyer, Michael Boratko, Dhruvesh Patel, Wenlong Zhao 等NeurIPS 2024 · 1 次引用
- Towards Pattern-aware Data Augmentation for Temporal Knowledge Graph CompletionJiasheng Zhang, Deqiang Ouyang, Shuang Liang, Jie ShaoVLDB 2025
它引用的 Paper4
- Learning Hierarchy-Aware Knowledge Graph Embeddings for Link PredictionZhanqiu Zhang, Jianyu Cai, Yongdong Zhang, Jie WangAAAI 2020 · 481 次引用
- You CAN Teach an Old Dog New Tricks! On Training Knowledge Graph EmbeddingsDaniel Ruffinelli, Samuel Broscheit, Rainer GemullaICLR 2020 · 238 次引用
- Efficient Hyper-parameter Search for Knowledge Graph EmbeddingYongqi Zhang, Zhanke Zhou, Quanming Yao, Yong LiACL 2022 · 2 次引用
- Unified Interpretation of Softmax Cross-Entropy and Negative Sampling: With Case Study for Knowledge Graph EmbeddingHidetaka Kamigaito, Katsuhiko HayashiACL 2021
相关 Paper
- Efficient Non-Sampling Knowledge Graph EmbeddingZelong Li, Jianchao Ji, Zuohui Fu, Yingqiang Ge 等WWW 2021 · 41 次引用
- Knowledge Graph Embedding by Adaptive Limit Scoring Loss Using Dynamic Weighting StrategyJinfa Yang, Xianghua Ying, Yongjie Shi, Xin Tong 等ACL Findings 2022 · 5 次引用
- Improving Knowledge Graph Embedding Using Affine Transformations of Entities Corresponding to Each RelationJinfa Yang, Yongjie Shi, Xin Tong, Robin Wang 等EMNLP Findings 2021 · 5 次引用
- TranS: Transition-based Knowledge Graph Embedding with Synthetic Relation RepresentationXuanyu Zhang, Qing Yang, Dongliang XuEMNLP Findings 2022 · 14 次引用
- HaSa: Hardness and Structure-Aware Contrastive Knowledge Graph EmbeddingHonggen Zhang, June Zhang, Igor MolybogWWW 2024 · 13 次引用
