DHA-FL: Enabling Efficient and Effective AIoT via Decentralized Hierarchical Asynchronous Federated Learning

Wesley Houston Huff, pinyarash pinyoanuntapong, Ravikumar Balakrishnan, Hao Feng, Minwoo Lee, Pu Wang, Chen ChenRCLWN @ MLSys 2023

TL;DR

This paper introduces DHA-FL, a novel decentralized hierarchical federated learning approach designed to tackle the scalability, robustness, and "straggler" problem in AIoT systems. By combining a hierarchical edge computing architecture with asynchronous model aggregation, DHA-FL significantly speeds up model convergence, especially in the presence of slow devices, and demonstrates impressive real-world performance on a multi-hop IoT testbed.

What Problem Does This Paper Address?

The burgeoning field of Artificial Intelligence of Things (AIoT) promises intelligent devices that can learn and make decisions locally. However, traditional centralized machine learning approaches struggle with the sheer volume of data and the diverse capabilities of IoT devices. Federated Learning (FL) offers a communication-efficient alternative by training models locally on devices and aggregating updates centrally. Yet, standard FL faces challenges: centralized approaches are vulnerable to single points of failure, and both centralized and decentralized FL can be severely hampered by "stragglers" – devices that are much slower than others, significantly delaying the entire training process. Furthermore, existing FL research often relies on simulations or simplified network models, not fully capturing the complexities of real-world, multi-hop IoT environments.

Methods

The core innovation is the Decentralized Hierarchical Asynchronous Federated Learning (DHA-FL) scheme. It employs a two-stage aggregation process:

  1. Hierarchical Edge Aggregation: IoT devices (workers) are grouped under edge servers. Each edge server trains its local model by aggregating updates from its assigned workers using a standard FL approach.
  2. Decentralized Asynchronous Edge Aggregation: Edge servers then communicate and aggregate their own models with their neighboring edge servers. Crucially, this aggregation is asynchronous. This means an edge server doesn't wait for all its neighbors to send their models; it can aggregate the models it receives as they arrive. This asynchronous nature is key to mitigating the impact of stragglers, as faster edge servers can proceed without being held back by slower ones.

This hierarchical structure reduces communication overhead by performing local aggregation at the edge, and the asynchronous, decentralized aggregation among edge servers enhances robustness and speed.

Datasets

The experiments were conducted using two datasets:

  • FEMNIST: A dataset with 62 classes, derived from the LEAF benchmark.
  • CIFAR-10: A standard image classification dataset with 10 classes.

For CIFAR-10, a Dirichlet distribution was used to create heterogeneous data partitions across workers. The paper also mentions using a lightweight version of the MobileNet model for CIFAR-10 to manage computational constraints on the edge devices.

Key Insights and Ideas

  • The "Straggler" Problem is a Major Bottleneck: The paper powerfully illustrates how even a single slow device can drastically slow down traditional FL methods, highlighting the need for asynchronous approaches.
  • Hierarchy + Asynchronicity = Scalability and Robustness: DHA-FL's combination of a hierarchical structure (reducing communication hops) and asynchronous aggregation (handling slow nodes) is a potent recipe for overcoming key FL limitations.
  • Real-World Testbeds Matter: The authors emphasize that their experiments on a live, multi-hop IoT testbed provide a more realistic evaluation than simulations, validating the practical applicability of their approach.
  • Decentralization at the Edge is Key: Moving aggregation responsibilities to edge servers, and then decentralizing those aggregations among edge servers, is more efficient than a single global aggregation point.

Key Results

  • Convergence Speed-up: DHA-FL achieved convergence in approximately half the time compared to a centralized hierarchical approach.
  • Straggler Resilience: When dealing with stragglers, DHA-FL showed a significant convergence speed-up of up to 8x over the classic FedAvg baseline.
  • Performance with Stragglers: In a scenario with a single straggler, DHA-FL converged 4x faster than the CFL baseline. The paper shows that the location of the straggler had less impact than the number of affected edge servers.
  • Efficiency: The hierarchical nature of DHA-FL reduces communication overhead, making it more efficient for large-scale AIoT deployments.

Limitations and Future Work

  • Limitations: While DHA-FL significantly improves resilience to stragglers, the paper acknowledges that convergence speed still degrades proportionally with increasing straggler density. The exact impact of different straggler locations and numbers is explored, but the paper focuses on the general trend.
  • Future Work: The authors plan to further enhance DHA-FL by incorporating reinforcement learning for adaptive capabilities. They also aim to explore its advantages over other machine learning optimizations and demonstrate its operational flexibility in more complex scenarios.

Summary updated

BibTeX
@inproceedings{huff2023dha,
  author = {Wesley Houston Huff and pinyarash pinyoanuntapong and Ravikumar Balakrishnan and Hao Feng and Minwoo Lee and Pu Wang and Chen Chen},
  title = {{DHA-FL: Enabling Efficient and Effective AIoT via Decentralized Hierarchical Asynchronous Federated Learning}},
  booktitle = {RCLWN @ MLSys},
  year = {2023},
  url = {https://openreview.net/forum?id=bSpvqVACDmQ},
}
Figure