KoReA-SFL: Knowledge Replay-based Split Federated Learning Against Catastrophic Forgetting

Zeke Xia, Ming Hu, Dengke Yan, Ruixuan Liu, Anran Li, Xiaofei Xie, Mingsong ChenarXiv 2024 · DOI

TL;DR

This paper introduces KoReA-SFL, a novel Split Federated Learning (SFL) approach designed to combat catastrophic forgetting and improve accuracy in heterogeneous data environments. By employing a multi-model aggregation strategy and a unique knowledge replay mechanism, KoReA-SFL significantly outperforms existing SFL methods, especially under challenging non-IID data conditions.

What Problem Does This Paper Address?

Federated Learning (FL) allows collaborative training of machine learning models across distributed devices without sharing raw data, which is crucial for privacy. However, resource constraints on many devices limit the complexity of models that can be trained. Split Federated Learning (SFL) addresses this by dividing models into client-side and server-side portions, enabling training on less powerful devices. Despite these advancements, SFL faces two major hurdles:

  1. Data Heterogeneity (Non-IID Data): When data across clients is not identically and independently distributed (non-IID), it leads to "gradient divergence," degrading the performance of the aggregated global model.
  2. Catastrophic Forgetting: In sequential training, models tend to forget previously learned information, especially when only a subset of clients participates in each training round.

Existing FL and SFL methods struggle to effectively address both these issues simultaneously, particularly when the full global model is not accessible to all parties.

Methods

KoReA-SFL tackles these challenges with two core innovations:

  1. Multi-Model Aggregation: Instead of a single global model, KoReA-SFL maintains multiple "branch model portions" on both the fed-server and the main-server. These branch models are trained collaboratively. A "master-model portion" is also maintained and aggregated with the branch portions to facilitate knowledge sharing among them. This multi-branch approach helps to mitigate gradient divergence caused by heterogeneous data.
  2. Knowledge Replay Strategy: To combat catastrophic forgetting, KoReA-SFL employs a novel knowledge replay mechanism. The main server analyzes the data distribution of each branch model and identifies categories where knowledge might be fading. It then selects "assistant clients" (clients not actively participating in the current training round) and requests specific features related to these under-represented categories. These replayed features are then used to retrain the server-side portions, reinforcing learned knowledge.

Additionally, KoReA-SFL incorporates an adaptive sampling proportion mechanism to balance the trade-off between improving accuracy through more data replay and managing communication overhead. This is achieved by dynamically adjusting the sampling rate based on the "Federated Gradient Norm" (FGN), which approximates the curvature of the loss landscape.

Datasets

The paper evaluates KoReA-SFL on four widely-used datasets:

  • CIFAR-10
  • CIFAR-100
  • FEMNIST (naturally non-IID)
  • TinyImageNet

Non-IID data distributions were simulated using the Dirichlet distribution (Dir(β)), with smaller β values indicating higher data heterogeneity.

Key Insights and Ideas

  • Decoupling Model Portions is Key: The core idea of SFL is to split models, but KoReA-SFL extends this by splitting the server-side into multiple branches, allowing for more nuanced aggregation and better handling of data heterogeneity.
  • Targeted Knowledge Replay: Simply replaying data is inefficient. KoReA-SFL's intelligent score vector calculation and priority-based sampling ensure that only the most "needed" knowledge is replayed, making the process more efficient and effective against forgetting.
  • Catastrophic Forgetting is Exacerbated by SFL's Structure: The paper highlights that the inherent nature of SFL, where clients only interact with specific model parts, can worsen forgetting. KoReA-SFL's replay mechanism directly addresses this.
  • Adaptive Sampling is Crucial for Efficiency: The dynamic adjustment of the sampling proportion is not just about accuracy but also about managing the communication overhead, a critical factor in federated settings.

Key Results

  • Significant Accuracy Improvements: KoReA-SFL consistently outperforms conventional FL and SFL methods across various datasets, models, and non-IID settings. The paper reports up to a 23.25% test accuracy improvement over conventional SFL methods.
  • Robustness to Non-IID Data: The method shows remarkable resilience to highly non-IID data (e.g., β = 0.05), where the accuracy gap between KoReA-SFL and baselines widens considerably. For instance, the gap between IID and non-IID cases for KoReA-SFL is less than 9%, while it can reach around 30% for SFL and FL.
  • Stable Learning Curves: KoReA-SFL demonstrates more stable learning curves, especially in scenarios with higher data heterogeneity, indicating better generalization.
  • Effective Knowledge Replay: Ablation studies show that the knowledge replay mechanism is crucial for achieving the best performance, outperforming variants without it.

Limitations and Future Work

  • Communication Overhead: While KoReA-SFL aims to balance accuracy and communication, the knowledge replay mechanism inherently introduces some additional communication overhead compared to basic SFL. The paper shows that despite this, KoReA-SFL achieves higher accuracy for the same communication budget.
  • Model Splitting Position: The paper notes that the performance of SFL can be influenced by where the model is split. While KoReA-SFL focuses on improving server-side portions, further research could explore optimal splitting strategies in conjunction with KoReA-SFL.
  • Scalability with Assistant Clients: The selection and management of assistant clients for knowledge replay could become a bottleneck in extremely large-scale systems. Future work might explore more efficient ways to select and utilize these clients.

Summary updated

BibTeX
@misc{xia2024korea,
  author = {Zeke Xia and Ming Hu and Dengke Yan and Ruixuan Liu and Anran Li and Xiaofei Xie and Mingsong Chen},
  title = {{KoReA-SFL: Knowledge Replay-based Split Federated Learning Against Catastrophic Forgetting}},
  year = {2024},
  eprint = {2404.12846},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.12846},
}
Figure