TL;DR
This paper argues that the key to successful Class-Incremental Learning (CIL) with Pre-Trained Models (PTMs) lies in balancing generalizability and adaptivity. They show that a surprisingly simple baseline using frozen PTM embeddings can outperform existing methods, and propose a novel framework, APER, that combines PTM generalizability with task-specific adaptivity through parameter-efficient tuning.
What Problem Does This Paper Address?
Class-Incremental Learning (CIL) is a challenging problem where a model needs to learn new classes sequentially without forgetting previously learned ones. Traditional CIL methods often struggle with "catastrophic forgetting." The advent of powerful Pre-Trained Models (PTMs) offers a new avenue for CIL, as these models already possess strong generalizable features. However, simply using frozen PTM embeddings might not be enough due to the "domain gap" between the PTM's pre-training data and the new, incremental data. The authors aim to bridge this gap by effectively leveraging both the inherent generalizability of PTMs and the need for task-specific adaptation, while also addressing the issue of unsuitable existing benchmarks for PTM-based CIL.
Methods
The paper introduces two core ideas:
- SimpleCIL Baseline: A surprisingly effective baseline that freezes the PTM's embedding function and uses the average embeddings of new classes as classifier prototypes. This demonstrates the strong generalizability of PTMs.
- APER (AdaPt and mERge): A general framework that unifies generalizability and adaptivity.
- Adaptation: In the first incremental stage, the PTM is adapted to the new data using parameter-efficient tuning methods (like VPT, SSF, Adapter for ViTs, or BN tuning for CNNs). This helps bridge the domain gap.
- Merging: The embeddings from the original PTM and the adapted model are concatenated. This combined embedding function is then frozen for all subsequent stages.
- Classifier: Prototypes are extracted from these merged embeddings to form the classifier.
APER is designed to be orthogonal to various parameter-efficient tuning techniques, making it flexible.
Datasets
The paper uses several datasets for evaluation:
- Existing CIL Benchmarks: CIFAR100, CUB200, ImageNet-R.
- Newly Proposed Benchmarks: To address the issue of data overlap between ImageNet pre-training and existing benchmarks, they propose four new benchmarks:
- ImageNet-A
- ObjectNet
- OmniBenchmark
- VTAB
Key Insights and Ideas
- Frozen PTMs are surprisingly powerful for CIL: The SimpleCIL baseline, which doesn't even train on downstream data, outperforms state-of-the-art methods. This highlights the immense value of PTM generalizability.
- Adaptivity is crucial to bridge the domain gap: While frozen PTMs are good, adapting them to new data is necessary for optimal performance, especially when there's a significant distribution shift.
- Balancing Generalizability and Adaptivity is key: The authors argue that CIL with PTMs requires cultivating both. APER achieves this by adapting the model initially and then freezing it, preserving generalizability while incorporating task-specific knowledge.
- Existing benchmarks are problematic for PTM-based CIL: The overlap between ImageNet and many existing CIL datasets makes them unsuitable for evaluating PTMs. The proposed new benchmarks are designed to have larger domain gaps.
Key Results
- SimpleCIL outperforms SOTA: SimpleCIL achieved a 5% improvement over state-of-the-art methods on the VTAB dataset, even without any downstream training.
- APER consistently improves performance: APER, with various parameter-efficient tuning methods, consistently outperformed SimpleCIL across seven benchmark datasets.
- APER is efficient: APER requires less training time and fewer tunable parameters compared to methods like L2P and DualPrompt, as shown in Figure 1.
- APER works with different backbones: APER demonstrated consistent improvements on both ViT and CNN architectures.
- New benchmarks are challenging: Results on the proposed ImageNet-A, ObjectNet, and OmniBenchmark datasets showed significant room for improvement, validating their utility.
Limitations and Future Work
- Focus on exemplar-free CIL: The proposed APER method is designed for exemplar-free CIL. The authors suggest that if old class instances were available, adaptivity could be further enhanced through data rehearsal.
- Adaptation in the first stage only: APER adapts the model only in the first incremental stage. The paper notes that this might be a limitation when extensive domain gaps exist across multiple stages, suggesting future work could explore more sophisticated multi-stage adaptation strategies.
- Exploring task-specific tuning: The authors mention that future work could involve exploring task-specific tuning methods and structures for even better performance.
Summary updated