Federated Continual Learning with Weighted Inter-client Transfer

Jaehong Yoon, Wonyong Jeong, Giwoong Lee, Eunho Yang, Sung Ju Hwang

TL;DR

FedWeIT (Federated Weighted Inter-client Transfer) is a novel framework that enables multiple decentralized clients to learn a sequence of tasks continuously while selectively sharing knowledge. By decomposing neural network weights into global, local, and sparse task-specific components, it prevents "inter-client interference" and slashes communication costs while outperforming existing federated and continual learning baselines.

The Challenge: Inter-Client Interference

In the real world, AI models often need to do two things simultaneously: learn from a private stream of data (Federated Learning) and learn new tasks over time without forgetting old ones (Continual Learning).

Combining these fields introduces a major hurdle: inter-client interference. In standard Federated Learning (FL), a central server averages the weights of all clients. However, if Hospital A is learning to detect COVID-19 while Hospital B focuses on MERS or Influenza, a naive average of their models might actually degrade performance for both. Knowledge from irrelevant tasks acts as noise, actively hindering the learning process.

In a federated network of hospitals, selective transfer allows clients to share relevant knowledge without interference from unrelated tasks.

The challenge is to enable "indirect experience"—allowing a model to benefit from what other clients have learned (positive transfer) without being sabotaged by unrelated information (interference), all while keeping communication efficient.

Methods: Decomposing Weights for Selective Transfer

The core innovation of FedWeIT is the decomposition of model parameters ($\theta$) into three distinct roles:

  1. Global Parameters ($\theta_G$): These capture generic, high-level features shared across all clients and tasks.
  2. Local Base Parameters ($B$) with Sparse Masks ($m$): Each client maintains a local base initialized from the global model. It uses a sparse mask to selectively "pick" only the global features relevant to its current task.
  3. Task-Adaptive Parameters ($A$): These are highly sparse weights (often only 2-3% of the total model size) learned for a specific task.

To facilitate knowledge sharing, the central server maintains a "knowledge base" of these sparse task-adaptive parameters from all clients. When a client starts a new task, it uses an attention mechanism ($\alpha$) to take a weighted combination of relevant task parameters from other clients. This allows a client learning to recognize "MNIST digits" to automatically pull useful features from another client that previously learned "Street View House Numbers" (SVHN), while ignoring irrelevant data.

FedWeIT enables clients to selectively pull sparse, task-adaptive parameters from a central server using an attention mechanism.

Key Insights and Ideas

  • Selective Transfer is Essential: The paper proves that "more data" isn't always better in a federated setting if that data comes from unrelated tasks. The attention-based selection is what allows FedWeIT to achieve positive transfer.
  • Sparsity as a Feature, Not a Bug: By focusing on sparse task-adaptive parameters, the model is not only more interpretable (you can see which tasks it's borrowing from) but also incredibly communication-efficient.
  • Preventing Catastrophic Forgetting: The framework uses a regularization term that retroactively updates past task parameters when the base weights change, ensuring that learning new things doesn't erase the old.

Datasets and Key Results

The authors evaluated FedWeIT using two main configurations: Overlapped-CIFAR-100 (100 classes grouped into 20 superclasses) and NonIID-50 (a massive, heterogeneous benchmark created from 8 different datasets consisting of 50 non-IID tasks and 280,000 images).

FedWeIT significantly outperformed standard federated learning (FedProx) and continual learning (EWC, APD) baselines:

  • Accuracy: On the NonIID-50 dataset, FedWeIT achieved 84.11% accuracy, compared to 68.03% for FedProx and 81.20% for the strongest federated baseline (FedProx-APD).
  • Forgetting: FedWeIT showed virtually zero catastrophic forgetting (0.00 on the forgetting metric), whereas standard FL methods saw significant performance drops as new tasks were added.
  • Communication Efficiency: FedWeIT reduced client-to-server communication costs by roughly 70% compared to dense baselines, as it primarily transmits sparse masks and task-specific vectors.

Limitations and Future Work

  • Knowledge Base Scaling: As the number of tasks and clients grows, the knowledge base of task-adaptive parameters could become large. The authors currently use random sampling to manage this, but more intelligent pruning or clustering of tasks could be a future research direction.
  • Architecture Homogeneity: The current framework assumes all clients use the same base architecture (e.g., ResNet-18). Adapting this to heterogeneous architectures remains an open challenge.
  • Privacy Granularity: While the parameters are sparse, the paper does not deeply explore if specific task-adaptive weights could inadvertently leak sensitive information about a client's private data distribution.

Summary updated

BibTeX
@inproceedings{yoon2021federated,
  author = {Jaehong Yoon and Wonyong Jeong and Giwoong Lee and Eunho Yang and Sung Ju Hwang},
  title = {{Federated Continual Learning with Weighted Inter-client Transfer}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
  url = {https://openreview.net/forum?id=ndxwepNY2D},
}
Figure