cs.LGAug 24, 2026

GAP-Prompt: Gated Adaptive Prompting for Efficient Continual Learning

Authors: Trung-Anh Dang, Duy-Cuong Bui, Ngoc-Son Vu, Christel Vrain, Vincent Nguyen

Organizations: LIFO UR 4022 Université d’Orléans, INSA CVL, Orléans, 45067, France · ETIS CY Cergy Paris University, ENSEA, CNRS, Cergy, 95000, France · LIST3N Université de Technologie de Troyes, Troyes, 10010, France

Abstract

Continual learning faces the persistent challenge of catastrophic forgetting, where sequential task updates degrade previously acquired knowledge. While prompt-based methods integrated with pre-trained models offer a compelling solution by freezing the backbone, they often rely on static, task-level prompting strategies that overlook fine-grained intra-task diversity. In this paper, we propose Gated Adaptive Prompting (GAP-Prompt), a novel method that introduces instance-level adaptability to the prompting process. GAP-Prompt consists of three synergistic modules: (1) instance-conditioned gating, which dynamically determines optimal prompt injection layers for each individual image; (2) dynamic knowledge fusion, which performs instance-aware aggregation of current and historical prompts, enabling knowledge integration across tasks; and (3) shared prompt distillation, which anchors foundational knowledge in early shared layers to mitigate forgetting. Extensive evaluations on CIFAR-100, ImageNet-R, and CUB-200 benchmarks demonstrate that GAP-Prompt consistently achieves state-of-the-art performance. Notably, on the fine-grained CUB-200 dataset, GAP-Prompt reaches 87.29% accuracy, approaching the joint training upper bound (88.00%) and outperforming existing methods by a significant margin.

Figures & tables

Appendix figures & tables11 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Learning Probabilistic Prompt for Continual Learning

    Jul 6, 2026Hyekang Park, Sanghoon Lee, Geon Lee +2Class-Incremental LearningPrompt Learning

  2. Information-Theoretic Decoupled Prompt Tuning for Continual Learning

    Aug 13, 2026Yunfei Zhang, Wen Wen, Tieliang Gong +1Continual Learning for VLMsContinual Learning for LLMs

  3. Residual SODAP: Residual Self-Organizing Domain-Adaptive Prompting with Structural Knowledge Preservation for Continual Learning

    Mar 13, 2026Gyutae Oh, Jungwoo Bae, Jitae ShinContinual LearningDomain-Incremental Learning