Communication-Efficient and Byzantine-Robust Distributed Learning With Error Feedback

Avishek Ghosh, Raj Kumar Maity, Swanand Kadhe, Arya Mazumdar, Kannan Ramchandran · DOI

Abstract

Modern distributed machine learning faces two primary challenges: the high communication overhead of transmitting large gradient vectors and the vulnerability of the system to Byzantine (malicious or faulty) workers. This paper introduces Robust Compressed Gradient Descent (RCGD), a framework that integrates gradient compression with Byzantine-robust aggregation. By utilizing Error Feedback (EF) and a novel norm-based thresholding mechanism, the proposed method achieves state-of-the-art accuracy and robustness, maintaining optimal statistical error rates while significantly reducing bandwidth requirements.

Introduction

In standard distributed learning environments, such as those used for training large-scale neural networks, worker nodes compute gradients and transmit them to a central parameter server. This architecture is increasingly hindered by two bottlenecks. First, the "Communication Wall" arises because modern models contain millions of parameters, making full-precision gradient transmission prohibitively expensive, especially in bandwidth-constrained scenarios like Federated Learning. Second, the "Byzantine Threat" refers to the fragility of distributed systems where a single node—due to hardware failure or malicious intent—can send arbitrary data that derails the entire training process.

While previous research has addressed these issues individually, combining compression with robustness is difficult. Compression inherently introduces noise, which sophisticated attackers can exploit to hide malicious updates. This paper presents a unified approach that ensures communication efficiency does not come at the cost of security.

The RCGD Framework

The authors propose Robust Compressed Gradient Descent (RCGD), which relies on three synergistic components to maintain performance in adversarial environments:

1. $\delta$-Approximate Compressors

Rather than focusing on a single compression technique, the framework supports a broad class of $\delta$-approximate compressors. This includes popular methods such as top-k sparsification (transmitting only the $k$ largest gradient components) and sign-based compression (transmitting only the sign of the gradient). This flexibility allows the system to adapt to different hardware and network constraints.

2. Norm-Based Thresholding

Traditional robust aggregation methods often rely on computationally intensive operations like coordinate-wise medians. RCGD simplifies this by employing a "norm-based thresholding" strategy. The parameter server monitors the magnitude (norm) of incoming updates. If a worker's update is disproportionately large compared to the expected gradient norm, it is identified as potentially Byzantine and discarded. This simple filtering mechanism proves to be theoretically as effective as more complex alternatives.

3. Error Feedback (EF)

Error Feedback serves as the "memory" of the RCGD algorithm. When a worker compresses a gradient, the difference between the true gradient and the compressed version is stored locally. This residual error is then added to the next local gradient computation. EF ensures that the true direction of the gradient is preserved over time, preventing the accumulation of compression noise from leading the model astray.

Experimental Validation

The authors evaluated RCGD using both synthetic and real-world datasets:

  • Synthetic Linear Regression: A controlled setup involving 4,000 data points and 1,000 dimensions distributed across 200 servers.
  • MNIST Digit Classification: A feed-forward neural network with ReLU activation was trained to test the algorithm's efficacy on non-convex, deep learning problems.

Key Insights and Results

Compression is "Order-Wise" Free

A major theoretical contribution of the paper is the proof that, for a wide range of compression factors, the statistical error rate of the model remains identical to the uncompressed version. This implies that practitioners can achieve massive bandwidth savings without a fundamental penalty in model accuracy.

Efficiency and Robustness

In empirical tests, RCGD demonstrated a 15x reduction in bandwidth required to reach the same precision as uncompressed methods. Furthermore, the system remained stable even when up to 40% of the workers were actively malicious, attempting to sabotage training via additive Gaussian noise or label-flipping attacks. Compared to existing methods like signSGD, RCGD with Error Feedback converged faster and more reliably.

Limitations and Future Directions

While RCGD provides a powerful framework for robust distributed learning, the authors identify several areas for future research:

  • High-Dimensional Scaling: The current norm-based removal scheme may require further refinement to maintain optimal scaling as model dimensions ($d$) grow into the billions.
  • Non-IID Data in Federated Learning: The current study assumes data is somewhat evenly distributed (IID). Adapting these robust methods to highly heterogeneous (non-IID) data—where one user's data may look like another's "noise"—remains a significant challenge.
  • Second-Order Optimization: Extending these techniques to second-order methods (which utilize Hessian information) could potentially offer even faster convergence rates for complex optimization landscapes.

Conclusion

This paper demonstrates that communication efficiency and Byzantine robustness are not mutually exclusive. By combining $\delta$-approximate compression with norm-based thresholding and Error Feedback, the RCGD framework provides a scalable and secure solution for modern distributed machine learning, ensuring that models can be trained quickly and safely even in the presence of adversarial actors.

Summary updated

Abstract

We develop a communication-efficient distributed learning algorithm that is robust against Byzantine worker machines. We propose and analyze a distributed gradient-descent algorithm that performs a simple thresholding based on gradient norms to mitigate Byzantine failures. We show the (statistical) error-rate of our algorithm matches that of Yin <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">et al.</i> (2018), which uses more complicated schemes (coordinate-wise median, trimmed mean). Furthermore, for communication efficiency, we consider a generic class of <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$\delta $ </tex-math></inline-formula> -approximate compressors from Karimireddi <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">et al.</i> (2019) that encompasses sign-based compressors and top- <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$k$ </tex-math></inline-formula> sparsification. Our algorithm uses compressed gradients and gradient norms for aggregation and Byzantine removal respectively. We establish the statistical error rate for non-convex smooth loss functions. We show that, in certain range of the compression factor <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$\delta $ </tex-math></inline-formula> , the (order-wise) rate of convergence is not affected by the compression operation. Moreover, we analyze the compressed gradient descent algorithm with error feedback (proposed in Karimireddi <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">et al.</i> 2019) in a distributed setting and in the presence of Byzantine worker machines. We show that exploiting error feedback improves the statistical error rate. Finally, we experimentally validate our results and show good performance in convergence for convex (least-square regression) and non-convex (neural network training) problems.
BibTeX
@inproceedings{ghosh2020communication,
  author = {Avishek Ghosh and Raj Kumar Maity and Swanand Kadhe and Arya Mazumdar and Kannan Ramchandran},
  title = {{Communication-Efficient and Byzantine-Robust Distributed Learning With Error Feedback}},
  booktitle = {ITA},
  year = {2020},
  doi = {10.1109/ita50056.2020.9245017},
}
Figure