arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.05203cs.LGmath.OCstat.ML
收藏

EF21:一种新的、更简单的、理论上更好的、实际上更快的误差反馈

EF21: A New, Simpler, Theoretically Better, and Practically Faster Error Feedback

KAUST(阿卜杜拉国王科技大学);TU Munich(慕尼黑工业大学)

Peter Richtárik, Igor Sokolov, Ilyas Fatkhullin

摘要:

误差反馈(EF),也称为误差补偿,是在监督机器学习模型的分布式训练的上下文中非常流行的收敛稳定机制,其通过使用压缩通信压缩机制(诸如Top- $k$)来增强。首先由Seide等人(2014)作为启发式提出,EF直到最近才拒绝任何理论理解[Stich等人,2018年,Alistarh等人,2018年]。然而,所有现有的分析要么i)仅应用于单个节点设置,ii)依赖于非常强且通常不合理的假设,例如梯度的全局有界性,或迭代依赖的假设,这些假设不能先验地检查并且在实践中可能不成立,或者iii)通过引入额外的无偏压缩器来规避这些问题,这增加了通信成本。在这项工作中,我们通过提出和分析一种新的EF机制来解决所有这些缺陷,我们称之为EF 21,它在实践中始终大大优于EF。我们的理论分析仅依赖于标准假设,适用于分布式异构数据设置,并导致更好,更有意义的利率。特别地,我们证明了EF 21对于光滑非凸问题具有快速的$O(1/T)$收敛速度,击败了$O(1/T^{2/3})$的上界,这是有界梯度假设。我们进一步提高这一点,PL函数,这是第一个线性收敛的EF型方法不依赖于无偏压缩机的快速线性速度。由于EF有大量的应用,我们相信我们的2021变体EF 21可以对通信高效分布式学习的实践产生很大的影响。

英文摘要:

Error feedback (EF), also known as error compensation, is an immensely popular convergence stabilization mechanism in the context of distributed training of supervised machine learning models enhanced by the use of contractive communication compression mechanisms, such as Top-$k$. First proposed by Seide et al (2014) as a heuristic, EF resisted any theoretical understanding until recently [Stich et al., 2018, Alistarh et al., 2018]. However, all existing analyses either i) apply to the single node setting only, ii) rely on very strong and often unreasonable assumptions, such global boundedness of the gradients, or iterate-dependent assumptions that cannot be checked a-priori and may not hold in practice, or iii) circumvent these issues via the introduction of additional unbiased compressors, which increase the communication cost. In this work we fix all these deficiencies by proposing and analyzing a new EF mechanism, which we call EF21, which consistently and substantially outperforms EF in practice. Our theoretical analysis relies on standard assumptions only, works in the distributed heterogeneous data setting, and leads to better and more meaningful rates. In particular, we prove that EF21 enjoys a fast $O(1/T)$ convergence rate for smooth nonconvex problems, beating the previous bound of $O(1/T^{2/3})$, which was shown a bounded gradients assumption. We further improve this to a fast linear rate for PL functions, which is the first linear convergence result for an EF-type method not relying on unbiased compressors. Since EF has a large number of applications where it reigns supreme, we believe that our 2021 variant, EF21, can a large impact on the practice of communication efficient distributed learning.

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

↑