On the Divergence of Decentralized Non-Convex Optimization

Mingyi Hong, Siliang Zeng, Junyu Zhang, Haoran Sun

Abstract

Decentralized optimization is a cornerstone of large-scale machine learning, yet its theoretical foundations often rest on restrictive assumptions. Most existing algorithms require Local Lipschitz Conditions (LLC) on agent gradients to guarantee convergence. This paper demonstrates that without these conditions, popular decentralized algorithms can diverge even on simple non-convex problems. We introduce MAGENTA (Multi-stage gradient tracking algorithm), a meta-algorithm that utilizes expanding artificial constraints to ensure convergence for a much wider class of non-convex functions with rapidly growing gradients. Our results show that MAGENTA achieves a 100% convergence rate in scenarios where traditional methods fail entirely.

Introduction

In decentralized optimization, a group of $N$ agents collaborates to minimize a global objective function $f(u) = \frac{1}{N} \sum_{i=1}^N f_i(u)$ by communicating only with immediate neighbors. Unlike centralized settings where a Global Lipschitz Condition (GLC) on the total function often suffices, decentralized variants typically demand that each local function $f_i$ satisfies a Local Lipschitz Condition (LLC). This implies that local gradients cannot grow faster than the distance between points.

However, in many modern applications like training deep neural networks or matrix factorization, these local conditions simply do not hold. Gradients can grow super-linearly, leading to potential instability. This paper investigates whether the LLC is a fundamental requirement for numerical stability and proposes a robust alternative for when it is violated.

The Necessity of Lipschitz Conditions

The authors provide a critical theoretical warning: LLC is not merely a technical convenience for proofs but a requirement for the stability of standard decentralized first-order methods. Through counter-examples involving cubic and quartic functions, the paper proves that popular algorithms—including Distributed Gradient Descent (DGD), Gradient Tracking (GT), and Proximal Primal-Dual (Prox-PDA)—will diverge to infinity if the LLC is not met, regardless of how small the step size is. The interaction between the consensus mechanism and the gradient update can create a positive feedback loop that drives iterates to infinity.

The MAGENTA Algorithm

To address this vulnerability, the authors propose the Multi-stage gradient tracking algorithm (MAGENTA). MAGENTA functions as a meta-algorithm that tames exploding gradients through a sequence of constrained subproblems.

Expanding Constraints

The core innovation is the use of "expanding balls." Instead of tackling the unconstrained problem directly, MAGENTA restricts agents to a feasible set $X(t)$ in each stage $t$. This set is a ball centered at the starting point with a radius $v^t$ that grows over time. By keeping the iterates within a compact, slowly expanding set, the algorithm ensures that the local Lipschitz constants are "tamed" long enough for the algorithm to find a stationary point before the gradients explode.

Multi-stage Execution

Within each stage, MAGENTA employs a version of gradient tracking to reach an $\epsilon$-stationary point for that specific constrained region. As the radius expands, the algorithm eventually explores the necessary space to find a global stationary point without the iterates diverging.

Table 1: Comparison of the proposed algorithm with existing decentralized optimization methods. The 'X' marks indicate that the proposed method does not require LLC, GLC, or LLB assumptions, unlike its predecessors.

Experimental Evaluation

The efficacy of MAGENTA was tested against three benchmarks: regularized logistic regression, polynomial optimization, and neural network training.

  • Stability: In neural network experiments with large initial weights—a scenario where LLC is violated—standard baselines (DGD, GT, Prox-PDA) exhibited a 0% convergence rate, diverging in every trial. In contrast, MAGENTA maintained a 100% convergence rate.
  • Efficiency: On well-behaved problems like logistic regression where LLC holds, MAGENTA performed comparably to state-of-the-art methods like Prox-PDA, proving that the multi-stage overhead is minimal.
  • Theoretical Tightness: For functions that are $Q$-th order polynomials, MAGENTA achieves a convergence rate of $O(1/\epsilon^{Q-1})$. For the specific case of quadratic functions ($Q=2$), this reduces to $O(1/\epsilon)$, matching the known optimal rates for standard decentralized non-convex optimization.

Conclusion

MAGENTA represents a significant step forward in making decentralized optimization robust for real-world, non-convex problems. By replacing the restrictive LLC assumption with a dynamic constraint strategy, it provides the first known convergence guarantees for functions with rapidly growing gradients. Future work will explore extending this framework to stochastic settings and optimizing the hyperparameter selection for the expansion rate.

Summary updated

BibTeX
@article{hong2022divergence,
  author = {Mingyi Hong and Siliang Zeng and Junyu Zhang and Haoran Sun},
  title = {{On the Divergence of Decentralized Non-Convex Optimization}},
  journal = {SIAM J. Optim.},
  year = {2022},
  doi = {10.1137/20m1353149},
}
Figure