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

Climber:面向大规模推荐模型的高效扩展律研究

Climber: Toward Efficient Scaling Laws for Large Recommendation Models

Songpei Xu, Shijia Wang, Da Guo, Xianwen Guo, Qiang Xiao, Bin Huang, Guanlin Wu, Chuanjiang Luo

AI总结:

Climber通过多尺度序列提取和动态温度调制实现高效扩展,并结合批处理与KV缓存加速,在不损失性能下提升5.15倍吞吐量,在线指标提升12.19%,已部署于网易云音乐。

摘要:

基于Transformer的生成模型已在多个领域取得显著成功,并展现出多种扩展律表现形式。然而,我们的大量实验揭示了将Transformer应用于推荐系统时持续存在的挑战:(1)由于与推荐特有特征(如多源数据异质性)存在结构不兼容,Transformer在增加计算资源时的扩展并不理想;(2)关键的在线推理延迟约束(数十毫秒)会随着用户行为序列变长和计算需求增长而加剧。我们提出Climber,一个高效的推荐框架,由两个协同组件构成:用于高效扩展的模型架构和协同设计的加速技术。我们提出的模型采用两项核心创新:(1)多尺度序列提取,以常数因子降低时间复杂度,从而在序列长度增长时实现更高效的扩展;(2)动态温度调制,使注意力分布适应多场景和多行为模式。在加速技术的补充下,Climber通过采用“单用户、多物品”批处理方式和内存高效的Key-Value缓存,在不损失性能的前提下实现了5.15倍的吞吐量提升。在多个数据集上的全面离线实验验证了Climber展现出更理想的扩展曲线。据我们所知,这是首个公开记录的框架,在受控模型扩展驱动下实现持续在线指标增长(整体提升12.19%),且不产生难以承受的资源成本。Climber已成功部署在网易云音乐——中国最大的音乐流媒体平台之一,每日服务数千万用户。

英文摘要:

Transformer-based generative models have achieved remarkable success across domains with various scaling law manifestations. However, our extensive experiments reveal persistent challenges when applying Transformer to recommendation systems: (1) Transformer scaling is not ideal with increased computational resources, due to structural incompatibilities with recommendation-specific features such as multi-source data heterogeneity; (2) critical online inference latency constraints (tens of milliseconds) that intensify with longer user behavior sequences and growing computational demands. We propose Climber, an efficient recommendation framework comprising two synergistic components: the model architecture for efficient scaling and the co-designed acceleration techniques. Our proposed model adopts two core innovations: (1) multi-scale sequence extraction that achieves a time complexity reduction by a constant factor, enabling more efficient scaling with sequence length; (2) dynamic temperature modulation adapting attention distributions to the multi-scenario and multi-behavior patterns. Complemented by acceleration techniques, Climber achieves a 5.15$\times$ throughput gain without performance degradation by adopting a "single user, multiple item" batched processing and memory-efficient Key-Value caching. Comprehensive offline experiments on multiple datasets validate that Climber exhibits a more ideal scaling curve. To our knowledge, this is the first publicly documented framework where controlled model scaling drives continuous online metric growth (12.19\% overall lift) without prohibitive resource costs. Climber has been successfully deployed on Netease Cloud Music, one of China's largest music streaming platforms, serving tens of millions of users daily.

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

↑