Lune

CVPR2024Top-tier venue

Consistent Prompting for Rehearsal-Free Continual Learning

Zhanxin Gao, Jun Cen, Xiaobin Chang

Abstract

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 promptbased 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. Our code is available at https://github.com/Zhanxin-Gao/CPrompt .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

33 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Train with Perturbation, Infer after Merging: A Two-Stage Framework for Continual Learning cites Visual Prompt Tuning in Null Space for Continual Learning
  • Train with Perturbation, Infer after Merging: A Two-Stage Framework for Continual Learning cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Train with Perturbation, Infer after Merging: A Two-Stage Framework for Continual Learning cites Learning to Prompt for Continual Learning
  • Train with Perturbation, Infer after Merging: A Two-Stage Framework for Continual Learning cites Moment Matching for Multi-Source Domain Adaptation
  • CAPrompt: Cyclic Prompt Aggregation for Pre-Trained Model Based Class Incremental Learning cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • CAPrompt: Cyclic Prompt Aggregation for Pre-Trained Model Based Class Incremental Learning cites Learning to Prompt for Continual Learning
  • CAPrompt: Cyclic Prompt Aggregation for Pre-Trained Model Based Class Incremental Learning cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • Visual Prompt Tuning in Null Space for Continual Learning cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Visual Prompt Tuning in Null Space for Continual Learning cites Learning to Prompt for Continual Learning
  • Visual Prompt Tuning in Null Space for Continual Learning cites Moment Matching for Multi-Source Domain Adaptation
  • Learning to Prompt for Continual Learning cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Learning to Prompt for Continual Learning cites Dark Experience for General Continual Learning: a Strong, Simple Baseline
  • Dynamic Multi-Layer Null Space Projection for Vision-Language Continual Learning cites Visual Prompt Tuning in Null Space for Continual Learning
  • Dynamic Multi-Layer Null Space Projection for Vision-Language Continual Learning cites Learning to Prompt for Continual Learning
  • Training Consistent Mixture-of-Experts-Based Prompt Generator for Continual Learning cites Learning to Prompt for Continual Learning
  • Training Consistent Mixture-of-Experts-Based Prompt Generator for Continual Learning cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • Training Consistent Mixture-of-Experts-Based Prompt Generator for Continual Learning cites Moment Matching for Multi-Source Domain Adaptation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers33

  1. Visual Prompt Tuning in Null Space for Continual LearningYue Lu, Shizhou Zhang, De Cheng, Yinghui Xing et al.NeurIPS 2024 · 42 citations
  2. CAPrompt: Cyclic Prompt Aggregation for Pre-Trained Model Based Class Incremental LearningQiwei Li, Jiahuan ZhouAAAI 2025 · 10 citations
  3. Train with Perturbation, Infer after Merging: A Two-Stage Framework for Continual LearningHaomiao Qiu, Miao Zhang, Ziyue Qiao, Liqiang NieNeurIPS 2025 · 8 citations
  4. Training Consistent Mixture-of-Experts-Based Prompt Generator for Continual LearningYue Lu, Shizhou Zhang, De Cheng, Guoqiang Liang et al.AAAI 2025 · 8 citations
  5. Dynamic Multi-Layer Null Space Projection for Vision-Language Continual LearningBorui Kang, Lei Wang, Zhiping Wu, Tao Feng et al.ICCV 2025 · 4 citations

Builds on27

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  2. The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution GeneralizationDan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath et al.ICCV 2021 · 2,294 citations
  3. Moment Matching for Multi-Source Domain AdaptationXingchao Peng, Qinxun Bai, Xide Xia, Zijun Huang et al.ICCV 2019 · 2,239 citations
  4. Dark Experience for General Continual Learning: a Strong, Simple BaselinePietro Buzzega, Matteo Boschini, Angelo Porrello, Davide Abati et al.NeurIPS 2020 · 1,494 citations
  5. Learning to Prompt for Continual LearningZifeng Wang, Zizhao Zhang, Chen-Yu Lee, Han Zhang et al.CVPR 2022 · 635 citations

Related papers

  1. Vector Quantization Prompting for Continual LearningLi Jiao, Qiuxia Lai, Yu Li, Qiang XuNeurIPS 2024 · 15 citations
  2. Multiple Queries with Multiple Keys: A Precise Prompt Matching Paradigm for Prompt-based Continual LearningDunwei Tu, Huiyu Yi, Yuchi Wang, Baile Xu et al.ACM MM 2025 · 1 citation
  3. Introducing Language Guidance in Prompt-based Continual LearningMuhammad Gul Zain Ali Khan, Muhammad Ferjad Naeem, Luc Van Gool, Didier Stricker et al.ICCV 2023 · 71 citations
  4. Decorate the Newcomers: Visual Domain Prompt for Continual Test Time AdaptationYulu Gan, Yan Bai, Yihang Lou, Xianzheng Ma et al.AAAI 2023 · 145 citations
  5. Progressive Prompts: Continual Learning for Language ModelsAnastasia Razdaibiedina, Yuning Mao, Rui Hou, Madian Khabsa et al.ICLR 2023 · 15 citations
Dusk over the sea between two cliffs drawn in fine vertical lines