English

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

Machine Learning 2023-01-24 v1 Distributed, Parallel, and Cluster Computing Information Theory math.IT

Abstract

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{M{\bf M}-magnitude weighted L2L_{\bf 2} distortion + 2\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 ``MM-magnitude weighted L2L_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.

Keywords

Cite

@article{arxiv.2301.09269,
  title  = {M22: A Communication-Efficient Algorithm for Federated Learning Inspired by Rate-Distortion},
  author = {Yangyi Liu and Stefano Rini and Sadaf Salehkalaibar and Jun Chen},
  journal= {arXiv preprint arXiv:2301.09269},
  year   = {2023}
}

Comments

arXiv admin note: text overlap with arXiv:2202.02812

R2 v1 2026-06-28T08:17:32.231Z