[Paper Review] Nested Dithered Quantization for Communication Reduction in Distributed Training
This paper proposes dithered quantization (DQSG) and nested dithered quantization (NDQSG) to reduce communication overhead in distributed deep learning. By adding controlled dither to gradients before quantization, DQSG ensures quantization error is independent of gradients, enabling stable convergence; NDQSG exploits inter-worker gradient correlation to reduce bits by 30% without performance loss, outperforming one-bit and QSGD methods in accuracy and convergence speed.
In distributed training, the communication cost due to the transmission of gradients or the parameters of the deep model is a major bottleneck in scaling up the number of processing nodes. To address this issue, we propose \\emph{dithered quantization} for the transmission of the stochastic gradients and show that training with \\emph{Dithered Quantized Stochastic Gradients (DQSG)} is similar to the training with unquantized SGs perturbed by an independent bounded uniform noise, in contrast to the other quantization methods where the perturbation depends on the gradients and hence, complicating the convergence analysis. We study the convergence of training algorithms using DQSG and the trade off between the number of quantization levels and the training time. Next, we observe that there is a correlation among the SGs computed by workers that can be utilized to further reduce the communication overhead without any performance loss. Hence, we develop a simple yet effective quantization scheme, nested dithered quantized SG (NDQSG), that can reduce the communication significantly \\emph{without requiring the workers communicating extra information to each other}. We prove that although NDQSG requires significantly less bits, it can achieve the same quantization variance bound as DQSG. Our simulation results confirm the effectiveness of training using DQSG and NDQSG in reducing the communication bits or the convergence time compared to the existing methods without sacrificing the accuracy of the trained model.
Motivation & Objective
- Reduce communication overhead in distributed deep learning training without sacrificing model accuracy.
- Address the limitation of existing quantization methods where quantization error depends on input gradients, complicating convergence analysis.
- Exploit correlation among stochastic gradients from different workers to further reduce communication bits.
- Develop a scalable, low-bit quantization scheme compatible with both synchronous and asynchronous training frameworks.
Proposed method
- Apply dithered quantization to stochastic gradients by adding a uniform random dither signal before quantization to ensure error independence from input gradients.
- Use a uniform M-level quantizer with step size Δ, where the output is Q(v) = Δ·⌊v/Δ⌉, and dither is drawn from U[−Δ/2, Δ/2].
- Propose nested dithered quantization (NDQSG) that applies hierarchical quantization: first quantizing gradients into coarse levels, then refining subgroups using finer quantization.
- Model gradient correlation across workers and use it to design a nested structure that reduces bit usage while preserving quantization variance.
- Apply entropy coding to further compress quantized gradients, reducing bit rate without affecting model performance.
- Prove that NDQSG maintains the same quantization variance bound as DQSG, ensuring equivalent convergence behavior.
Experimental results
Research questions
- RQ1Can dithered quantization stabilize convergence in distributed training by decoupling quantization error from gradient values?
- RQ2How does the number of quantization levels affect convergence speed and communication cost in distributed SGD?
- RQ3Can inter-worker correlation in stochastic gradients be exploited to reduce communication without increasing quantization variance?
- RQ4Does nested dithered quantization achieve comparable training accuracy and convergence to standard dithered quantization while using significantly fewer bits?
Key findings
- DQSG reduces communication bits by up to 6× compared to one-bit quantization, with minimal accuracy loss—e.g., 38.6 Kbits/worker for FC300-100 after entropy coding.
- NDQSG reduces communication by over 30% compared to DQSG, achieving 422.8 Kbits/worker for FC300-100 versus 619.2 Kbits with DQSG.
- For CifarNet with 8 workers, NDQSG achieves 64.1% accuracy after 50 epochs, matching DQSG and outperforming QSGD (64.1%) and one-bit quantization (47.8%).
- DQSG converges faster than baseline in terms of training iterations, suggesting improved convergence dynamics due to independent noise structure.
- The convergence gap between quantized and unquantized training diminishes with increasing workers due to gradient averaging, validating scalability.
- NDQSG maintains training accuracy and convergence speed comparable to DQSG while reducing bit usage, proving effective for low-bandwidth distributed systems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.