Introduction
Knowledge Graph Completion (KGC) aims to predict missing links within a graph, such as identifying the "capital of" relation between "Paris" and "France." Despite the proliferation of sophisticated models, overfitting remains a pervasive challenge. Knowledge graphs are inherently incomplete and noisy; consequently, models often "memorize" specific training patterns and noise rather than capturing generalizable semantic relationships. This results in a significant performance gap between near-perfect training accuracy and mediocre results on unseen data.
Traditional regularization techniques, such as N3 or DURA, are often tailored specifically for tensor decomposition models. This leaves other popular architectures, including Graph Neural Networks (GNNs) and translation-based models, without effective tools to combat overfitting. This paper introduces SPR (Sparse-regularization), a model-agnostic method designed to break through these performance ceilings.
Methodology: Sparse-regularization (SPR)
The core intuition behind SPR is that not all components of an embedding vector are equally significant. Many small values represent noise that should not be penalized. SPR acts as a "smart filter" by selectively penalizing only the most influential features.
The SPR process involves three main steps:
- Sorting and Selecting: For a given embedding vector, the model calculates the squared magnitudes of its components and sorts them in ascending order.
- Masking the "Tail": It identifies the smallest components whose cumulative sum is less than a predefined threshold $\delta$. These components are masked or ignored.
- Selective Penalty: A regularization penalty (such as an L2 norm) is applied exclusively to the remaining significant components.
By sparsifying the regularization target, the model focuses its constraints on truly influential coordinates. Mathematically, this approach results in a lower Rademacher complexity compared to standard Dropout, providing a tighter bound on generalization error. Unlike stochastic methods like Dropout, SPR is deterministic, leading to zero conditional variance in the gradient and more stable training.
Experimental Setup
The effectiveness of SPR was evaluated across a diverse range of benchmarks:
- Standard Benchmarks: WN18RR, FB15K-237, and YAGO3-10.
- Small-scale Datasets: Kinship and UMLS.
- Temporal KGC Datasets: ICEWS14 and ICEWS05-15, which involve graphs that evolve over time.
Key Results and Discussion
SPR consistently outperformed baseline models and state-of-the-art regularizers (e.g., L2, N3, DURA, and ER) across nearly all test scenarios.
Significant performance gains were observed:
- Tensor Decomposition: On the WN18RR dataset using a CP model, SPR improved the Mean Reciprocal Rank (MRR) from 0.438 to 0.479, a relative improvement of approximately 9.4%.
- GNN Breakthroughs: For GNN-based models like CompGCN, SPR led to substantial jumps in MRR on FB15K-237, outperforming simple Dropout by 7–8%.
- Variance Reduction: Learning curves demonstrate that while unregularized models often see validation performance stagnate or decline as training progresses, SPR-regularized models continue to improve, significantly narrowing the gap between training and validation sets.
Sensitivity analysis revealed that the regularization rate is critical. A rate that is too high can lead to "embedding collapse," where semantic meaning is lost, while a rate that is too low fails to prevent overfitting. Furthermore, T-SNE visualizations confirmed that SPR produces tighter, better-separated entity clusters, indicating higher-quality, more discriminative embeddings.
Conclusion and Future Work
SPR demonstrates that regularization is not merely a safety net but a performance booster that allows models to reach higher peak performance. While highly effective, the current implementation requires manual tuning of the sparsification threshold $\delta$. Future research will focus on developing adaptive thresholds that adjust automatically during training. Additionally, the researchers plan to explore the integration of SPR with Large Language Model (LLM)-based KGC architectures to further bridge the gap between structured knowledge and natural language processing.
Summary updated