Incremental Prototype Prompt-tuning with Pre-trained Representation for Class Incremental Learning

Jieren Deng, Jianhua Hu, Haojian Zhang, Yunkuan WangarXiv 2022 · DOI

Introduction

Class Incremental Learning (CIL) represents a significant challenge in artificial intelligence: the ability for a model to learn new categories sequentially without losing performance on previously learned ones. Traditionally, this process is plagued by catastrophic forgetting, where new knowledge overwrites old representations. While existing solutions often rely on replaying old data or complex knowledge distillation, researchers have introduced Incremental Prototype Tuning (IPT), a method that prevents forgetting by anchoring class distributions in the embedding space without storing raw data.

The Problem: Semantic Drift in Parameter-Additional-Tuning

A recent trend in CIL is Parameter-Additional-Tuning (PAT), which keeps a pre-trained backbone frozen and only tunes a small set of parameters (like prompts). While PAT mitigates representation forgetting, it suffers from semantic drift. Because classes from different learning phases are never trained together, their "prototypes"—the mathematical centers used for classification—can drift away from their actual data clusters or overlap with new classes, leading to significant classification errors.

Methods: Anchoring with Example Prototypes

IPT addresses semantic drift by introducing a multi-layered approach to class representation. The architecture consists of three core components:

  1. Category Prototypes: The primary vectors used to identify a class during inference.
  2. Example Prototypes: The core innovation of IPT. For every new class, the model extracts several learnable vectors using K-means clustering. These optimized vectors represent the distribution of a class in the embedding space.
  3. Three-Stage Training: The process involves initializing new prototypes, training them using a novel Maximum Similarity Loss (MSL) to ensure diversity, and finally tuning the PAT parameters to integrate new knowledge.
The IPT architecture showing the interaction between sample embeddings, category prototypes, and the learnable example prototypes optimized via Maximum Similarity Loss.

During incremental phases, the model uses the example prototypes of old classes as constraints. This forces the classifier to maintain clear boundaries between old and new categories without needing access to the original images.

Key Insights: Visualizing and Quantifying Drift

The researchers found that semantic drift is the primary driver of forgetting in PAT-based models. To measure this, they introduced the Category Drift Rate (CDR), which tracks how many classes move into incorrect territories in the embedding space.

A t-SNE visualization comparing CIL without example prototypes (left) and with IPT (right). Arrows indicate the drift of category prototypes away from their sample clusters when anchors are absent.

As shown in the visualization, without example prototypes, the category prototypes (darker shapes) drift significantly from their corresponding sample clusters. IPT effectively anchors these prototypes, leading to what the authors call Positive Backward Transfer, where learning new classes actually helps refine the boundaries and improve the accuracy of old ones.

Experimental Results

IPT was evaluated on mainstream benchmarks including CIFAR-100, ImageNet-100/1000, Stanford Cars, and Oxford Flowers. Key findings include:

  • Superior Accuracy: On CIFAR-100 (10-phase), IPT improved average incremental accuracy from ~76% to 80%.
  • Drift Reduction: IPT slashed the CDR on CIFAR-100 from 26% to just 7%.
  • Near-Zero Forgetting: In several tests, the forgetting rate was negligible or even negative, indicating performance gains over time.
  • Efficiency: The method is highly memory-efficient, requiring less than 0.1% additional memory to store the prototype vectors.

Conclusion and Future Work

IPT successfully solves "high-level" classifier forgetting by using example prototypes as distribution anchors. However, because the backbone remains largely frozen, the model's ability to extract entirely new types of features (representation plasticity) remains limited. Future research will likely explore balancing this stability with greater backbone plasticity to handle even more diverse incremental tasks.

Summary updated

BibTeX
@misc{deng2022incremental,
  author = {Jieren Deng and Jianhua Hu and Haojian Zhang and Yunkuan Wang},
  title = {{Incremental Prototype Prompt-tuning with Pre-trained Representation for Class Incremental Learning}},
  year = {2022},
  eprint = {2204.03410},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.03410},
}
Figure