Truncated Non-Uniform Quantization for Distributed SGD
Guangfeng Yan, Tan Li, Yuanzhang Xiao, Congduan Li, Linqi Song
TL;DR
Truncated Non-Uniform Quantization for Distributed SGD addresses the communication bottleneck in distributed SGD by introducing a two-stage compressor that first truncates gradients to curb long-tail noise and then applies a non-uniform quantizer tailored to the gradient distribution. The authors derive a convergence bound of the form $\frac{1}{T}\sum_{t=0}^{T-1} \|\nabla F(\bm{\theta}_t)\|^2 \le \mathcal{E}_{DSGD} + \mathcal{E}_{TQ}$ and provide closed-form optimal parameters under Laplace gradient assumptions: $\alpha^*$ and $\lambda_s(g)$, yielding $\mathcal{E}_{TQ} = \frac{27 d \gamma^2}{N (s+\frac{3\sqrt{6}}{2})^2}$. The work also contrasts TNQSGD with alternative quantization strategies, showing improved convergence under fixed communication budgets, and validates the approach with MNIST experiments where TNQSGD achieves higher accuracy than competing schemes at the same bit budget.
Abstract
To address the communication bottleneck challenge in distributed learning, our work introduces a novel two-stage quantization strategy designed to enhance the communication efficiency of distributed Stochastic Gradient Descent (SGD). The proposed method initially employs truncation to mitigate the impact of long-tail noise, followed by a non-uniform quantization of the post-truncation gradients based on their statistical characteristics. We provide a comprehensive convergence analysis of the quantized distributed SGD, establishing theoretical guarantees for its performance. Furthermore, by minimizing the convergence error, we derive optimal closed-form solutions for the truncation threshold and non-uniform quantization levels under given communication constraints. Both theoretical insights and extensive experimental evaluations demonstrate that our proposed algorithm outperforms existing quantization schemes, striking a superior balance between communication efficiency and convergence performance.
