Improved Analysis for Sign-based Methods with Momentum Updates

Wei Jiang, Dingzhi Yu, Sifan Yang, Wenhao Yang, Lijun Zhang

TL;DR

Sign-based optimization methods drastically reduce communication overhead in distributed training by transmitting only the signs of gradients (+1 or -1), but they traditionally suffer from poor theoretical guarantees or require impractical assumptions like massive batch sizes. This paper provides an enhanced theoretical analysis showing that adding momentum to signSGD eliminates these restrictive assumptions and significantly sharpens the convergence rate's dependence on the problem dimension ($d$). Specifically, it improves the dimension dependence by a factor of $\mathcal{O}(d^{1/2})$ in centralized settings and delivers superior rates for distributed majority-vote configurations.

What Problem Does This Paper Address?

Distributed deep learning spends a massive amount of time communicating gradients between worker nodes and parameter servers. "Sign-based" methods like signSGD compress 32-bit floating-point gradients down to a single bit per element, offering a massive communication speedup.

However, the theoretical math justifying signSGD has historically been restrictive. To prove it converges at the standard stochastic gradient descent rate of $\mathcal{O}(T^{-1/4})$, prior proofs forced researchers to accept harsh conditions: either using massive, scaling batch sizes or assuming that the gradient noise is perfectly symmetric and unimodal. Recent attempts to fix this using momentum updates reintroduced a severe linear dependence on the problem's dimensionality ($d$), making them highly inefficient for modern, high-dimensional neural networks. This paper bridges the gap by providing a tighter, more realistic analysis of momentum-based signSGD that drops restrictive noise assumptions while drastically improving dimension scaling.

Methods

The authors analyze two primary algorithmic variants:

  1. Sign-based Momentum Method (SMM): Instead of taking the sign of the raw stochastic gradient at each step, SMM maintains a standard momentum buffer $v_t = (1-\beta)v_{t-1} + \beta \nabla f(x_t; \xi_t)$ and updates the model parameters using only $\text{sign}(v_t)$.
  2. Majority Vote SignSGD with Momentum (MVSM): Designed for distributed environments, workers compute local momentum and send compressed signs to a server. To prevent the severe bias that occurs when taking a deterministic "sign of a sign" (once at the worker, then again at the server), the authors utilize a randomized, unbiased sign operation ($S_R$) at the worker level before aggregating via majority vote at the server.

The core novelty lies in the theoretical analysis framework. The authors evaluate these methods under standard $l_2$-smoothness and a weaker $l_\infty$-smoothness condition, avoiding the restrictive "separable smoothness" assumptions of prior literature.

Datasets

The authors validate their theoretical findings using standard computer vision benchmarks:

  • CIFAR-10: Used to evaluate the centralized SMM algorithm using a ResNet-18 architecture.
  • CIFAR-100: Used to evaluate the distributed MVSM algorithm using a ResNet-50 architecture split across 8 worker nodes.

No new datasets or benchmarks were introduced.

Key Insights and Ideas

  • The Power of the $l_\infty$ Norm: By shifting the analysis from standard $l_2$-smoothness to $l_\infty$-smoothness, the authors proved that signSGD with momentum achieves the optimal $\mathcal{O}(T^{-1/4})$ convergence rate with constant batch sizes and without assuming symmetric noise.
  • Shaving off Dimension Dependence: Under standard $l_2$-smoothness, previous state-of-the-art bounds scaled linearly with the dimension ($\mathcal{O}(d)$). This paper cleverly bounds the error to achieve a scaling of $\mathcal{O}(d^{1/2})$, making sign-based momentum significantly more viable for modern deep networks with millions of parameters.
  • Unbiased Quantization Cures Bias Amplification: In distributed majority vote, applying a deterministic sign operation twice destroys unbiasedness and slows convergence. Introducing a stochastic, unbiased sign operation ($S_R$) at the worker level acts as a regularizer that mathematically tames this bias amplification.

Key Results

The theoretical improvements are neatly summarized in the paper's comparison tables:

Table 1: Summary of convergence rates for sign-based algorithms. Note that some rates are measured under the squared l1- or l2-norm, and we convert them to the l1- or l2-norm for fair comparison. Here, N denotes the number of stochastic gradient calls. (Also note that Assumption 3 is weaker than Assumption 1.)
  • In the centralized setting, SMM improves the dimension dependence from $\mathcal{O}(d/N^{1/4})$ to $\mathcal{O}(d^{1/2}/N^{1/4})$ under $l_2$-smoothness (as shown in Theorem 1 above).
Table 2: Summary of results for sign-based algorithms in the distributed setting, where n represents the number of nodes and T denotes the iteration number.
  • In distributed settings, MVSM (v2) achieves a convergence rate of $\mathcal{O}\left( \max \{ d^{1/4}T^{-1/4}, d^{1/10}T^{-1/5} \} \right)$, heavily outperforming the older Sto-signSGD rate of $\mathcal{O}(d^{3/8}T^{-1/8})$ (as shown in Theorem 5 above).
  • Empirical Validation: SMM converged faster and achieved lower training loss/higher accuracy on CIFAR-10 compared to standard signSGD, SGDM, and AdamW. In distributed tests on CIFAR-100, MVSM outperformed all other sign-based competitors (like Signum and MV-signSGD-SIM) in both convergence speed and gradient sparsity.

Limitations and Future Work

The paper primarily focuses on establishing tighter theoretical bounds and validating them on standard image classification tasks. However, the authors do not deeply explore highly heterogeneous distributed environments (extreme data non-IIDness) or scale their experiments to massive large language models (LLMs) where dimension $d$ is exceptionally large and communication bottlenecks are most severe. Future work could involve extending this momentum-based analysis to other aggressive compression schemes or adaptive optimization methods like Adam.

Summary updated

BibTeX
@misc{jiang2025improved,
  author = {Wei Jiang and Dingzhi Yu and Sifan Yang and Wenhao Yang and Lijun Zhang},
  title = {{Improved Analysis for Sign-based Methods with Momentum Updates}},
  year = {2025},
  eprint = {2507.12091},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.12091},
}
Figure