[Paper Review] Fed-CPrompt: Contrastive Prompt for Rehearsal-Free Federated Continual Learning
Fed-CPrompt proposes a communication-efficient, rehearsal-free federated continual learning framework using prompt learning to mitigate catastrophic forgetting. It introduces asynchronous prompt learning and a contrastive continual loss (C2L) to handle heterogeneous data and asynchronous task arrivals, achieving state-of-the-art performance in challenging FL settings with minimal parameter exchange.
Federated continual learning (FCL) learns incremental tasks over time from confidential datasets distributed across clients. This paper focuses on rehearsal-free FCL, which has severe forgetting issues when learning new tasks due to the lack of access to historical task data. To address this issue, we propose Fed-CPrompt based on prompt learning techniques to obtain task-specific prompts in a communication-efficient way. Fed-CPrompt introduces two key components, asynchronous prompt learning, and contrastive continual loss, to handle asynchronous task arrival and heterogeneous data distributions in FCL, respectively. Extensive experiments demonstrate the effectiveness of Fed-CPrompt in achieving SOTA rehearsal-free FCL performance.
Motivation & Objective
- Address catastrophic forgetting in rehearsal-free federated continual learning (FCL) without storing historical data.
- Overcome communication inefficiency and data heterogeneity in FCL by leveraging prompt learning.
- Enable effective knowledge transfer across clients and tasks despite asynchronous task progression and non-iid data distributions.
- Design a communication-efficient framework where only small prompt parameters are exchanged, not full model weights.
Proposed method
- Introduces asynchronous prompt learning to exploit task asynchronicity, allowing clients to update prompts independently as new tasks arrive.
- Employs a contrastive continual loss (C2L) that aligns representations of previous and current tasks, reducing inter-task forgetting.
- Uses prefix-tuning to inject task-specific prompts into a pre-trained vision transformer, enabling parameter-efficient adaptation.
- Maintains a global prompt pool on the server to coordinate and synchronize task-specific prompts across clients.
- Enables communication efficiency by exchanging only trainable prompt parameters (not full model weights), reducing bandwidth usage.
- Supports class-incremental learning with dynamic prompt allocation per task, adapting to evolving client workloads.

Experimental results
Research questions
- RQ1Can prompt-based methods achieve SOTA performance in rehearsal-free federated continual learning without access to historical data?
- RQ2How does asynchronous task progression affect model performance in federated continual learning, and can it be leveraged for better learning?
- RQ3Can a contrastive loss mechanism effectively reduce forgetting across tasks in heterogeneous, non-iid FL settings?
- RQ4To what extent does prompt-based knowledge transfer improve convergence speed and accuracy in asynchronous client environments?
Key findings
- Fed-CPrompt achieves state-of-the-art performance in rehearsal-free FCL, outperforming both prompt-based and non-prompt-based baselines in accuracy and forgetting metrics.
- The model demonstrates significantly reduced catastrophic forgetting, with lower average forgetting rates compared to CODA-Prompt, Dual Prompt, and L2P under non-iid data settings.
- Asynchronous prompt learning accelerates convergence and improves accuracy by allowing clients to leverage knowledge from upcoming tasks through cross-task prompt utilization.
- Communication efficiency is enhanced, as only small-sized prompt parameters (100 total, 10 per task) are exchanged per round, minimizing bandwidth usage.
- In asynchronous settings, clients on newer tasks improve the prompt quality for ongoing tasks, leading to faster convergence and better initialization.
- The C2L loss effectively mitigates forgetting by encouraging feature alignment between previous and current task representations across clients.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.