When MiniBatch SGD Meets SplitFed Learning: Convergence Analysis and Performance Evaluation

Chao Huang, Geng Tian, Ming TangarXiv 2023 · DOI

Introduction

Federated Learning (FL) has emerged as a powerful paradigm for training machine learning models across decentralized devices while preserving data privacy. However, it faces two significant hurdles: the high computational requirements for edge devices and the performance degradation caused by "client drift" in non-IID (heterogeneous) data environments.

To address these, researchers have proposed MiniBatch-SFL, a novel distributed learning algorithm that integrates the computational efficiency of SplitFed Learning (SFL) with the robustness of MiniBatch SGD. This approach achieves up to a 24.1% accuracy improvement over standard SFL in highly non-IID settings.

The MiniBatch-SFL Architecture

The core of MiniBatch-SFL is a split-model architecture that divides the neural network into two parts at a designated "cut layer." The client handles the initial layers, while the server processes the remaining layers.

The MiniBatch-SFL architecture showing the split between clients, the Fed Server, and the Main Server at the Cut Layer.

Unlike traditional SFL, which often processes clients sequentially, MiniBatch-SFL utilizes Dual-Paced Updates:

  1. Client-Side: Local models are updated and periodically synchronized via a Federated Server.
  2. Server-Side: The Main Server collects "smashed data" (activations from the cut layer) from all participating clients simultaneously. It treats this aggregate as a single large minibatch to perform a centralized-style update. This server-side aggregation effectively cancels out local biases, making the global model more resilient to data heterogeneity.

The Cut-Layer Paradox

A key finding of this research is the "Cut-Layer Paradox." While one might assume that shifting more computational load to the server (by splitting the model earlier) would improve performance, the empirical evidence suggests the opposite: increasing the number of client-side layers ($L_c$) consistently improves accuracy.

Accuracy vs. Training Rounds for CIFAR-10 ($r\%=0.5$), demonstrating that higher $L_c$ values lead to better performance and faster convergence.

When the client-side model is deeper, it updates less aggressively on local data. This leads to smaller gradient divergence between different clients, keeping local models closer to the global objective and significantly reducing client drift.

Performance Evaluation

The researchers evaluated MiniBatch-SFL using the CIFAR-10 and Fashion-MNIST (FMNIST) datasets. To simulate real-world challenges, they introduced a non-IID ratio ($r\%$) to control data skewness.

  • Superior Accuracy: In extreme non-IID scenarios ($r\% = 0.95$), MiniBatch-SFL outperformed standard FL by 17.1% and sequential SFL (SFL-V2) by 24.1% on CIFAR-10.
  • Robust Convergence: The algorithm demonstrated faster and more stable convergence across various degrees of data heterogeneity compared to existing benchmarks.

Limitations and Future Work

While MiniBatch-SFL offers significant gains in accuracy and robustness, the authors identify several areas for future research:

  • Communication Efficiency: The frequent exchange of activations and gradients could become a bottleneck in bandwidth-constrained environments.
  • Privacy Enhancements: Although raw data is not shared, intermediate activations (smashed data) can potentially leak information. Future iterations could incorporate Differential Privacy or other cryptographic protections.
  • Theoretical Refinement: While the paper provides a convergence analysis, developing tighter theoretical bounds for the dual-paced update mechanism remains an open challenge.

Summary updated

BibTeX
@misc{huang2023when,
  author = {Chao Huang and Geng Tian and Ming Tang},
  title = {{When MiniBatch SGD Meets SplitFed Learning: Convergence Analysis and Performance Evaluation}},
  year = {2023},
  eprint = {2308.11953},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.11953},
}
Figure