Abstract
There has been a surge of interest in continual learning and federated learning, both of which are important in deep neural networks in real-world scenarios. Yet little research has been done regarding the scenario where each client learns on a sequence of tasks from a private local data stream. This problem of federated continual learning poses new challenges to continual learning, such as utilizing knowledge from other clients, while preventing interference from irrelevant knowledge. To resolve these issues, we propose a novel federated continual learning framework, Federated Weighted Inter-client Transfer (FedWeIT), which decomposes the network weights into global federated parameters and sparse task-specific parameters, and each client receives selective knowledge from other clients by taking a weighted combination of their task-specific parameters. FedWeIT minimizes interference between incompatible tasks, and also allows positive knowledge transfer across clients during learning. We validate our FedWeIT against existing federated learning and continual learning methods under varying degrees of task similarity across clients, and our model significantly outperforms them with a large reduction in the communication cost.
Introduction
Federated Continual Learning (FCL) represents a critical intersection of two major research areas: Continual Learning (CL), which focuses on learning new tasks without forgetting previous ones, and Federated Learning (FL), which enables collaborative training across distributed clients without compromising data privacy.
In a real-world FCL scenario, such as a network of hospitals, each client experiences a unique, continuous stream of tasks. A major challenge in this setup is "inter-client interference." Standard FL algorithms like FedAvg aggregate parameters from all clients indiscriminately. If one hospital is training on respiratory diseases while another trains on neurology, blindly averaging their model weights can overwrite task-specific knowledge, leading to degraded performance. The goal of FCL is to enable models to learn from the "indirect experiences" of their peers—borrowing relevant knowledge while filtering out disruptive noise.
The FedWeIT Framework
To address these challenges, we propose Federated Weighted Inter-client Transfer (FedWeIT). The core innovation of FedWeIT is the decomposition of neural network weights into three distinct components:
- Global Base Parameters: These capture generic, task-agnostic knowledge shared across the entire federation.
- Local Base Parameters: A sparsified version of the global parameters that is adapted for a specific client's local data distribution.
- Task-Adaptive Parameters: Highly sparse parameters (typically 2–3% of the total network) that are specific to a single task on a single client.
Selective Knowledge Transfer
Instead of aggregating monolithic weight blocks, the central server maintains a knowledge base of sparse task-adaptive parameters. When a client encounters a new task, it employs an attention mechanism to compute a weighted combination of these parameters from other clients. This allows the model to actively select knowledge from similar tasks (positive transfer) while ignoring irrelevant or conflicting tasks (minimizing interference).
Communication Efficiency via Sparsity
By applying $L_1$ regularization, the task-adaptive parameters and the masks for base parameters are kept extremely sparse. Consequently, clients only need to transmit these sparse components to the server, which drastically reduces the communication overhead compared to traditional FL methods that transmit full model updates.
Experimental Evaluation
We evaluated FedWeIT on two complex benchmarks designed to simulate heterogeneous FCL environments:
- Overlapped-CIFAR-100: 100 classes grouped into 20 superclass tasks with varying degrees of overlap across clients.
- NonIID-50: A massive benchmark combining 8 distinct datasets (including MNIST, SVHN, and TrafficSigns) split into 50 diverse tasks.
Key Results
- Superior Accuracy: On the NonIID-50 dataset, FedWeIT achieved an average accuracy of 84.11%, significantly outperforming the strongest baseline, FedProx-APD (81.20%).
- Elimination of Forgetting: While standard FL methods suffered from catastrophic forgetting as new tasks overwrote old ones, FedWeIT exhibited effectively 0.00% forgetting.
- Communication Savings: The framework reduced client-to-server communication costs by approximately 70% (0.37 GB vs. 1.22 GB for baselines) due to the transmission of sparse parameters.
- Asynchronous Robustness: The method proved robust in asynchronous settings where clients operate at different speeds and converge at different times.
Conclusion
FedWeIT provides a scalable and efficient solution for Federated Continual Learning by leveraging sparse parameter decomposition and selective knowledge transfer. By allowing clients to learn from the indirect experiences of others without the risk of interference, it paves the way for more robust distributed AI systems in privacy-sensitive domains like healthcare and edge computing.
Summary updated