Skip to main content
QUICK REVIEW

[Paper Review] Double Quantization for Communication-Efficient Distributed Optimization

Yue Yu, Jiaxiang Wu|arXiv (Cornell University)|May 25, 2018
Stochastic Gradient Optimization TechniquesComputer Science41 references20 citations
TL;DR

This paper proposes double quantization—a novel scheme that compresses both model parameters and gradients in distributed machine learning to drastically reduce communication overhead. By combining low-precision quantization with asynchronous training, gradient sparsification, and momentum acceleration, the authors develop AsyLPG, Sparse-AsyLPG, and accelerated AsyLPG, which achieve full-precision convergence rates while reducing transmitted bits by up to 19.19×, with no performance degradation in experiments.

ABSTRACT

Modern distributed training of machine learning models suffers from high communication overhead for synchronizing stochastic gradients and model parameters. In this paper, to reduce the communication complexity, we propose \emph{double quantization}, a general scheme for quantizing both model parameters and gradients. Three communication-efficient algorithms are proposed under this general scheme. Specifically, (i) we propose a low-precision algorithm AsyLPG with asynchronous parallelism, (ii) we explore integrating gradient sparsification with double quantization and develop Sparse-AsyLPG, (iii) we show that double quantization can also be accelerated by momentum technique and design accelerated AsyLPG. We establish rigorous performance guarantees for the algorithms, and conduct experiments on a multi-server test-bed to demonstrate that our algorithms can effectively save transmitted bits without performance degradation.

Motivation & Objective

  • To address the high communication cost in distributed machine learning caused by transmitting full-precision gradients and model parameters.
  • To overcome the limitations of existing quantization and sparsification methods that do not fully exploit asynchronous training or jointly compress parameters and gradients.
  • To design communication-efficient algorithms that maintain convergence rates comparable to full-precision methods while minimizing transmitted bits.
  • To analyze the impact of low-precision gradients on convergence and establish theoretical guarantees for double quantization.
  • To validate the effectiveness of combining double quantization with sparsification and momentum in real-world distributed test beds.

Proposed method

  • Propose a double quantization scheme that compresses both model parameters and gradients using low-precision representations, reducing communication cost per iteration.
  • Design AsyLPG, an asynchronous low-precision algorithm that allows workers to update independently without waiting for synchronization, using quantized gradients and parameters.
  • Integrate gradient sparsification with double quantization in Sparse-AsyLPG, transmitting only top-magnitude gradient components to further reduce communication.
  • Apply momentum techniques to accelerate convergence in AsyLPG, proving that double quantization can be effectively accelerated with momentum.
  • Use error feedback and adaptive quantization levels to minimize precision loss from low-precision gradients and parameters.
  • Formulate the optimization problem as minimizing a composite objective with smooth and nonsmooth components, ensuring theoretical convergence under double quantization.

Experimental results

Research questions

  • RQ1Can jointly quantizing both model parameters and gradients maintain convergence rates comparable to full-precision distributed optimization?
  • RQ2How does the combination of gradient sparsification and double quantization affect communication efficiency and convergence rate?
  • RQ3Can momentum techniques be effectively applied to accelerate double quantization in asynchronous settings?
  • RQ4What is the theoretical relationship between sparsity budget and convergence rate in double quantized algorithms?
  • RQ5To what extent can communication cost be reduced without sacrificing model accuracy in real distributed systems?

Key findings

  • AsyLPG and Acc-AsyLPG achieve convergence rates matching full-precision algorithms while reducing transmitted bits by up to 19.19× on MNIST and 7.33× on rcv1.
  • Sparse-AsyLPG reduces communication cost by 8.87× compared to full-precision asynchronous training, with a convergence rate scaling as √(d/φ) for sparsity budget φ.
  • The accelerated version, Acc-AsyLPG, achieves the fastest convergence among all low-precision methods, with 19.13× fewer bits transmitted than AsyFPG on MNIST.
  • Experiments show that increasing the quantization precision control parameter μ allows reducing the number of bits for model parameters (bₓ) without performance loss, down to bₓ=2 at μ=0.5.
  • The results validate that 32-bit floating-point representation of model parameters is redundant, as 8-bit quantization suffices for high performance.
  • On both logistic regression and neural network tasks, the proposed algorithms match or exceed the accuracy of QSVRG and full-precision baselines while transmitting significantly fewer bits.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.