Asynchronous Diffusion Learning with Agent Subsampling and Local Updates

Elsa Rizk, Kun Yuan, Ali H. Sayed

Introduction

Traditional distributed optimization often relies on idealized assumptions: all agents participate in every iteration, and every agent communicates with all its neighbors whenever a gradient is calculated. However, modern decentralized environments—particularly Federated Learning (FL)—are characterized by "messy" network dynamics. Mobile devices may drop out due to connectivity issues, and communication overhead often necessitates multiple local updates before sharing results. This paper provides a rigorous mathematical foundation for asynchronous distributed learning, addressing these real-world constraints through a framework that incorporates agent subsampling, neighbor subsampling, and local updates.

Problem Formulation

The authors analyze the Adapt-Then-Combine (ATC) diffusion algorithm within an asynchronous setting. The system is defined by three primary layers of stochasticity:

  1. Agent Subsampling: Each agent $k$ participates in a global iteration with a specific probability $q_k$.
  2. Local Updates: Active agents perform $T$ local gradient descent steps on their private data before any communication occurs.
  3. Neighbor Subsampling: Upon completing local updates, participating agents aggregate models from a subset of their neighbors, chosen with probability $q_{\ell k}$, using a weight matrix $A$.

This framework generalizes several popular algorithms; for instance, FedSGD and FedAvg can be viewed as specific instances of this broader asynchronous diffusion strategy.

Methodology and Theoretical Analysis

The core contribution of the work is a stability and performance analysis that accounts for the random nature of the combination matrix. Because the network is asynchronous, the weights used for aggregation are random variables depending on which agents are "awake" and which neighbors were sampled.

Stability and Convergence

The authors prove that the algorithm is stable provided the step-size $\mu$ is sufficiently small. Specifically, Theorem 1 establishes that individual agent errors converge exponentially to a small neighborhood around the optimal model.

Mean-Square Deviation (MSD)

A significant breakthrough in this paper is the derivation of the first explicit expression for Mean-Square Deviation (MSD) in a federated context (Theorem 3). The analysis reveals that the algorithm does not necessarily converge to a simple average of local risks. Instead, it converges to a weighted average determined by the Perron eigenvector of the mean combination matrix and the agents' participation probabilities.

The theoretical results highlight a critical bottleneck: the convergence rate of the entire network is dictated by the "least active" agent. An agent with a very low participation probability ($q_k$) not only slows down the global convergence speed but also increases the steady-state error for the entire system.

Experimental Validation

The authors evaluate their theoretical findings using a synthetic linear regression problem involving $K = 20$ agents. Each agent possesses a local dataset of $N = 10^6$ samples with 5-dimensional feature vectors. By using a random generative model to create ground truth data, the authors could precisely calculate the ideal global model ($w^o$) and compare it against the algorithm's trajectory.

Key experimental findings include:

  • Theoretical Alignment: Numerical simulations closely track the derived MSD expressions. Even in complex scenarios involving both subsampling and multiple local updates, the experimental curves match the theoretical predictions.
  • Drivers of Speedup: While local updates ($T > 1$) effectively reduce communication frequency, they do not significantly alter the rate of convergence. Instead, the frequency of agent participation remains the primary driver of convergence speed.

Conclusion and Future Work

This research provides a robust theoretical framework for understanding how asynchrony and local computation affect distributed learning. By proving stability and providing explicit MSD expressions, the authors offer a roadmap for optimizing Federated Learning systems.

However, the study notes certain limitations. The current validation is restricted to linear regression; further research is required to determine how these MSD expressions behave in the non-convex landscapes typical of deep neural networks. Additionally, the analysis assumes a fixed underlying graph topology, suggesting that future work could explore more dynamic environments where neighborhood structures change over time.

Summary updated

BibTeX
@inproceedings{rizk2024asynchronous,
  author = {Elsa Rizk and Kun Yuan and Ali H. Sayed},
  title = {{Asynchronous Diffusion Learning with Agent Subsampling and Local Updates}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2024},
  url = {https://openreview.net/forum?id=xQDUlvg4TE},
}
Figure