PEARL: Input-Agnostic Prompt Enhancement with Negative Feedback Regulation for Class-Incremental Learning
Yongchun Qin, Pengfei Fang, Hui Xue
TL;DR
This work tackles class-incremental learning (CIL) with pre-trained models by addressing catastrophic forgetting through an input-agnostic, global prompt framework named PEARL. PEARL combines Sequential Prompt Adaptation (SPA) and Negative-feedback Knowledge Accumulation (NKA), where a momentum-based update governed by $\alpha^{\tau}=\gamma\alpha^{\tau-1}+(1-\gamma)\sigma(\mathrm{mae})$ modulates how knowledge is integrated into memory prompts $ {[PT]}^{mem}$. The backbone is frozen ViT, while a learnable prompt encoder $\bf E$ and prompt pool $\bf P$ generate a shared prompt that evolves across sessions; a Segmented Positional Encoding (SPE) encodes task information to support cross-task learning. Experiments on six benchmarks with ViT backbones show state-of-the-art performance, with substantial gains over prior prompt-based, representation-based, and model-mixture approaches, and analyses reveal that NKA captures task correlations and stabilizes continual learning.
Abstract
Class-incremental learning (CIL) aims to continuously introduce novel categories into a classification system without forgetting previously learned ones, thus adapting to evolving data distributions. Researchers are currently focusing on leveraging the rich semantic information of pre-trained models (PTMs) in CIL tasks. Prompt learning has been adopted in CIL for its ability to adjust data distribution to better align with pre-trained knowledge. This paper critically examines the limitations of existing methods from the perspective of prompt learning, which heavily rely on input information. To address this issue, we propose a novel PTM-based CIL method called Input-Agnostic Prompt Enhancement with Negative Feedback Regulation (PEARL). In PEARL, we implement an input-agnostic global prompt coupled with an adaptive momentum update strategy to reduce the model's dependency on data distribution, thereby effectively mitigating catastrophic forgetting. Guided by negative feedback regulation, this adaptive momentum update addresses the parameter sensitivity inherent in fixed-weight momentum updates. Furthermore, it fosters the continuous enhancement of the prompt for new tasks by harnessing correlations between different tasks in CIL. Experiments on six benchmarks demonstrate that our method achieves state-of-the-art performance. The code is available at: https://github.com/qinyongchun/PEARL.
