arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.02048cs.IR
收藏

你的因果自注意力推荐器承载着一个孤独的邻域

Your Causal Self-Attentive Recommender Hosts a Lonely Neighborhood

Yueqi Wang, Zhankui He, Zhenrui Yue, Julian McAuley, Dong Wang

AI总结:

本文通过理论分析与基于ModSAR实验流程的广泛实证,揭示自回归注意力在稀疏序列推荐中优于自编码注意力,并为自注意力推荐器设计提供指导。

摘要:

在序列推荐的研究背景下,一个关键问题涉及双向/自编码(AE)与单向/自回归(AR)注意力机制之间的比较分析,其中关于架构与性能优劣的结论仍未形成定论。以往此类比较工作主要集中于总结现有研究以寻找共识,或对损失函数选择等外围建模技术进行消融研究。然而,针对自注意力模块本身——这一性能与设计洞见所应依托的核心结构——所开展的理论分析和广泛实证分析都远为不足。本文首先从(1)稀疏局部归纳偏置(即邻域效应)和(2)低秩近似两个方面,对AE/AR注意力矩阵进行了全面的理论分析。分析指标表明,AR注意力表现出稀疏的邻域效应,适用于通常较为稀疏的推荐场景。其次,为支持理论分析,我们在五个常用基准上对AE/AR注意力进行了广泛的实证实验比较,AR整体表现更优。所报告的实证结果基于我们名为自注意力推荐器模块化设计空间(ModSAR)的实验流程,该流程支持自适应超参数调优、模块化设计空间以及HuggingFace插件。我们邀请推荐系统社区使用ModSAR或为其做出贡献,以(1)开展超越AE/AR比较的更多模块/模型层面的检验,并(2)加速最先进模型的设计。最后,我们为高性能自注意力推荐器的未来设计选择提供了启示。我们的流程实现和数据已在 https://github.com/yueqirex/SAR-Check 公开。

英文摘要:

In the context of sequential recommendation, a pivotal issue pertains to the comparative analysis between bi-directional/auto-encoding (AE) and uni-directional/auto-regressive (AR) attention mechanisms, where the conclusions regarding architectural and performance superiority remain inconclusive. Previous efforts in such comparisons primarily involve summarizing existing works to identify a consensus or conducting ablation studies on peripheral modeling techniques, such as choices of loss functions. However, far fewer efforts have been made in (1) theoretical and (2) extensive empirical analysis of the self-attention module, the very pivotal structure on which performance and designing insights should be anchored. In this work, we first provide a comprehensive theoretical analysis of AE/AR attention matrix in the aspect of (1) sparse local inductive bias, a.k.a neighborhood effects, and (2) low rank approximation. Analytical metrics reveal that the AR attention exhibits sparse neighborhood effects suitable for generally sparse recommendation scenarios. Secondly, to support our theoretical analysis, we conduct extensive empirical experiments on comparing AE/AR attention on five popular benchmarks with AR performing better overall. Empirical results reported are based on our experimental pipeline named Modularized Design Space for Self-Attentive Recommender (ModSAR), supporting adaptive hyperparameter tuning, modularized design space and HuggingFace plug-ins. We invite the recommendation community to utilize/contribute to ModSAR to (1) conduct more module/model-level examining beyond AE/AR comparison and (2) accelerate state-of-the-art model design. Lastly, we shed light on future design choices for performant self-attentive recommenders. We make our pipeline implementation and data available at https://github.com/yueqirex/SAR-Check.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑