DESTRESS: Computation-Optimal and Communication-Efficient Decentralized Nonconvex Finite-Sum Optimization

Boyue Li, Zhize Li, Yuejie Chi

TL;DR

The paper introduces DESTRESS, a novel decentralized algorithm for nonconvex finite-sum optimization that elegantly balances computation and communication efficiency. By combining stochastic recursive gradients, gradient tracking, and extra communication mixing steps, DESTRESS is the first decentralized algorithm to match the optimal computational complexity of centralized algorithms while significantly reducing communication overhead, especially in poorly connected networks.

What Problem Does This Paper Address?

In modern machine learning applications like federated learning, internet-of-things (IoT), and autonomous systems, data is often distributed across multiple agents. These agents must collaboratively train a global model (minimizing a finite-sum objective function) without relying on a central server. Instead, they can only communicate with their immediate neighbors over a specific network topology.

The efficiency of these decentralized algorithms is bottlenecked by two conflicting resources: computation (calculating gradients on local data) and communication (sharing parameter updates with neighbors). Existing decentralized algorithms either suffer from sub-optimal computational complexity—requiring more passes over the data than centralized equivalents—or they require excessive rounds of communication, particularly when the network is sparsely connected. The authors tackle the challenge of designing an algorithm that achieves the theoretical lower bound for computation while keeping communication costs strictly in check.

Methods

The authors propose DESTRESS (DEcentralized STochastic REcurSive gradient methodS). It utilizes a nested-loop structure inspired by centralized variance-reduced algorithms (like SARAH or SPIDER), but adapted for decentralized networks:

  • Outer Loop (Gradient Tracking): DESTRESS uses dynamic average consensus to estimate the global gradient across the network. This acts as a variance-reduction anchor, periodically resetting the local stochastic gradients to a less noisy baseline.
  • Inner Loop (Stochastic Recursive Gradients): Agents refine their parameter estimates using cheap, stochastic gradient updates based on mini-batches of their local data.
  • Novelty 1 - Random Activation: To save computation when local datasets are small compared to the number of agents, DESTRESS randomly activates agents to perform inner-loop updates. This effectively creates a "fractional" batch size, preventing wasted computation.
  • Novelty 2 - Extra Mixing: DESTRESS performs multiple rounds of communication (gossiping) per computation step. By using Chebyshev acceleration for these extra mixing steps, the algorithm rapidly diffuses information across the network, simulating a much better-connected graph.

Datasets

The authors evaluate DESTRESS on two standard machine learning datasets, distributing the data evenly across 20 simulated agents:

  • Gisette: Used for training a binary classification model via regularized logistic regression (with a nonconvex regularization term).
  • MNIST: Used for training a one-hidden-layer neural network (64 hidden neurons, sigmoid activations) for image classification.

Key Insights and Ideas

  • Matching Centralized Optimality: DESTRESS is the first decentralized algorithm to achieve the optimal Incremental First-order Oracle (IFO) complexity—a measure of how many individual gradient evaluations are needed—matching state-of-the-art centralized algorithms. It proves that removing the central server does not inherently require a sacrifice in computational efficiency.
  • The Power of "Fractional" Batch Sizes: In scenarios where there are more agents than local data points per agent, forcing every agent to compute a gradient every step is highly inefficient. By randomly activating agents with a specific probability, DESTRESS achieves an effective fractional batch size, ensuring optimal computation across all parameter regimes.
  • Decoupling Computation and Communication: By introducing "extra mixing" (multiple communication rounds per gradient step), DESTRESS paces communication and computation differently. This allows the algorithm to safely use a much larger learning rate (step size) than previous decentralized methods, drastically speeding up overall convergence.

Key Results

  • Theoretical Guarantees: To find an $\epsilon$-approximate first-order stationary point, DESTRESS requires $\mathcal{O}(m + \sqrt{m/n}L/\epsilon)$ IFO calls per agent (where $m$ is local sample size, $n$ is number of agents, and $L$ is smoothness). This is network-independent and strictly optimal.
  • Communication Savings: The communication complexity improves upon state-of-the-art baselines (like D-GET and GT-SARAH) by at least a factor of $1/(1-\alpha)^{3/2}$ for the $\epsilon$-dependent term (where $1-\alpha$ is the spectral gap of the network). This means massive communication savings on poorly connected networks like path or grid graphs.
  • Empirical Performance: In both the logistic regression and neural network experiments, DESTRESS significantly outperformed baselines (DSGD and GT-SARAH). It achieved lower training losses and higher testing accuracies using fewer gradient evaluations and fewer communication rounds, validating the theoretical allowance for larger step sizes.

Limitations and Future Work

  • First-Order Stationary Points: The theoretical guarantees of DESTRESS are limited to finding first-order stationary points. In highly nonconvex landscapes, first-order points can be saddle points rather than true local minima.
  • Future Work: The authors explicitly note that a natural and important extension of this research is to generalize DESTRESS to find second-order stationary points, which would guarantee escaping saddle points in nonconvex optimization.

Summary updated

BibTeX
@article{li2022destress,
  author = {Boyue Li and Zhize Li and Yuejie Chi},
  title = {{DESTRESS: Computation-Optimal and Communication-Efficient Decentralized Nonconvex Finite-Sum Optimization}},
  journal = {SIAM J. Math. Data Sci.},
  year = {2022},
  doi = {10.1137/21m1450677},
}
Figure