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

分布式学习中的无偏与符号压缩:通过SDE比较噪声鲁棒性

Unbiased and Sign Compression in Distributed Learning: Comparing Noise Resilience via SDEs

University of Basel(巴塞尔大学);University of Oslo(奥斯陆大学)

Enea Monzio Compagnoni, Rustem Islamov, Frank Norbert Proske, Aurelien Lucchi

AI总结:

本研究通过SDE分析DCSGD与DSignSGD,发现无偏压缩对梯度噪声更敏感,而符号压缩更鲁棒,并提出超参数缩放规则以缓解性能下降。

摘要:

分布式方法对于处理包含大规模模型和数据集的机器学习流程至关重要。然而,其优势往往以增加中央服务器与智能体之间通信开销为代价,这可能成为主要瓶颈,使得此类系统中的训练成本高昂甚至不可行。量化和稀疏化等压缩方法可以缓解这一问题。尽管如此,它们对大规模和重尾梯度噪声的鲁棒性——这种现象有时在语言建模中观察到——仍然理解不足。本研究通过使用随机微分方程(SDEs)分析分布式压缩SGD(DCSGD)和分布式符号SGD(DSignSGD)来填补这一空白。我们的结果表明,采用无偏压缩的DCSGD更容易受到随机梯度中噪声的影响,而DSignSGD即使在大型和重尾噪声下也保持鲁棒性。此外,我们提出了新的超参数调优缩放规则,以减轻压缩导致的性能下降。这些发现已在多种深度学习架构和数据集上得到实证验证,为分布式优化提供了实用建议。

英文摘要:

Distributed methods are essential for handling machine learning pipelines comprising large-scale models and datasets. However, their benefits often come at the cost of increased communication overhead between the central server and agents, which can become the main bottleneck, making training costly or even unfeasible in such systems. Compression methods such as quantization and sparsification can alleviate this issue. Still, their robustness to large and heavy-tailed gradient noise, a phenomenon sometimes observed in language modeling, remains poorly understood. This work addresses this gap by analyzing Distributed Compressed SGD (DCSGD) and Distributed SignSGD (DSignSGD) using stochastic differential equations (SDEs). Our results show that DCSGD with unbiased compression is more vulnerable to noise in stochastic gradients, while DSignSGD remains robust, even under large and heavy-tailed noise. Additionally, we propose new scaling rules for hyperparameter tuning to mitigate performance degradation due to compression. These findings are empirically validated across multiple deep learning architectures and datasets, providing practical recommendations for distributed optimization.

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

↑