EXTRA: An Exact First-Order Algorithm for Decentralized Consensus Optimization.

Wei Shi, Qing Ling, Gang Wu, Wotao YinSIAM Journal on Optimization 2014 · DOI · OpenReview

Introduction

In modern decentralized networks—ranging from sensor arrays to distributed data centers—agents often need to collaboratively solve a global optimization problem without a central coordinator. This problem is typically formulated as the minimization of a sum of local objective functions:

$$\min_{x \in \mathbb{R}^p} \bar{f}(x) = \frac{1}{n} \sum_{i=1}^n f_i(x)$$

where each agent $i$ possesses only its private function $f_i(x)$ and can only communicate with its immediate neighbors. While Decentralized Gradient Descent (DGD) has long been the standard approach, it suffers from a fundamental trade-off between convergence speed and accuracy. This paper introduces EXTRA (EXact firsT-ordeR Algorithm), a novel method that achieves exact convergence to the global minimizer using a fixed, large step size.

The DGD Dilemma

Prior to EXTRA, decentralized optimization was plagued by the "DGD Dilemma." In standard DGD, agents update their local variables by averaging with neighbors and moving along their local negative gradient. This leads to two suboptimal paths:

  1. Fixed Step Size: If agents use a constant step size, the algorithm converges quickly but only to a neighborhood of the optimum, resulting in a residual steady-state error.
  2. Diminishing Step Size: To reach the exact solution, the step size must be reduced over time. However, this causes the algorithm to become prohibitively slow, often resulting in sub-linear convergence rates.

EXTRA was designed to break this bottleneck, providing a "best of both worlds" solution: the simplicity of a first-order method with the precision of exact convergence.

The EXTRA Algorithm

The core innovation of EXTRA lies in its unique update rule. Unlike DGD, which relies solely on the current gradient, EXTRA utilizes the difference between the last two gradients and employs two distinct mixing matrices, $W$ and $\tilde{W}$, to manage information flow across the network.

The iterative update is defined as: $$x^{k+2} = (I + W)x^{k+1} - \tilde{W}x^k - \alpha[\nabla f(x^{k+1}) - \nabla f(x^k)]$$

Why It Works

  • Cumulative Correction: By incorporating the difference of successive gradients, EXTRA effectively builds a memory-based correction term. This term cancels out the steady-state error that typically causes DGD to stall, allowing the agents to reach the exact global minimizer.
  • Dual Mixing Matrices: The use of a standard mixing matrix $W$ (representing the network topology) alongside a related matrix $\tilde{W}$ (often defined as $\frac{I+W}{2}$) ensures that as agents reach consensus, the gradient differences guide them precisely to the optimal point.
  • Step Size Independence: Crucially, EXTRA’s step size does not need to be tuned based on the network size or diameter, making it robust for various network architectures.

Theoretical Convergence

The authors provide rigorous proofs for EXTRA's performance across different function classes:

  • Convex Functions: For functions with Lipschitz continuous gradients, EXTRA achieves an ergodic convergence rate of $O(1/k)$ in terms of the first-order optimality residual.
  • Strongly Convex Functions: If the objective is restricted strongly convex, EXTRA achieves linear convergence ($O(C^{-k})$ for some $C > 1$). This is a significant improvement over the sub-linear rates of DGD with diminishing step sizes.

Experimental Results

The paper validates EXTRA through several numerical experiments:

  • Decentralized Least Squares: In a 10-agent network, EXTRA demonstrated the ability to reach a residual error of $10^{-10}$, whereas DGD with a fixed step size plateaued at $10^{-2}$.
  • Decentralized Logistic Regression: On a medium-scale task with 200 agents and 2,000 samples, EXTRA consistently outperformed existing first-order methods in both speed and final accuracy.
  • Robustness: Using the Huber loss function (Decentralized Robust Least Squares), the algorithm proved effective even on objectives that are not strongly convex everywhere.

Conclusion and Future Directions

EXTRA represents a foundational shift in decentralized optimization by proving that exact convergence is possible without second-order information or diminishing step sizes. By introducing a simple gradient-difference mechanism, it achieves state-of-the-art convergence rates.

However, several avenues for future research remain. Currently, EXTRA requires synchronous updates and a static network topology. Extending the algorithm to handle asynchronous communication or time-varying graphs—where connections between agents may appear or disappear—remains a vital challenge for applying EXTRA to highly dynamic real-world environments.

Summary updated

BibTeX
@article{shi2014extra,
  author = {Wei Shi and Qing Ling and Gang Wu and Wotao Yin},
  title = {{EXTRA: An Exact First-Order Algorithm for Decentralized Consensus Optimization.}},
  journal = {SIAM Journal on Optimization2015},
  year = {2014},
  doi = {10.48550/arxiv.1404.6264},
}
Figure