[Paper Review] LASER: An Efficient Target-Aware Segmented Attention Framework for End-to-End Long Sequence Modeling
LASER introduces a compress-then-refine long-sequence attention framework with SeqVault infrastructure to enable end-to-end ultra-long sequence modeling in industrial recommender systems, achieving production-level efficiency and improved CTR metrics.
Modeling ultra-long user behavior sequences is pivotal for capturing evolving and lifelong interests in modern recommendation systems. However, deploying such models in real-time industrial environments faces a strict "Latency Wall", constrained by two distinct bottlenecks: the high I/O latency of retrieving massive user histories and the quadratic computational complexity of standard attention mechanisms. To break these bottlenecks, we present LASER, a full-stack optimization framework developed and deployed at Xiaohongshu (RedNote). Our approach tackles the challenges through two complementary innovations: (1) System efficiency: We introduce SeqVault, a unified schema-aware serving infrastructure for long user histories. By implementing a hybrid DRAM-SSD indexing strategy, SeqVault reduces retrieval latency by 50% and CPU usage by 75%, ensuring millisecond-level access to full real-time and life-cycle user histories. (2) Algorithmic efficiency: We propose a Segmented Target Attention (STA) mechanism to address the computational overhead. Motivated by the inherent sparsity of user interests, STA employs a sigmoid-based gating strategy that acts as a silence mechanism to filter out noisy items. Subsequently, a lightweight Global Stacked Target Attention (GSTA) module refines these compressed segments to capture cross-segment dependencies without incurring high computational costs. This design performs effective sequence compression, reducing the complexity of long-sequence modeling while preserving critical signals. Extensive offline evaluations demonstrate that LASER consistently outperforms state-of-the-art baselines. In large-scale online A/B testing serving over 100 million daily active users, LASER achieved a 2.36% lift in ADVV and a 2.08% lift in revenue, demonstrating its scalability and significant commercial impact.
Motivation & Objective
- Motivate efficient end-to-end modeling of ultra-long user behavior sequences in industrial recommenders.
- Address latency and compute bottlenecks from I/O and quadratic attention by proposing a system and algorithmic solution.
- Deliver production-ready components on a real-world platform to improve ranking performance and business metrics.
Proposed method
- Introduce SeqVault to provide real-time access to full life-cycle user histories using a DRAM-SSD hybrid index.
- Propose Segmented Target Attention (STA) to compress long sequences with sigmoid-based gating for noise suppression.
- Develop Global Stacked Target Attention (GSTA) to refine compressed segments and model cross-segment dependencies.
- Employ a multi-resolution feature fusion to combine global context, salient signals, and recency.
- Provide deployment-oriented optimizations for global attention aggregation and communication (ZSTD compression).
Experimental results
Research questions
- RQ1How can ultra-long user histories be accessed and utilized in real time for CTR prediction?
- RQ2Can a compress-then-refine attention pipeline maintain performance while reducing computation for long sequences?
- RQ3What are the production gains when deploying LASER in a large-scale industrial recommender system?
- RQ4How do ablations of STA, GSTA, and fusion components affect offline AUC and online metrics?
Key findings
- LASER achieves the highest offline AUC (0.7826) on Xiaohongshu Ads, surpassing baselines like DIN, HSTU, and Transformer.
- SeqVault reduces CPU usage by ~75% and P99 latency by >50% compared to RocksDB-basedLastN, with substantial disk savings.
- LASER’s SIGMOID-based segmentation outperforms softmax; removing it drops AUC by 0.03 percentage points in ablation.
- Ablation shows recency embedding is a critical signal, with the largest single-component AUC drop when removed (0.09 percentage points).
- LASER online A/B testing yields gains in ADVV and revenue over a production baseline (specific online gains reported in abstract).
- Offline FLOPs for LASER are significantly lower than full self-attention baselines while delivering deep modeling capabilities (approximately 0.4e8 vs 3.2e8–3.6e8).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.