Can Decentralized Stochastic Minimax Optimization Algorithms Converge Linearly for Finite-Sum Nonconvex-Nonconcave Problems?

Yihan Zhang, Wenhao Jiang, Feng Zheng, Chiu C. Tan, Xinghua Shi, Hongchang GaoarXiv 2023 · DOI

Abstract

Decentralized minimax optimization is essential for distributed machine learning tasks like training Generative Adversarial Networks (GANs) and adversarially robust models. However, achieving linear convergence in these settings is difficult due to data heterogeneity and consensus errors. This paper presents DSVRGDA-P and DSVRGDA-Z, the first decentralized stochastic algorithms to achieve linear convergence for finite-sum nonconvex-nonconcave problems under the Polyak-Łojasiewicz (PL) condition. By employing a novel stage-wise multi-round communication strategy, these algorithms effectively "reset" consensus errors. Our experiments on synthetic and real-world datasets demonstrate that these decentralized methods achieve parity with single-machine performance.

Introduction

Minimax optimization involves finding a saddle point where one variable minimizes a function while another maximizes it. In decentralized systems, data is distributed across nodes that only communicate with neighbors, leading to challenges like data heterogeneity and consensus error. While previous work focused on nonconvex-strongly-concave problems, many modern machine learning models are nonconvex-nonconcave but satisfy the PL condition. This paper investigates whether decentralized algorithms can achieve the "gold standard" of linear convergence for this broader class of problems.

Proposed Algorithms and Innovation

The authors introduce two algorithms based on stochastic variance-reduced gradient descent ascent (SVRGDA):

  • DSVRGDA-P: Uses the PAGE gradient estimator, probabilistically choosing between full and mini-batch gradients to reduce variance.
  • DSVRGDA-Z: Uses the ZeroSARAH estimator, which is more computationally efficient as it avoids periodic full gradient computations.

The key innovation is stage-wise multi-round communication. Standard algorithms communicate once per iteration, which often fails to sufficiently suppress consensus error. By dividing training into stages and performing $D$ rounds of communication (where $D$ is the network diameter) at the end of each stage, the algorithms effectively synchronize the global average, resetting consensus errors and enabling linear convergence.

Experimental Results

The algorithms were tested on synthetic PL games and real-world AUC maximization tasks using benchmark datasets (a9a, w8a, ijcnn1).

Convergence metrics showing linear reduction in error for both distance to saddle point and gradient norm.

As illustrated in Figure 2, both DSVRGDA variants exhibit linear convergence, characterized by the straight-line descent on a log-scale for both the distance to the saddle point and the norm of the gradient. This empirical evidence supports the theoretical claim that the multi-round communication strategy successfully mitigates the consensus bottleneck.

AUC test performance across three benchmark datasets, highlighting the efficiency of the DSVRGDA-Z variant.

Figure 6 displays the AUC maximization results. The "Z" variants (DSVRGDA-Z and SVRGDA-Z) consistently outperform the "P" variants in terms of sample complexity, reaching high AUC values more rapidly. Crucially, the decentralized DSVRGDA algorithms show performance nearly identical to their centralized counterparts, demonstrating that the decentralized architecture does not compromise optimization speed.

Conclusion

This research provides the first proof and empirical validation of linear convergence for decentralized stochastic minimax optimization in the nonconvex-nonconcave (PL) regime. The proposed stage-wise communication strategy effectively overcomes the consensus error challenge. Future research will explore reducing the communication overhead in large-diameter networks and extending these results to even more general optimization landscapes.

Summary updated

BibTeX
@misc{zhang2023can,
  author = {Yihan Zhang and Wenhao Jiang and Feng Zheng and Chiu C. Tan and Xinghua Shi and Hongchang Gao},
  title = {{Can Decentralized Stochastic Minimax Optimization Algorithms Converge Linearly for Finite-Sum Nonconvex-Nonconcave Problems?}},
  year = {2023},
  eprint = {2304.11788},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.11788},
}
Figure