Abstract
Federated Learning (FL) enables collaborative model training among participants while guaranteeing the privacy of raw data. Mainstream FL methodologies overlook the dynamic nature of real-world data, particularly its tendency to grow in volume and diversify in classes over time. This oversight results in FL methods suffering from catastrophic forgetting, where the trained models inadvertently discard previously learned information upon assimilating new data. In response to this challenge, we propose a novel Federated Class-Incremental Learning (FCIL) method, named Federated Class-Incremental Learning with New-Class Augmented Self-Distillation (FedCLASS). The core of FedCLASS is to enrich the class scores of historical models with new class scores predicted by current models and utilize the combined knowledge for self-distillation, enabling a more sufficient and precise knowledge transfer from historical models to current models. Theoretical analyses demonstrate that FedCLASS stands on reliable foundations, considering scores of old classes predicted by historical models as conditional probabilities in the absence of new classes, and the scores of new classes predicted by current models as the conditional probabilities of class scores derived from historical models. Empirical experiments demonstrate the superiority of FedCLASS over four baseline algorithms in reducing average forgetting rate and boosting global accuracy.
Introduction
Standard Federated Learning (FL) typically assumes a static environment where the set of classes remains constant throughout the training process. However, real-world data is inherently dynamic; for instance, autonomous systems or medical diagnostic networks frequently encounter new categories over time. When new classes are introduced in a distributed setting, models often suffer from catastrophic forgetting, where updates for new information inadvertently overwrite previously learned patterns. This issue is compounded in FL by the non-IID (heterogeneous) nature of data across different clients. Existing solutions often struggle with scale discrepancies between the raw scores (logits) of old and new classes, leading to imprecise knowledge transfer.
Methods
FedCLASS addresses these challenges through a novel New-Class Augmented Self-Distillation mechanism. In traditional distillation, a historical "teacher" model guides the current "student" model. However, the teacher lacks knowledge of new classes, creating an "information gap." FedCLASS bridges this gap by:
- Augmenting the Teacher: The historical model's scores for old classes are combined with the current model's predicted scores for new classes.
- Harmonization: To avoid scale discrepancies, FedCLASS scales old class scores by the probability that a sample does not belong to a new class, ensuring a valid probability distribution that sums to 1. This focus on probabilities rather than raw logits provides greater stability.
- Local Exemplars: Clients maintain a small "exemplar set" (a buffer of samples from previous tasks) to ground the distillation process in historical data.
The paper provides a formal proof showing that this strategy is equivalent to modeling old classes as conditional probabilities in the absence of new ones, providing a principled mathematical foundation for the approach.
Experimental Setup
The researchers evaluated FedCLASS on four computer vision benchmarks: SVHN (Street View House Numbers), CIFAR-10, SYN-NUM (Synthetic digits), and EMNIST. These were adapted for incremental tasks in both two-task and three-task settings to observe how forgetting compounds over time.
Results
FedCLASS consistently outperformed state-of-the-art baselines, including GLFC, FedAvg, and FedWA. As shown in the experimental results, the method significantly improves global accuracy while slashing forgetting rates.
Key highlights include:
- Accuracy Boost: On the SVHN dataset, FedCLASS achieved 86.14% global accuracy, significantly higher than the next best baseline (FedWA at 69.34%).
- Forgetting Reduction: On the SYN-NUM dataset, the average forgetting rate was reduced to just 3.99%, compared to 19%-56% for other methods.
- Robustness: FedCLASS maintained higher stability as the number of incremental tasks increased, demonstrating its effectiveness in mitigating the compounding effects of forgetting.
Conclusion
FedCLASS presents a mathematically sound framework for Federated Class-Incremental Learning. By using the current model to "fill in the blanks" for the historical teacher, it enables precise knowledge transfer and mitigates catastrophic forgetting. Future work will explore long-term incrementalism involving dozens of tasks and optimizing the computational overhead of maintaining multiple model states on resource-constrained edge devices.
Summary updated