Decentralized Nonconvex Optimization under Heavy-Tailed Noise: Normalization and Optimal Convergence

Shuhua Yu, Dusan Jakovetic, Soummya Kar

Introduction

Training large models like Transformers across decentralized networks often suffers from "heavy-tailed" gradient noise—extreme spikes in gradients that destabilize standard algorithms. This paper introduces GT-NSGDm, a novel algorithm combining gradient tracking, momentum, and normalization to tame this noise, achieving the first mathematically optimal convergence rate for decentralized nonconvex optimization under heavy-tailed conditions.

The Challenge of Heavy-Tailed Noise

In decentralized optimization, multiple nodes (like edge devices or data center servers) collaborate to train a machine learning model without a central coordinator, communicating only with their immediate neighbors. Most standard decentralized algorithms assume that gradient noise has a finite variance—essentially, that the noise follows a well-behaved bell curve.

However, recent empirical and theoretical evidence shows that training modern architectures—especially attention-based models like Transformers—generates "heavy-tailed" noise. This means extreme, massive gradient spikes happen far more often than a normal distribution would predict. Under these conditions, standard algorithms become highly unstable or collapse entirely.

Evolution of gradient noise norms during training compared to a heavy-tailed Lévy distribution.

Previous attempts to solve this in decentralized settings relied on unrealistic assumptions, such as assuming the objective function is strongly convex or that gradients are strictly bounded. This paper tackles the much harder, more realistic problem: optimizing general nonconvex functions (like deep neural networks) across a decentralized network when gradient noise is heavy-tailed (specifically, having only a bounded $p$-th moment for $p \in (1, 2]$).

The GT-NSGDm Solution

The authors propose GT-NSGDm (Gradient Tracking based Normalized Stochastic Gradient Descent with momentum). It combines three key ingredients to robustify training:

  1. Normalization: Instead of taking an optimization step based on the raw magnitude of the gradient (which might be massive due to heavy-tailed noise), the algorithm normalizes the gradient to a unit vector, relying only on its direction.
  2. Momentum: Local momentum is used on each node to reduce the variance of the gradient estimates.
  3. Gradient Tracking: This is the crucial "glue." The authors prove that simply applying normalization to standard decentralized SGD fails catastrophically. Because local datasets differ, local normalizations pull the global average in the wrong direction. Gradient tracking forces the nodes to track the global average gradient, correcting this drift and allowing normalization to work safely in a decentralized setting.

Key Insights

  • Vanilla normalization breaks decentralized SGD: A major mathematical proof in the paper shows that simply normalizing gradients on local nodes fails. Because local datasets are heterogeneous, local normalizations introduce intrinsic errors that push the global model away from the true optimal solution.
  • Gradient tracking fixes the nonlinearity: By using gradient tracking, nodes estimate the global gradient before normalizing. This elegantly bypasses the failure mode of vanilla normalization, allowing the decentralized network to emulate a centralized server.
  • Optimal convergence: GT-NSGDm achieves an expected convergence rate of $O(1/T^{(p-1)/(3p-2)})$. This is a significant breakthrough because it exactly matches the theoretical lower bound for centralized setups.
  • Topology independence: When the exact "fatness" of the noise tail (the parameter $p$) is unknown, the algorithm still achieves a strong convergence rate. For sufficiently long training, this rate becomes completely independent of the network's topology and scales efficiently with the number of nodes.

Experimental Validation

The researchers validated GT-NSGDm using both synthetic and real-world datasets:

  • Synthetic Tokenized Data: A custom dataset designed for robust linear regression, simulating the heavy-tailed frequency of language tokens. The authors injected controlled noises (Gaussian, Student's t, and Lévy $\alpha$-stable) to test algorithmic robustness. Standard decentralized methods (like DSGD and GT-DSGD) diverged or stalled when hit with heavy-tailed Lévy $\alpha$-stable noise, whereas GT-NSGDm converged smoothly.
  • Multi30k: A real-world dataset (29k sentences, 4.4M tokens) used to train a 3-million parameter GPT (decoder-only Transformer) model. In a simulated 8-node network, GT-NSGDm achieved a validation loss of $0.258 \pm 0.007$ on a ring graph topology. This drastically outperformed other theoretically-guaranteed baselines (e.g., SClip-EF-Network scored $5.653$) and matched or beat heuristic methods lacking heavy-tail guarantees.
  • Network Speedup: Experiments on complete graphs varying from 2 to 40 nodes confirmed the theoretical prediction: adding more nodes effectively acts as noise reduction, speeding up convergence and lowering the final estimation error.

Limitations and Future Work

The authors note that their decentralized Transformer training experiments were simulated on a single GPU. While mathematically rigorous, real-world deployments on actual distributed hardware may face system-level bottlenecks (like network latency or asynchronous communication issues) not captured in a simulated environment.

Future work will aim to extend this analysis to other nonlinear adaptive techniques, such as signSGD or gradient clipping, and generalize the algorithm to handle objective functions with more relaxed smoothness conditions.

Summary updated

BibTeX
@inproceedings{yu2026decentralized,
  author = {Shuhua Yu and Dusan Jakovetic and Soummya Kar},
  title = {{Decentralized Nonconvex Optimization under Heavy-Tailed Noise: Normalization and Optimal Convergence}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=B0qUqxBOT6},
}
Figure