E-Tree Learning: A Novel Decentralized Model Learning Framework for Edge AI

Lei Yang, Yanyan Lu, Jiannong Cao, Jiaming Huang, Mingjin ZhangIEEE Internet of Things Journal 2020 · DOI

Abstract

Traditionally, AI models are trained on the central cloud with data collected from end devices. This leads to high communication cost, long response time and privacy concerns. Recently Edge empowered AI, namely Edge AI, has been proposed to support AI model learning and deployment at the network edge closer to the data sources. Existing research including federated learning adopts a centralized architecture for model learning where a central server aggregates the model updates from the clients/workers. The centralized architecture has drawbacks such as performance bottleneck, poor scalability and single point of failure. In this paper, we propose a novel decentralized model learning approach, namely E-Tree, which makes use of a well-designed tree structure imposed on the edge devices. The tree structure and the locations and orders of aggregation on the tree are optimally designed to improve the training convergency and model accuracy. In particular, we design an efficient device clustering algorithm, named by KMA, for E-Tree by taking into account the data distribution on the devices as well as the the network distance. Evaluation results show E-Tree significantly outperforms the benchmark approaches such as federated learning and Gossip learning under NonIID data in terms of model accuracy and convergency.

Introduction

Most Edge AI today relies on Federated Learning (FL), which uses a centralized architecture: many edge devices train local models and send updates to a single master server. This creates a massive performance bottleneck, a single point of failure, and high communication costs as the network scales.

While fully decentralized alternatives like Gossip Learning exist (where devices exchange models with neighbors), they struggle with "Non-IID" data—situations where different devices have very different types of data (e.g., one phone only sees photos of cats, another only dogs). In these cases, Gossip Learning converges slowly and often results in poor model accuracy. The authors seek a middle ground: a decentralized structure that is organized enough to handle data diversity but distributed enough to avoid central bottlenecks.

The E-Tree Framework

The authors introduce E-Tree, which organizes edge devices into a logical tree. Leaf nodes are the "workers" (data sources), while internal nodes act as "aggregators."

The hierarchical structure of E-Tree, showing multiple levels of aggregation from edge devices to the root.

The framework introduces three key technical innovations:

  1. KMA (K-Means and Average Accuracy) Clustering: Standard clustering only looks at network distance. KMA adds a "data similarity" check. It uses the accuracy of a quick, pre-trained local model on a common test set as a proxy for data distribution. Devices with similar accuracies (and thus likely similar data distributions) are grouped together.
  2. Weak Synchronization: Unlike FL, which often waits for every device to finish (the "straggler" problem), E-Tree allows different layers of the tree to aggregate at different frequencies. Lower levels can aggregate frequently to capture local patterns, while higher levels aggregate less often to sync global knowledge.
  3. Public Nodes: To further combat Non-IID data, E-Tree allows some devices to participate in multiple clusters. These "public nodes" act as data bridges, helping to "shuffle" information across the tree without the massive overhead of moving raw data.
Comparison between physical network topology (a) and the logical E-Tree aggregation topology (b).

Experimental Evaluation

The researchers evaluated E-Tree using two primary benchmarks:

  • Human Activity Recognition (HAR): Data from smartphone sensors (accelerometers/gyroscopes) used to classify activities like walking or sitting.
  • Pendigits: A dataset of hand-written digits.

They specifically simulated Non-IID settings by ensuring each edge device only held samples from a limited number of classes (e.g., only 1 or 2 classes out of 6), mimicking real-world edge environments.

Key Insights and Results

  • Data Distribution > Network Topology: The biggest "aha" moment is that clustering edge devices solely based on how close they are in the network is suboptimal for AI. If two nearby devices have wildly different data, aggregating them too early can "confuse" the model. KMA ensures clusters are data-compatible.
  • Hierarchical Parallelism: By breaking the global aggregation into a tree, E-Tree maximizes parallelism. Many small aggregations happen simultaneously at the bottom of the tree, reducing the "waiting time" seen in centralized FL.
  • Communication Efficiency: The authors found that E-Tree reduced communication costs (measured in total hops) by 42% compared to traditional Federated Learning.
  • Accuracy Boost: Under Non-IID data conditions, E-Tree outperformed Federated Learning by 2.4% and Gossip Learning by a staggering 14.7% in model accuracy.
  • Faster Convergence: E-Tree reached stable accuracy levels significantly faster than Gossip Learning. While it had similar convergence timing to FL in some tests, it did so with much lower communication overhead.
  • Robustness: The KMA algorithm proved essential; without the data-aware clustering, the model accuracy dropped significantly (from ~94% down to ~72% in some grouped aggregation tests).

Conclusion and Future Work

E-Tree Learning provides a robust, decentralized alternative to Federated Learning, particularly effective in heterogeneous edge environments. However, the authors acknowledge areas for improvement:

  • Static vs. Dynamic Trees: Real-world edge networks (like moving vehicles) would require more frequent tree re-optimization than the current evaluation's relatively stable topologies.
  • Super-parameter Tuning: Performance depends on manual tuning of layers and aggregation frequencies.
  • Future Directions: Future iterations may use Graph Neural Networks (GNNs) or Reinforcement Learning to automatically and dynamically learn the optimal tree structure as the network evolves.

Summary updated

BibTeX
@article{yang2020e,
  author = {Lei Yang and Yanyan Lu and Jiannong Cao and Jiaming Huang and Mingjin Zhang},
  title = {{E-Tree Learning: A Novel Decentralized Model Learning Framework for Edge AI}},
  journal = {IEEE Internet of Things Journal},
  year = {2020},
  doi = {10.1109/jiot.2021.3052195},
}
Figure