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

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Lai, Weijiang, Jin, Beihong, Zhang, Di, Chen, Siru, Zhang, Jiongyan, Gou, Yuhang, Dong, Jian, Wang, Xingxing
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866911397296734208
author Lai, Weijiang
Jin, Beihong
Zhang, Di
Chen, Siru
Zhang, Jiongyan
Gou, Yuhang
Dong, Jian
Wang, Xingxing
author_facet Lai, Weijiang
Jin, Beihong
Zhang, Di
Chen, Siru
Zhang, Jiongyan
Gou, Yuhang
Dong, Jian
Wang, Xingxing
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2601_17836
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Unleashing the Potential of Sparse Attention on Long-term Behaviors for CTR Prediction
Lai, Weijiang
Jin, Beihong
Zhang, Di
Chen, Siru
Zhang, Jiongyan
Gou, Yuhang
Dong, Jian
Wang, Xingxing
Information Retrieval
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.
title Unleashing the Potential of Sparse Attention on Long-term Behaviors for CTR Prediction
topic Information Retrieval
url https://arxiv.org/abs/2601.17836