Unbiased and Sign Compression in Distributed Learning: Comparing Noise Resilience via SDEs
Enea Monzio Compagnoni, Rustem Islamov, Frank Norbert Proske, Aurelien Lucchi
TL;DR
The paper advances distributed optimization by deriving SDE-based models for DSGD, DCSGD, and DSignSGD to quantify how compression interacts with gradient noise. It shows that unbiased compression degrades convergence speed and quality in noisy settings, while sign-based compression remains robust to large, heavy-tailed noise and even enables linear speedups. The authors introduce practical scaling laws to adjust learning rates, batch sizes, and agent counts to preserve DSGD performance under compression and validate these insights across diverse architectures and tasks. These results offer principled guidelines for deploying compression-aware distributed optimizers in real-world systems and illuminate why sign-based methods may outperform unbiased schemes in noisy, large-scale settings.
Abstract
Distributed methods are essential for handling machine learning pipelines comprising large-scale models and datasets. However, their benefits often come at the cost of increased communication overhead between the central server and agents, which can become the main bottleneck, making training costly or even unfeasible in such systems. Compression methods such as quantization and sparsification can alleviate this issue. Still, their robustness to large and heavy-tailed gradient noise, a phenomenon sometimes observed in language modeling, remains poorly understood. This work addresses this gap by analyzing Distributed Compressed SGD (DCSGD) and Distributed SignSGD (DSignSGD) using stochastic differential equations (SDEs). Our results show that DCSGD with unbiased compression is more vulnerable to noise in stochastic gradients, while DSignSGD remains robust, even under large and heavy-tailed noise. Additionally, we propose new scaling rules for hyperparameter tuning to mitigate performance degradation due to compression. These findings are empirically validated across multiple deep learning architectures and datasets, providing practical recommendations for distributed optimization.
