mlsanityData to 7 Oct 2026

Evaluating Performance and Bias of Negative Sampling in Large-Scale Sequential Recommendation Models

arXiv 2410.17276 ↗First posted 8 Oct 2024cs.IR cs.LGcited by 4

Not on the map. Why?

Abstract (arXiv)

Large-scale industrial recommendation models predict the most relevant items from catalogs containing millions or billions of options. To train these models efficiently, a small set of irrelevant items (negative samples) is selected from the vast catalog for each relevant item (positive example), helping the model distinguish between relevant and irrelevant items. Choosing the right negative sampling method is a common challenge. We address this by implementing and comparing various negative sampling methods - random, popularity-based, in-batch, mixed, adaptive, and adaptive with mixed variants - on modern sequential recommendation models. Our experiments, including hyperparameter optimization and 20x repeats on three benchmark datasets with varying popularity biases, show how the choice of method and dataset characteristics impact key model performance metrics. We also reveal that average performance metrics often hide imbalances across popularity bands (head, mid, tail). We find that commonly used random negative sampling reinforces popularity bias and performs best for head items. Popularity-based methods (in-batch and global popularity negative sampling) can offer balanced performance at the cost of lower overall model performance results. Our study serves as a practical guide to the trade-offs in selecting a negative sampling method for large-scale sequential recommendation models. Code, datasets, experimental results and hyperparameters are available at: https://github.com/apple/ml-negative-sampling.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 24 of its 38 references that are in the map. First posted on arXiv 8 Oct 2024.

Builds on

24 of 38 references.

References · 24

  1. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  2. 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
  3. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
  4. 2018Self-Attentive Sequential Recommendationcited by 1,169
  5. 2019BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformercited by 952
  6. 2015Session-based Recommendations with Recurrent Neural Networkscited by 685
  7. 2018Personalized Top-N Sequential Recommendation via Convolutional Sequence Embeddingcited by 473
  8. 2017Recurrent Neural Networks with Top-k Gains for Session-based Recommendationscited by 165
  9. 2021Contrastive Learning for Representation Degeneration Problem in Sequential Recommendationcited by 121
  10. 2022Filter-enhanced MLP is All You Need for Sequential Recommendationcited by 96
  11. 2019Managing Popularity Bias in Recommender Systems with Personalized Re-rankingcited by 81
  12. 2019The Unfairness of Popularity Bias in Recommendationcited by 68
12 more
  1. 2023Frequency Enhanced Hybrid Attention Network for Sequential Recommendationcited by 52
  2. 2020Exploring Data Splitting Strategies for the Evaluation of Recommendation Modelscited by 48
  3. 2023gSASRec: Reducing Overconfidence in Sequential Recommendation Trained with Negative Samplingcited by 29
  4. 2022TransRec: Learning Transferable Recommendation from Mixture-of-Modality Feedbackcited by 27
  5. 2021A Case Study on Sampling Strategies for Evaluating Neural Sequential Item Recommendation Modelscited by 24
  6. 2021Cross-Batch Negative Sampling for Training Two-Tower Recommenderscited by 24
  7. 2022A Systematic Review and Replicability Study of BERT4Rec for Sequential Recommendationcited by 22
  8. 2023Fairly Adaptive Negative Sampling for Recommendationscited by 22
  9. 2023Widespread Flaws in Offline Evaluation of Recommender Systemscited by 21
  10. 2022Cache-Augmented Inbatch Importance Resampling for Training Recommender Retrievercited by 5
  11. 2022Generating Negative Samples for Sequential Recommendationcited by 3
  12. 2023Towards Automated Negative Sampling in Implicit Recommendationcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.