Prospective Representation Learning for Non-Exemplar Class-Incremental Learning

Wuxuan Shi, Mang Ye

TL;DR

Prospective Representation Learning (PRL) shifts the paradigm of non-exemplar class-incremental learning from reactive to proactive. By "squeezing" current class embeddings to reserve space during initial training and using old class prototypes to guide new data into that space later, the model significantly reduces catastrophic forgetting without needing to store any original samples.

What Problem Does This Paper Address?

In the world of deep learning, "catastrophic forgetting" is a major hurdle. When a model learns new tasks, it often overwrites the knowledge of previous ones. Class-Incremental Learning (CIL) aims to solve this, but most solutions rely on "exemplars"—storing a small subset of old data to replay during new training. However, in privacy-sensitive fields like medical imaging, storing old data isn't an option. This leads us to Non-Exemplar Class-Incremental Learning (NECIL).

Comparison of traditional training and prospective learning.

The core challenge in NECIL is that without old data, the model can't easily distinguish between old and new classes. Most existing methods are retrospective: they try to fix the overlap between old and new features only after the new data arrives. The authors of this paper argue that this is too late. If the initial training (the "base phase") uses up the entire embedding space, there’s no "room" left for new classes, leading to inevitable feature collisions and confusion.

Methods

The authors propose Prospective Representation Learning (PRL), which consists of two main stages:

Overview of the Prospective Representation Learning (PRL) framework.
  1. Preemptive Embedding Squeezing (PES) - The Base Phase: Instead of letting the first set of classes spread out across the entire feature space, PES forces them to cluster tightly. It uses a loss function that encourages intra-class concentration (pushing samples of the same class together) and inter-class reserved separation (keeping different classes apart while leaving "empty" zones). Think of it like guests at a party moving closer together to ensure there are empty chairs left for latecomers.

  2. Prototype-Guided Representation Update (PGRU) - The Incremental Phase: When new classes arrive, the model needs to learn them without disturbing the old ones. Since the raw old data is gone, the model uses prototypes (the mean feature vectors of old classes) as anchors. PGRU projects new features and old prototypes into a unified latent space. It then enforces orthogonality, essentially pushing the new class features into the "reserved" empty chairs identified in the base phase, ensuring they don't overlap with the territory held by old classes.

This approach is "plug-and-play," meaning it can be added to existing NECIL frameworks to boost their performance.

Datasets

The researchers evaluated PRL on four standard computer vision benchmarks:

  • CIFAR-100: 100 classes of small images.
  • TinyImageNet: A smaller, 200-class version of ImageNet.
  • ImageNet-Subset: A 100-class subset of the massive ImageNet-1K.
  • ImageNet-1K: The full-scale industry standard with 1,000 classes, used to test the model's scalability and robustness.

Key Insights and Ideas

  • Proactivity is Key: The most significant insight is that the base phase (the very first task) is the most critical time to prepare for incremental learning. If you don't manage your embedding space early, you're fighting a losing battle later.
  • Embedding Space as a Finite Resource: The paper treats the feature space like real estate. By "zoning" certain areas for future use, the model avoids the "shock" of new classes encroaching on old ones.
  • Prototypes are Sufficient Proxies: The results suggest that you don't need raw images to maintain boundaries; well-managed class means (prototypes) in a structured latent space are powerful enough to guide the model's evolution.
  • Stability-Plasticity Balance: The method achieves a better trade-off between "stability" (remembering the old) and "plasticity" (learning the new) compared to methods that only focus on one or the other.

Key Results

PRL consistently outperformed State-of-the-Art (SOTA) methods across all benchmarks:

  • TinyImageNet: Showed the most dramatic improvement, beating previous methods by up to 6.0% in average incremental accuracy.
  • CIFAR-100: Improved accuracy by roughly 1.4% over the best existing baselines.
  • ImageNet-Subset: Achieved a 3.6% improvement over suboptimal results, proving its effectiveness on higher-resolution data.
  • Confusion Matrix Analysis: Visualizations showed that PRL produces a much cleaner diagonal in the confusion matrix, meaning it significantly reduces the bias toward new classes that plagues most incremental learners.

Limitations and Future Work

The authors identify one primary limitation: Unpredictability. Currently, the model "squeezes" the base classes without knowing exactly how many new classes will arrive or what their distribution will look like.

Future work could involve:

  • Adaptive Squeezing: Developing ways to dynamically determine how much space to reserve based on the complexity of the initial task.
  • Task-Specific Projection: Refining the latent space projection to better handle cases where new classes are semantically very similar to old ones (e.g., distinguishing between different breeds of dogs added in different phases).

Summary updated

BibTeX
@inproceedings{shi2024prospective,
  author = {Wuxuan Shi and Mang Ye},
  title = {{Prospective Representation Learning for Non-Exemplar Class-Incremental Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=ZtDARpmbun},
}
Figure