TurboGR: 一种用于大规模生成推荐的加速训练系统
TurboGR: An Accelerated Training System for Large-Scale Generative Recommendation
AI总结:
本文提出TurboGR系统,通过三个创新解决大规模生成推荐在Ascend NPU上的部署挑战,提升训练效率和模型容量。
摘要:
生成推荐(GR)作为一种有前景的范式,通过统一的Transformer模型替代碎片化的场景特定架构,展现出规模定律行为,即推荐质量随着模型容量和训练数据的增加而系统性提高。然而,在Ascend NPUs上大规模部署GR面临根本性的系统级挑战。这些挑战在Ascend NPUs上进一步加剧,因为缺乏高性能的jagged操作实现,以及不规则稀疏原语与NPU密集计算优化设计之间的架构不匹配。在本文中,我们提出了\model,一种专为生成推荐设计的Ascend亲和训练系统,通过三个核心创新系统性地解决这些瓶颈:(i)Ascend亲和jagged加速,包括消除填充冗余的融合操作和动态负载平衡,将设备间不平衡率从47%降低到2.4%;(ii)分布式通信优化,包括分层稀疏并行、具有证明收敛保证的半异步训练和细粒度流水线协调,保持94%的NPU利用率;(iii)负采样优化通过异步卸载、jaggedness-aware FP16量化和批次内logit共享,扩展有效负空间而不增加额外的嵌入查找。在KuaiRand-27K数据集上评估,\model支持训练至0.2B参数,达到54.71%的MFU,具有近线性可扩展性(0.97)
英文摘要:
Generative recommendation (GR) has emerged as a promising paradigm that replaces fragmented, scenario-specific architectures with unified Transformer-based models, exhibiting scaling-law behavior where recommendation quality improves systematically with increased model capacity and training data. However, deploying GR at scale on Ascend NPUs faces fundamental system-level challenges. These challenges are further exacerbated on Ascend NPUs due to the absence of high-performance implementations for jagged operators and the architectural mismatch between irregular sparse primitives and NPU's dense-computation-optimized design. In this paper, we present \model, an Ascend-affinity training system for generative recommendation that systematically addresses these bottlenecks through three core innovations: (i) Ascend-affinity jagged acceleration, including fusion operators that eliminate padding redundancy and dynamic load balancing that reduces inter-device imbalance from 47\% to 2.4\%; (ii) distributed communication optimization, comprising hierarchical sparse parallelism, semi-asynchronous training with proven convergence guarantees, and fine-grained pipeline orchestration that sustains 94\% NPU utilization; and (iii) negative sampling optimization via asynchronous offloading, jaggedness-aware FP16 quantization, and intra-batch logit sharing that expand the effective negative space without additional embedding lookups. Evaluated on the KuaiRand-27K dataset, \model supports training at up to 0.2B parameters and achieves 54.71\% MFU with near-linear scalability (0.97).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。