Speeding up Heterogeneous Federated Learning with Sequentially Trained Superclients

Riccardo Zaccone, Andrea Rizzardi, Debora Caldarola, Marco Ciccone, Barbara Caputo

Introduction

Federated Learning (FL) enables the training of machine learning models across decentralized edge devices while preserving data privacy. Despite its potential, FL faces a significant challenge: statistical heterogeneity. In real-world scenarios, data distributions across devices are often non-i.i.d. (independent and identically distributed). This imbalance leads to "client drift," where local model updates diverge significantly from the global objective, resulting in slow convergence and degraded final performance.

The FedSeq Framework

To mitigate these issues, the authors propose FedSeq (Federated Learning via Sequential Superclients Training). This framework reimagines the communication and training flow by grouping dissimilar clients into "superclients" and training them sequentially to emulate a balanced, centralized environment.

Methodology

The FedSeq workflow consists of three primary stages:

  1. Client Distribution Estimation: The server estimates local data distributions without accessing raw data. This is achieved through a brief pre-training phase where clients share model weights or predictions on a small public exemplar set.
  2. Building Superclients (Anti-Clustering): Unlike standard clustering, FedSeq employs an "anti-clustering" strategy. It groups clients with complementary data biases (e.g., a client with mostly "cat" images and one with mostly "dog" images) into a single superclient. This ensures that each superclient possesses a more representative and balanced dataset.
  3. Sequential Training: Within each superclient, the model is trained sequentially in a ring-like fashion. This allows the model to accumulate diverse features before being averaged at the central server, effectively reducing the mathematical drift associated with parallel updates.
The FedSeq framework: from client pre-training to building superclients through anti-clustering.

An advanced variant, FedSeqInter, further optimizes communication by reducing the frequency of server-side averaging, allowing superclients to refine the model locally for multiple rounds.

Experimental Evaluation

The researchers benchmarked FedSeq against state-of-the-art FL methods, including FedAvg, FedProx, SCAFFOLD, and FedDyn, using CIFAR-10 and CIFAR-100 datasets. Data was partitioned among 500 clients using a Dirichlet distribution ($\alpha$) to simulate varying levels of heterogeneity, from moderate ($\alpha=0.5$) to extreme ($\alpha=0$).

Key Results

FedSeq demonstrated significant improvements in both convergence speed and final accuracy across all tested scenarios.

  • Convergence Speed: In challenging CIFAR-10 settings, FedSeq reached target accuracy levels up to 7 times faster than FedAvg. When integrated with FedDyn, this speedup increased to 13.17x.
  • Robustness to Heterogeneity: In extreme cases ($\alpha=0$), FedSeq maintained stability and achieved superior accuracy (~46% on CIFAR-100) compared to standard methods. Notably, some advanced baselines like FedDyn failed to converge entirely under these extreme conditions.
  • Communication Efficiency: FedSeqInter consistently achieved the highest accuracy, approaching the performance of centralized training while significantly reducing communication overhead.
Accuracy comparison between FedSeq variants and state-of-the-art FL methods across different datasets and heterogeneity levels.

Conclusion and Future Work

FedSeq provides a structural improvement to Federated Learning by leveraging client diversity through sequential training. By creating "mini-centralized" environments within superclients, it effectively overcomes the hurdles of statistical heterogeneity. Future research will focus on optimizing sequential chains for highly asynchronous environments and enhancing privacy-preserving techniques during the distribution estimation phase.

Summary updated

BibTeX
@inproceedings{zaccone2022speeding,
  author = {Riccardo Zaccone and Andrea Rizzardi and Debora Caldarola and Marco Ciccone and Barbara Caputo},
  title = {{Speeding up Heterogeneous Federated Learning with Sequentially Trained Superclients}},
  booktitle = {ICPR},
  year = {2022},
  doi = {10.1109/icpr56361.2022.9956084},
}
Figure