arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2301.09269cs.LGcs.DCcs.ITmath.IT
收藏

M22:一种基于率失真的联邦学习通信高效算法

M22: A Communication-Efficient Algorithm for Federated Learning Inspired by Rate-Distortion

McMaster University(麦克马斯特大学);National Yang-Ming Chiao-Tung University(国立阳明交通大学);University of Toronto(多伦多大学)

Yangyi Liu, Stefano Rini, Sadaf Salehkalaibar, Jun Chen

摘要:

在联邦学习(FL)中,远程学习者与参数服务器(PS)之间的通信约束是一个关键的瓶颈。因此,必须压缩模型更新,以最大限度地减少通信约束导致的准确性损失。本文提出了“\emph{${\bf M}$-magnitude weighted $L_{\bf 2}$ distortion + $\bf 2$ degrees of freedom''}(M22)算法”,这是一种受率失真启发的梯度压缩方法,用于深度神经网络(DNN)的联邦训练。特别是,我们提出了一个家庭的原始梯度和重建之间的失真措施,我们称为"$M$ -幅度加权$L_2$“失真,我们假设梯度更新遵循i.i.d.分布--广义正态分布或威布尔分布,具有两个自由度。在失真度量和梯度中,每个都有一个自由参数,可以拟合为迭代次数的函数。在给定梯度分布和失真测度的情况下,我们设计了一个最小化梯度重构中期望失真的量化器。为了测量通信约束下的梯度压缩性能,我们将\emph{per-bit accuracy}定义为一位通信在训练期间给集中式模型带来的准确性的最佳改进。使用这个性能指标,我们系统地基准的梯度分布和失真措施的选择。我们提供了大量的见解,这些选择的作用,并认为显着的性能改善,可以实现使用这样的率失真启发压缩机。

英文摘要:

In federated learning (FL), the communication constraint between the remote learners and the Parameter Server (PS) is a crucial bottleneck. For this reason, model updates must be compressed so as to minimize the loss in accuracy resulting from the communication constraint. This paper proposes ``\emph{${\bf M}$-magnitude weighted $L_{\bf 2}$ distortion + $\bf 2$ degrees of freedom''} (M22) algorithm, a rate-distortion inspired approach to gradient compression for federated training of deep neural networks (DNNs). In particular, we propose a family of distortion measures between the original gradient and the reconstruction we referred to as ``$M$-magnitude weighted $L_2$'' distortion, and we assume that gradient updates follow an i.i.d. distribution -- generalized normal or Weibull, which have two degrees of freedom. In both the distortion measure and the gradient, there is one free parameter for each that can be fitted as a function of the iteration number. Given a choice of gradient distribution and distortion measure, we design the quantizer minimizing the expected distortion in gradient reconstruction. To measure the gradient compression performance under a communication constraint, we define the \emph{per-bit accuracy} as the optimal improvement in accuracy that one bit of communication brings to the centralized model over the training period. Using this performance measure, we systematically benchmark the choice of gradient distribution and distortion measure. We provide substantial insights on the role of these choices and argue that significant performance improvements can be attained using such a rate-distortion inspired compressor.

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

↑