Scalable and Low-Latency Federated Learning with Cooperative Mobile Edge Networking

Zhenxiao Zhang, Zhidong Gao, Yuanxiong Guo, Yanmin Gong

TL;DR

This paper introduces Cooperative Federated Edge Learning (CFEL), a novel framework that addresses the trade-off between accuracy and latency in federated learning by leveraging cooperative mobile edge networks. CFEL utilizes a new optimization algorithm, CE-FedAvg, to achieve both high accuracy and low latency in distributed AI applications.

What Problem Does This Paper Address?

Traditional federated learning (FL) relies on a central cloud server for model aggregation. While this approach can achieve high accuracy, it suffers from significant communication latency due to the long distances involved. On the other hand, edge-based FL, which uses edge servers closer to devices, reduces latency but is limited by the smaller number of devices an edge server can cover, leading to potentially lower model accuracy. This paper tackles the challenge of achieving both high accuracy and low latency in FL by proposing a system that combines the strengths of both cloud-based and edge-based approaches through a network of cooperative edge servers.

Methods

The core contribution is the Cooperative Federated Edge Learning (CFEL) framework. CFEL employs a two-tier network architecture where multiple edge servers, each managing a cluster of devices, cooperate with each other over an edge backhaul network. To optimize training within this architecture, the authors developed Cooperative Edge-based Federated Averaging (CE-FedAvg). CE-FedAvg works by:

  1. Intra-cluster aggregation: Each edge server first trains a local model with its associated devices using a modified federated averaging approach.
  2. Inter-cluster aggregation: The edge servers then cooperate to learn a shared global model through decentralized consensus (gossip protocol) over the edge backhaul.

This approach avoids a single central bottleneck and allows for more scalable and efficient distributed learning. The paper also provides theoretical convergence analysis for CE-FedAvg under various assumptions, including data heterogeneity.

Datasets

The experiments were conducted on two common FL benchmark datasets:

  • FEMNIST: A federated splitting version of the EMNIST dataset, used to simulate non-IID data distribution by randomly sampling users.
  • CIFAR-10: A standard image classification dataset, also used with a Dirichlet distribution to simulate non-IID data.

Key Insights and Ideas

  • Bridging the Accuracy-Latency Gap: CFEL effectively addresses the inherent trade-off in FL by creating a distributed network of cooperative edge servers, enabling both fast communication and access to a larger pool of data for higher accuracy.
  • Decentralized Consensus for Global Models: The use of decentralized consensus (gossip protocol) among edge servers for global model aggregation is key to scalability and fault tolerance, avoiding the single point of failure associated with a central cloud.
  • Benefit of Intra-Cluster Aggregation: The theoretical analysis and experimental results highlight that frequent local model aggregation within clusters (smaller τ) significantly improves convergence speed, demonstrating a tangible benefit of the proposed CE-FedAvg algorithm.
  • Scalability through Cooperation: By distributing the aggregation task across multiple cooperating edge servers, CFEL offers better scalability compared to traditional cloud-based or single-edge-server approaches.

Key Results

  • Reduced Training Time: CFEL significantly reduces the training time required to achieve a target model accuracy compared to FedAvg, Hier-FAvg, and Local-Edge baselines. For example, on CIFAR-10, CFEL achieved an 80% test accuracy with 50.0% and 41.8% less runtime than FedAvg and Hier-FAvg, respectively.
  • Improved Accuracy over Edge-Only FL: CFEL achieves higher model accuracy than the purely edge-based "Local-Edge" approach, which is limited by the coverage of individual edge servers.
  • Theoretical Convergence Guarantees: The paper provides theoretical convergence analysis for CE-FedAvg, demonstrating its effectiveness under various conditions, including non-IID data.
  • Impact of Network Topology: Experiments show that a more connected edge backhaul topology (higher p in Erdős-Rényi model) leads to faster convergence and higher accuracy.

Limitations and Future Work

  • Assumptions: The theoretical analysis relies on several assumptions, including smoothness of local objective functions, bounded variance of gradients, and specific properties of the mixing matrix for the gossip protocol.
  • Computational Heterogeneity: While the paper focuses on communication efficiency, it acknowledges that computational heterogeneity among devices and edge servers is a factor that could be further investigated.
  • Rigorous Privacy Protection: The authors mention that future work will involve investigating rigorous privacy protection mechanisms within the CFEL framework.
  • Further Exploration of Heterogeneity: The paper suggests exploring computational heterogeneity and more rigorous privacy protection as future research directions.

Summary updated

BibTeX
@article{zhang2022scalable,
  author = {Zhenxiao Zhang and Zhidong Gao and Yuanxiong Guo and Yanmin Gong},
  title = {{Scalable and Low-Latency Federated Learning with Cooperative Mobile Edge Networking}},
  journal = {IEEE Trans. Mobile Computing},
  year = {2022},
  url = {https://openreview.net/forum?id=zExaLByIcj6},
}
Figure