Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Consistent Prompting for Rehearsal-Free Continual Learning

About

Continual learning empowers models to adapt autonomously to the ever-changing environment or data streams without forgetting old knowledge. Prompt-based approaches are built on frozen pre-trained models to learn the task-specific prompts and classifiers efficiently. Existing prompt-based methods are inconsistent between training and testing, limiting their effectiveness. Two types of inconsistency are revealed. Test predictions are made from all classifiers while training only focuses on the current task classifier without holistic alignment, leading to Classifier inconsistency. Prompt inconsistency indicates that the prompt selected during testing may not correspond to the one associated with this task during training. In this paper, we propose a novel prompt-based method, Consistent Prompting (CPrompt), for more aligned training and testing. Specifically, all existing classifiers are exposed to prompt training, resulting in classifier consistency learning. In addition, prompt consistency learning is proposed to enhance prediction robustness and boost prompt selection accuracy. Our Consistent Prompting surpasses its prompt-based counterparts and achieves state-of-the-art performance on multiple continual learning benchmarks. Detailed analysis shows that improvements come from more consistent training and testing.

Zhanxin Gao, Jun Cen, Xiaobin Chang• 2024

Related benchmarks

TaskDatasetResultRank
Class-incremental learningSplit ImageNet-R
Average Forgetting Measure5.97
57
Class-incremental learningCIFAR-100 B0_Inc10
Avg Accuracy90.83
43
Continual LearningCIFAR-100 (10-split)
ACC87.82
42
Class-incremental learningVTAB B0 Inc10
Last Accuracy80.63
38
Class-incremental learning5-Datasets
FAA84.96
35
Continual LearningImageNet-R 10-task split
FAA77.14
26
Class-incremental learningStanford Cars CIL, T=10 (test)
Avg Accuracy76.81
23
Class-incremental learningCUB200 (100-20)
Avg Accuracy86.84
22
Domain-incremental learningImageNet-R
Accuracy59.48
19
Continual LearningCIFAR-100 (10-task split)
FAA87.82
18
Showing 10 of 25 rows

Other info

Code

Follow for update