Skip to main content
QUICK REVIEW

[Paper Review] SelfCF: A Simple Framework for Self-supervised Collaborative Filtering

Xin Zhou, Aixin Sun|arXiv (Cornell University)|Jul 7, 2021
Recommender Systems and TechniquesComputer Science47 references12 citations
TL;DR

This paper proposes SelfCF, a self-supervised collaborative filtering framework that enhances user and item representation learning by perturbing latent embeddings from backbone models instead of using negative sampling. It achieves superior recommendation accuracy—up to 6.55% better than LightGCN—while training 2–4× faster by eliminating negative sampling and leveraging embedding-level augmentation with stop-gradient regularization.

ABSTRACT

Collaborative filtering (CF) is widely used to learn informative latent representations of users and items from observed interactions. Existing CF-based methods commonly adopt negative sampling to discriminate different items. Training with negative sampling on large datasets is computationally expensive. Further, negative items should be carefully sampled under the defined distribution, in order to avoid selecting an observed positive item in the training dataset. Unavoidably, some negative items sampled from the training dataset could be positive in the test set. In this paper, we propose a self-supervised collaborative filtering framework (SelfCF), that is specially designed for recommender scenario with implicit feedback. The proposed SelfCF framework simplifies the Siamese networks and can be easily applied to existing deep-learning based CF models, which we refer to as backbone networks. The main idea of SelfCF is to augment the output embeddings generated by backbone networks, because it is infeasible to augment raw input of user/item ids. We propose and study three output perturbation techniques that can be applied to different types of backbone networks including both traditional CF models and graph-based models. The framework enables learning informative representations of users and items without negative samples, and is agnostic to the encapsulated backbones. We conduct comprehensive experiments on four datasets to show that our framework may achieve even better recommendation accuracy than the encapsulated supervised counterpart with a 2$ imes$--4$ imes$ faster training speed. We also show that SelfCF can boost up the accuracy by up to 17.79% on average, compared with a self-supervised framework BUIR.

Motivation & Objective

  • Address the computational and distributional inefficiencies of negative sampling in collaborative filtering for implicit feedback.
  • Eliminate reliance on negative samples by leveraging self-supervised learning to learn user and item representations from positive interactions alone.
  • Design a plug-and-play framework compatible with diverse backbone models, including traditional and graph-based CF models.
  • Improve training efficiency and recommendation accuracy without requiring labeled negative instances or complex sampling heuristics.
  • Investigate the role of stop-gradient and predictor components in preventing solution collapse in self-supervised recommendation.

Proposed method

  • Apply three embedding perturbation techniques—random masking, feature shuffling, and graph-based edge pruning—directly to the latent embeddings of user and item representations.
  • Construct a Siamese network architecture where the online and target networks share the same backbone but apply different perturbations to the embeddings.
  • Use a contrastive loss based on the cosine similarity between perturbed and unperturbed embeddings to encourage invariant and informative representations.
  • Introduce a stop-gradient operator to stabilize training and prevent parameter collapse, ensuring the target network remains fixed during backpropagation.
  • Integrate a simple multi-layer perceptron (MLP) predictor to refine the contrastive learning objective and improve downstream recommendation performance.
  • Design the framework to be agnostic to the backbone model, enabling seamless integration with existing deep learning-based collaborative filtering models.

Experimental results

Research questions

  • RQ1Can self-supervised learning be effectively applied to collaborative filtering without negative sampling, and what are the key design choices for such a framework?
  • RQ2How do different embedding perturbation techniques affect representation learning and recommendation accuracy in implicit feedback settings?
  • RQ3What is the role of the stop-gradient operator and predictor in preventing solution collapse and improving model stability?
  • RQ4How does SelfCF compare to supervised baselines and existing self-supervised frameworks like BUIR in terms of accuracy and training efficiency?
  • RQ5Can the framework be generalized across different backbone models, including both matrix factorization and graph neural network-based models?

Key findings

  • SelfCF achieves a 6.55% improvement in recommendation accuracy over LightGCN, a supervised baseline, while training 2–4× faster due to elimination of negative sampling.
  • The framework boosts the performance of the self-supervised baseline BUIR by 17.79% on average across four datasets, demonstrating strong generalization and effectiveness.
  • The stop-gradient operator is critical for model stability; removing it causes a significant drop in performance, indicating its role in preventing parameter collapse.
  • The contrastive loss based on embedding similarity effectively captures user preferences and invariant features, even without explicit negative samples.
  • Embedding-level augmentation outperforms input-level augmentation in efficiency and scalability, especially on large, sparse datasets.
  • The framework is agnostic to the backbone model and achieves competitive results across both traditional CF and graph-based models, confirming its broad applicability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.