Home

Awesome

<font color=Green>Powder</font>: Federated Continual Learning via <font color=Green>P</font>rompt-based Dual Kn<font color=Green>ow</font>le<font color=Green>d</font>ge Transf<font color=Green>er</font>

PyTorch code for the ICML 2024 paper:
Federated Continual Learning via Prompt-based Dual Knowledge Transfer
Hongming Piao, Yichen Wu, Dapeng Wu, Ying Wei
International Conference on Machine Learning (ICML), 2024

<p align="center"> <img src="powder.png" width="90%"> </p>

Abstract

In Federated Continual Learning (FCL), the challenge lies in effectively facilitating knowledge transfer and enhancing the performance across various tasks on different clients. Current FCL methods predominantly focus on avoiding interference between tasks, thereby overlooking the potential for positive knowledge transfer across tasks learned by different clients at separate time intervals. To address this issue, we introduce a Prompt-based knowledge transfer FCL algorithm, called Powder, designed to effectively foster the transfer of knowledge encapsulated in prompts between various sequentially learned tasks and clients. Furthermore, we have devised a unique approach for prompt generation and aggregation, intending to alleviate privacy protection concerns and communication overhead, while still promoting knowledge transfer. Comprehensive experimental results demonstrate the superiority of our method in terms of reduction in communication costs, and enhancement of knowledge transfer.

Setup

Datasets

Training

All commands should be run under the src/ directory. We provide the commands for our method Powder in powder_job.slurm, commands for prompt-based methods in prompt_job.slurm, commands for not prompt-based methods in noprompt_job.slurm. Here we take Powder on ImageNet-R as an example:

Please refer to src/option.py for more introductions on arguments.

Other Related Projects

We would like to express our heartfelt gratitude for their contribution to our project.

Acknowledgement

This work was supported by the Innovation and Technology Fund (No. MHP/034/22) funded by the Innovation and Technology Commission, the Government of the Hong Kong Special Administrative Region.

Citation

If you found our work useful for your research, please cite our work:

@inproceedings{
piao2024federated,
title={Federated Continual Learning via Prompt-based Dual Knowledge Transfer},
author={Hongming Piao and Yichen Wu and Dapeng Wu and Ying Wei},
booktitle={Forty-first International Conference on Machine Learning},
year={2024},
url={https://openreview.net/forum?id=Kqa5JakTjB}
}