Introduction
In the era of massive-scale deep learning, distributed training has become essential. However, as model sizes reach billions of parameters, the communication overhead between workers and the central server becomes a critical bottleneck. Sparse communication techniques, such as "top-s" selection, aim to alleviate this by sending only the most significant gradient updates. While effective in IID (Independent and Identically Distributed) scenarios, these methods often struggle in non-IID environments where data distribution varies significantly across workers.
Existing frameworks like Deep Gradient Compression (DGC) rely on local momentum, where each worker maintains its own gradient history. In non-IID settings, this local history becomes biased toward local optima, leading to slow convergence or poor final accuracy.
Global Momentum Compression (GMC)
To address the limitations of local momentum, this paper introduces Global Momentum Compression (GMC). The core innovation is the shift from local to global momentum tracking. By ensuring the momentum term captures information from all workers, GMC provides a more accurate descent direction.
The GMC framework integrates error feedback directly with this global momentum. In each iteration, workers compute local gradients, add them to a local error residual (storing unsent information from previous steps), and incorporate a global momentum term derived from the previous model update. This combined vector is then sparsified before transmission.
For more aggressive and computationally efficient compressors like Random Blockwise Gradient Sparsification (RBGS), the authors propose GMC+. This variant utilizes a "detached" error feedback technique, evaluating the gradient at a point shifted by the error residual to maintain stability despite the increased noise introduced by cheaper compression methods.
Key Insights: Overcoming Locality Bias
The primary advantage of GMC lies in its ability to correct the "locality bias" inherent in previous methods. In non-IID scenarios, a worker's local momentum might point in a direction that contradicts the global objective. Global momentum acts as a corrective force, aligning local updates with the true global descent path.
Furthermore, the authors demonstrate that the common practice of "Momentum Factor Masking" (mfm) used in DGC to stabilize training actually hinders convergence speed. GMC avoids this masking, allowing for faster progress without sacrificing stability.
Empirical Results
The effectiveness of GMC and GMC+ was evaluated on CIFAR-10 and CIFAR-100 datasets using ResNet20 and Vision Transformer (ViT) architectures. The experiments covered both IID and challenging non-IID partitions.
Performance in Non-IID Settings
GMC significantly outperforms existing methods in non-IID environments. For instance, on CIFAR-10 with ResNet20, GMC achieved 86.51% accuracy, compared to 81.93% for DGC and 78.65% for CSER. This confirms that global momentum is crucial for maintaining model quality when data is heterogeneous.
Communication Efficiency
GMC achieves these results while communicating only a fraction of the full gradient data. Using the RBGS compressor, GMC+ reached a Relative Communication Cost (RCC) of approximately 0.098%, effectively reducing communication requirements by over 1000x compared to standard Distributed Momentum SGD (DMSGD).
Conclusion
Global Momentum Compression provides a robust solution for the communication bottlenecks in distributed learning. By replacing biased local momentum with a global approach and refining error feedback mechanisms, GMC enables fast, accurate training even in difficult non-IID scenarios. Theoretical analysis confirms that GMC maintains the same convergence rates as standard DMSGD, making it a principled and practical choice for scaling large-scale distributed systems.
Summary updated