A Comprehensive Survey on Self-Supervised Learning for Recommendation

Xubin Ren, Wei Wei, Lianghao Xia, Chao Huang

Introduction

The primary challenge facing modern recommender systems (RS) is the chronic issue of data sparsity. While sophisticated deep learning architectures like Graph Neural Networks (GNNs) and Transformers have significantly advanced the field, their performance remains heavily dependent on large volumes of supervised signals—typically explicit user-item interactions. In practical scenarios, however, the interaction matrix is overwhelmingly sparse, as users only engage with a minuscule fraction of available items. Self-supervised learning (SSL) has emerged as a transformative paradigm to mitigate this "Achilles' heel" by extracting "free" supervision from the inherent structure of unlabeled data.

A Unified Taxonomy of SSL in Recommendation

To navigate the rapidly evolving landscape of SSL-based recommendation, this survey categorizes over 170 papers into a unified taxonomy. This framework organizes SSL into three primary methodological pillars: contrastive learning, reconstructive learning, and adversarial learning. These paradigms are applied across nine distinct recommendation scenarios, ranging from sequential and social recommendation to more complex multi-modal and knowledge-aware tasks.

Taxonomy of Self-Supervised Learning in Recommendation, illustrating the three main paradigms and their application across nine recommendation scenarios.

Methodological Pillars

1. Contrastive Learning

Contrastive learning has become the most prevalent approach in recent years. It operates by generating multiple "views" of the same data instance through various augmentation techniques. The model is then trained to maximize the agreement between these positive views while minimizing the similarity between negative pairs (views from different instances).

2. Reconstructive Learning

Following an encoder-decoder architecture, reconstructive learning tasks the model with recovering missing or corrupted portions of the input data. Key sub-paradigms include:

  • Masked Autoencoding (MAE): Predicting hidden elements in a sequence or nodes/edges in a graph.
  • Variational Autoencoding (VAE): Learning to map data to a latent distribution and then reconstruct it.
  • Denoised Diffusion: A burgeoning trend where the model learns to reverse a progressive noise-injection process to recover the original clean data.

3. Adversarial Learning

Rooted in the Generative Adversarial Network (GAN) framework, this paradigm involves a minimax game between a generator and a discriminator. The generator attempts to produce realistic but "fake" user-item interactions, while the discriminator learns to distinguish them from actual interactions, thereby forcing the recommender to capture more nuanced user preferences.

Deep Dive: The Mechanics of Contrastive Learning

The success of contrastive learning is highly sensitive to its components: view creation, pair sampling, and the contrastive objective.

The four key components of Contrastive Learning: (a) the general framework, (b) strategies for view creation, (c) methods for pair sampling, and (d) various contrastive objectives.
  • View Creation: Strategies are categorized into data-based (e.g., masking or dropping nodes), feature-based (adding noise to latent representations), and model-based (using different architectures to process the same input).
  • Pair Sampling: This involves selecting which views constitute positive pairs (typically different augmentations of the same sample) and negative pairs (views from different samples). Advanced methods use score-based sampling to identify "hard" negatives that are more informative for training.
  • Contrastive Objective: Most models utilize mutual information maximization, often implemented via the InfoNCE loss or Jensen-Shannon (JS) divergence, to align positive views and push away negatives.

Key Insights and Future Directions

The survey highlights that SSL-enhanced models consistently outperform purely supervised baselines, particularly in "cold-start" scenarios where interaction data is minimal. Beyond raw performance, SSL leads to more robust and uniform embedding spaces, preventing the model from over-recommending popular items and ensuring a more diverse recommendation set.

Looking forward, several frontiers remain:

  1. Foundation Models for RS: Developing large-scale models pre-trained on diverse datasets that can be fine-tuned for specific applications.
  2. LLM Integration: Optimizing the alignment between the textual knowledge of Large Language Models and the collaborative signals in recommendation data.
  3. Theoretical Grounding: Establishing a more rigorous mathematical framework to explain the efficacy of specific SSL tasks in the context of recommendation.
  4. Dynamic Adaptation: Transitioning from static SSL models to those that can adapt to rapidly shifting user trends in real-time environments.

This survey provides a comprehensive roadmap for researchers and practitioners, standardizing the field through the open-source library SSLRec and identifying the critical paths for future innovation.

Summary updated

BibTeX
@article{ren2024comprehensive,
  author = {Xubin Ren and Wei Wei and Lianghao Xia and Chao Huang},
  title = {{A Comprehensive Survey on Self-Supervised Learning for Recommendation}},
  journal = {ACM Computing Surveys},
  year = {2024},
}
Figure