arXiv:2508.03854cs.DCcs.LG2025-08被引 3

提出二维稀疏并行,高效训练万亿参数推荐模型

Two-dimensional Sparse Parallelism for Large Scale Deep Learning Recommendation Model Training

  • 在模型并行基础上引入数据并行,降低通信开销
  • 支持4000张GPU近线性加速,保持模型精度
  • 适合超大规模推荐系统训练场景

深度学习推荐模型(DLRM)复杂度不断提升,对大规模分布式训练系统的需求日益增长。工业级DLRM中的稀疏嵌入表包含数万亿参数,需采用模型并行缓解内存压力。然而,传统全分片策略在大规模GPU系统下面临负载不均、延迟节点、密集查找通信和高激活内存等问题。为此,本文提出一种新型二维稀疏并行方法:在模型并行基础上引入数据并行,实现高效的全对全通信,降低峰值内存消耗。同时设计动量缩放的逐行AdaGrad算法,缓解训练范式转变带来的性能损失。大量实验表明,该方法显著提升训练效率,在4000张GPU下实现近乎线性的速度扩展,达到推荐模型训练的新基准。

原文摘要 · Abstract (English)

The increasing complexity of deep learning recommendation models (DLRM) has led to a growing need for large-scale distributed systems that can efficiently train vast amounts of data. In DLRM, the sparse embedding table is a crucial component for managing sparse categorical features. Typically, these tables in industrial DLRMs contain trillions of parameters, necessitating model parallelism strategies to address memory constraints. However, as training systems expand with massive GPUs, the traditional fully parallelism strategies for embedding table post significant scalability challenges, including imbalance and straggler issues, intensive lookup communication, and heavy embedding activation memory. To overcome these limitations, we propose a novel two-dimensional sparse parallelism approach. Rather than fully sharding tables across all GPUs, our solution introduces data parallelism on top of model parallelism. This enables efficient all-to-all communication and reduces peak memory consumption. Additionally, we have developed the momentum-scaled row-wise AdaGrad algorithm to mitigate performance losses associated with the shift in training paradigms. Our extensive experiments demonstrate that the proposed approach significantly enhances training efficiency while maintaining model performance parity. It achieves nearly linear training speed scaling up to 4K GPUs, setting a new state-of-the-art benchmark for recommendation model training.

推荐系统并行训练稀疏并行

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。