NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Linearly Convergent Proximal Gradient Algorithm for Decentralized Optimization

Sulaiman A. Alghunaim, Kun Yuan, Ali H. Sayed

In the world of large-scale machine learning, "decentralized optimization" is a buzzword for a reason. Instead of funneling massive amounts of data through a single central server (a notorious bottleneck), decentralized methods allow a network of machines to collaborate by only communicating with their immediate neighbors.

However, there has long been a frustrating performance gap in these systems. While centralized algorithms can converge "linearly" (very fast) even with non-smooth terms like $L_1$ regularization, decentralized versions of these algorithms often get stuck at "sublinear" (slower) rates. This NeurIPS 2019 paper by Alghunaim, Yuan, and Sayed finally closes that gap.

TL;DR

The authors introduce P2D2 (Proximal Primal-Dual Diffusion), a decentralized algorithm that achieves global linear convergence for composite optimization problems. By assuming a common non-smooth regularization term across all agents, they prove that decentralized networks can match the fast convergence rates previously reserved for centralized systems.

What Problem Does This Paper Address?

Many machine learning problems are "composite": they consist of a smooth loss function (like logistic regression) plus a non-smooth regularizer (like the $L_1$-norm for sparsity). Mathematically, this looks like:

$$\min_{w} J(w) + R(w)$$

In a decentralized setting, the smooth part $J(w)$ is split across many agents, but they all want to agree on a single optimal model $w$.

The challenge? While we had decentralized algorithms for smooth problems that converged linearly, adding that non-smooth $R(w)$ term usually forced researchers to accept much slower convergence rates. The community wasn't sure if a decentralized proximal gradient method could even achieve global linear convergence. This paper proves that it can.

Methods

The authors derive their algorithm, P2D2, by reformulating the decentralized problem into a constrained saddle-point problem. They use an Augmented Lagrangian framework, which is a standard tool for handling constraints, but they apply a clever twist to the updates.

The "Secret Sauce" of P2D2

Most existing methods (like PG-EXTRA) update their variables based directly on the current model estimate. P2D2 introduces a subtle but vital change: it uses an intermediate variable $z_i$ in the dual update step.

The Proximal Primal-Dual Diffusion (P2D2) Algorithm

As detailed in the algorithm block above, the method breaks down into four core equations:

  1. Communication Step (15a): Agents exchange weighted versions of their local variables ($\phi_{k,i}$) with their neighbors.
  2. Gradient Step (15b): Agents take a step ($\psi_{k,i}$) based on the gradient of their local smooth loss, $\nabla J_k$.
  3. Dual Update (15c): The intermediate variable $z_{k,i}$ is updated using the results of the communication and gradient steps.
  4. Proximal Step (15d): Agents apply the proximal operator—the mathematical mechanism for handling the non-smooth term $R(w)$—to their updated local variables.

This specific structure allows the authors to construct a concise proof of linear convergence that was previously elusive in decentralized settings.

Datasets

This is a theoretical paper focused on algorithmic derivation and mathematical proof. Consequently, no specific real-world datasets are used in the main body of the paper. The authors mention that simulations are provided in the supplementary material to validate the theory, but the core contribution is the mathematical guarantee of performance.

Key Insights and Ideas

  • The Power of Commonality: The breakthrough relies on the assumption that the non-smooth term $R(w)$ is the same for all agents. Since many ML tasks use a global penalty (like a shared sparsity constraint), this is a highly practical assumption.
  • Primal-Dual Synergy: The paper shows that the convergence rate is essentially a tug-of-war between two factors: the "condition number" of the cost function (how hard the math problem is) and the "spectral gap" of the network (how well-connected the machines are).
  • A Better EXTRA: When the non-smooth term is removed ($R(w)=0$), P2D2 simplifies into a version of the famous EXTRA algorithm. Interestingly, the authors' new analysis technique provides tighter, more useful bounds on step-sizes and convergence rates for EXTRA than the original proofs did.

Key Results

  • Theorem 1 (Linear Convergence): The authors prove that the error of the algorithm decreases geometrically: $\|w_i - w^*\|^2 \leq C\gamma^i$, where $\gamma < 1$. This is the "gold standard" for optimization speed.
  • Step-size Guarantees: The paper provides explicit ranges for the step-sizes ($\mu$ and $\alpha$) that guarantee stability and speed. This removes much of the guesswork for engineers implementing these systems.
  • Network Robustness: The proof holds for any connected, undirected graph, meaning the algorithm is robust to different network topologies (rings, grids, random graphs, etc.).

Limitations and Future Work

  • Common Regularizer Requirement: The proof specifically requires $R(w)$ to be identical across all nodes. If different agents have different local constraints or regularizers, this specific linear convergence guarantee may not apply.
  • Strong Convexity: The results assume the aggregate smooth function is strongly convex. While common in many ML scenarios (like $L_2$-regularized regression), it doesn't cover all neural network training scenarios.
  • Synchronous Updates: The current analysis assumes all agents update at the same time. Extending this to "asynchronous" settings—where machines might be delayed or have different speeds—is a natural next step for this research.

Summary updated

BibTeX
@inproceedings{alghunaim2019linearly,
  author = {Sulaiman A. Alghunaim and Kun Yuan and Ali H. Sayed},
  title = {{A Linearly Convergent Proximal Gradient Algorithm for Decentralized Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
}
Figure