Asynchronous Semi-Decentralized Federated Edge Learning for Heterogeneous Clients

Yuchang Sun, Jiawei Shao, Yuyi Mao, Jun Zhang

Introduction

Federated Learning (FL) has emerged as a powerful paradigm for training machine learning models across distributed devices while preserving data privacy. However, traditional FL faces significant bottlenecks in edge computing environments. Communication latency with distant cloud servers often slows down the process, and the "straggler effect"—where the entire network must wait for the slowest device to finish local training—severely hampers efficiency in heterogeneous hardware environments.

While Semi-Decentralized Federated Edge Learning (SD-FEEL) addresses communication latency by allowing edge servers (such as 5G base stations) to coordinate directly, existing synchronous implementations still suffer from idle time. This paper introduces an asynchronous training algorithm for SD-FEEL designed to overcome these limitations by allowing edge clusters to operate at their own pace.

Asynchronous SD-FEEL Framework

The proposed methodology shifts from a synchronous "wait-for-all" approach to a deadline-driven asynchronous process. The framework consists of three primary stages:

  1. Local Model Update: Instead of a fixed number of epochs, edge servers set a computation deadline ($T_{comp}$). Client nodes perform as many local iterations as their hardware allows within this window.
  2. Intra-cluster Aggregation: Upon reaching the deadline, the edge server aggregates all received updates from its local clients.
  3. Inter-cluster Aggregation: Edge servers exchange models with immediate neighbors. To handle the resulting "stale" updates from slower clusters, the authors developed a staleness-aware mixing matrix. This matrix dynamically weights incoming models: the more outdated a neighbor's model is relative to the current state, the less influence it has on the global update.
Comparison of Asynchronous and Synchronous SD-FEEL architectures, including notation and network topology.

Experimental Evaluation

The researchers evaluated the algorithm using the CIFAR-10 image classification benchmark on a ResNet-18 architecture (approximately 11.17 million parameters). To simulate realistic edge conditions, they employed a Dirichlet distribution ($ ext{Dir}_{30}(0.5)$) to create non-IID (non-independent and identically distributed) data across 30 client nodes, ensuring each node had an unbalanced mix of image classes.

A key metric in their evaluation was the Heterogeneity Gap ($H$), defined as the ratio between the speeds of the fastest and slowest devices. This allowed the team to test how the system scales as hardware diversity increases.

Performance Analysis

The results demonstrate that the asynchronous approach significantly outperforms synchronous baselines, particularly as hardware heterogeneity ($H$) increases. By eliminating idle time, fast nodes contribute more "knowledge" to the network per unit of time.

Training loss (a) and test accuracy (b) over time for varying levels of hardware heterogeneity (H).

Key findings include:

  • Faster Convergence: In high-heterogeneity scenarios ($H=30$), the asynchronous method reached target accuracy levels much faster than synchronous counterparts.
  • Higher Accuracy: Within fixed training windows, the proposed method achieved superior test accuracy because it maximized the computational throughput of the entire network rather than being limited by the slowest device.
  • Robustness: Mathematical proofs confirmed that the staleness-aware mixing ensures convergence even with non-IID data and varying cluster speeds.

Conclusion and Future Directions

Asynchronous SD-FEEL offers a robust solution for deploying federated learning in diverse edge environments. While highly effective, the authors identify several areas for future research. Currently, the system uses static deadlines; developing a method to dynamically optimize these deadlines for each cluster could further improve efficiency. Additionally, addressing the communication overhead of exchanging large models like ResNet-18 through model compression or sparsification remains a priority for future 5G/6G network implementations.

Summary updated

BibTeX
@inproceedings{sun2022asynchronous,
  author = {Yuchang Sun and Jiawei Shao and Yuyi Mao and Jun Zhang},
  title = {{Asynchronous Semi-Decentralized Federated Edge Learning for Heterogeneous Clients}},
  booktitle = {ICC},
  year = {2022},
  doi = {10.1109/icc45855.2022.9839045},
}
Figure