Generating Instance-level Prompts for Rehearsal-free Continual Learning

Dahuin Jung, Dongyoon Han, Jihwan Bang, Hwanjun Song
2/14/2026

No official code found. Best implementation: naver-ai/dap-cl (41 stars, last commit 2023-11-10).

Abstract

We introduce Domain-Adaptive Prompt (DAP), a novel method for continual learning using Vision Transformers (ViT). Prompt-based continual learning has recently gained attention due to its rehearsal-free nature. Currently, the prompt pool, which is suggested by prompt-based continual learning, is key to effectively exploiting the frozen pretrained ViT backbone in a sequence of tasks. However, we observe that the use of a prompt pool creates a domain scalability problem between pre-training and continual learning. This problem arises due to the inherent encoding of group-level instructions within the prompt pool. To address this problem, we propose DAP, a pool-free approach that generates a suitable prompt in an instance-level manner at inference time. We optimize an adaptive prompt generator that creates instance-specific fine-grained instructions required for each input, enabling enhanced model plasticity and reduced forgetting. Our experiments on seven datasets with varying degrees of domain similarity to ImageNet demonstrate the superiority of DAP over state-of-the-art prompt-based methods. Code is publicly available at https://github.com/naver-ai/dap-cl.

DOISemantic Scholar

Code Implementations(1)

naver-ai/dap-clCommunity61%

Official code of "Generating Instance-level Prompts for Rehearsal-free Continual Learning (ICCV 2023)"

412Shell, PythonAug 10, 20232 years agoNOASSERTION

Cite this paper

@article{jung2026generating,
  title  = {Generating Instance-level Prompts for Rehearsal-free Continual Learning},
  author = {Dahuin Jung and Dongyoon Han and Jihwan Bang and Hwanjun Song},
  year   = {2026},
  doi    = {10.1109/ICCV51070.2023.01088},
  url    = {https://doi.org/10.1109/ICCV51070.2023.01088},
  journal = {ICCV 2023 2023}
}

Discussion