TL;DR
This paper introduces Neighborhood-Enhanced Supervised Contrastive Learning (NESCL) to improve collaborative filtering (CF) recommendation systems, particularly in sparse data scenarios. By treating collaborative neighbors as positive samples in contrastive learning, NESCL effectively counteracts the issue of pushing relevant neighbors too far apart, leading to significant performance gains.
What Problem Does This Paper Address?
Recommender systems, especially those using collaborative filtering (CF), struggle with data sparsity. This means that for many users and items, there's limited historical interaction data, making it hard to accurately predict preferences. While contrastive learning has emerged as a promising technique to inject self-supervised signals and alleviate sparsity, a key challenge arises: standard contrastive learning can inadvertently push "anchor" users/items away from their relevant "collaborative neighbors" (users with similar tastes or items frequently interacted with by similar users). This can lead to suboptimal recommendations because these neighbors are crucial for understanding nuanced preferences. The paper aims to bridge this gap by ensuring that collaborative neighbors are treated as positive signals, not negative ones, within the contrastive learning framework.
Methods
The core innovation of this paper lies in its novel supervised contrastive loss functions, termed Neighborhood-Enhanced Supervised Contrastive Loss (NESCL). Instead of solely relying on augmented views of an anchor node as positive samples (as in standard contrastive learning), NESCL incorporates both the anchor node's interacted neighbors and its nearest neighbors (identified via memory-based methods like ItemKNN) as positive samples.
The authors propose two versions of NESCL: an "in-version" and an "out-version," which differ in how they weigh these positive samples. They analyze these loss functions from a gradient perspective to understand how different positive samples influence the anchor node's embedding updates. The backbone model used is LightGCN, a popular graph neural network for recommendation. The data augmentation strategies (Node Dropout, Edge Dropout, Random Walk) are adopted from the existing SGL (Self-supervised Graph Learning) framework. Essentially, NESCL replaces the contrastive loss component in SGL with their enhanced version.
Datasets
The proposed method was evaluated on three widely-used, real-world datasets:
- Yelp2018: A dataset of user reviews and ratings for businesses.
- Gowalla: A dataset of user check-ins at locations.
- Amazon-Book: A dataset of user-item interactions for books on Amazon.
These datasets are standard benchmarks in recommendation research and were used in their original formats.
Key Insights and Ideas
- Collaborative Neighbors as Positive Signals: The most significant insight is that treating collaborative neighbors (both interacted and nearest) as positive samples in contrastive learning is crucial for effective recommendation. This directly addresses the problem of contrastive learning pushing relevant entities too far apart.
- Balancing Ranking and Contrastive Losses: The paper demonstrates that a combination of a traditional ranking loss (like the one used in LightGCN) and the proposed NESCL loss yields the best results. Relying solely on contrastive loss (even with neighbors) or only on ranking loss can lead to suboptimal performance.
- Temperature Value Sensitivity: The performance of contrastive learning is highly sensitive to the temperature parameter. The authors found that smaller temperature values (around 0.1) generally lead to better performance, as they amplify the signal from negative samples and help offset the impact of potentially "false negative" neighbors. NESCL's ability to incorporate positive neighbors helps leverage these smaller temperature benefits.
- Neighbor Quality Matters, but Random Sampling is Robust: While incorporating nearest neighbors is beneficial, their quality can be inconsistent. The study found that random sampling of one nearest neighbor often performed as well as or better than more complex similarity-weighted strategies, suggesting that the memory-based neighbor identification might not always be perfectly accurate.
Key Results
- Significant Performance Improvement: NESCL consistently outperformed the state-of-the-art SGL model across all three datasets. Specifically, it achieved improvements of 10.09% on Yelp2018, 7.09% on Gowalla, and a substantial 35.36% on Amazon-Book in terms of NDCG@20.
- Superior to Other Baselines: NESCL also outperformed other baseline models, including latent factor models (like BPR) and other GNN-based methods (like LightGCN and UltraGCN), especially in sparse scenarios.
- Effectiveness of Combined Loss: The combination of the ranking loss and NESCL was shown to be more effective than using either component alone.
- Robustness to Hyperparameters: The paper explored the influence of various hyperparameters, including the temperature value and the number of nearest neighbors, providing insights into optimal settings.
Limitations and Future Work
- Neighbor Quality: The accuracy of nearest neighbor identification, often relying on memory-based methods, can be a limitation. The paper suggests that more advanced methods for finding neighbors could further improve performance.
- Similarity Weighting Ineffectiveness: The proposed strategies for weighting neighbors based on similarity did not yield significant improvements, possibly due to the inaccuracy of similarity measures or the ineffectiveness of the weighting scheme itself. This is identified as a direction for future work.
- Generalization to Other Data Types: While tested on GNN-based models for recommendation, the authors aspire to explore NESCL's application to other data types, such as item sequences and social relation graphs.
- Computational Efficiency: The model's memory consumption is noted as a potential issue, and the authors plan to investigate more efficient graph augmentation techniques.
Summary updated