[Paper Review] Moniqua: Modulo Quantized Communication in Decentralized SGD
Moniqua is a communication-efficient, memory-free quantization technique for decentralized stochastic gradient descent (SGD) that uses modulo arithmetic to enable 1-bit quantized communication without sacrificing convergence rate. It provably maintains the same asymptotic convergence as full-precision decentralized SGD while requiring no additional memory and supporting arbitrary quantizers and non-constant step sizes.
Running Stochastic Gradient Descent (SGD) in a decentralized fashion has shown promising results. In this paper we propose Moniqua, a technique that allows decentralized SGD to use quantized communication. We prove in theory that Moniqua communicates a provably bounded number of bits per iteration, while converging at the same asymptotic rate as the original algorithm does with full-precision communication. Moniqua improves upon prior works in that it (1) requires zero additional memory, (2) works with 1-bit quantization, and (3) is applicable to a variety of decentralized algorithms. We demonstrate empirically that Moniqua converges faster with respect to wall clock time than other quantized decentralized algorithms. We also show that Moniqua is robust to very low bit-budgets, allowing 1-bit-per-parameter communication without compromising validation accuracy when training ResNet20 and ResNet110 on CIFAR10.
Motivation & Objective
- To address the challenge of applying quantized communication in decentralized SGD, where naive quantization degrades convergence due to non-decaying model parameter differences.
- To design a method that supports extreme low-bit quantization (e.g., 1-bit) without increasing memory usage.
- To ensure convergence at the same asymptotic rate as full-precision decentralized SGD, even with biased quantizers and non-constant step sizes.
- To eliminate the need for error trackers or model replicas, which incur high memory overhead in prior approaches.
- To demonstrate robustness and scalability of quantized decentralized training under practical constraints like low bandwidth and high latency.
Proposed method
- Moniqua uses modular arithmetic to transmit only the modulo of model parameter differences, leveraging the fact that differences shrink near convergence.
- It exploits the theoretical bound that if |x - y| < θ, then x can be reconstructed from (x mod 2θ - y mod 2θ) mod 2θ + y, reducing bit requirements.
- The method dynamically maintains a bound θ on inter-worker parameter differences using a mixing time t_mix and gradient norm bounds.
- It applies to various decentralized algorithms, including D-PSGD, D², and AD-PSGD, with provable convergence guarantees under the same conditions as full-precision variants.
- Moniqua avoids error tracking or model replication, thus incurring zero additional memory cost.
- The algorithm uses a quantizer that maps values to a finite set via modulo operations, ensuring bounded communication bits per iteration.
Experimental results
Research questions
- RQ1Can quantized communication be effectively applied to decentralized SGD without degrading convergence?
- RQ2Can 1-bit quantization be used in decentralized training while preserving convergence and accuracy?
- RQ3Is it possible to achieve full-precision convergence rates with zero memory overhead in quantized decentralized training?
- RQ4Can the method work with non-constant step sizes and biased quantizers, unlike prior approaches?
- RQ5How does Moniqua scale under low-bandwidth or high-latency network conditions?
Key findings
- Moniqua achieves the same asymptotic convergence rate as full-precision decentralized SGD, even with 1-bit quantization.
- Empirical results show Moniqua converges faster in wall clock time than other quantized decentralized algorithms using the same quantizer.
- Moniqua maintains validation accuracy on CIFAR10 with ResNet20 and ResNet110 using only 1 bit per parameter.
- The method is robust to very low bit-budgets, with no degradation in performance at 1-bit precision.
- Moniqua requires no additional memory, unlike prior methods that use error trackers or replicas, which scale with model size and graph size.
- Theoretical analysis confirms that Moniqua’s communication cost is provably bounded per iteration, regardless of model size or network topology.
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.