[Paper Review] Wyner-Ziv Gradient Compression for Federated Learning
This paper proposes a novel gradient compression method for federated learning called Local Quantized Stochastic Gradient Descent (LQSGD), which leverages historical gradients as side information to reduce communication overhead. By applying Wyner-Ziv coding principles without probabilistic assumptions, LQSGD achieves better convergence and test accuracy than QSGD, with only 0.08% accuracy loss on CIFAR-10 and near-SGD performance on CIFAR-100 using 3-bit quantization.
Due to limited communication resources at the client and a massive number of model parameters, large-scale distributed learning tasks suffer from communication bottleneck. Gradient compression is an effective method to reduce communication load by transmitting compressed gradients. Motivated by the fact that in the scenario of stochastic gradients descent, gradients between adjacent rounds may have a high correlation since they wish to learn the same model, this paper proposes a practical gradient compression scheme for federated learning, which uses historical gradients to compress gradients and is based on Wyner-Ziv coding but without any probabilistic assumption. We also implement our gradient quantization method on the real dataset, and the performance of our method is better than the previous schemes.
Motivation & Objective
- To address the communication bottleneck in large-scale federated learning due to high-dimensional model parameters.
- To exploit the high correlation between adjacent stochastic gradients in federated training for improved compression efficiency.
- To develop a practical gradient compression scheme that uses historical gradients as side information without requiring probabilistic assumptions.
- To empirically validate the proposed method on real datasets and compare its performance with existing schemes like QSGD.
- To establish theoretical bounds on gradient quantization error and convergence rate under standard assumptions.
Proposed method
- Proposes Local Quantized Stochastic Gradient Descent (LQSGD), a gradient compression scheme that uses historical gradients as side information at the client side.
- Adapts Wyner-Ziv coding principles for gradient compression, enabling efficient lossy compression without probabilistic assumptions on data distributions.
- Employs a quantization strategy that estimates current gradients based on the difference between current and historical gradients, minimizing reconstruction error.
- Introduces an unbiased gradient estimator by adding zero-mean noise, preserving convergence properties in optimization.
- Uses the infinity norm of gradients in practice for large models like ResNet18 due to computational infeasibility of computing 2-norm.
- Implements the scheme on real datasets including cpusmall-scale, CIFAR-10, and CIFAR-100 with 8 clients to evaluate performance.
Experimental results
Research questions
- RQ1Can historical gradients in federated learning be effectively used as side information to improve gradient compression efficiency?
- RQ2How does the proposed LQSGD method compare to QSGD in terms of convergence speed and model accuracy under limited communication bits?
- RQ3What theoretical guarantees can be provided for the quantization error and convergence rate of the proposed compression scheme?
- RQ4Does the use of side information lead to a smaller upper bound on average-squared gradients compared to non-side-information methods?
- RQ5Can the method maintain high model accuracy even with aggressive quantization (e.g., 2–3 bits per parameter)?
Key findings
- On the cpusmall-scale dataset with 2-bit quantization, LQSGD converged in 1200 iterations, outperforming QSGD (1700 iterations) and matching GD performance.
- For the same dataset, LQSGD achieved a lower Euclidean distance to the optimal model parameters than QSGD, indicating better optimization stability.
- On CIFAR-10 with 3-bit quantization, LQSGD achieved 94.53% test accuracy, losing only 0.08% compared to full-precision SGD (94.61%), while QSGD lost 0.42%.
- On CIFAR-100, LQSGD achieved 76.45% test accuracy, matching SGD (76.44%) and significantly outperforming QSGD (76.03%).
- After approximately 70 training epochs, LQSGD’s test accuracy surpassed that of QSGD on both CIFAR-10 and CIFAR-100, indicating superior long-term optimization performance.
- Theoretical analysis shows that using historical gradients reduces the upper bound on average-squared gradients and establishes a convergence rate under standard assumptions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.