arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.03246cs.LGmath.OC
收藏

分布式和联邦学习的最优梯度压缩

Optimal Gradient Compression for Distributed and Federated Learning

King Abdullah University of Science and Technology (KAUST)(阿卜杜拉国王科技大学)

Alyazeed Albasyoni, Mher Safaryan, Laurent Condat, Peter Richtárik

摘要:

在分布式和联邦学习中的计算节点之间传递信息(如梯度向量)通常是不可避免的负担,从而导致可伸缩性问题。事实上,沟通可能会很慢,而且成本很高。通信高效训练算法的最新进展已经通过使用压缩技术以稀疏化、量化或低秩近似的形式减少了这个瓶颈。由于压缩是一个有损的或不精确的过程,迭代复杂性通常会恶化;但总的通信复杂性可以显著改善,可能导致大量的计算时间节省。在本文中,我们调查的基本平衡之间的比特数需要编码压缩矢量和压缩误差。我们执行最坏情况和平均情况下的分析,提供严格的下限。在最坏情况下的分析,我们引入了一个有效的压缩算子,稀疏抖动,这是非常接近的下限。在平均情况分析中,我们设计了一个简单的压缩运算符Spherical Compression,它自然达到了下界。因此,我们的新的压缩方案显着优于国家的最先进的。我们进行数值实验来说明这种改进。

英文摘要:

Communicating information, like gradient vectors, between computing nodes in distributed and federated learning is typically an unavoidable burden, resulting in scalability issues. Indeed, communication might be slow and costly. Recent advances in communication-efficient training algorithms have reduced this bottleneck by using compression techniques, in the form of sparsification, quantization, or low-rank approximation. Since compression is a lossy, or inexact, process, the iteration complexity is typically worsened; but the total communication complexity can improve significantly, possibly leading to large computation time savings. In this paper, we investigate the fundamental trade-off between the number of bits needed to encode compressed vectors and the compression error. We perform both worst-case and average-case analysis, providing tight lower bounds. In the worst-case analysis, we introduce an efficient compression operator, Sparse Dithering, which is very close to the lower bound. In the average-case analysis, we design a simple compression operator, Spherical Compression, which naturally achieves the lower bound. Thus, our new compression schemes significantly outperform the state of the art. We conduct numerical experiments to illustrate this improvement.

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

↑