$γ$-FedHT: Stepsize-Aware Hard-Threshold Gradient Compression in Federated Learning
Rongwei Lu, Yutong Jiang, Jinrui Zhang, Chunyang Li, Yifei Zhu, Bin Chen, Zhi Wang
TL;DR
The paper tackles the challenge of gradient compression in Federated Learning under non-IID data and decaying stepsize, where hard-threshold sparsification can hinder convergence. It introduces $\gamma$-FedHT, a stepsize-aware hard-threshold compressor with Error-Feedback that maintains $O(d)$ compression cost and achieves convergence rates matching FedAVG for both convex and non-convex objectives, with a compression-error term scaling as $\lambda_0^2$. The threshold is adaptively set via $\lambda_t^2 = \lambda_0^2 F(\gamma_t)$ using the function $F(\gamma_t) = (\gamma_t^{\alpha} + \gamma_t^{-\alpha})^{-1}$ and $\alpha=1$, ensuring the compression adapts to learning progress. Empirical results across four non-IID benchmarks show substantial gains over Top-$k$ under equal traffic, with improvements up to $7.42\%$ on CNN-CIFAR-$10$, demonstrating practical benefits for scalable, communication-efficient FL.
Abstract
Gradient compression can effectively alleviate communication bottlenecks in Federated Learning (FL). Contemporary state-of-the-art sparse compressors, such as Top-$k$, exhibit high computational complexity, up to $\mathcal{O}(d\log_2{k})$, where $d$ is the number of model parameters. The hard-threshold compressor, which simply transmits elements with absolute values higher than a fixed threshold, is thus proposed to reduce the complexity to $\mathcal{O}(d)$. However, the hard-threshold compression causes accuracy degradation in FL, where the datasets are non-IID and the stepsize $γ$ is decreasing for model convergence. The decaying stepsize reduces the updates and causes the compression ratio of the hard-threshold compression to drop rapidly to an aggressive ratio. At or below this ratio, the model accuracy has been observed to degrade severely. To address this, we propose $γ$-FedHT, a stepsize-aware low-cost compressor with Error-Feedback to guarantee convergence. Given that the traditional theoretical framework of FL does not consider Error-Feedback, we introduce the fundamental conversation of Error-Feedback. We prove that $γ$-FedHT has the convergence rate of $\mathcal{O}(\frac{1}{T})$ ($T$ representing total training iterations) under $μ$-strongly convex cases and $\mathcal{O}(\frac{1}{\sqrt{T}})$ under non-convex cases, \textit{same as FedAVG}. Extensive experiments demonstrate that $γ$-FedHT improves accuracy by up to $7.42\%$ over Top-$k$ under equal communication traffic on various non-IID image datasets.
