Abstract
Federated Learning (FL) is a distributed machine learning paradigm which coordinates multiple clients to collaboratively train a global model via a central server. Sequential Federated Learning (SFL) is a newly-emerging FL training framework where the global model is trained in a sequential manner across clients. Since SFL can provide strong convergence guarantees under data heterogeneity, it has attracted significant research attention in recent years. However, experiments show that SFL suffers from severe catastrophic forgetting in heterogeneous environments, meaning that the model tends to forget knowledge learned from previous clients. To address this issue, we propose an SFL framework with discrepancy-aware multi-teacher knowledge distillation, called SFedKD, which selects multiple models from the previous round to guide the current round of training. In SFedKD, we extend the single-teacher Decoupled Knowledge Distillation approach to our multi-teacher setting and assign distinct weights to teachers' target-class and non-target-class knowledge based on the class distributional discrepancy between teacher and student data. Through this fine-grained weighting strategy, SFedKD can enhance model training efficacy while mitigating catastrophic forgetting. Additionally, to prevent knowledge dilution, we eliminate redundant teachers for the knowledge distillation and formalize it as a variant of the maximum coverage problem. Based on the greedy strategy, we design a complementary-based teacher selection mechanism to ensure that the selected teachers achieve comprehensive knowledge space coverage while reducing communication and computational costs. Extensive experiments show that SFedKD effectively overcomes catastrophic forgetting in SFL and outperforms state-of-the-art FL methods.
Introduction
Federated Learning (FL) typically involves a central server aggregating models trained in parallel. Sequential Federated Learning (SFL) offers an alternative where a model is passed from one client to the next, similar to a relay race. While SFL often converges faster than parallel methods, it suffers from catastrophic forgetting: as the model trains on a new client's local data, it rapidly forgets patterns learned from previous clients, especially in non-i.i.d. (heterogeneous) environments.
The Problem: Catastrophic Forgetting in SFL
The primary challenge in SFL is that local updates on heterogeneous data can cause the model to drift significantly from previously learned knowledge. As data heterogeneity increases (indicated by a lower $\alpha$ value), the forgetting measure rises sharply, as shown in the figure below.
Methods: The SFedKD Framework
To address forgetting, we propose SFedKD, which introduces a multi-teacher knowledge distillation framework to preserve knowledge across sequential training rounds.
1. Discrepancy-Aware Multi-Teacher KD
SFedKD selects multiple models from the previous round to act as teachers for the current "student" client. It utilizes Decoupled Knowledge Distillation (DKD), splitting the loss into:
- TCKD (Target Class KD): Focuses on the correct class probability versus all others.
- NCKD (Non-target Class KD): Focuses on relative probabilities among the incorrect classes.
2. Fine-Grained Weighting
Weights are assigned based on the discrepancy between teacher and student class distributions. Teachers with different distributions are weighted higher for NCKD to provide "missing" knowledge about classes the student hasn't seen, while teachers with similar distributions are weighted higher for TCKD to help the student refine its current task performance.
3. Complementary Teacher Selection
To prevent "knowledge dilution" (where redundant teachers confuse the student) and reduce overhead, teacher selection is formalized as a Maximum Coverage Problem. A greedy algorithm selects a subset of teachers that collectively provide the most comprehensive coverage of the global data distribution, ensuring the student sees a complete picture of the knowledge space.
Experimental Evaluation
SFedKD was evaluated on standard benchmarks including CIFAR-10/100 and HAM10000 using an Extended Dirichlet strategy to simulate high heterogeneity.
- Accuracy Gains: On CIFAR-10 with high heterogeneity, SFedKD achieved 61.56% accuracy, significantly outperforming parallel methods like FedAvg (32.48%) and other SFL baselines like CWC (55.16%).
- Robustness: The method maintained high performance across varying levels of heterogeneity, where parallel methods often experienced significant performance degradation.
- Efficiency: The Teacher Selection mechanism provided a 1.3× to 2.5× speedup in reaching target accuracy by reducing redundancy and communication costs.
Conclusion
SFedKD effectively mitigates catastrophic forgetting in Sequential Federated Learning. By intelligently selecting and weighting multiple teacher models based on distributional discrepancies, it achieves superior accuracy and convergence speed in heterogeneous environments. Future work includes exploring cross-modal applications and handling volatile client availability.
Summary updated