Efficient Non-Sampling Knowledge Graph Embedding
Zelong Li, Jianchao Ji, Zuohui Fu, Yingqiang Ge, Shuyuan Xu, Chong Chen, Yongfeng Zhang
Abstract
Knowledge Graph (KG) is a flexible structure that is able to describe the complex relationship between data entities. Currently, most KG embedding models are trained based on negative sampling, i.e., the model aims to maximize some similarity of the connected entities in the KG, while minimizing the similarity of the sampled disconnected entities. Negative sampling helps to reduce the time complexity of model learning by only considering a subset of negative instances, which may fail to deliver stable model performance due to the uncertainty in the sampling procedure. To avoid such deficiency, we propose a new framework for KG embedding-Efficient Non-Sampling Knowledge Graph Embedding (NS-KGE). The basic idea is to consider all of the negative instances in the KG for model learning, and thus to avoid negative sampling. The framework can be applied to square-loss based knowledge graph embedding models or models whose loss can be converted to a square loss. A natural side-effect of this non-sampling strategy is the increased computational complexity of model learning. To solve the problem, we leverage mathematical derivations to reduce the complexity of non-sampling loss function, which eventually provides us both better efficiency and better accuracy in KG embedding compared with existing models. Experiments on benchmark datasets show that our NS-KGE framework can achieve a better performance on efficiency and accuracy over traditional negative sampling based models, and that the framework is applicable to a large class of knowledge graph embedding models. CCS CONCEPTS • Computing methodologies → Knowledge representation and reasoning; Learning latent representations; Neural networks.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 4f894bef-8656-42c5-a29d-931cf4ee22c8Cited by top-tier papers5
- Relation-enhanced Negative Sampling for Multimodal Knowledge Graph CompletionDerong Xu, Tong Xu, Shiwei Wu, Jingbo Zhou et al.ACM MM 2022 · 89 citations
- CAKE: A Scalable Commonsense-Aware Framework For Multi-View Knowledge Graph CompletionGuanglin Niu, Bo Li, Yongfei Zhang, Shiliang PuACL 2022 · 56 citations
- Swift and Sure: Hardness-aware Contrastive Learning for Low-dimensional Knowledge Graph EmbeddingsKai Wang, Yu Liu, Quan Z. ShengWWW 2022 · 21 citations
- Can Persistent Homology provide an efficient alternative for Evaluation of Knowledge Graph Completion Methods?Anson Bastos, Kuldeep Singh, Abhishek Nadgeri, Johannes Hoffart et al.WWW 2023 · 4 citations
- Are We Wasting Time? A Fast, Accurate Performance Evaluation Framework for Knowledge Graph Link PredictorsFilip Cornell, Yifei Jin, Jussi Karlgren, Sarunas GirdzijauskasICDE 2025 · 1 citation
Builds on7
- Improving Conversational Recommender Systems via Knowledge Graph based Semantic FusionKun Zhou, Wayne Xin Zhao, Shuqing Bian, Yuanhang Zhou et al.KDD 2020 · 309 citations
- Fairness-Aware Explainable Recommendation over Knowledge GraphsZuohui Fu, Yikun Xian, Ruoyuan Gao, Jieyu Zhao et al.SIGIR 2020 · 198 citations
- Efficient Heterogeneous Collaborative Filtering without Negative Sampling for RecommendationChong Chen, Min Zhang, Yongfeng Zhang, Weizhi Ma et al.AAAI 2020 · 185 citations
- Realistic Re-evaluation of Knowledge Graph Completion Methods: An Experimental StudyFarahnaz Akrami, Mohammed Samiul Saeef, Qingheng Zhang, Wei Hu et al.SIGMOD 2020 · 101 citations
- Jointly Non-Sampling Learning for Knowledge Graph Enhanced RecommendationChong Chen, Min Zhang, Weizhi Ma, Yiqun Liu et al.SIGIR 2020 · 74 citations
Related papers
- Comprehensive Analysis of Negative Sampling in Knowledge Graph Representation LearningHidetaka Kamigaito, Katsuhiko HayashiICML 2022 · 27 citations
- KGDM: A Diffusion Model to Capture Multiple Relation Semantics for Knowledge Graph EmbeddingXiao Long, Liansheng Zhuang, Aodi Li, Jiuchang Wei et al.AAAI 2024 · 16 citations
- Parallel Training of Knowledge Graph Embedding Models: A Comparison of TechniquesAdrian Kochsiek, Rainer GemullaVLDB 2022 · 33 citations
- A Mutual Information Perspective on Knowledge Graph EmbeddingJiang Li, Xiangdong Su, Zehua Duo, Tian Lan et al.ACL 2025
- Entity-Agnostic Representation Learning for Parameter-Efficient Knowledge Graph EmbeddingMingyang Chen, Wen Zhang, Zhen Yao, Yushan Zhu et al.AAAI 2023 · 16 citations
