When Prompt-based Incremental Learning Does Not Meet Strong Pretraining

Yuyao Tang, Yifan Peng, Weiwen Zheng
2/14/2026

No official code found. Best implementation: TOM-tym/APG (16 stars, MIT, last commit 2024-01-08).

Abstract

Incremental learning aims to overcome catastrophic forgetting when learning deep networks from sequential tasks. With impressive learning efficiency and performance, prompt-based methods adopt a fixed backbone to sequential tasks by learning task-specific prompts. However, existing prompt-based methods heavily rely on strong pretraining (typically trained on ImageNet-21k), and we find that their models could be trapped if the potential gap between the pretraining task and unknown future tasks is large. In this work, we develop a learnable Adaptive Prompt Generator (APG). The key is to unify the prompt retrieval and prompt learning processes into a learnable prompt generator. Hence, the whole prompting process can be optimized to reduce the negative effects of the gap between tasks effectively. To make our APG avoid learning ineffective knowledge, we maintain a knowledge pool to regularize APG with the feature distribution of each class. Extensive experiments show that our method significantly outperforms advanced methods in exemplar-free incremental learning without (strong) pretraining. Besides, under strong pretraining, our method also has comparable performance to existing prompt-based models, showing that our method can still benefit from pretraining. Codes can be found at https://github.com/TOM-tym/APG

View on arXivView PDF

Code Implementations(1)

TOM-tym/APGCommunity100%
MIT

Official PyTorch implementation of our ICCV2023 paper “When Prompt-based Incremental Learning Does Not Meet Strong Pretraining”

160Shell, PythonAug 5, 20232 years agoMIT

Similar Papers

Cite this paper

@article{tang2026when,
  title  = {When Prompt-based Incremental Learning Does Not Meet Strong Pretraining},
  author = {Yuyao Tang and Yifan Peng and Weiwen Zheng},
  year   = {2026},
  eprint = {2308.10445},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2308.10445},
  journal = {ICCV 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.10445.svg)](https://codeofpaper.com/paper/2308.10445)

Discussion