Decentralized Stochastic Variance Reduced Extragradient Method

Luo Luo, Haishan YearXiv 2022

Abstract

This paper studies decentralized convex-concave minimax optimization problems of the form $\min_x\max_y f(x,y) \triangleq\frac{1}{m}\sum_{i=1}^m f_i(x,y)$, where $m$ is the number of agents and each local function can be written as $f_i(x,y)=\frac{1}{n}\sum_{j=1}^n f_{i,j}(x,y)$. We propose a novel decentralized optimization algorithm, called multi-consensus stochastic variance reduced extragradient (MC-SVRE), which achieves the best known stochastic first-order oracle (SFO) complexity for this problem. Specifically, each agent requires $\mathcal O((n+\kappa\sqrt{n})\log(1/\varepsilon))$ SFO calls for strongly-convex-strongly-concave problem and $\mathcal O((n+\sqrt{n}L/\varepsilon)\log(1/\varepsilon))$ SFO call for general convex-concave problem to achieve $\varepsilon$-accurate solution in expectation, where $\kappa$ is the condition number and $L$ is the smoothness parameter. The numerical experiments show the proposed method performs better than baselines.

Introduction

Minimax optimization, formulated as $\min_x \max_y f(x,y)$, is a cornerstone of modern machine learning, powering applications such as Generative Adversarial Networks (GANs), Area Under the ROC Curve (AUC) maximization, and Distributionally Robust Optimization (DRO).

In decentralized settings—where data is distributed across a network of agents (e.g., mobile devices or hospitals) that can only communicate with immediate neighbors—solving these problems efficiently is challenging. Existing methods often face a trade-off: deterministic algorithms like GT-EG require expensive full-gradient computations at every step, while stochastic methods like DESM suffer from noise that slows convergence to sub-linear rates. This paper introduces Multi-Consensus Stochastic Variance Reduced Extragradient (MC-SVRE) to bridge this gap, offering both computational efficiency and rapid convergence.

The MC-SVRE Framework

MC-SVRE integrates three core optimization techniques to stabilize and accelerate decentralized training:

  1. Extragradient Method: A two-step "look-ahead" mechanism that prevents variables from oscillating, a common issue in minimax games.
  2. Variance Reduction: The algorithm periodically computes full gradients to "anchor" subsequent cheap stochastic updates, reducing the noise inherent in sampling.
  3. Multi-Consensus: To combat "consensus error" (where local models drift apart), agents perform multiple rounds of neighbor averaging per iteration, ensuring the network remains synchronized.

The authors also present MC-EG, a deterministic variant that utilizes full gradients and serves as a highly communication-efficient baseline.

Theoretical Advancements

MC-SVRE is the first stochastic decentralized algorithm to achieve linear convergence for strongly-convex-strongly-concave (SCSC) problems. This means the error decreases exponentially, a significant improvement over the sub-linear rates of previous stochastic decentralized methods.

Table 1: Complexity comparison for strongly-convex-strongly-concave (SCSC) problems. MC-SVRE achieves linear convergence (logarithmic in 1/ε) compared to the sub-linear rate of DESM.

For general convex-concave problems, MC-SVRE maintains its lead, achieving a complexity of $\mathcal{O}((n + \sqrt{n}L/\epsilon) \log(1/\epsilon))$, which significantly outperforms existing stochastic baselines in terms of both computation (SFO) and communication.

Table 2: Complexity comparison for general convex-concave problems. MC-SVRE demonstrates superior SFO complexity compared to the DESM baseline.

Empirical Performance and Trade-offs

The algorithms were evaluated on a 10-node network using the a9a and w8a datasets for AUC maximization and DRO tasks. The results highlighted a critical trade-off:

  • Computation Efficiency: MC-SVRE required drastically fewer computational epochs to reach high-precision solutions compared to DESM and GT-EG.
  • Communication Efficiency: While MC-SVRE is efficient, the deterministic MC-EG variant required the fewest total communication rounds, making it ideal for bandwidth-constrained environments.

Conclusion

MC-SVRE sets a new state-of-the-art for decentralized minimax optimization by combining variance reduction with multi-consensus synchronization. While currently optimized for convex-concave settings, extending this framework to the non-convex landscapes typical of deep learning and GANs remains a promising avenue for future research.

Summary updated

BibTeX
@misc{luo2022decentralized,
  author = {Luo Luo and Haishan Ye},
  title = {{Decentralized Stochastic Variance Reduced Extragradient Method}},
  year = {2022},
  eprint = {2202.00509},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2202.00509},
}
Figure