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.
翻译:协同过滤(CF)是现代推荐系统中的关键技术。CF模型的学习过程通常包含三个组成部分:交互编码器、损失函数和负采样。尽管现有许多研究提出了各种CF模型以设计复杂的交互编码器,但近期工作表明,仅通过重新表述损失函数即可实现显著的性能提升。本文深入分析了现有损失函数之间的关系。数学分析揭示,以往的损失函数可被解释为对齐性与均匀性函数:(i)对齐性匹配用户与物品表示,(ii)均匀性分散用户与物品分布。受此分析启发,我们提出了一种新颖的损失函数,它通过考虑数据集的独特模式改进了对齐性与均匀性的设计,称为边际感知对齐与加权均匀性(MAWU)。MAWU的关键创新包含两点:(i)边际感知对齐(MA)缓解了用户/物品特定的流行度偏差,(ii)加权均匀性(WU)调整用户均匀性与物品均匀性之间的重要性,以反映数据集的内在特征。大量实验结果表明,在三个公开数据集上,配备MAWU的MF和LightGCN模型可与采用多种损失函数的最先进CF模型相媲美甚至更优。