Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

DualPrompt: Complementary Prompting for Rehearsal-free Continual Learning

About

Continual learning aims to enable a single model to learn a sequence of tasks without catastrophic forgetting. Top-performing methods usually require a rehearsal buffer to store past pristine examples for experience replay, which, however, limits their practical value due to privacy and memory constraints. In this work, we present a simple yet effective framework, DualPrompt, which learns a tiny set of parameters, called prompts, to properly instruct a pre-trained model to learn tasks arriving sequentially without buffering past examples. DualPrompt presents a novel approach to attach complementary prompts to the pre-trained backbone, and then formulates the objective as learning task-invariant and task-specific "instructions". With extensive experimental validation, DualPrompt consistently sets state-of-the-art performance under the challenging class-incremental setting. In particular, DualPrompt outperforms recent advanced continual learning methods with relatively large buffer sizes. We also introduce a more challenging benchmark, Split ImageNet-R, to help generalize rehearsal-free continual learning research. Source code is available at https://github.com/google-research/l2p.

Zifeng Wang, Zizhao Zhang, Sayna Ebrahimi, Ruoxi Sun, Han Zhang, Chen-Yu Lee, Xiaoqi Ren, Guolong Su, Vincent Perot, Jennifer Dy, Tomas Pfister• 2022

Related benchmarks

TaskDatasetResultRank
Visual Question AnsweringVizWiz
Accuracy40.91
1043
Visual Question AnsweringGQA
Accuracy30.75
963
Text-based Visual Question AnsweringTextVQA
Accuracy31.48
496
Image ClassificationCIFAR-100
Accuracy84.77
302
Class-incremental learningCIFAR-100
Averaged Incremental Accuracy90.39
234
Science Question AnsweringScienceQA
Accuracy60.01
229
Image ClassificationDomainNet (test)--
209
Few-Shot Class-Incremental LearningminiImageNet (test)
Accuracy (Session 1)86.85
173
Few-Shot Class-Incremental LearningCIFAR100 (test)
Session 4 Top-1 Acc68.45
122
Class-incremental learningImageNet-R
Average Accuracy82.73
103
Showing 10 of 154 rows
...

Other info

Follow for update