Abstract
Knowledge Graph Contrastive Learning (KGCL) is a novel framework designed to enhance the robustness of recommender systems by effectively "denoising" Knowledge Graphs (KGs). While KGs provide valuable side information, they often suffer from long-tail distributions and information noise—irrelevant facts that can degrade recommendation quality. KGCL addresses these issues by measuring the structural consistency of item representations across different random views of the KG. By identifying and suppressing unstable, noisy connections, KGCL significantly improves recommendation performance, particularly in data-sparse and high-noise environments.
Introduction: The Challenge of Noisy Knowledge Graphs
Knowledge Graphs are instrumental in modern recommender systems, offering rich semantic context about items, such as a movie's director or a book's genre. However, real-world KGs present two significant hurdles:
- The Long-Tail Problem: A vast majority of entities have very few connections, leading to weak supervision signals.
- Information Noise: KGs frequently contain facts that are factually correct but contextually irrelevant. For instance, in news recommendation, a player's birthplace might be "noise" for a user primarily interested in sports performance.
Existing models often aggregate this information indiscriminately, allowing noise to propagate and cause "over-smoothing," where distinct items become indistinguishable in the embedding space.
Methodology: The KGCL Framework
The authors propose KGCL, which integrates KG denoising with user-item interaction modeling through a multi-view contrastive learning paradigm. The framework consists of four primary components:
1. Relation-aware Aggregation
KGCL utilizes a Graph Neural Network (GNN) that respects the heterogeneity of relationship types within the KG. An attention mechanism is employed to dynamically weigh the importance of neighboring entities based on the specific relation.
2. KG Augmentation and Structural Consistency
This is the core innovation. The model generates two distinct "views" of the KG by randomly dropping triplets. It then computes a Knowledge Graph Structure Consistency ($c_i$) score for each item. Items with stable representations across views are deemed to have high-quality KG context, while those with high variance are flagged as noisy or sparse.
3. Knowledge-Guided Interaction Augmentation
Unlike standard self-supervised models that drop user-item interactions randomly, KGCL uses the $c_i$ scores to guide augmentation. Interactions involving "unstable" items are more likely to be dropped, ensuring the model prioritizes reliable data during training.
4. Cross-View Contrastive Learning
The model is trained to maximize agreement between augmented views, forcing the system to learn representations that are invariant to noise and robust against data sparsity.
Experimental Evaluation
KGCL was evaluated on three diverse datasets:
- Yelp2018: Business recommendations (highly sparse).
- Amazon-Book: Product recommendations with a rich KG.
- MIND: News recommendation (highly noisy and dynamic).
Key Results
- Superior Accuracy: KGCL consistently outperformed state-of-the-art models like KGAT, KGIN, and SGL. On Amazon-Book, it achieved a Recall@20 of 14.96%, surpassing both KG-based and SSL-based baselines.
- Robustness to Noise: When 10% "fake" noisy triplets were added to the KG, KGCL exhibited the smallest performance drop among all tested models.
- Cold-Start Performance: The model showed significant improvements for users with minimal interaction history, demonstrating that its KG-based self-supervision effectively mitigates data sparsity.
Conclusion
KGCL introduces a principled way to handle noise in Knowledge Graphs by using structural stability as a proxy for information quality. By bridging KG denoising with informed interaction augmentation, it sets a new standard for robust, KG-enhanced recommendation. Future work may explore incorporating temporal dynamics to better handle rapidly evolving KGs in domains like news.
Summary updated