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

释放稀疏注意力在长期行为上的潜力以预测点击率

Unleashing the Potential of Sparse Attention on Long-term Behaviors for CTR Prediction

Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);University of Chinese Academy of Sciences(中国科学院大学);Meituan(美团)

Weijiang Lai, Beihong Jin, Di Zhang, Siru Chen, Jiongyan Zhang, Yuhang Gou, Jian Dong, Xingxing Wang

AI总结:

SparseCTR通过稀疏注意力机制高效建模用户长期行为,提升CTR预测性能并展现扩展定律。

摘要:

近年来,大型语言模型(LLMs)的成功推动了推荐系统中扩展定律的探索。然而,展示扩展定律的模型在工业环境中建模用户长期行为时实际上具有挑战性,因为标准自注意力机制的计算复杂度很高。尽管其他领域提出了各种稀疏自注意力机制,但它们并不完全适合推荐场景。这是因为用户行为具有个性化和时间特征:不同用户有不同的行为模式,这些模式会随时间变化,与其它领域的数据在分布上存在显著差异。为了解决这些挑战,我们提出了SparseCTR,一个专门设计用于用户长期行为的高效有效模型。具体而言,我们首先将行为序列分割成个性化的小块,以避免分离连续行为并实现序列的并行处理。基于这些小块,我们提出了一种三分支稀疏自注意力机制,以联合识别用户的整体兴趣、兴趣转换和短期兴趣。此外,我们设计了一种复合相对时间编码,通过可学习的、头部特定的偏置系数,更好地捕捉用户行为之间的序列性和周期性关系。广泛的实验结果表明,SparseCTR不仅提高了效率,而且优于最先进的方法。更重要的是,它表现出明显的扩展定律现象,在FLOPs方面保持了三个数量级的性能提升。在在线A/B测试中,SparseCTR将CTR提高了1.72%,将CPM提高了1.41%。我们的源代码可在https://github.com/laiweijiang/SparseCTR上获得。

英文摘要:

In recent years, the success of large language models (LLMs) has driven the exploration of scaling laws in recommender systems. However, models that demonstrate scaling laws are actually challenging to deploy in industrial settings for modeling long sequences of user behaviors, due to the high computational complexity of the standard self-attention mechanism. Despite various sparse self-attention mechanisms proposed in other fields, they are not fully suited for recommendation scenarios. This is because user behaviors exhibit personalization and temporal characteristics: different users have distinct behavior patterns, and these patterns change over time, with data from these users differing significantly from data in other fields in terms of distribution. To address these challenges, we propose SparseCTR, an efficient and effective model specifically designed for long-term behaviors of users. To be precise, we first segment behavior sequences into chunks in a personalized manner to avoid separating continuous behaviors and enable parallel processing of sequences. Based on these chunks, we propose a three-branch sparse self-attention mechanism to jointly identify users' global interests, interest transitions, and short-term interests. Furthermore, we design a composite relative temporal encoding via learnable, head-specific bias coefficients, better capturing sequential and periodic relationships among user behaviors. Extensive experimental results show that SparseCTR not only improves efficiency but also outperforms state-of-the-art methods. More importantly, it exhibits an obvious scaling law phenomenon, maintaining performance improvements across three orders of magnitude in FLOPs. In online A/B testing, SparseCTR increased CTR by 1.72\% and CPM by 1.41\%. Our source code is available at https://github.com/laiweijiang/SparseCTR.

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

↑