Introducing Language Guidance in Prompt-based Continual Learning

Muhammad Gul Zain Ali Khan, Muhammad Ferjad Naeem, L. Gool, D. Stricker, Federico Tombari +1 more
2/14/2026

No official code found. Best implementation: gulzainali98/LGCL (9 stars, Apache-2.0, last commit 2024-01-12).

Abstract

Continual Learning aims to learn a single model on a sequence of tasks without having access to data from previous tasks. The biggest challenge in the domain still remains catastrophic forgetting: a loss in performance on seen classes of earlier tasks. Some existing methods rely on an expensive replay buffer to store a chunk of data from previous tasks. This, while promising, becomes expensive when the number of tasks becomes large or data can not be stored for privacy reasons. As an alternative, prompt-based methods have been proposed that store the task information in a learnable prompt pool. This prompt pool instructs a frozen image encoder on how to solve each task. While the model faces a disjoint set of classes in each task in this setting, we argue that these classes can be encoded to the same embedding space of a pre-trained language encoder. In this work, we propose Language Guidance for Prompt-based Continual Learning (LGCL) as a plug-in for prompt-based methods. LGCL is model agnostic and introduces language guidance at the task level in the prompt pool and at the class level on the output feature of the vision encoder. We show with extensive experimentation that LGCL consistently improves the performance of prompt-based continual learning methods to set a new state-of-the art. LGCL achieves these performance improvements without needing any additional learnable parameters.

View on arXivView PDF

Code Implementations(1)

gulzainali98/LGCLCommunity100%
Apache-2.0
90PythonJan 11, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{khan2026introducing,
  title  = {Introducing Language Guidance in Prompt-based Continual Learning},
  author = {Muhammad Gul Zain Ali Khan and Muhammad Ferjad Naeem and L. Gool and D. Stricker and Federico Tombari and Muhammad Zeshan Afzal},
  year   = {2026},
  eprint = {2308.15827},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2308.15827},
  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.15827.svg)](https://codeofpaper.com/paper/2308.15827)

Discussion