Introduction
Modern recommender systems increasingly leverage Knowledge Graphs (KGs) to supplement sparse user-item interaction data, a paradigm known as Knowledge-aware Recommendation (KGR). Graph Neural Networks (GNNs) have emerged as the standard architecture for KGR due to their ability to aggregate multi-hop relationships across users, items, and KG entities.
However, GNN-based KGR models frequently encounter the sparse supervised signal problem. Because actual user-item interactions (the labels) are extremely sparse, GNNs often lack sufficient supervision to learn robust embeddings. This leads to "representation degeneration," where node embeddings collapse into a narrow, indistinguishable cone in the latent space. While standard contrastive learning techniques use random data augmentation (like edge dropping), these methods ignore the rich, heterogeneous nature of KGs. This paper proposes MCCLK, a framework that utilizes semantically meaningful, multi-level graph views to provide superior self-supervision.
The MCCLK Framework
The authors introduce MCCLK (Multi-level Cross-view Contrastive Learning), which generates three distinct graph views and applies contrastive learning across them to extract richer features.
Multi-View Generation
- Collaborative View (Local): Represents the standard user-item interaction graph.
- Semantic View (Local): An item-item graph constructed using a novel relation-aware GNN. It learns item representations from the KG, calculates cosine similarities, and uses $k$-Nearest-Neighbor ($k$NN) sparsification to identify semantic relationships.
- Structural View (Global): The complete heterogeneous graph encompassing users, items, and KG entities.
Multi-level Contrastive Learning
- Local-level Contrastive Learning: Uses LightGCN to encode collaborative and semantic views, maximizing agreement between the same item's embedding across both views.
- Global-level Contrastive Learning: Employs a Path-aware GNN to encode the global structural view, maximizing agreement between global representations and combined local representations.
The model is trained end-to-end by optimizing a joint loss function that combines Bayesian Personalized Ranking (BPR) loss with local and global contrastive losses.
Experimental Setup
MCCLK was evaluated on three benchmark datasets with implicit feedback:
- Book-Crossing: Book recommendations.
- MovieLens-1M: Movie recommendations.
- Last.FM: Music listening data.
For each dataset, sub-KGs were constructed by matching item IDs with entities in Microsoft Satori, a massive real-world knowledge graph.
Key Results and Discussion
MCCLK consistently outperformed all baselines, including strong GNN-based models like KGAT and KGIN, across all three datasets.
Performance Gains
In Click-Through Rate (CTR) prediction, MCCLK improved AUC by 3.11% on Book-Crossing, 1.61% on MovieLens-1M, and 2.77% on Last.FM compared to the strongest baseline. Ablation studies confirmed that both local and global contrastive modules are essential for these gains.
Insights
- Semantic Mining: Explicitly constructing a $k$NN item-item graph from KG affiliations provides a highly effective self-supervised signal, forcing the model to recognize fundamental item similarities.
- Solving Degeneration: SVD projections of learned embeddings show that while baseline GNNs often clump embeddings together, MCCLK's contrastive mechanism forces them to spread evenly across the latent space, making them highly discriminative.
Conclusion
MCCLK demonstrates that contrasting semantically meaningful views—what users do versus what items actually are—yields significantly better representations than random data corruption. By leveraging multi-level cross-view contrastive learning, the framework effectively mitigates the sparsity and representation degeneration problems inherent in knowledge-aware recommendation.
Summary updated