NSCaching: Simple and Efficient Negative Sampling for Knowledge Graph Embedding
Not on the map. Why?
Abstract (arXiv)
Knowledge Graph (KG) embedding is a fundamental problem in data mining research with many real-world applications. It aims to encode the entities and relations in the graph into low dimensional vector space, which can be used for subsequent algorithms. Negative sampling, which samples negative triplets from non-observed ones in the training data, is an important step in KG embedding. Recently, generative adversarial network (GAN), has been introduced in negative sampling. By sampling negative triplets with large scores, these methods avoid the problem of vanishing gradient and thus obtain better performance. However, using GAN makes the original model more complex and hard to train, where reinforcement learning must be used. In this paper, motivated by the observation that negative triplets with large scores are important but rare, we propose to directly keep track of them with the cache. However, how to sample from and update the cache are two important questions. We carefully design the solutions, which are not only efficient but also achieve a good balance between exploration and exploitation. In this way, our method acts as a "distilled" version of previous GA-based methods, which does not waste training time on additional parameters to fit the full distribution of negative triplets. The extensive experiments show that our method can gain significant improvement in various KG embedding models, and outperform the state-of-the-art negative sampling methods based on GAN.
Key facts. Cited by 42 papers in the map (data through 14 Oct 2026). First posted on arXiv 16 Dec 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 8; 2022: 12; 2023: 6; 2024: 8; 2025: 5; 2026: 3.
42 papers.
Sort:
By area:
- 2021Knowledge Graph Reasoning with Relational Digraphcited by 92
- 2022Temporal Knowledge Graph Completion: A Surveycited by 61
- 2021A Review of Biomedical Datasets Relating to Drug Discovery: A Knowledge Graph Perspectivecited by 38
- 2022Knowledge Graph Completion with Pre-trained Multimodal Transformer and Twins Negative Samplingcited by 18
- 2021AutoGEL: An Automated Graph Neural Network with Explicit Link Informationcited by 17
- 2024Does Negative Sampling Matter? A Review with Insights into its Theory and Applicationscited by 15
- 2021Efficient Non-Sampling Knowledge Graph Embeddingcited by 14
- 2022CAKE: A Scalable Commonsense-Aware Framework For Multi-View Knowledge Graph Completioncited by 13
- 2022Positive-Unlabeled Learning with Adversarial Data Augmentation for Knowledge Graph Completioncited by 13
- 2022MMKGR: Multi-hop Multi-modal Knowledge Graph Reasoningcited by 13
- 2021Relation-aware Graph Attention Model With Adaptive Self-adversarial Trainingcited by 12
- 2021Medical Entity Disambiguation Using Graph Neural Networkscited by 10
30 more
- 2024Negative Sampling in Knowledge Graph Representation Learning: A Reviewcited by 9
- 2023Modality-Aware Negative Sampling for Multi-modal Knowledge Graph Embeddingcited by 7
- 2023Negative Sampling with Adaptive Denoising Mixup for Knowledge Graph Embeddingcited by 7
- 2021Learning Explicit User Interest Boundary for Recommendationcited by 6
- 2022Heterogeneous Graph Contrastive Learning with Meta-path Contexts and Adaptively Weighted Negative Samplescited by 6
- 2022MixKG: Mixing for harder negative samples in knowledge graphcited by 5
- 2025Mixture of Length and Pruning Experts for Knowledge Graphs Reasoningcited by 5
- 2022Exploring the Learning Difficulty of Data Theory and Measurecited by 4
- 2022Entity Aware Negative Sampling with Auxiliary Loss of False Negative Prediction for Knowledge Graph Embeddingcited by 4
- 2023Treat Different Negatives Differently: Enriching Loss Functions with Domain and Range Constraints for Link Predictioncited by 3
- 2023HaSa: Hardness and Structure-Aware Contrastive Knowledge Graph Embeddingcited by 3
- 2021A Comprehensive Analytical Survey on Unsupervised and Semi-Supervised Graph Representation Learning Methodscited by 2
- 2022LEMON: LanguagE ModeL for Negative Sampling of Knowledge Graph Embeddingscited by 2
- 2023Noisy Positive-Unlabeled Learning with Self-Training for Speculative Knowledge Graph Reasoningcited by 2
- 2022Bayesian Negative Sampling for Recommendationcited by 1
- 2022Leveraging Wikidata's edit history in knowledge graph refinement taskscited by 1
- 2023Importance of negative sampling in weak label learningcited by 1
- 2024Personalized Negative Reservoir for Incremental Learning in Recommender Systemscited by 1
- 2024Curriculum Negative Mining For Temporal Networkscited by 1
- 2025Diffusion-based Hierarchical Negative Sampling for Multimodal Knowledge Graph Completioncited by 1
- 2025Optimal Embedding Guided Negative Sample Generation for Knowledge Graph Link Predictioncited by 1
- 2025Two-dimensional Taxonomy for N-ary Knowledge Representation Learning Methodscited by 1
- 2025Enhancing PyKEEN with Multiple Negative Sampling Solutions for Knowledge Graph Embedding Modelscited by 1
- 2024Exploiting Preferences in Loss Functions for Sequential Recommendation via Weak Transitivitycited by 0
- 2024A Pluggable Common Sense-Enhanced Framework for Knowledge Graph Completioncited by 0
- 2024Diversified and Adaptive Negative Sampling on Knowledge Graphscited by 0
- 2024Domain and Range Aware Synthetic Negatives Generation for Knowledge Graph Embedding Modelscited by 0
- 2026Boosting Knowledge Graph Foundation Models via Enhanced Negative Samplingcited by 0
- 2026FlowNeg: GFlowNet-Guided Diverse Hard Negative Sampling for Knowledge Graph Embeddingcited by 0
- 2026PyKEEN-NSX: A Modular Framework for Static, Dynamic and Schema-Aware Negative Sampling in PyKEENcited by 0
- 2026PyKEEN-NSX: A Modular Framework for Static, Dynamic and Schema-Aware Negative Sampling in PyKEEN31 Aug 2026
- 2026FlowNeg: GFlowNet-Guided Diverse Hard Negative Sampling for Knowledge Graph Embedding24 Aug 2026
- 2026Boosting Knowledge Graph Foundation Models via Enhanced Negative Sampling26 May 2026
- 2025Enhancing PyKEEN with Multiple Negative Sampling Solutions for Knowledge Graph Embedding Models7 Aug 2025
- 2025Mixture of Length and Pruning Experts for Knowledge Graphs Reasoning28 Jul 2025
- 2025Two-dimensional Taxonomy for N-ary Knowledge Representation Learning Methods5 Jun 2025
- 2025Optimal Embedding Guided Negative Sample Generation for Knowledge Graph Link Prediction4 Apr 2025
- 2025Diffusion-based Hierarchical Negative Sampling for Multimodal Knowledge Graph Completion26 Jan 2025
- 2024Domain and Range Aware Synthetic Negatives Generation for Knowledge Graph Embedding Models22 Nov 2024
- 2024Diversified and Adaptive Negative Sampling on Knowledge Graphs10 Oct 2024
- 2024A Pluggable Common Sense-Enhanced Framework for Knowledge Graph Completion6 Oct 2024
- 2024Exploiting Preferences in Loss Functions for Sequential Recommendation via Weak Transitivity1 Aug 2024
30 more
- 2024Curriculum Negative Mining For Temporal Networks24 Jul 2024
- 2024Personalized Negative Reservoir for Incremental Learning in Recommender Systems6 Mar 2024
- 2024Negative Sampling in Knowledge Graph Representation Learning: A Review29 Feb 2024
- 2024Does Negative Sampling Matter? A Review with Insights into its Theory and Applications27 Feb 2024
- 2023Negative Sampling with Adaptive Denoising Mixup for Knowledge Graph Embedding15 Oct 2023
- 2023Importance of negative sampling in weak label learning23 Sep 2023
- 2023Noisy Positive-Unlabeled Learning with Self-Training for Speculative Knowledge Graph Reasoning13 Jun 2023
- 2023HaSa: Hardness and Structure-Aware Contrastive Knowledge Graph Embedding17 May 2023
- 2023Modality-Aware Negative Sampling for Multi-modal Knowledge Graph Embedding23 Apr 2023
- 2023Treat Different Negatives Differently: Enriching Loss Functions with Domain and Range Constraints for Link Prediction1 Mar 2023
- 2022Heterogeneous Graph Contrastive Learning with Meta-path Contexts and Adaptively Weighted Negative Samples28 Dec 2022
- 2022Leveraging Wikidata's edit history in knowledge graph refinement tasks27 Oct 2022
- 2022Entity Aware Negative Sampling with Auxiliary Loss of False Negative Prediction for Knowledge Graph Embedding12 Oct 2022
- 2022Knowledge Graph Completion with Pre-trained Multimodal Transformer and Twins Negative Sampling15 Sep 2022
- 2022MMKGR: Multi-hop Multi-modal Knowledge Graph Reasoning3 Sep 2022
- 2022Exploring the Learning Difficulty of Data Theory and Measure16 May 2022
- 2022Positive-Unlabeled Learning with Adversarial Data Augmentation for Knowledge Graph Completion2 May 2022
- 2022Bayesian Negative Sampling for Recommendation2 Apr 2022
- 2022LEMON: LanguagE ModeL for Negative Sampling of Knowledge Graph Embeddings9 Mar 2022
- 2022CAKE: A Scalable Commonsense-Aware Framework For Multi-View Knowledge Graph Completion25 Feb 2022
- 2022MixKG: Mixing for harder negative samples in knowledge graph19 Feb 2022
- 2022Temporal Knowledge Graph Completion: A Survey16 Jan 2022
- 2021A Comprehensive Analytical Survey on Unsupervised and Semi-Supervised Graph Representation Learning Methods20 Dec 2021
- 2021AutoGEL: An Automated Graph Neural Network with Explicit Link Information2 Dec 2021
- 2021Learning Explicit User Interest Boundary for Recommendation22 Nov 2021
- 2021Knowledge Graph Reasoning with Relational Digraph13 Aug 2021
- 2021Efficient Non-Sampling Knowledge Graph Embedding21 Apr 2021
- 2021Medical Entity Disambiguation Using Graph Neural Networks3 Apr 2021
- 2021A Review of Biomedical Datasets Relating to Drug Discovery: A Knowledge Graph Perspective19 Feb 2021
- 2021Relation-aware Graph Attention Model With Adaptive Self-adversarial Training14 Feb 2021
- 2022MMKGR: Multi-hop Multi-modal Knowledge Graph Reasoningcited by 13
- 2022MMKGR: Multi-hop Multi-modal Knowledge Graph Reasoning3 Sep 2022
- 2021Knowledge Graph Reasoning with Relational Digraphcited by 92
- 2022Temporal Knowledge Graph Completion: A Surveycited by 61
- 2021A Review of Biomedical Datasets Relating to Drug Discovery: A Knowledge Graph Perspectivecited by 38
- 2022Knowledge Graph Completion with Pre-trained Multimodal Transformer and Twins Negative Samplingcited by 18
- 2021AutoGEL: An Automated Graph Neural Network with Explicit Link Informationcited by 17
- 2024Does Negative Sampling Matter? A Review with Insights into its Theory and Applicationscited by 15
- 2021Efficient Non-Sampling Knowledge Graph Embeddingcited by 14
- 2022CAKE: A Scalable Commonsense-Aware Framework For Multi-View Knowledge Graph Completioncited by 13
- 2022Positive-Unlabeled Learning with Adversarial Data Augmentation for Knowledge Graph Completioncited by 13
- 2021Relation-aware Graph Attention Model With Adaptive Self-adversarial Trainingcited by 12
- 2021Medical Entity Disambiguation Using Graph Neural Networkscited by 10
- 2024Negative Sampling in Knowledge Graph Representation Learning: A Reviewcited by 9
12 most cited of 41 All 41 (JSON)
- 2026PyKEEN-NSX: A Modular Framework for Static, Dynamic and Schema-Aware Negative Sampling in PyKEEN31 Aug 2026
- 2026FlowNeg: GFlowNet-Guided Diverse Hard Negative Sampling for Knowledge Graph Embedding24 Aug 2026
- 2026Boosting Knowledge Graph Foundation Models via Enhanced Negative Sampling26 May 2026
- 2025Enhancing PyKEEN with Multiple Negative Sampling Solutions for Knowledge Graph Embedding Models7 Aug 2025
- 2025Mixture of Length and Pruning Experts for Knowledge Graphs Reasoning28 Jul 2025
- 2025Two-dimensional Taxonomy for N-ary Knowledge Representation Learning Methods5 Jun 2025
- 2025Optimal Embedding Guided Negative Sample Generation for Knowledge Graph Link Prediction4 Apr 2025
- 2025Diffusion-based Hierarchical Negative Sampling for Multimodal Knowledge Graph Completion26 Jan 2025
- 2024Domain and Range Aware Synthetic Negatives Generation for Knowledge Graph Embedding Models22 Nov 2024
- 2024Diversified and Adaptive Negative Sampling on Knowledge Graphs10 Oct 2024
- 2024A Pluggable Common Sense-Enhanced Framework for Knowledge Graph Completion6 Oct 2024
- 2024Exploiting Preferences in Loss Functions for Sequential Recommendation via Weak Transitivity1 Aug 2024
12 newest of 41 All 41 (JSON)