[논문 리뷰] LASER: An Efficient Target-Aware Segmented Attention Framework for End-to-End Long Sequence Modeling
LASER는 SeqVault 인프라를 갖춘 압축-그다음-정제(long-sequence) 주의 프레임워크를 도입하여 엔드-투-엔드 초장 시퀀스 모델링을 산업 추천 시스템에서 가능하게 하고 생산 수준의 효율성과 CTR 지표 개선을 달성합니다.
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.
연구 동기 및 목표
- 산업용 추천 시스템에서 초장기 사용자 행동 시퀀스의 효율적인 엔드투엔드 모델링을 촉진한다.
- I/O 및 이차(attention)로 인한 지연과 계산 병목 문제를 시스템 및 알고리즘 솔루션으로 해결한다.
- 실세계 플랫폼에서 프로덕션-레디 컴포넌트를 제공하여 순위 성능과 비즈니스 지표를 향상시킨다.
제안 방법
- DRAM-SSD 하이브리드 인덱스를 사용하여 전체 생애 주기 사용자 이력을 실시간으로 접근할 수 있도록 SeqVault를 도입한다.
- Sigmoid 기반 게이팅으로 노이즈 억제를 통해 긴 시퀀스를 압축하는 Segmented Target Attention (STA)을 제안한다.
- 압축된 세그먼트를 정교화하고 세그먼트 간 의존성을 모델링하기 위해 Global Stacked Target Attention (GSTA)을 개발한다.
- 전역 컨텍스트, 중요한 신호, 최신성을 결합하기 위한 다중 해상도 피처 융합을 적용한다.
- 전역 주의 집계 및 통신에 대한 배포 지향 최적화(예: ZSTD 압축)를 제공한다.
실험 결과
연구 질문
- RQ1초장기 사용자 이력을 실시간으로 접근하고 CTR 예측에 활용하는 방법은?
- RQ2압축-후-정제(attention) 파이프라인이 긴 시퀀스의 계산을 줄이면서도 성능을 유지할 수 있는가?
- RQ3대규모 산업용 추천 시스템에서 LASER를 배포할 때의 프로덕션 이득은 무엇인가?
- RQ4STA, GSTA, 그리고 융합 구성요소의 제거 실험이 오프라인 AUC 및 온라인 지표에 어떤 영향을 미치는가?
주요 결과
- LASER는 Xiaohongshu Ads에서 오프라인 AUC 0.7826으로 최상위를 기록하고 DIN, HSTU, Transformer와 같은 기준 모델을 능가한다.
- SeqVault는 RocksDB 기반 LastN에 비해 CPU 사용량을 약 75% 감소시키고 P99 지연을 50% 이상 단축하며 상당한 디스크 절감을 달성한다.
- LASER의 SIGMOID 기반 세분화는 softmax를 능가한다; Ablation에서 이를 제거하면 AUC가 0.03%포인트 감소한다.
- Ablation은 최신성 임베딩이 중요한 신호임을 보여주며, 제거 시 가장 큰 단일 구성요소 AUC 감소를 야기한다(0.09%포인트).
- LASER의 온라인 A/B 테스트는 생산 기준선에 비해 ADVV 및 수익에서 이득을 창출한다(초록에 구체적 온라인 이익이 보고됨).
- 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).
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.