Abstract
A very large number of communications are typically required to solve distributed learning tasks, and this critically limits scalability and convergence speed in wireless communications applications. In this paper, we devise a Gradient Descent method with Sparsification and Error Correction (GD-SEC) to improve the communications efficiency in a general worker-server architecture. Motivated by a variety of wireless communications learning scenarios, GD-SEC reduces the number of bits per communication from worker to server with no degradation in the order of the convergence rate. This enables larger-scale model learning without sacrificing convergence or accuracy. At each iteration of GD-SEC, instead of directly transmitting the entire gradient vector, each worker computes the difference between its current gradient and a linear combination of its previously transmitted gradients, and then transmits the sparsified gradient difference to the server. An error correction technique is used at each worker to compensate for the error resulting from sparsification. We prove that GD-SEC is guaranteed to converge for strongly convex, convex, and nonconvex optimization problems with the same order of convergence rate as GD. Numerical results validate the convergence rate and explore the communication bit savings provided by GD-SEC.
Introduction
In distributed machine learning, a central server coordinates multiple workers to train a global model. The primary bottleneck is the communication uplink: workers must frequently send massive gradient vectors to the server. For deep networks, a single update can reach hundreds of megabytes, which is unsustainable in bandwidth-limited wireless environments. Existing techniques like quantization and sparsification often introduce a "convergence tax," slowing down training or requiring complex hyperparameter tuning. This paper introduces GD-SEC (Gradient Descent with Sparsification and Error Correction), an algorithm designed to provide aggressive compression without sacrificing the mathematical efficiency of classical Gradient Descent (GD).
The GD-SEC Algorithm
GD-SEC achieves communication efficiency through three primary mechanisms:
- State Variables ($h$): Both the server and each worker maintain a state variable, representing a running linear combination of previously transmitted gradients. Workers transmit only the difference between their current gradient and this state.
- Adaptive Sparsification: Instead of sending a fixed number of components (like top-$k$), GD-SEC adaptively suppresses components of the gradient difference if their magnitude is not "sufficiently large" relative to model progress.
- Error Correction ($e$): Suppressed components are stored in a local error buffer and added back in the next iteration, ensuring that small updates eventually accumulate enough magnitude to be transmitted without information loss.
Theoretical Guarantees
A key contribution of this work is the proof that GD-SEC maintains the same order of convergence as standard GD across various problem types. For strongly convex objectives, GD-SEC achieves a fast linear convergence rate. This theoretical consistency is significant because it allows for massive communication savings (often over 99%) without increasing the number of iterations required to reach a target accuracy.
Experimental Evaluation
The researchers evaluated GD-SEC on several datasets, including MNIST, RCV1, and CIFAR-10. In MNIST experiments, GD-SEC reached target accuracy while saving 99.34% of the total bits compared to standard GD. As shown in the figure below, GD-SEC consistently outperforms popular baselines like top-$k$ sparsification and Quantized GD (QGD) in terms of communication cost for a given objective error.
Conclusion
GD-SEC offers a robust solution for distributed learning in communication-constrained environments. By focusing on transmitting "novel" gradient information and employing error correction, it achieves state-of-the-art bit savings while preserving the convergence properties of Gradient Descent. Future work may explore asynchronous implementations and hybrid approaches combining GD-SEC with advanced quantization or parameter pruning.
Summary updated