Lune

WWW2023顶会

On the Theories Behind Hard Negative Sampling for Recommendation

Wentao Shi, Jiawei Chen, Fuli Feng, Jizhi Zhang, Junkang Wu, Chongming Gao, Xiangnan He

摘要

Negative sampling has been heavily used to train recommender models on large-scale data, wherein sampling hard examples usually not only accelerates the convergence but also improves the model accuracy. Nevertheless, the reasons for the effectiveness of Hard Negative Sampling (HNS) have not been revealed yet. In this work, we fill the research gap by conducting thorough theoretical analyses on HNS. Firstly, we prove that employing HNS on the Bayesian Personalized Ranking (BPR) learner is equivalent to optimizing One-way Partial AUC (OPAUC). Concretely, the BPR equipped with Dynamic Negative Sampling (DNS) is an exact estimator, while with softmax-based sampling is a soft estimator. Secondly, we prove that OPAUC has a stronger connection with Top-𝐾 evaluation metrics than AUC and verify it with simulation experiments. These analyses establish the theoretical foundation of HNS in optimizing Top-𝐾 recommendation performance for the first time. On these bases, we offer two insightful guidelines for effective usage of HNS: 1) the sampling hardness should be controllable, e.g., via pre-defined hyper-parameters, to adapt to different Top-𝐾 metrics and datasets; 2) the smaller the 𝐾 we emphasize in Top-𝐾 evaluation metrics, the harder the negative samples we should draw. Extensive experiments on three real-world benchmarks verify the two guidelines.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 16 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Double Correction Framework for Denoising Recommendation 引用了 Simplify and Robustify Negative Sampling for Implicit Collaborative Filtering
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper16

  1. Plug-In Diffusion Model for Sequential RecommendationHaokai Ma, Ruobing Xie, Lei Meng, Xin Chen 等AAAI 2024 · 84 次引用
  2. Empowering Collaborative Filtering with Principled Adversarial Contrastive LossAn Zhang, Leheng Sheng, Zhibo Cai, Xiang Wang 等NeurIPS 2023 · 56 次引用
  3. Adaptive Hardness Negative Sampling for Collaborative FilteringRiwei Lai, Rui Chen, Qilong Han, Chi Zhang 等AAAI 2024 · 40 次引用
  4. Graph Anomaly Detection with Bi-level OptimizationYuan Gao, Junfeng Fang, Yongduo Sui, Yangyang Li 等WWW 2024 · 21 次引用
  5. Double Correction Framework for Denoising RecommendationZhuangzhuang He, Yifan Wang, Yonghui Yang, Peijie Sun 等KDD 2024 · 16 次引用

它引用的 Paper11

  1. Large-Scale Methods for Distributionally Robust OptimizationDaniel Levy, Yair Carmon, John C. Duchi, Aaron SidfordNeurIPS 2020 · 281 次引用
  2. Reinforced Negative Sampling over Knowledge Graph for RecommendationXiang Wang, Yaokun Xu, Xiangnan He, Yixin Cao 等WWW 2020 · 209 次引用
  3. Efficient Heterogeneous Collaborative Filtering without Negative Sampling for RecommendationChong Chen, Min Zhang, Yongfeng Zhang, Weizhi Ma 等AAAI 2020 · 185 次引用
  4. Boosting the Speed of Entity Alignment 10 ×: Dual Attention Matching Network with Normalized Hard Sample MiningXin Mao, Wenting Wang, Yuanbin Wu, Man LanWWW 2021 · 148 次引用
  5. Simplify and Robustify Negative Sampling for Implicit Collaborative FilteringJingtao Ding, Yuhan Quan, Quanming Yao, Yong Li 等NeurIPS 2020 · 131 次引用

相关 Paper

  1. On Sampled Metrics for Item RecommendationWalid Krichene, Steffen RendleKDD 2020 · 459 次引用
  2. R2NS: Recall and Re-ranking of Negative Samples for Sequential RecommendationYuanzi Li, Xuri Ge, Jingyu Zhao, Yidan Wang 等WWW 2026
  3. Bayesian Negative Sampling for RecommendationBin Liu, Bang WangICDE 2023 · 10 次引用
  4. Lower-Left Partial AUC: An Effective and Efficient Optimization Metric for RecommendationWentao Shi, Chenxu Wang, Fuli Feng, Yang Zhang 等WWW 2024 · 13 次引用
  5. Personalized Ranking with Importance SamplingDefu Lian, Qi Liu, Enhong ChenWWW 2020 · 98 次引用
黄昏的海面,两侧是细线勾勒的悬崖