Is Parameter Isolation Better for Prompt-Based Continual Learning?
Jiangyang Li, Chenhao Ding, Songlin Dong, Qiang Wang, Jianchao Zhao, Yuhang He, Yihong Gong
TL;DR
The paper challenges fixed, per-task prompt isolation in prompt-based continual learning and proposes Hash, a shared MoE-inspired prompt pool with dynamic routing and a history-aware modulator. The approach enables flexible, input-driven prompt composition while protecting frequently used prompts from excessive updates, addressing both parameter efficiency and catastrophic forgetting. Empirical results across diverse benchmarks (CIFAR-100, ImageNet-R, CUB-200, and 5-Datasets) show Hash achieving state-of-the-art FAA and CAA with competitive forgetting, and ablations confirm the complementary benefits of the history-aware routing and gradient modulation components. The work demonstrates that parameter sharing with careful history-aware control yields robust, scalable continual learning in both class- and domain-incremental settings, with favorable training costs.
Abstract
Prompt-based continual learning methods effectively mitigate catastrophic forgetting. However, most existing methods assign a fixed set of prompts to each task, completely isolating knowledge across tasks and resulting in suboptimal parameter utilization. To address this, we consider the practical needs of continual learning and propose a prompt-sharing framework. This framework constructs a global prompt pool and introduces a task-aware gated routing mechanism that sparsely activates a subset of prompts to achieve dynamic decoupling and collaborative optimization of task-specific feature representations. Furthermore, we introduce a history-aware modulator that leverages cumulative prompt activation statistics to protect frequently used prompts from excessive updates, thereby mitigating inefficient parameter usage and knowledge forgetting. Extensive analysis and empirical results demonstrate that our approach consistently outperforms existing static allocation strategies in effectiveness and efficiency.
