arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.04421cs.IR
收藏

LONGER:在工业推荐系统中扩展长序列建模

LONGER: Scaling Up Long Sequence Modeling in Industrial Recommenders

Zheng Chai, Qin Ren, Xijun Xiao, Huizhi Yang, Bo Han, Sijun Zhang, Di Chen, Hui Lu, Wenlin Zhao, Lele Yu, Xionghang Xie, Shiru Ren, Xiang Sun, Yaocheng Tan, Pen… 展开作者

Zheng Chai, Qin Ren, Xijun Xiao, Huizhi Yang, Bo Han, Sijun Zhang, Di Chen, Hui Lu, Wenlin Zhao, Lele Yu, Xionghang Xie, Shiru Ren, Xiang Sun, Yaocheng Tan, Peng Xu, Yuchao Zheng, Di Wu

AI总结:

本文提出面向工业推荐的长序列优化 Transformer 模型 LONGER,通过全局 token 机制、token 合并模块及工程优化降低长序列建模复杂度,并在字节跳动多个业务场景中取得显著效果。

摘要:

对超长用户行为序列进行建模对于在工业推荐系统中同时捕捉长期和短期偏好至关重要。现有解决方案通常依赖两阶段检索或间接建模范式,导致上游与下游不一致以及计算效率低下。在本文中,我们提出了 LONGER,一种面向 GPU 高效推荐系统的长序列优化 Transformer。LONGER 包含(i)一种全局 token 机制,用于在长上下文上稳定注意力;(ii)一个带有轻量级 InnerTransformer 和混合注意力策略的 token 合并模块,以降低二次复杂度;以及(iii)一系列工程优化,包括混合精度训练与激活重计算、KV 缓存服务,以及用于统一的基于 GPU 的稠密和稀疏参数更新的全同步模型训练与服务平台。LONGER 在字节跳动广告和电商服务的离线指标和在线 A/B 测试中均持续优于强基线,验证了其一致的有效性和工业级扩展规律。目前,LONGER 已在字节跳动超过 10 个有影响力的场景中全面部署,服务数十亿用户。

英文摘要:

Modeling ultra-long user behavior sequences is critical for capturing both long- and short-term preferences in industrial recommender systems. Existing solutions typically rely on two-stage retrieval or indirect modeling paradigms, incuring upstream-downstream inconsistency and computational inefficiency. In this paper, we present LONGER, a Long-sequence Optimized traNsformer for GPU-Efficient Recommenders. LONGER incorporates (i) a global token mechanism for stabilizing attention over long contexts, (ii) a token merge module with lightweight InnerTransformers and hybrid attention strategy to reduce quadratic complexity, and (iii) a series of engineering optimizations, including training with mixed-precision and activation recomputation, KV cache serving, and the fully synchronous model training and serving framework for unified GPU-based dense and sparse parameter updates. LONGER consistently outperforms strong baselines in both offline metrics and online A/B testing in both advertising and e-commerce services at ByteDance, validating its consistent effectiveness and industrial-level scaling laws. Currently, LONGER has been fully deployed at more than 10 influential scenarios at ByteDance, serving billion users.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑