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

理解并利用权重更新稀疏性以实现通信高效的分布式强化学习

Understanding and Exploiting Weight Update Sparsity for Communication-Efficient Distributed RL

Covenant AI;Mila, Concordia University(蒙特利尔大学米尔实验室)

Erfan Miahi, Eugene Belilovsky

AI总结:

本文研究了在带宽受限的分布式强化学习中,通过利用权重更新的稀疏性来减少通信开销,提出了一种名为PULSE的算法,通过计算可见稀疏化原则,实现了高效的权重同步和伪梯度同步。

摘要:

带宽受限的分布式强化学习(RL)在大规模语言模型训练后受到两个通道的限制:从训练器到推理工人的权重同步,以及训练器之间的梯度或伪梯度同步。我们发现,在标准训练和推理前向传递中使用的BF16转换后,大约99%的每步权重更新在视觉上是不可见的。我们通过展示,在典型的RL训练后学习率下,Adam更新通常低于本地BF16舍入阈值,解释了这种稀疏性。我们将这一观察转化为一种名为计算可见稀疏化的算法原则:仅传输会改变下一个前向传递的更新。PULSE(Precision-gated Updates for Low-precision Sparse Exchange)将这一原则转化为两种通信算法:PULSESync从训练器向推理工发送无损稀疏BF16权重补丁,PULSELoCo通过误差反馈稀疏化DiLoCo风格的FP32伪梯度同步。在带宽受限的商用网络上,PULSESync在重建训练器权重位相同的情况下,将权重同步通信减少了超过100倍。PULSELoCo在四个模型上与DiLoCo相当,同时在训练器之间的通信减少了超过17倍,与DiLoCo相比,超过100倍,与DDP相比。

英文摘要:

Bandwidth-constrained distributed reinforcement learning (RL) post-training of large language models is bottlenecked by two channels: weight synchronization from trainers to inference workers, and gradient or pseudo-gradient synchronization across trainers. We find that approximately 99% of per-step weight updates are invisible after the BF16 cast used by standard training and inference forward passes. We explain this sparsity by showing that, at typical RL post-training learning rates, Adam updates often fall below the local BF16 rounding threshold. We turn this observation into an algorithmic principle called compute-visible sparsification: transmit only updates that would change the next forward pass. PULSE (Precision-gated Updates for Low-precision Sparse Exchange) turns this principle into two communication algorithms: PULSESync sends lossless sparse BF16 weight patches from trainers to inference workers, and PULSELoCo sparsifies DiLoCo-style FP32 pseudo-gradient synchronization with error feedback. Over bandwidth-constrained commodity networks, PULSESync cuts weight-synchronization communication by over 100x while reconstructing trainer weights bit-identically. PULSELoCo matches DiLoCo across four models while reducing trainer-to-trainer communication by over 17x versus DiLoCo and over 100x versus DDP in the largest evaluated setting.

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

↑