mlsanityData to 14 Oct 2026

Toward a Better Understanding of Loss Functions for Collaborative Filtering

arXiv 2308.06091 ↗First posted 11 Aug 2023cs.IR cs.AI cs.LGcited by 8

Not on the map. Why?

Abstract (arXiv)

Collaborative filtering (CF) is a pivotal technique in modern recommender systems. The learning process of CF models typically consists of three components: interaction encoder, loss function, and negative sampling. Although many existing studies have proposed various CF models to design sophisticated interaction encoders, recent work shows that simply reformulating the loss functions can achieve significant performance gains. This paper delves into analyzing the relationship among existing loss functions. Our mathematical analysis reveals that the previous loss functions can be interpreted as alignment and uniformity functions: (i) the alignment matches user and item representations, and (ii) the uniformity disperses user and item distributions. Inspired by this analysis, we propose a novel loss function that improves the design of alignment and uniformity considering the unique patterns of datasets called Margin-aware Alignment and Weighted Uniformity (MAWU). The key novelty of MAWU is two-fold: (i) margin-aware alignment (MA) mitigates user/item-specific popularity biases, and (ii) weighted uniformity (WU) adjusts the significance between user and item uniformities to reflect the inherent characteristics of datasets. Extensive experimental results show that MF and LightGCN equipped with MAWU are comparable or superior to state-of-the-art CF models with various loss functions on three public datasets.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 36 of its 63 references that are in the map. First posted on arXiv 11 Aug 2023.

Builds on

36 of 63 references.

References · 36

  1. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  2. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  3. 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
  4. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,173
  5. 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,405
  6. 2020LightGCN: Simplifying and Powering Graph Convolution Network for Recommendationcited by 1,139
  7. 2017Neural Collaborative Filteringcited by 1,111
  8. 2015Session-based Recommendations with Recurrent Neural Networkscited by 695
  9. 2019Neural Graph Collaborative Filteringcited by 661
  10. 2020Understanding the Behaviour of Contrastive Losscited by 398
  11. 2018Variational Autoencoders for Collaborative Filteringcited by 310
  12. 2020Self-supervised Graph Learning for Recommendationcited by 305
24 more
  1. 2019Are We Really Making Much Progress? A Worrying Analysis of Recent Neural Recommendation Approachescited by 185
  2. 2021Are Graph Augmentations Necessary? Simple Graph Contrastive Learning for Recommendationcited by 173
  3. 2020RecBole: Towards a Unified, Comprehensive and Efficient Framework for Recommendation Algorithmscited by 138
  4. 2014Collaborative Deep Learning for Recommender Systemscited by 95
  5. 2019Embarrassingly Shallow Autoencoders for Sparse Datacited by 94
  6. 2023LightGCL: Simple Yet Effective Graph Contrastive Learning for Recommendationcited by 72
  7. 2017On Sampling Strategies for Neural Network-based Collaborative Filteringcited by 71
  8. 2021SimpleX: A Simple and Strong Baseline for Collaborative Filteringcited by 65
  9. 2019RecVAE: a New Variational Autoencoder for Top-N Recommendations with Implicit Feedbackcited by 63
  10. 2022Towards Representation Alignment and Uniformity in Collaborative Filteringcited by 57
  11. 2022On the Effectiveness of Sampled Softmax Loss for Item Recommendationcited by 39
  12. 2020Contrastive Learning for Debiased Candidate Generation in Large-Scale Recommender Systemscited by 38
  13. 2020Simplify and Robustify Negative Sampling for Implicit Collaborative Filteringcited by 34
  14. 2022HRCF: Enhancing Collaborative Filtering via Hyperbolic Geometric Regularizationcited by 34
  15. 2021AutoLoss: Automated Loss Function Search in Recommendationscited by 31
  16. 2019AM-LFS: AutoML for Loss Function Searchcited by 29
  17. 2022Incorporating Bias-aware Margins into Contrastive Loss for Collaborative Filteringcited by 29
  18. 2023Heterogeneous Graph Contrastive Learning for Recommendationcited by 28
  19. 2020Loss Function Search for Face Recognitioncited by 22
  20. 2020Sampler Design for Implicit Feedback Data by Noisy-label Robust Learningcited by 18
  21. 2022AutoLossGen: Automatic Loss Function Generation for Recommender Systemscited by 10
  22. 2021Learning Explicit User Interest Boundary for Recommendationcited by 6
  23. 2022CROLoss: Towards a Customizable Loss for Retrieval Models in Recommender Systemscited by 4
  24. 2023When Newer is Not Better: Does Deep Learning Really Benefit Recommendation From Implicit Feedback?cited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 4; 2025: 3; 2026: 1.

8 papers.