TL;DR
This paper introduces SelfCF, a novel self-supervised framework for collaborative filtering that learns user and item representations without relying on negative sampling. By perturbing latent embeddings, SelfCF achieves competitive or even better recommendation accuracy than supervised methods while significantly reducing training time.
What Problem Does This Paper Address?
Traditional collaborative filtering (CF) methods heavily rely on negative sampling to distinguish between items a user likes and dislikes. This process is computationally expensive and prone to errors, as sampled negative items might actually be positive ones in the future. While self-supervised learning (SSL) offers a way to train models without negative samples, existing SSL approaches, often adapted from computer vision, are not directly suited for recommendation tasks and can be overly complex or suffer from slow convergence. This paper aims to bridge this gap by proposing a simple yet effective SSL framework specifically designed for recommendation scenarios with implicit feedback.
Methods
The core of SelfCF is a Siamese network architecture that uses a single encoder. Instead of augmenting the raw input (user/item IDs) as is common in vision-based SSL, SelfCF perturbs the output embeddings generated by a backbone encoder. This "posterior perturbation" approach allows the framework to be agnostic to the underlying CF model. Three perturbation techniques are proposed:
- Historical Embedding: Combines current embeddings with historical embeddings from previous training iterations using a momentum update.
- Embedding Dropout: Randomly drops out elements in the embedding vectors, similar to node dropout in graph networks.
- Edge Pruning: Specifically for graph-based CF models, this method randomly prunes edges in the user-item bipartite graph before generating embeddings.
SelfCF uses a symmetrized loss function based on cosine similarity to maximize the agreement between augmented views of the same user/item. Crucially, it employs a "stop-gradient" operator, which, unlike in some vision SSL methods, is not essential for preventing collapse but helps in learning optimal parameters.
Datasets
The authors evaluated SelfCF on four publicly available datasets:
- Arts, Crafts and Sewing (Arts)
- Amazon Video Games (Games)
- Amazon Grocery and Gourmet Food (Food)
- COCO (from the education domain)
These datasets were chosen to represent diverse domains and were preprocessed with a 5-core setting.
Key Insights and Ideas
- Posterior Perturbation is Key: Augmenting latent embeddings after the backbone encoder, rather than the raw input, is a more suitable approach for recommendation tasks and allows for a black-box integration of existing CF models.
- Simplicity Wins: SelfCF's Siamese network uses a single encoder, making it more efficient than methods requiring two separate encoders.
- "Stop-Gradient" Not Essential for Collapse Prevention: Unlike some vision SSL methods, SelfCF can learn effectively even without the "stop-gradient" operator, suggesting its loss function has inherent properties to prevent collapse. However, its presence still improves performance.
- Embedding Dropout is Generally Preferred: Among the perturbation techniques, embedding dropout often yields the best results, striking a good balance between introducing noise and preserving salient features.
- SSL Benefits Cold-Start Users: SelfCF shows a significant improvement for cold-start users, suggesting its ability to learn from limited interactions without negative sampling is particularly valuable.
Key Results
- Competitive or Better Performance: SelfCF achieved performance on par with or better than its supervised counterparts (e.g., LightGCN) on all tested datasets and metrics.
- Significant Improvement over BUIR: SelfCF outperformed BUIR (another self-supervised framework) by up to 17.79% on average across datasets.
- Faster Training: SelfCF achieved 2x-4x faster training speeds compared to supervised counterparts.
- Cold-Start User Improvement: SelfCF improved recommendation accuracy for cold-start users by up to 14.4% on Recall@50.
- Representation Separation: t-SNE plots showed that SelfCF learned representations where users and items are more separated compared to supervised models, indicating a better capture of distinct preferences.
Limitations and Future Work
- Predictor Importance: While SelfCF can function without a predictor, its performance significantly degrades, highlighting the predictor's role in learning user/item representations. Future work could focus on designing more powerful predictors.
- Integrating Supervised Signals: The paper suggests exploring ways to combine SelfCF with existing supervised losses for further performance gains.
- Exploring Other Augmentation Methods: While SelfCF proposes three techniques, other embedding augmentation methods could be investigated.
- Multimodal Fusion: Fusing multimodal features (text, images) with SelfCF is proposed as a way to combat data sparsity and cold-start issues.
Summary updated