Key-Value Pair-Free Continual Learner via Task-Specific Prompt-Prototype
Haihua Luo, Xuming Ran, Zhengji Li, Huiyan Xue, Tingting Jiang, Jiangrong Shen, Tommi Kärkkäinen, Qi Xu, Fengyu Cong
TL;DR
This paper tackles continual learning without rehearsal by removing key-value prompt retrieval and introducing a task-specific prompt-prototype binding (ProP). ProP learns a task-specific prompt per task and derives a corresponding prototype that anchors the task's feature subspace, enabling direct, interference-resistant inference through similarity to prototypes. The approach is regularized at prompt initialization with an L2 term and trains using a cross-entropy loss, with prototypes ultimately serving as classifier weights. Across diverse datasets and backbones, ProP consistently outperforms existing prompt-based and rehearsal-free baselines, demonstrating strong anti-forgetting behavior and scalability for continual learning in real-world settings.
Abstract
Continual learning aims to enable models to acquire new knowledge while retaining previously learned information. Prompt-based methods have shown remarkable performance in this domain; however, they typically rely on key-value pairing, which can introduce inter-task interference and hinder scalability. To overcome these limitations, we propose a novel approach employing task-specific Prompt-Prototype (ProP), thereby eliminating the need for key-value pairs. In our method, task-specific prompts facilitate more effective feature learning for the current task, while corresponding prototypes capture the representative features of the input. During inference, predictions are generated by binding each task-specific prompt with its associated prototype. Additionally, we introduce regularization constraints during prompt initialization to penalize excessively large values, thereby enhancing stability. Experiments on several widely used datasets demonstrate the effectiveness of the proposed method. In contrast to mainstream prompt-based approaches, our framework removes the dependency on key-value pairs, offering a fresh perspective for future continual learning research.
