PEARL: Input-Agnostic Prompt Enhancement with Negative Feedback Regulation for Class-Incremental Learning

Yongchun Qin, Pengfei Fang, Hui Xue

Abstract

Class-Incremental Learning (CIL) aims to enable models to learn new categories sequentially without forgetting previously acquired knowledge. While prompt-based methods using frozen Pre-Trained Models (PTMs) have shown promise, traditional "query-select" mechanisms often lead to disorganized knowledge representations. This paper introduces PEARL (Input-Agnostic Prompt Enhancement with NegAtive Feedback ReguLation), a framework that stabilizes CIL through an input-agnostic global prompt and a dynamic negative-feedback momentum update. PEARL achieves state-of-the-art performance across six major benchmarks, significantly reducing catastrophic forgetting.

Introduction

The primary challenge in Class-Incremental Learning is catastrophic forgetting. Recent advancements have utilized learnable "prompts" to adapt Vision Transformers (ViT) to new tasks. However, dominant methods like L2P and CODA-Prompt rely on input-dependent selection, where specific prompts are chosen from a pool based on the input image.

Comparison between (a) traditional input-dependent prompting and (b) the proposed input-agnostic approach.

As illustrated in the figure above, input-dependent selection can lead to "haphazard mixing" of knowledge. Because the selection process is sensitive to input noise, task-specific information becomes cross-contaminated, hindering the model's ability to maintain stable representations over time. PEARL addresses this by moving to an input-agnostic global prompt structure.

Methodology

PEARL is built upon two innovative components designed to structure and regulate knowledge accumulation: Sequential Prompt Adaptation (SPA) and Negative-feedback Knowledge Accumulation (NKA).

Sequential Prompt Adaptation (SPA)

Instead of a dynamic selection process, SPA utilizes a global prompt shared across all instances within a learning session. This process is managed by a Prompt Encoder—a lightweight Transformer—and Segmented Positional Encoding (SPE). The SPE is a critical innovation; it assigns identical positional IDs to all prompts associated with a specific task. This effectively creates structured "knowledge containers," preventing the interference of features between different incremental steps.

The PEARL architecture, featuring Sequential Prompt Adaptation (SPA) and Negative-feedback Knowledge Accumulation (NKA).

Negative-feedback Knowledge Accumulation (NKA)

To manage the integration of new information, PEARL employs NKA, a self-regulating momentum-based update strategy. NKA monitors the "divergence" between current and previous model outputs using Mean Absolute Error (MAE) of the logits. This divergence acts as a feedback signal to adjust the momentum weight ($\alpha$):

  • High Divergence: Indicates potential forgetting of old knowledge. The system increases $\alpha$ to prioritize the preservation of existing parameters.
  • Low Divergence: Indicates stability. The system reduces $\alpha$, allowing the model to integrate more information from the new task.

This mechanism functions as a biological thermostat, ensuring that the model only updates its internal representations when it can do so without overwriting established knowledge.

Experimental Results

PEARL was evaluated on six diverse benchmarks: CIFAR-100, CUB-200 (fine-grained), ImageNet-R, ImageNet-A, Omnibenchmark, and VTAB.

Performance Highlights

  • State-of-the-Art Accuracy: PEARL consistently outperformed existing methods. On average, it surpassed the previous leading method, RanPAC, by 2.24% in average accuracy and 1.65% in final accuracy across all benchmarks.
  • Stability in Fine-Grained Tasks: On the CUB-200 dataset, PEARL achieved a final accuracy of 89.65%, a significant lead over CODA-Prompt’s 73.37%.
  • Reduced Forgetting: PEARL maintained an average forgetting rate of only 4.59%, compared to 16.69% for L2P and 10.07% for CODA-Prompt.

Conclusion

PEARL demonstrates that input-agnostic prompting, combined with a structured knowledge container approach and negative-feedback regulation, provides a more stable foundation for Class-Incremental Learning than traditional selection-based methods. By treating prompts as organized containers rather than just tuning parameters, PEARL effectively mitigates catastrophic forgetting. Future work may explore applying the negative-feedback principle to broader deep learning architectures beyond transformer-based CIL.

Summary updated

BibTeX
@inproceedings{qin2025pearl,
  author = {Yongchun Qin and Pengfei Fang and Hui Xue},
  title = {{PEARL: Input-Agnostic Prompt Enhancement with Negative Feedback Regulation for Class-Incremental Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i19.34208},
}
Figure