Lune

ICDE2024Top-tier venue

BSL: Understanding and Improving Softmax Loss for Recommendation

Junkang Wu, Jiawei Chen, Jiancan Wu, Wentao Shi, Jizhi Zhang, Xiang Wang

Abstract

Loss functions steer the optimization direction of recommendation models and are critical to model performance, but have received relatively little attention in recent recommendation research. Among various losses, we find Softmax loss (SL) stands out for not only achieving remarkable accuracy but also better robustness and fairness. Nevertheless, the current literature lacks a comprehensive explanation for the efficacy of SL. Toward addressing this research gap, we conduct theoretical analyses on SL and uncover three insights: 1) Optimizing SL is equivalent to performing Distributionally Robust Optimization (DRO) on the negative data, thereby learning against perturbations on the negative distribution and yielding robustness to noisy negatives. 2) Comparing with other loss functions, SL implicitly penalizes the prediction variance, resulting in a smaller gap between predicted values and and thus producing fairer results. Building on these insights, we further propose a novel loss function Bilateral SoftMax Loss (BSL) that extends the advantage of SL to both positive and negative sides. BSL augments SL by applying the same Log-Expectation-Exp structure to positive examples as is used for negatives, making the model robust to the noisy positives as well. Remarkably, BSL is simple and easy-to-implement - requiring just one additional line of code compared to SL. Experiments on four real-world datasets and three representative backbones demonstrate the effectiveness of our proposal. The code is available at https://github.com/junkangwu/BSL.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

11 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • LightGCN: Simplifying and Powering Graph Convolution Network for Recommendation cites Revisiting Graph Based Collaborative Filtering: A Linear Residual Graph Convolutional Network Approach
  • Self-supervised Graph Learning for Recommendation cites LightGCN: Simplifying and Powering Graph Convolution Network for Recommendation
  • Distributionally Robust Graph-based Recommendation System cites LightGCN: Simplifying and Powering Graph Convolution Network for Recommendation
  • Distributionally Robust Graph-based Recommendation System cites Self-supervised Graph Learning for Recommendation
  • Distributionally Robust Graph-based Recommendation System cites Are Graph Augmentations Necessary?: Simple Graph Contrastive Learning for Recommendation
  • SIGformer: Sign-aware Graph Transformer for Recommendation cites LightGCN: Simplifying and Powering Graph Convolution Network for Recommendation
  • SIGformer: Sign-aware Graph Transformer for Recommendation cites Self-supervised Graph Learning for Recommendation
  • SIGformer: Sign-aware Graph Transformer for Recommendation cites Distributionally Robust Graph-based Recommendation System
  • SIGformer: Sign-aware Graph Transformer for Recommendation cites Are Graph Augmentations Necessary?: Simple Graph Contrastive Learning for Recommendation
  • Are Graph Augmentations Necessary?: Simple Graph Contrastive Learning for Recommendation cites LightGCN: Simplifying and Powering Graph Convolution Network for Recommendation
  • Are Graph Augmentations Necessary?: Simple Graph Contrastive Learning for Recommendation cites Self-supervised Graph Learning for Recommendation
  • PSL: Rethinking and Improving Softmax Loss from Pairwise Perspective for Recommendation cites LightGCN: Simplifying and Powering Graph Convolution Network for Recommendation
  • PSL: Rethinking and Improving Softmax Loss from Pairwise Perspective for Recommendation cites Self-supervised Graph Learning for Recommendation
  • PSL: Rethinking and Improving Softmax Loss from Pairwise Perspective for Recommendation cites Distributionally Robust Graph-based Recommendation System
  • Disentangled Graph Collaborative Filtering cites LightGCN: Simplifying and Powering Graph Convolution Network for Recommendation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers11

  1. Distributionally Robust Graph-based Recommendation SystemBohao Wang, Jiawei Chen, Changdong Li, Sheng Zhou et al.WWW 2024 · 42 citations
  2. SIGformer: Sign-aware Graph Transformer for RecommendationSirui Chen, Jiawei Chen, Sheng Zhou, Bohao Wang et al.SIGIR 2024 · 35 citations
  3. PSL: Rethinking and Improving Softmax Loss from Pairwise Perspective for RecommendationWeiqin Yang, Jiawei Chen, Xin Xin, Sheng Zhou et al.NeurIPS 2024 · 17 citations
  4. Uncovering the Propensity Identification Problem in Debiased RecommendationsHonglei Zhang, Shuyi Wang, Haoxuan Li, Chunyuan Zheng et al.ICDE 2024 · 12 citations
  5. To Cool or not to Cool? Temperature Network Meets Large Foundation Models via DROZi-Hao Qiu, Siqi Guo, Mao Xu, Tuo Zhao et al.ICML 2024 · 11 citations

Builds on24

  1. LightGCN: Simplifying and Powering Graph Convolution Network for RecommendationXiangnan He, Kuan Deng, Xiang Wang, Yan Li et al.SIGIR 2020 · 4,448 citations
  2. Self-supervised Graph Learning for RecommendationJiancan Wu, Xiang Wang, Fuli Feng, Xiangnan He et al.SIGIR 2021 · 1,476 citations
  3. Are Graph Augmentations Necessary?: Simple Graph Contrastive Learning for RecommendationJunliang Yu, Hongzhi Yin, Xin Xia, Tong Chen et al.SIGIR 2022 · 658 citations
  4. Revisiting Graph Based Collaborative Filtering: A Linear Residual Graph Convolutional Network ApproachLei Chen, Le Wu, Richang Hong, Kun Zhang et al.AAAI 2020 · 634 citations
  5. Disentangled Graph Collaborative FilteringXiang Wang, Hongye Jin, An Zhang, Xiangnan He et al.SIGIR 2020 · 621 citations

Related papers

  1. Advancing Loss Functions in Recommender Systems: A Comparative Study with a Rényi Divergence-Based SolutionShengjia Zhang, Jiawei Chen, Changdong Li, Sheng Zhou et al.AAAI 2025 · 6 citations
  2. Label Distributionally Robust Losses for Multi-class Classification: Consistency, Robustness and AdaptivityDixian Zhu, Yiming Ying, Tianbao YangICML 2023 · 15 citations
  3. When AUC meets DRO: Optimizing Partial AUC for Deep Learning with Non-Convex Convergence GuaranteeDixian Zhu, Gang Li, Bokun Wang, Xiaodong Wu et al.ICML 2022 · 42 citations
  4. Distributionally Robust Finetuning BERT for Covariate Drift in Spoken Language UnderstandingSamuel Broscheit, Quynh Do, Judith GaspersACL 2022
  5. ϵ\epsilon-Softmax: Approximating One-Hot Vectors for Mitigating Label NoiseJialiang Wang, Xiong Zhou, Deming Zhai, Junjun Jiang et al.NeurIPS 2024 · 10 citations
Dusk over the sea between two cliffs drawn in fine vertical lines