Toward a Better Understanding of Loss Functions for Collaborative Filtering
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
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,173
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,405
- 2020LightGCN: Simplifying and Powering Graph Convolution Network for Recommendationcited by 1,139
- 2017Neural Collaborative Filteringcited by 1,111
- 2015Session-based Recommendations with Recurrent Neural Networkscited by 695
- 2019Neural Graph Collaborative Filteringcited by 661
- 2020Understanding the Behaviour of Contrastive Losscited by 398
- 2018Variational Autoencoders for Collaborative Filteringcited by 310
- 2020Self-supervised Graph Learning for Recommendationcited by 305
24 more
- 2019Are We Really Making Much Progress? A Worrying Analysis of Recent Neural Recommendation Approachescited by 185
- 2021Are Graph Augmentations Necessary? Simple Graph Contrastive Learning for Recommendationcited by 173
- 2020RecBole: Towards a Unified, Comprehensive and Efficient Framework for Recommendation Algorithmscited by 138
- 2014Collaborative Deep Learning for Recommender Systemscited by 95
- 2019Embarrassingly Shallow Autoencoders for Sparse Datacited by 94
- 2023LightGCL: Simple Yet Effective Graph Contrastive Learning for Recommendationcited by 72
- 2017On Sampling Strategies for Neural Network-based Collaborative Filteringcited by 71
- 2021SimpleX: A Simple and Strong Baseline for Collaborative Filteringcited by 65
- 2019RecVAE: a New Variational Autoencoder for Top-N Recommendations with Implicit Feedbackcited by 63
- 2022Towards Representation Alignment and Uniformity in Collaborative Filteringcited by 57
- 2022On the Effectiveness of Sampled Softmax Loss for Item Recommendationcited by 39
- 2020Contrastive Learning for Debiased Candidate Generation in Large-Scale Recommender Systemscited by 38
- 2020Simplify and Robustify Negative Sampling for Implicit Collaborative Filteringcited by 34
- 2022HRCF: Enhancing Collaborative Filtering via Hyperbolic Geometric Regularizationcited by 34
- 2021AutoLoss: Automated Loss Function Search in Recommendationscited by 31
- 2019AM-LFS: AutoML for Loss Function Searchcited by 29
- 2022Incorporating Bias-aware Margins into Contrastive Loss for Collaborative Filteringcited by 29
- 2023Heterogeneous Graph Contrastive Learning for Recommendationcited by 28
- 2020Loss Function Search for Face Recognitioncited by 22
- 2020Sampler Design for Implicit Feedback Data by Noisy-label Robust Learningcited by 18
- 2022AutoLossGen: Automatic Loss Function Generation for Recommender Systemscited by 10
- 2021Learning Explicit User Interest Boundary for Recommendationcited by 6
- 2022CROLoss: Towards a Customizable Loss for Retrieval Models in Recommender Systemscited by 4
- 2023When Newer is Not Better: Does Deep Learning Really Benefit Recommendation From Implicit Feedback?cited by 4
Built on by
Citing papers per year: 2024: 4; 2025: 3; 2026: 1.
8 papers.
- 2024Popularity-Aware Alignment and Contrast for Mitigating Popularity Biascited by 9
- 2024SimCE: Simplifying Cross-Entropy Loss for Collaborative Filteringcited by 4
- 2025On the Role of Weight Decay in Collaborative Filtering: A Popularity Perspectivecited by 2
- 2025Advancing Loss Functions in Recommender Systems: A Comparative Study with a R'enyi Divergence-Based Solutioncited by 2
- 2024Understanding and Scaling Collaborative Filtering Optimization from the Perspective of Matrix Rankcited by 1
- 2025LLM-Enhanced Linear Autoencoders for Recommendationcited by 1
- 2024Multi-Margin Cosine Loss: Proposal and Application in Recommender Systemscited by 0
- 2026MergeRec: Model Merging for Data-Isolated Cross-Domain Sequential Recommendationcited by 0
- 2026MergeRec: Model Merging for Data-Isolated Cross-Domain Sequential Recommendation5 Jan 2026
- 2025LLM-Enhanced Linear Autoencoders for Recommendation19 Aug 2025
- 2025Advancing Loss Functions in Recommender Systems: A Comparative Study with a R'enyi Divergence-Based Solution18 Jun 2025
- 2025On the Role of Weight Decay in Collaborative Filtering: A Popularity Perspective16 May 2025
- 2024Understanding and Scaling Collaborative Filtering Optimization from the Perspective of Matrix Rank15 Oct 2024
- 2024SimCE: Simplifying Cross-Entropy Loss for Collaborative Filtering23 Jun 2024
- 2024Popularity-Aware Alignment and Contrast for Mitigating Popularity Bias31 May 2024
- 2024Multi-Margin Cosine Loss: Proposal and Application in Recommender Systems7 May 2024