[论文解读] HiSAC: Hierarchical Sparse Activation Compression for Ultra-long Sequence Modeling in Recommenders
HiSAC 引入分层稀疏激活和软路由注意力以压缩超长用户序列,形成个性化兴趣代理,在淘宝部署中实现 1.65% 的 CTR 提升。
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.
研究动机与目标
- 在生产环境中推动对超长用户行为序列的高效建模。
- 开发个性化、多粒度的用户兴趣表示以降低量化误差。
- 引入分层投票机制以稀疏激活用户特定兴趣代理。
- 提出软路由注意力以在压缩历史的同时保留长尾偏好。
- 展示在延迟降低和 CTR 提升方面的工业化部署收益。
提出的方法
- 通过多模态编码器和残差量化 VAE(RQ-VAE)将历史记录分割为多层语义标识符。
- 构建全局多层语义树并应用分层投票以稀疏激活用户特定兴趣代理。
- 使用软路由注意力通过去偏置的语义相似度聚合历史信号,将语义原型与排序嵌入相结合。
- 将语义嵌入(冻结,用于路由)与可训练的排序嵌入(用于聚合)解耦。
- 离线构建兴趣代理并在请求级进行压缩以降低在线延迟和计算成本。
- 通过缓存策略实现端到端的改进,在生产中实现 40% 以上的端到端延迟降低。
实验结果
研究问题
- RQ1如何在跨用户的可变粒度下准确识别用户特定兴趣中心?
- RQ2如何在保留长尾信号并尽量减少量化误差的同时将历史行为分配到兴趣中心?
- RQ3分层稀疏激活和软路由注意力能否在不牺牲推荐质量的前提下,为超长序列提供可扩展、行业级别的压缩?
- RQ4在实际大型推荐系统中,HiSAC 的部署含义以及延迟/成本收益是什么?
主要发现
- HiSAC 在工业部署中实现显著的压缩和成本降低。
- 在线 A/B 测试显示相对于最强的先前压缩方法持续实现 1.65% 的 CTR 提升。
- 分层投票将代理数量减少约三分之二,预测性能损失微乎其微。
- 软路由注意力有助于保留长尾的用户兴趣并降低量化误差。
- 解耦语义与排序嵌入可防止码本偏置,保持兴趣多样性。
- 离线兴趣代理构建与请求级缓存带来显著的延迟改进(如端到端延迟约降低 40%),且不损害准确性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。