arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2002.12410cs.LGcs.DCmath.OCstat.ML

关于分布式学习中有偏压缩的研究

On Biased Compression for Distributed Learning

King Abdullah University of Science and Technology(阿卜杜拉国王科技大学);Skolkovo Institute of Science and Technology(斯科尔科沃科学技术研究院);Moscow Institute of Physics and Technology(莫斯科物理技术学院);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Institute of Science and Technology Austria(奥地利科学技术研究院)

Aleksandr Beznosikov, Samuel Horváth, Peter Richtárik, Mher Safaryan

AI总结:

本文研究分布式学习中的有偏压缩算子,首次证明其可实现线性收敛,给出分布式压缩 SGD 的收敛速率,并揭示有偏压缩优于无偏压缩的原因,同时提出多个新的有偏压缩器。

摘要:

在过去几年中,各种通信压缩技术已成为缓解分布式学习中通信瓶颈的不可或缺的工具。然而,尽管与已被更深入研究和理解的无偏压缩器相比,有偏压缩器在实践中往往表现出更优越的性能,但人们对它们知之甚少。在本文中,我们研究了三类有偏压缩算子,其中两类是新的,并研究了它们在应用于(随机)梯度下降和分布式(随机)梯度下降时的性能。我们首次证明,有偏压缩器在单节点和分布式环境下都能实现线性收敛速率。我们证明,采用误差反馈机制的分布式压缩 SGD 方法具有遍历速率 $O\left( δL \exp \left[-\frac{μK}{δL}\right] + \frac{(C + δD)}{Kμ}\right)$,其中 $δ\ge 1$ 是压缩参数,当施加更多压缩时该参数会增大,$L$ 和 $μ$ 分别是光滑性常数和强凸性常数,$C$ 刻画随机梯度噪声(如果在每个节点上计算全梯度,则 $C=0$),$D$ 刻画最优解处梯度的方差(对于过参数化模型,$D=0$)。此外,通过对若干合成分布和通信梯度的经验分布进行理论研究,我们揭示了有偏压缩器为何以及在多大程度上优于其无偏变体。最后,我们提出了几种新的有偏压缩器,它们具有有前景的理论保证和实际性能。

英文摘要:

In the last few years, various communication compression techniques have emerged as an indispensable tool helping to alleviate the communication bottleneck in distributed learning. However, despite the fact biased compressors often show superior performance in practice when compared to the much more studied and understood unbiased compressors, very little is known about them. In this work we study three classes of biased compression operators, two of which are new, and their performance when applied to (stochastic) gradient descent and distributed (stochastic) gradient descent. We show for the first time that biased compressors can lead to linear convergence rates both in the single node and distributed settings. We prove that distributed compressed SGD method, employed with error feedback mechanism, enjoys the ergodic rate $O\left( δL \exp \left[-\frac{μK}{δL}\right] + \frac{(C + δD)}{Kμ}\right)$, where $δ\ge 1$ is a compression parameter which grows when more compression is applied, $L$ and $μ$ are the smoothness and strong convexity constants, $C$ captures stochastic gradient noise ($C=0$ if full gradients are computed on each node) and $D$ captures the variance of the gradients at the optimum ($D=0$ for over-parameterized models). Further, via a theoretical study of several synthetic and empirical distributions of communicated gradients, we shed light on why and by how much biased compressors outperform their unbiased variants. Finally, we propose several new biased compressors with promising theoretical guarantees and practical performance.

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

↑