Length-Adaptive Interest Network for Balancing Long and Short Sequence Modeling in CTR Prediction
Zhicheng Zhang, Zhaocheng Du, Jieming Zhu, Jiwei Tang, Fengyuan Lu, Wang Jiaheng, Song-Li Wu, Qianhui Zhu, Jingyu Li, Hai-Tao Zheng, Zhenhua Dong

TL;DR
This paper introduces LAIN, a novel framework that dynamically balances modeling of long and short user behavior sequences in CTR prediction, improving accuracy especially for short-sequence users.
Contribution
LAIN is a new, plug-and-play method that incorporates sequence length as a conditioning signal to enhance CTR models' ability to handle diverse sequence lengths.
Findings
Consistently improves CTR prediction performance across benchmarks.
Achieves up to 1.15% AUC gain and 2.25% log loss reduction.
Significantly enhances short-sequence user prediction accuracy.
Abstract
User behavior sequences in modern recommendation systems exhibit significant length heterogeneity, ranging from sparse short-term interactions to rich long-term histories. While longer sequences provide more context, we observe that increasing the maximum input sequence length in existing CTR models paradoxically degrades performance for short-sequence users due to attention polarization and length imbalance in training data. To address this, we propose LAIN(Length-Adaptive Interest Network), a plug-and-play framework that explicitly incorporates sequence length as a conditioning signal to balance long- and short-sequence modeling. LAIN consists of three lightweight components: a Spectral Length Encoder that maps length into continuous representations, Length-Conditioned Prompting that injects global contextual cues into both long- and short-term behavior branches, and Length-Modulated…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsRecommender Systems and Techniques · Machine Learning in Healthcare · Explainable Artificial Intelligence (XAI)
