FedSkip: Combatting Statistical Heterogeneity with Federated Skip Aggregation

Ziqing Fan, Yanfeng Wang, Jiangchao Yao, Lingjuan Lyu, Ya Zhang, Qi Tian

Abstract

Federated Learning (FL) faces significant challenges due to statistical heterogeneity, where non-IID data distributions across clients lead to "client drift." Traditional optimization-based methods attempt to mitigate this by constraining local models to stay close to a global average. This paper introduces FedSkip, a novel data-driven approach that periodically skips global model aggregation and instead "shuffles" local models across different clients. This strategy allows models to escape poor local optima caused by biased local data, leading to significantly higher accuracy and faster convergence than traditional tethering methods.

Introduction

In standard Federated Averaging (FedAvg), clients train models on local data and periodically synchronize with a central server. However, when data is non-IID, local models tend to diverge, a phenomenon known as client drift. While existing solutions like FedProx or SCAFFOLD introduce mathematical constraints to tether local models to the global average, they often fail to address the underlying issue: models getting stuck in biased local optima due to limited data exposure.

The Local Optima Trap in Heterogeneous FL

A key contribution of this work is the observation that in highly heterogeneous settings, the primary bottleneck is not just the distance between models, but the quality of the local optima.

As illustrated in Figure 1, as the Dirichlet distribution parameter $\beta$ decreases (indicating higher heterogeneity), the client drift variance actually decreases. Simultaneously, however, the test accuracy drops significantly. This suggests that local models are "trapped" near their initialization points because they only observe a narrow, biased slice of the global data distribution. Consequently, simply constraining models to stay near a global average does not solve the fundamental problem of biased convergence.

Analysis of FedAvg under statistical heterogeneity. High heterogeneity (low $\beta$) leads to lower drift but poor accuracy, suggesting models are trapped in local optima.

The FedSkip Framework: Skip & Shuffle

To overcome these local optima, FedSkip proposes a "Skip & Shuffle" mechanism. Instead of aggregating models every round, the server alternates between two types of rounds:

  1. Aggregation Rounds: Standard FedAvg is performed to establish a global model and provide a functional starting point.
  2. Skip Rounds: The server intentionally skips the averaging step. It collects local models, strips their client identifiers to preserve privacy, shuffles them, and redistributes them to different clients.

This scattering operation effectively implements a form of parallelized "cross-training." By passing a specific weight vector through multiple clients sequentially, the model is exposed to a much wider variety of data distributions. This allows the optimization process to "jump" out of the biased local minima that would otherwise stall progress.

The FedSkip framework illustrating the Skip & Shuffle logic on the server side.

Experimental Evaluation

FedSkip was evaluated on several standard benchmarks, including CIFAR-10/100, FEMNIST, and text prediction tasks. Data heterogeneity was controlled using Dirichlet sampling to simulate real-world non-IID conditions.

Key Results

  • Superior Accuracy: On CIFAR-100 with 100 clients, FedSkip achieved a 10.5% improvement over FedNova.
  • Communication Efficiency: The method reaches target accuracy levels 2x to 6x faster than FedAvg in terms of communication rounds.
  • Privacy Preservation: Shuffling is performed on the server with IDs stripped, maintaining the same privacy guarantees as standard Federated Learning.

Conclusion and Future Work

FedSkip represents a shift from optimization-driven to data-driven solutions for statistical heterogeneity. By facilitating model movement across clients, it breaks the local optima trap. While highly effective, future research will address hyperparameter sensitivity regarding the skip period ($\Delta$) and performance under partial client participation to further enhance the framework's practical utility.

Summary updated

BibTeX
@inproceedings{fan2022fedskip,
  author = {Ziqing Fan and Yanfeng Wang and Jiangchao Yao and Lingjuan Lyu and Ya Zhang and Qi Tian},
  title = {{FedSkip: Combatting Statistical Heterogeneity with Federated Skip Aggregation}},
  booktitle = {ICDM},
  year = {2022},
  url = {https://openreview.net/forum?id=s47YTcufEz},
}

Loading related content...

Figure