Effectively Heterogeneous Federated Learning: A Pairing and Split Learning Based Approach

Jinglong Shen, Xiucheng Wang, Nan Cheng, Longfei Ma, Conghao Zhou, Yuan Zhang

Introduction

Federated Learning (FL) has emerged as a powerful paradigm for training machine learning models across decentralized devices while maintaining data privacy. However, the practical deployment of FL is often hindered by "client heterogeneity." In a typical network, devices range from high-performance workstations to low-power IoT sensors. Because traditional FL synchronous aggregation requires the central server to wait for all clients to complete local training, the slowest device—the "straggler"—effectively dictates the pace of the entire system.

While Edge Computing (EC) offloading is a common solution, it often introduces privacy risks or simply shifts the bottleneck to a central edge server. This paper introduces FedPairing, a novel framework designed to transform heterogeneity from a liability into an asset. By pairing resource-constrained devices with more powerful neighbors and utilizing Split Learning (SL), FedPairing balances computational loads across the network, accelerating training without compromising data privacy.

The FedPairing Framework

FedPairing integrates Split Learning into the FL pipeline through a peer-to-peer collaborative approach. The framework consists of several core components designed to optimize both speed and accuracy.

1. Client Pairing and Model Splitting

Instead of treating every client as an isolated island, the server employs a Greedy Pairing Algorithm. This algorithm treats the network as a graph and matches clients based on a weighted score that considers both CPU frequency differences (to balance the load) and inter-client communication rates (to minimize latency).

Once a "weak" client (low CPU frequency) is matched with a "strong" client, the model is split at a logic-level. The weak client processes the initial layers ($L_i$), and the resulting intermediate "feature map" is transmitted to the strong client, who processes the remaining layers. To preserve privacy, the client holding the raw data always handles the initial layers, ensuring that only processed features—not raw data—are shared between peers.

2. Overlapping Layers and Convergence

A unique feature of the FedPairing architecture is the presence of "Overlapping Layers." Due to the way pairs are structured, certain middle layers of the model are processed and updated by both clients in a pair. FedPairing exploits this by increasing the learning rate (step size) for these specific layers. These layers act as high-priority drivers for global convergence, pulling the model toward the optimum faster than layers updated by only a single client.

Experimental Evaluation

The authors evaluated FedPairing using the CIFAR-10 dataset, a standard benchmark for image classification. To simulate real-world conditions, the framework was tested under two distinct data distributions:

  • IID (Independent and Identically Distributed): Data is distributed uniformly across clients.
  • Non-IID: Each client holds samples from only two randomly selected categories, simulating the highly skewed data found on individual edge devices.

Results and Analysis

The experimental results demonstrate that FedPairing significantly outperforms both vanilla Federated Learning and standard Split Learning (SplitFed) across multiple metrics.

Training Efficiency

FedPairing achieved a massive reduction in training time, cutting the average time per communication round by 82.2% compared to vanilla FL. Even when compared to SplitFed, FedPairing maintained a 13.6% speed advantage, proving that its greedy pairing strategy effectively mitigates the straggler problem.

Model Accuracy

In IID settings, FedPairing achieved the highest accuracy, outperforming vanilla FL by 4.1% and SplitFed by 10.8%. However, the most striking results appeared in the Non-IID scenarios. In these challenging environments, FedPairing outperformed vanilla Split Learning by 38.2%. This suggests that the peer-to-peer gradient exchange inherent in the pairing process helps "smooth out" the local biases of individual datasets, leading to a more robust global model.

Conclusion and Future Work

FedPairing represents a significant step forward in making Federated Learning viable for heterogeneous edge networks. By leveraging the surplus power of stronger devices to assist weaker ones, it solves the straggler problem while simultaneously improving model accuracy through overlapping layer updates.

Despite these gains, the authors identify several areas for future research:

  • Scaling Beyond Pairs: Future iterations could explore forming larger clusters or groups ($N > 2$) to further optimize efficiency in dense networks.
  • Dynamic Environments: Current simulations assume stable communication; developing a dynamic re-pairing strategy for mobile environments (like vehicular networks) is a key next step.
  • Communication Compression: To further reduce the overhead of peer-to-peer traffic, future work will investigate methods to compress the intermediate feature maps sent between paired clients.

Summary updated

Abstract

Federated Learning (FL) is a promising paradigm widely used in privacy-preserving machine learning. It enables distributed devices to collaboratively train a model while avoiding data transfer between clients. Nevertheless, FL suffers from bottlenecks in training speed due to client heterogeneity, resulting in increased training latency and server aggregation lagging. To address this issue, a novel Split Federated Learning (SFL) framework is proposed. It pairs clients with different computational resources based on their computational resources and inter-client communication rates. The neural network model is split into two parts at the logical level, and each client computes only its assigned part using Split Learning (SL) to accomplish forward inference and backward training. Besides, a heuristic greedy algorithm is proposed to effectively deal with the client pairing problem by reconstructing the training latency optimization as a graph edge selection problem. Simulation results show that the proposed method can significantly improve the FL training speed and achieve high performance in both independent identical distribution (IID) and Non-IID data distribution.
BibTeX
@inproceedings{shen2023effectively,
  author = {Jinglong Shen and Xiucheng Wang and Nan Cheng and Longfei Ma and Conghao Zhou and Yuan Zhang},
  title = {{Effectively Heterogeneous Federated Learning: A Pairing and Split Learning Based Approach}},
  booktitle = {GLOBECOM},
  year = {2023},
  url = {https://openreview.net/forum?id=OCVgzF9rva},
}
Figure