Skip to main content
QUICK REVIEW

[Paper Review] SimpleX: A Simple and Strong Baseline for Collaborative Filtering

Kelong Mao, Jieming Zhu|arXiv (Cornell University)|Sep 26, 2021
Recommender Systems and TechniquesComputer Science42 references22 citations
TL;DR

This paper proposes SimpleX, a simple yet highly effective collaborative filtering baseline that leverages a novel cosine contrastive loss (CCL) and large-scale negative sampling. Despite its simplicity, SimpleX outperforms state-of-the-art models by up to 48.5% in NDCG@20, demonstrating that loss function and negative sampling are as critical as model architecture in CF performance.

ABSTRACT

Collaborative filtering (CF) is a widely studied research topic in recommender systems. The learning of a CF model generally depends on three major components, namely interaction encoder, loss function, and negative sampling. While many existing studies focus on the design of more powerful interaction encoders, the impacts of loss functions and negative sampling ratios have not yet been well explored. In this work, we show that the choice of loss function as well as negative sampling ratio is equivalently important. More specifically, we propose the cosine contrastive loss (CCL) and further incorporate it to a simple unified CF model, dubbed SimpleX. Extensive experiments have been conducted on 11 benchmark datasets and compared with 29 existing CF models in total. Surprisingly, the results show that, under our CCL loss and a large negative sampling ratio, SimpleX can surpass most sophisticated state-of-the-art models by a large margin (e.g., max 48.5% improvement in NDCG@20 over LightGCN). We believe that SimpleX could not only serve as a simple strong baseline to foster future research on CF, but also shed light on the potential research direction towards improving loss function and negative sampling. Our source code will be available at https://reczoo.github.io/SimpleX.

Motivation & Objective

  • To investigate the under-explored roles of loss functions and negative sampling in collaborative filtering (CF), which are often overshadowed by focus on complex interaction encoders.
  • To challenge the assumption that sophisticated models are necessary for state-of-the-art performance in CF.
  • To establish a simple, efficient, and strong baseline that enables fairer and more robust evaluation of future CF models.
  • To empirically validate the effectiveness of cosine contrastive loss (CCL) and high negative sampling ratios across diverse datasets.

Proposed method

  • Proposes a novel cosine contrastive loss (CCL) that maximizes cosine similarity between positive user-item pairs and minimizes it for negative pairs, with a margin to improve contrast.
  • Designs SimpleX as a unified, lightweight CF model using only user and item embedding lookup, without deep neural networks or message passing.
  • Employs a large negative sampling ratio (up to 1000:1) to stabilize training and improve generalization, contrasting with typical small ratios (1–10).
  • Uses average pooling of user-interactive item embeddings to generate user representations, inspired by YouTubeNet.
  • Applies a unified training and inference pipeline that supports inductive learning by sharing only item embeddings across splits.
  • Employs a simple optimization objective that combines CCL with standard negative sampling, enabling high training efficiency (e.g., 19 minutes on large datasets).

Experimental results

Research questions

  • RQ1How do different loss functions impact collaborative filtering performance when paired with the same model architecture?
  • RQ2What is the optimal negative sampling ratio for various loss functions in collaborative filtering?
  • RQ3Can a simple model with a well-designed loss function outperform complex state-of-the-art models?
  • RQ4To what extent do loss function and negative sampling choice affect model generalization and robustness across datasets?

Key findings

  • SimpleX, using only a simple embedding lookup and the proposed CCL loss, achieves up to 48.5% improvement in NDCG@20 over LightGCN on benchmark datasets.
  • The combination of CCL and a large negative sampling ratio (1000:1) leads to significantly better performance than standard BPR loss with small negative sampling.
  • SimpleX consistently outperforms 29 state-of-the-art CF models across 11 benchmark datasets, including GNN-based and autoencoder-based models.
  • Even with only 64-dimensional embeddings, SimpleX surpasses parameter-heavy models like Mult-VAE and EASE R when reparameterized to a comparable scale.
  • Training time for SimpleX is highly efficient, completing in just 19 minutes on large-scale datasets, making it suitable for industrial deployment.
  • The model maintains strong performance under inductive learning settings, where only item embeddings are shared across training, validation, and test sets.

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.