用有原则的对抗对比损失增强协同过滤
Empowering Collaborative Filtering with Principled Adversarial Contrastive Loss
AI总结:
本文针对协同过滤中对比学习面临的分布外、假阴性等问题,提出有原则的对抗InfoNCE损失AdvInfoNCE,通过自适应困难度分配和排序准则提升推荐泛化能力,并在多个数据集上验证其有效性。
摘要:
对比学习(CL)在自监督学习任务中取得了令人印象深刻的表现,展现出优越的泛化能力。受此成功启发,将CL引入协同过滤(CF)在半监督top-K推荐中已十分普遍。其基本思想是例行进行基于启发式的数据增强,并在增强视图上应用对比损失(如InfoNCE)。然而,一些CF特有的挑战使这种引入方式并非最优,例如分布外问题、假阴性风险以及top-K评估的本质。这些挑战要求基于CL的CF方案更加注重挖掘困难负样本,并从大量未标记的用户-项目交互中区分假阴性,以获得有信息量的对比信号。更糟糕的是,目前对CF方法中对比损失的理解有限,尤其是关于其泛化能力。为弥合这一差距,我们深入研究了对比损失在CF中取得成功的原因,并提出了一种有原则的对抗InfoNCE损失(AdvInfoNCE),它是InfoNCE的一种变体,专门为CF方法量身定制。AdvInfoNCE以对抗方式自适应地探索并为每个负实例分配困难度,并进一步利用细粒度的困难度感知排序准则来增强推荐器的泛化能力。使用AdvInfoNCE训练CF模型,我们在合成和真实世界基准数据集上验证了AdvInfoNCE的有效性,从而展示了其缓解分布外问题的泛化能力。鉴于AdvInfoNCE相对于大多数对比损失函数的理论保证和经验优越性,我们主张将其作为推荐系统中的标准损失,特别是对于分布外任务。代码可在https://github.com/LehengTHU/AdvInfoNCE获取。
英文摘要:
Contrastive Learning (CL) has achieved impressive performance in self-supervised learning tasks, showing superior generalization ability. Inspired by the success, adopting CL into collaborative filtering (CF) is prevailing in semi-supervised top-K recommendations. The basic idea is to routinely conduct heuristic-based data augmentation and apply contrastive losses (e.g., InfoNCE) on the augmented views. Yet, some CF-tailored challenges make this adoption suboptimal, such as the issue of out-of-distribution, the risk of false negatives, and the nature of top-K evaluation. They necessitate the CL-based CF scheme to focus more on mining hard negatives and distinguishing false negatives from the vast unlabeled user-item interactions, for informative contrast signals. Worse still, there is limited understanding of contrastive loss in CF methods, especially w.r.t. its generalization ability. To bridge the gap, we delve into the reasons underpinning the success of contrastive loss in CF, and propose a principled Adversarial InfoNCE loss (AdvInfoNCE), which is a variant of InfoNCE, specially tailored for CF methods. AdvInfoNCE adaptively explores and assigns hardness to each negative instance in an adversarial fashion and further utilizes a fine-grained hardness-aware ranking criterion to empower the recommender's generalization ability. Training CF models with AdvInfoNCE, we validate the effectiveness of AdvInfoNCE on both synthetic and real-world benchmark datasets, thus showing its generalization ability to mitigate out-of-distribution problems. Given the theoretical guarantees and empirical superiority of AdvInfoNCE over most contrastive loss functions, we advocate its adoption as a standard loss in recommender systems, particularly for the out-of-distribution tasks. Codes are available at https://github.com/LehengTHU/AdvInfoNCE.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。