LEAP: Optimization Hierarchical Federated Learning on Non-IID Data with Coalition Formation Game

Jianfeng Lu, Yue Chen, Shuqin Cao, Longbiao Chen, Wei Wang, Xin Yun · DOI

Abstract

Although Hierarchical Federated Learning (HFL) utilizes edge servers (ESs) to alleviate communication burdens, its model performance will be degraded by non-IID data and limited communication resources. Current works often assume that data is uniformly distributed, which however contradicts the heterogeneity of IoT. Solutions of additional model training to check the data distribution inevitably increases computational costs and the risk of privacy leakage. To tackle these challenges, we propose a novel optimization method based on coaLition formation gamE and grAdient Projection, called LEAP. Specifically, we combine edge data distribution with coalition formation game innovatively to adjust the correlations between clients and ESs dynamically, which ensures optimal correlations. We further capture the client heterogeneity to achieve the rational bandwidth allocation from coalition perception and determine the optimal transmission power within specified delay constraints at client level. Experimental results on four real datasets show that LEAP is able to achieve 20.62% improvement in model accuracy compared to the state-of-the-art baselines. Moreover, LEAP effectively reduce transmission energy consumption by at least about 2.24 times.

Introduction

Federated Learning (FL) has emerged as a powerful paradigm for training machine learning models on decentralized data while preserving privacy. To scale FL to massive IoT deployments, Hierarchical Federated Learning (HFL) introduces Edge Servers (ESs) as an intermediate aggregation layer. This reduces the communication overhead on the central cloud. However, HFL faces two critical challenges in real-world environments:

  1. Non-IID Data Distribution: IoT devices often collect data that is not independent and identically distributed (non-IID). For instance, different sensors might capture vastly different classes of data, leading to model divergence and poor global accuracy.
  2. Resource Heterogeneity: IoT devices are constrained by battery life and bandwidth. "Straggler" devices with poor connections can significantly delay the training process.

Existing approaches often rely on costly data probing or unrealistic assumptions of uniformity. LEAP (coaLition formation gamE and grAdient Projection) addresses these issues by dynamically optimizing client-server associations and resource allocation without accessing raw data.

Methodology: The LEAP Framework

LEAP optimizes the HFL process through a three-stage approach that balances data distribution and manages physical resources.

The LEAP framework architecture, illustrating the coalition formation for data training and resource allocation for communication.

1. Coalition Formation Game

Instead of static associations based on physical proximity, LEAP treats the client-ES relationship as a coalition formation game. Clients can "switch" between edge servers based on a preference rule designed to minimize the Jensen-Shannon Divergence (JSD). This mathematical approach ensures that the aggregate data distribution at each edge server closely mirrors the global distribution, effectively mitigating the impact of non-IID data. The authors proved this game is an "exact potential game," guaranteeing convergence to a stable Nash Equilibrium.

2. Optimal Bandwidth Allocation

Once stable coalitions are formed, LEAP employs the Gradient Projection (GP) method to allocate bandwidth among edge servers. This stage focuses on minimizing the maximum execution latency across the network, ensuring that the training process isn't bottlenecked by specific coalitions.

3. Transmission Power Control

At the device level, LEAP determines the optimal transmission power for each client. By solving a constrained optimization problem, it identifies the minimum power required to meet latency targets, thereby maximizing the battery life of IoT devices.

Experimental Evaluation

The performance of LEAP was evaluated using Logistic Regression and CNN architectures across four standard datasets: MNIST, CIFAR-10, SVHN, and CINIC-10.

Accuracy performance of LEAP compared to baselines across MNIST, CIFAR-10, SVHN, and CINIC-10 datasets.

Key Results

  • Accuracy Improvements: LEAP significantly outperformed baselines like K-means and reputation-aware methods. On average, it achieved a 20.62% improvement in model accuracy. The gains were particularly pronounced on complex datasets like SVHN, where accuracy improved by up to 47.6% compared to unoptimized HFL.
  • Energy Efficiency: By optimizing transmission power and bandwidth, LEAP reduced energy consumption by at least 2.24 times compared to standard resource allocation strategies.
  • Convergence Speed: The reduction in data heterogeneity at the edge level allowed the global model to converge much faster, reaching higher accuracy levels in fewer iteration rounds.

Conclusion and Future Work

LEAP demonstrates that "matchmaking" clients to edge servers based on data distribution—rather than just proximity—is a highly effective strategy for HFL. By combining this with rigorous resource optimization, LEAP provides a robust solution for heterogeneous IoT environments.

Future research will focus on addressing feature heterogeneity (where data characteristics vary even within the same class), adapting to highly dynamic network topologies where clients may have limited connection options, and testing the framework's scalability in massive-scale mobile deployments.

Summary updated

BibTeX
@inproceedings{lu2024leap,
  author = {Jianfeng Lu and Yue Chen and Shuqin Cao and Longbiao Chen and Wei Wang and Xin Yun},
  title = {{LEAP: Optimization Hierarchical Federated Learning on Non-IID Data with Coalition Formation Game}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2024},
}
Figure