Negative Sampling with Adaptive Denoising Mixup for Knowledge Graph Embedding

Xiangnan Chen, Wen Zhang, Zhen Yao, Mingyang Chen, Siliang Tang

Abstract

Knowledge Graph Embedding (KGE) models map entities and relations into a continuous vector space. A common challenge in training these models is the presence of "false negatives" during negative sampling, where true but unobserved facts are treated as negative examples. This paper introduces DeMix, a framework designed to identify and utilize these noisy samples. By employing a Marginal Pseudo-Negative triple Estimator (MPNE) and an Adaptive Mixup (AdaMix) strategy, DeMix transforms potential noise into high-quality training data. Evaluation on standard benchmarks demonstrates that DeMix significantly improves accuracy and convergence speed across multiple KGE architectures.

Introduction: The False Negative Problem

Knowledge Graph Embedding (KGE) involves learning representations for triples $(h, r, t)$. Training typically relies on negative sampling, where a true triple (e.g., Shakespeare, wrote, Hamlet) is corrupted by replacing one entity to create a negative sample (e.g., Shakespeare, wrote, Othello).

However, because knowledge graphs are incomplete, many generated "negative" samples are actually true facts not yet recorded in the database. These false negatives introduce noise that degrades model performance. As illustrated below, even a small amount of "leakage" (treating true facts as negatives) significantly hampers the model's ability to generalize, leading to lower Mean Reciprocal Rank (MRR).

Illustration of the false-negative problem and its impact on model performance (MRR).

The DeMix Framework

To address this, the authors propose DeMix (Denoising Mixup), a pluggable framework that identifies noisy samples and adaptively transforms them. The process begins with a short "warm-up" phase using standard sampling to establish baseline discriminative power before denoising begins.

Marginal Pseudo-Negative triple Estimator (MPNE)

Instead of relying on external data, DeMix leverages the model's own predictions. If a sampled negative triple receives a high score similar to known positive triples, the MPNE flags it as a "marginal pseudo-negative"—a likely false negative.

Adaptive Mixup (AdaMix)

Rather than discarding these flagged triples, DeMix applies Mixup, a data augmentation technique that interpolates between embeddings.

  • Pseudo-negatives are mixed with known positive triples to create "partially positive" samples.
  • True negatives are mixed with other negatives to create "harder" negative samples, forcing the model to learn more precise boundaries.
The DeMix architecture, featuring the MPN Estimator and Adaptive Mixup process.

Experimental Evaluation

The framework was evaluated on two benchmark datasets: WN18RR (lexical relations) and FB15K237 (real-world facts). FB15K237 is particularly dense, making it highly susceptible to the false-negative issue.

Key Results

  • Performance Gains: DeMix consistently outperformed standard negative sampling baselines across various architectures (TransE, RotatE, HAKE, DistMult, ComplEx). For instance, using TransE on FB15K237, DeMix improved MRR by 7.8% compared to standard methods.
  • Efficiency: The model reaches peak performance faster because it receives cleaner and more informative training signals.
  • Robustness: A "toy experiment" with intentional leakage confirmed that DeMix effectively mitigates the performance drop caused by false negatives.

Conclusion and Future Work

DeMix provides an elegant, self-supervised solution to the noise inherent in KGE training. By treating uncertainty as a signal rather than just noise, it enables more robust learning. Future research may explore integrating active learning to further refine the identification of marginal triples or improving the estimator's performance on unseen relational patterns.

Summary updated

BibTeX
@inproceedings{chen2023negative,
  author = {Xiangnan Chen and Wen Zhang and Zhen Yao and Mingyang Chen and Siliang Tang},
  title = {{Negative Sampling with Adaptive Denoising Mixup for Knowledge Graph Embedding}},
  booktitle = {ISWC},
  year = {2023},
  url = {https://openreview.net/forum?id=NvyoefB76k},
}
Figure