On the Stability Analysis of Open Federated Learning Systems

Youbang Sun, Heshan Devaka Fernando, Tianyi Chen, Shahin Shahrampour

Abstract

Standard Federated Learning (FL) assumes a fixed set of participants, but real-world systems are "open"—users join and leave constantly, making traditional convergence impossible. This paper introduces stability as a new performance metric for Open FL and provides the first theoretical guarantees that common optimizers like Local SGD and Local Adam remain bounded and reliable even as the underlying global objective shifts.

The Challenge of Open Systems

In a textbook Federated Learning scenario, a central server coordinates a fixed pool of $N$ clients to train a model. However, in the wild—think mobile apps or IoT networks—the system is "open." Users go offline, delete apps, or join the network mid-training.

Transition from traditional Federated Learning with a fixed pool of clients to an 'open' system where participants dynamically join and leave.

This creates a fundamental mathematical headache: if the participants change, the "global objective function" (the goal the model is trying to reach) changes too. Because the target is constantly moving, the model can never truly "converge" to a single point. Most existing research focuses on "client dropout," where a subset of a fixed pool is temporarily unavailable. This paper tackles the more chaotic reality where the population itself is dynamic, asking: If we can't converge, can we at least guarantee the model won't fly off the rails?

Redefining Success: From Convergence to Stability

The authors shift the goalpost from convergence to stability. They define stability as the "second-moment" magnitude of the learned model—essentially proving that if the model starts within a certain "ball" of radius $R$, it will stay within a bounded range despite the churn of clients.

Key technical contributions include:

  • Stability Framework: A formal definition of stability for Open FL systems.
  • Algorithmic Analysis: Theoretical bounds for the "stability radius" of two workhorse algorithms: Local SGD and Local Adam.
  • Lyapunov Functions: To prove stability for Adam, which is notoriously difficult to analyze due to its adaptive learning rate, the authors construct a custom Lyapunov function—a tool from control theory used to describe the "energy" or equilibrium of a dynamic system.
  • System-Wide Proof: Demonstration that if local updates are stable, the global averaging process at the server preserves that stability.

Experimental Setup

The researchers validated their theory using three distinct setups:

  1. Synthetic Data: Logistic regression on a 100-dimensional dataset generated from Gaussian distributions. This allowed for precise control over variables like noise and client "churn" probability.
  2. MNIST: The standard benchmark of 60,000 handwritten digits, used with $\ell_2$ regularized cross-entropy.
  3. CNNs (Non-convex): While the theory assumes convex functions, they tested the approach on Convolutional Neural Networks to see if stability held up in more complex, non-convex landscapes.

Key Insights and Results

The core finding is that stability is a more practical engineering metric for ensuring a model remains useful over time in dynamic environments.

Stability analysis of Local SGD and Local Adam. The plots demonstrate how the model norm (||x||) stabilizes over iterations across different regularization strengths (lambda) and noise levels (sigma).
  • Regularization as an Anchor: One of the most actionable insights is that the regularization parameter ($\lambda$) is a powerful lever for stability. Increasing regularization improves the "condition number" of the loss function, which significantly shrinks the stability radius and helps the model reach a steady state faster.
  • The Cost of Churn: The "stability radius" (how much the model fluctuates) is directly tied to the system's dynamics. The more frequently clients join or leave, the larger the expected norm of the model iterates.
  • Adam is Resilient: Despite its complexity, the authors proved that Adam’s adaptive nature doesn't inherently break stability in open systems, provided the stochastic gradient noise remains within certain bounds.
  • Non-Convex Success: Even though the proofs rely on strong convexity, the CNN experiments suggested that the stability properties extend to deep learning models in practice.

Limitations and Future Work

While this work provides a strong foundation, several areas remain for future exploration:

  • The Convexity Gap: Core theoretical guarantees require local objective functions to be strongly convex and smooth. A formal theoretical bridge for non-convex landscapes in open systems is still needed.
  • I.I.D. Participation: The current model assumes client joining/leaving follows an independent and identically distributed (i.i.d.) random process. Real-world user behavior is often correlated (e.g., temporal patterns), which could impact stability differently.
  • Communication Efficiency: Future work should address the trade-off between stability and communication frequency, a critical factor in real-world FL deployments.

Summary updated

BibTeX
@inproceedings{sun2023stability,
  author = {Youbang Sun and Heshan Devaka Fernando and Tianyi Chen and Shahin Shahrampour},
  title = {{On the Stability Analysis of Open Federated Learning Systems}},
  booktitle = {ACC},
  year = {2023},
  url = {https://openreview.net/forum?id=O4miD6PPHC},
}
Figure