[Paper Review] HiSAC: Hierarchical Sparse Activation Compression for Ultra-long Sequence Modeling in Recommenders
HiSAC introduces hierarchical sparse activation and soft-routing attention to compress ultra-long user sequences, producing personalized interest-agents and achieving a 1.65% CTR uplift in Taobao deployment.
Modern recommender systems leverage ultra-long user behavior sequences to capture dynamic preferences, but end-to-end modeling is infeasible in production due to latency and memory constraints. While summarizing history via interest centers offers a practical alternative, existing methods struggle to (1) identify user-specific centers at appropriate granularity and (2) accurately assign behaviors, leading to quantization errors and loss of long-tail preferences. To alleviate these issues, we propose Hierarchical Sparse Activation Compression (HiSAC), an efficient framework for personalized sequence modeling. HiSAC encodes interactions into multi-level semantic IDs and constructs a global hierarchical codebook. A hierarchical voting mechanism sparsely activates personalized interest-agents as fine-grained preference centers. Guided by these agents, Soft-Routing Attention aggregates historical signals in semantic space, weighting by similarity to minimize quantization error and retain long-tail behaviors. Deployed on Taobao's "Guess What You Like" homepage, HiSAC achieves significant compression and cost reduction, with online A/B tests showing a consistent 1.65% CTR uplift -- demonstrating its scalability and real-world effectiveness.
Motivation & Objective
- Motivate efficient modeling of ultra-long user behavior sequences in production settings.
- Develop a personalized, multi-granular representation of user interests to reduce quantization error.
- Introduce a hierarchical voting mechanism to sparsely activate user-specific interest agents.
- Propose Soft-Routing Attention to preserve long-tail preferences while compressing history.
- Demonstrate industrial deployment gains in latency reduction and CTR uplift.
Proposed method
- Tokenize histories into multi-level semantic identifiers via a multimodal encoder and Residual Quantized VAE (RQ-VAE).
- Construct a global multi-level semantic tree and apply hierarchical voting to sparsely activate user-specific interest-agents.
- Use Soft-Routing Attention to aggregate past signals by debiased semantic similarity, combining semantic prototypes with ranking embeddings.
- Decouple semantic embeddings (frozen, for routing) from trainable ranking embeddings (for aggregation).
- Deploy offline interest-agent construction and request-level compression to reduce online latency and computational cost.
- Achieve end-to-end improvements with caching strategies and 40%+ end-to-end latency reduction in production.
Experimental results
Research questions
- RQ1How to accurately identify user-specific interest centers with variable granularity across users?
- RQ2How to assign historical behaviors to interest centers while preserving long-tail signals and minimizing quantization error?
- RQ3Can hierarchical sparse activation and soft-routing attention yield scalable, industry-grade compression for ultra-long sequences without sacrificing recommendation quality?
- RQ4What are the deployment implications and latency/cost benefits of HiSAC in a real-world large-scale recommender system?
Key findings
- HiSAC achieves significant compression and cost reduction in industrial deployment.
- Online A/B testing shows a consistent 1.65% CTR uplift over the strongest prior compression method.
- Hierarchical voting reduces agent count by about two-thirds with negligible loss in predictive performance.
- Soft-Routing Attention helps preserve long-tail customer interests and reduces quantization error.
- Decoupling semantic and ranking embeddings prevents codebook bias and preserves interest diversity.
- Offline interest-agent construction and request-level caching yield substantial latency improvements (e.g., ~40% end-to-end latency reduction) without harming accuracy.
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.