Abstract
In Federated Learning (FL), clients often encounter a sequence of tasks across shifting domains, a scenario known as Federated Domain-Incremental Learning (FDIL). Traditional FL methods struggle with catastrophic forgetting and data heterogeneity in these dynamic environments. We propose pFedDIL, a framework that leverages auxiliary classifiers to quantify knowledge matching intensity between new and existing tasks. This allows for adaptive strategy selection and weighted knowledge migration from previous personalized models. Experimental results on benchmarks like Digit-10 and Office-31 demonstrate that pFedDIL outperforms state-of-the-art methods by up to 14.35% in accuracy while achieving faster convergence.
Introduction
Standard Federated Learning assumes static data distributions. However, real-world applications—such as mobile apps or autonomous robots—require learning new tasks over time. Federated Domain-Incremental Learning (FDIL) specifically addresses cases where the categories (classes) remain constant, but the input domain changes (e.g., transitioning from handwritten digits to street numbers).
The primary challenges in FDIL are:
- Catastrophic Forgetting: New domain knowledge often overwrites previously learned weights.
- Privacy and Heterogeneity: Privacy constraints prevent storing old data for rehearsal, and different clients may encounter domains in varying orders, making a single global model suboptimal.
The pFedDIL Framework
The pFedDIL framework addresses these challenges through a decentralized, personalized approach. It consists of three core stages executed locally by each client, as illustrated in the system architecture.
1. Knowledge Matching Intensity
Each client maintains a library of personalized models. When a new task arrives, "auxiliary classifiers" act as similarity sensors. They calculate a correlation score (intensity) between the new data and previous tasks, identifying which existing knowledge is most relevant.
2. Adaptive Strategy Selection
Based on a similarity threshold, the client chooses an initialization strategy:
- High Similarity: If the new task closely matches a previous one, the system initializes the new model using the weights of the most similar existing model.
- Low Similarity: If the task is significantly different, it starts with a fresh model to prevent negative transfer and preserve existing knowledge.
3. Knowledge Migration and Parameter Sharing
During training, a specialized loss function migrates knowledge from existing models to the new one, weighted by their similarity scores. To manage computational overhead, the main classification model and auxiliary classifiers share "front-end" feature extraction layers, significantly reducing the total parameter count.
Experimental Evaluation
The authors evaluated pFedDIL on three major domain-shift benchmarks:
- Digit-10: A sequence including MNIST, EMNIST, USPS, and SVHN.
- Office-31: Domains including Amazon (product shots), DSLR, and Webcam images.
- DomainNet: A large-scale dataset with six domains (e.g., Clipart, Painting, Sketch).
Key Results and Insights
- Performance Gains: pFedDIL consistently outperformed baselines like FedAvg and FedProx. On the Office-31 dataset, it achieved a 14.35% accuracy improvement over the "Source-Only" baseline.
- Efficiency: The method reached peak performance faster than competitors. On Digit-10, it required only 379 communication rounds compared to 480 for standard FedAvg.
- The Role of Similarity: The success of pFedDIL stems from treating domain similarity as a resource. By quantifying how much "shared feature information" exists between domains, the system can recycle knowledge effectively without manual task identification.
Conclusion and Future Work
While pFedDIL significantly advances FDIL, it relies on the assumption of some correlation between tasks. If a task is entirely alien, the benefits of matching are reduced. Additionally, maintaining a library of personalized models introduces a storage trade-off. Future research aims to develop "Universal Federated Incremental Learning" to handle simultaneous shifts in both domains and classes.
Summary updated