The Journey of Ultra-Long Sequence Recommendation Models: From Heuristic and Learnable Retrieval to Mathematical Architecture Optimization
Abstract
As user interactions in contemporary online platforms expand, sequential recommendation systems are encountering computational challenges. Users' past interaction sequences have grown from tens of items in the early days to life-long sequences with tens of thousands or millions of interactions. Despite the clear benefits of the self-attention mechanism embodied in the Transformer model in capturing long-term dependencies, the computational and memory costs of the self-attention mechanism scale quadratically(O(L2))with the input sequence length, making it difficult to apply in real-time industry-level recommendation systems with high concurrency and low latency. This review provides an overview of the evolution of ultra-long sequence recommendation models, grouping the current solutions into three main paradigms: heuristic and learnable retrieval, state compression based on memory and hierarchical models, and mathematical architecture optimization based on linear attention and state space models (SSMs). This paper also investigates the recent developments in this area, examining the impact of the cloud-edge collaborative computing paradigm in combining computational resources and user privacy, the denoising strategies in interactive sequences and the potential use of large language models (LLMs) for semantic understanding and generation in long sequences. By examining the theoretical frameworks and experimental results of key works, this paper offers an outlook on future research directions for the next generation of recommendation systems with high scalability, privacy protection and computational efficiency.
References
- Liu, L., Cai, L., Zhang, C., Zhao, X., Gao, J., Wang, W., Lv, Y., Fan, W., Wang, Y., He, M., Liu, Z., & Li, Q. (2023). LinRec: Linear attention mechanism for long-term sequential recommender systems. Proceedings of the 46th International ACM SIGIR Conference on Research and Development in Information Retrieval, 289–299. https: //doi.org/10.1145/3539618.3591717
- Pi, Q., Bian, W., Zhou, G., Zhu, X., & Gai, K. (2020). Search-based user interest modeling with lifelong sequential behavior data for click-through rate prediction. Proceedings of the 29th ACM International Conference on Information & Knowledge Management, 2685–2692.https: //doi.org/10.1145/3340531.3412744
- Qin, J., Zhang, W., Wu, X., Jin, J., Fang, Y., & Yu, Y. (2020). User behavior retrieval for click-through rate prediction. Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrieval, 2347–2356.https: //doi.org/10.1145/3397271.3401440
- Chen, Q., Xu, Y., Pei, C., Lv, S., Zhuang, T., & Ge, J. (2021). Efficient long sequential user data modeling for click-through rate prediction. arXiv preprint, arXiv: 2209.12212.
- Cao, Y., Zhou, X., Feng, J., Huang, P., Xiao, Y., Chen, D., & Chen, S. (2022). Sampling is all you need on modeling long-term user behaviors for CTR prediction. Proceedings of the 31st ACM International Conference on Information & Knowledge Management, 2974–2983.https: //doi.org/10.1145/3511808.3557083
- Pi, Q., Bian, W., Zhou, G., Zhu, X., & Gai, K. (2019). Practice on long sequential user behavior modeling for click-through rate prediction. Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, 2671–2679. https: //doi.org/10.1145/3292500.3330673
- Dong, J., Sun, F., Wu, T., Wu, X., Zhang, W., & Wang, S. (2022). A hierarchical network with user memory matrix for long sequence recommendation. Wireless Communications and Mobile Computing, 2022(1), 5457044. https: //doi.org/10.1155/2022/5457044
- Yue, Z., Wang, Y., He, Z., Zeng, H., McAuley, J., & Wang, D. (2024). Linear recurrent units for sequential recommendation. Proceedings of the 17th ACM International Conference on Web Search and Data Mining, 930–938. https: //doi.org/10.1145/3616855.3635799
- Liu, C., Lin, J., Wang, J., Liu, H., & Caverlee, J. (2024). Mamba4Rec: Towards efficient sequential recommendation with selective state space models. arXiv preprint, arXiv: 2403.03900.
- Long, J., Huang, S., Huo, H., & Xu, G. (2025). CDA4Rec: Cloud-device collaborative agents for sequential recommendation. arXiv preprint, arXiv: 2509.01551.
- Wu, T., Huang, C., Huang, H., Yu, T., & Xie, K. (2025). Empowering denoising sequential recommendation with large language model embeddings. arXiv preprint, arXiv: 2510.04239.
- Wang, B., Liu, F., Zhang, C., Chen, J., Wu, Y., Zhou, S., Lou, X., Wang, J., Feng, Y., Chen, C., & Wang, C. (2024). LLM4DSR: Leveraging large language model for denoising sequential recommendation. arXiv preprint, arXiv: 2408.08208.
- Zhai, J., Li, L., Liu, X., Wang, Y., & Li, R. (2024). HSTU: Hierarchical sequential transduction units for generative recommendation. Proceedings of the 41st International Conference on Machine Learning, PMLR 235.
- YChen, Z., Zhao, C., Mo, K. C., Jiang, Y., Lee, J. H., Mahajan, K. C., Jiang, N., Ren, K., Li, J., & Yang, W. Y. (2025). Massive memorization with hundreds of trillions of parameters for sequential transducer generative recommenders. arXiv preprint, arXiv: 2510.22049.