Stochastic Smoothed Gradient Descent Ascent for Federated Minimax Optimization

Wei Shen, Minhui Huang, Jiawei Zhang, Cong Shen

TL;DR

This paper introduces FESS-GDA (Federated Stochastic Smoothed Gradient Descent Ascent), a novel, unified algorithm that brings centralized smoothing techniques into the federated minimax optimization landscape. FESS-GDA provides a single framework capable of solving multiple classes of nonconvex federated minimax problems, delivering state-of-the-art sample and communication complexities. The authors validate its practical efficiency through federated generative adversarial network (GAN) training and fair classification tasks.

What Problem Does This Paper Address?

Minimax (or min-max) optimization is the mathematical backbone of many modern machine learning paradigms, including Generative Adversarial Networks (GANs), adversarial defense, and fair machine learning. As data privacy concerns grow, solving these problems within a Federated Learning (FL) framework—where multiple clients collaboratively train a model without sharing raw data—has become highly desirable.

However, federated minimax optimization faces severe bottlenecks:

  1. Algorithmic Fragmentation: Existing federated minimax algorithms are highly specialized; practitioners often need entirely different algorithms depending on the specific mathematical properties (e.g., Nonconvex-Concave vs. Nonconvex-PL) of their objective functions.
  2. High Complexity: Nonconvex landscapes typically suffer from poor sample and communication efficiency, heavily weighed down by large condition numbers ($\kappa$).

While centralized optimization has successfully leveraged "smoothing techniques" to accelerate convergence, whether and how these techniques could benefit the decentralized, communication-constrained world of federated learning remained an open question.

Methods

The authors propose Federated Stochastic Smoothed Gradient Descent Ascent (FESS-GDA). The defining feature of FESS-GDA is the introduction of an auxiliary variable ($z_t$) on the server side to smooth the updates of the minimization variable ($x_t$).

Instead of standard model aggregation, the server updates the global model by approximately performing gradient descent-ascent on a smoothed surrogate function: $$\min_x \max_y \hat{f}(x, y, z_t) = f(x, y) + \frac{p}{2}\|x - z_t\|^2$$

The algorithm operates in standard federated rounds:

  • Local Updates: The server randomly samples a subset of clients and sends them the current global model. Clients perform $K$ local steps of Stochastic Gradient Descent Ascent (SGDA) using their local data.
  • Server Aggregation & Smoothing: Clients send their updated models back to the server. The server aggregates these local models and applies the smoothing parameter $p$ and an auxiliary update step for $z_t$ to stabilize and accelerate the trajectory across non-convex landscapes.

FESS-GDA naturally accommodates both full client participation and partial client participation, as well as heterogeneous data distributions across clients.

Datasets

The authors evaluated FESS-GDA on two primary tasks:

  1. Synthetic Gaussian Dataset: A dataset of 10,000 data points sampled from a one-dimensional normal distribution, split evenly across 10 clients, used to train a Wasserstein GAN (WGAN).
  2. CIFAR-10: A benchmark image dataset used to evaluate a fair classification task distributed across 10 clients using a convolutional neural network (CNN) architecture.

Key Insights and Ideas

  • A Unified Framework: FESS-GDA breaks the trend of fragmented algorithm design by uniformly applying to several distinct problem classes, including Nonconvex-PL (NC-PL), Nonconvex-Strongly-Concave (NC-SC), Nonconvex-One-Point-Concave (NC-1PC), Nonconvex-Concave (NC-C), and Two-sided PL (PL-PL).
  • Taming the Condition Number: By incorporating the smoothing step, the algorithm significantly reduces its dependency on the condition number ($\kappa$), which measures how numerically unstable or "stretched" the optimization landscape is.
  • First-of-its-Kind Guarantees: This work provides the first known convergence results for minimizing the point-wise maximum of finite functions and general two-sided PL-PL optimization under a federated learning setting.

Key Results

The theoretical performance improvements of FESS-GDA are detailed across two comprehensive complexity tables in the paper:

Complexity comparison for NC-SC, NC-PL, NC-1PC, and NC-C settings

For NC-PL and NC-SC problems under full client participation, FESS-GDA achieves a per-client sample complexity of $O(\kappa^2 m^{-1}\epsilon^{-4})$ and a communication complexity of $O(\kappa\epsilon^{-2})$. Compared to previous state-of-the-art algorithms without variance reduction, this represents a massive improvement by a factor of $O(\kappa^2)$ in sample complexity and $O(\kappa)$ in communication complexity.

Table 2: Comparison of per-client sample complexity and communication complexity needed to find (xT , yT ) that satisfy E∥xT −x∗∥2 + E∥yT −y∗∥2 ≤ϵ2. We use ˜O to hide logarithmic terms.

In the weaker PL-PL setting, FESS-GDA achieves a communication complexity of $\tilde{O}(1)$ under full client participation with heterogeneous data, outperforming older Local SGDA methods that operate under much stricter SC-SC assumptions.

Experimentally, FESS-GDA demonstrated significant speedups over competing methods (like Fed-Norm-SGDA and SAGDA) when training a WGAN, particularly when the regularization coefficient was small (corresponding to a harder, larger condition number $\kappa$). For fair classification on CIFAR-10, FESS-GDA achieved both higher average test accuracy and superior worst-case category accuracy, validating its real-world fairness and efficiency.

Limitations and Future Work

A notable theoretical limitation occurs in the case of partial client participation combined with heterogeneous data ($m < M$ and $\sigma_G > 0$). Under these specific conditions, the mathematical proofs do not show a theoretical convergence benefit from performing multiple local updates ($K > 1$), forcing the choice of $K = O(1)$ to maintain optimal rates.

The authors note that their current iteration achieves these bounds without using variance reduction techniques. A promising direction for future work includes integrating variance reduction into FESS-GDA to potentially push the convergence rates even lower.

Summary updated

Abstract

In recent years, federated minimax optimization has attracted growing interest due to its extensive applications in various machine learning tasks. While Smoothed Alternative Gradient Descent Ascent (Smoothed-AGDA) has proved its success in centralized nonconvex minimax optimization, how and whether smoothing technique could be helpful in federated setting remains unexplored. In this paper, we propose a new algorithm termed Federated Stochastic Smoothed Gradient Descent Ascent (FESS-GDA), which utilizes the smoothing technique for federated minimax optimization. We prove that FESS-GDA can be uniformly used to solve several classes of federated minimax problems and prove new or better analytical convergence results for these settings. We showcase the practical efficiency of FESS-GDA in practical federated learning tasks of training generative adversarial networks (GANs) and fair classification.
BibTeX
@inproceedings{shen2024stochastic,
  author = {Wei Shen and Minhui Huang and Jiawei Zhang and Cong Shen},
  title = {{Stochastic Smoothed Gradient Descent Ascent for Federated Minimax Optimization}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2024},
  url = {https://openreview.net/forum?id=nYZTO8AwNP},
}
Figure