[Paper Review] A Simple Baseline that Questions the Use of Pretrained-Models in Continual Learning
This paper proposes a simple nearest mean classifier (NMC) baseline using a frozen pre-trained transformer to extract features for continual learning, achieving 83.70% average accuracy on Split-CIFAR100—surpassing most SOTA methods—demonstrating that pre-trained representations alone can be highly effective, challenging the necessity of complex continual learning mechanisms.
With the success of pretraining techniques in representation learning, a number of continual learning methods based on pretrained models have been proposed. Some of these methods design continual learning mechanisms on the pre-trained representations and only allow minimum updates or even no updates of the backbone models during the training of continual learning. In this paper, we question whether the complexity of these models is needed to achieve good performance by comparing them to a simple baseline that we designed. We argue that the pretrained feature extractor itself can be strong enough to achieve a competitive or even better continual learning performance on Split-CIFAR100 and CoRe 50 benchmarks. To validate this, we conduct a very simple baseline that 1) use the frozen pretrained model to extract image features for every class encountered during the continual learning stage and compute their corresponding mean features on training data, and 2) predict the class of the input based on the nearest neighbor distance between test samples and mean features of the classes; i.e., Nearest Mean Classifier (NMC). This baseline is single-headed, exemplar-free, and can be task-free (by updating the means continually). This baseline achieved 88.53% on 10-Split-CIFAR-100, surpassing most state-of-the-art continual learning methods that are all initialized using the same pretrained transformer model. We hope our baseline may encourage future progress in designing learning systems that can continually add quality to the learning representations even if they started from some pretrained weights.
Motivation & Objective
- To evaluate whether complex continual learning methods are truly necessary when using pre-trained models.
- To investigate whether the representational capacity of pre-trained models is sufficient for strong continual learning performance.
- To propose a minimal baseline that avoids task labels, exemplars, and replay data.
- To challenge the assumption that continual fine-tuning or architectural modifications are required to maintain performance under distribution shifts.
- To encourage future methods to focus on improving representation quality over time, not just mitigating forgetting.
Proposed method
- Freeze the pre-trained transformer backbone and use it to extract features from all training samples.
- Compute class-wise mean feature embeddings during training for each task.
- During inference, classify test samples using the nearest neighbor rule based on L2 distance to class mean features.
- Update class mean features incrementally in a task-free manner without storing exemplars.
- Use the same pre-trained backbone across all comparisons for fair evaluation.
- Evaluate performance on Split-CIFAR100, CoRe50, Split-ImageNet-R, and 5-dataset benchmarks with zero buffer size.
Experimental results
Research questions
- RQ1Can a simple nearest mean classifier using frozen pre-trained features achieve competitive continual learning performance?
- RQ2Is the complexity of state-of-the-art continual learning methods truly necessary when pre-trained features are already robust?
- RQ3How does a minimal baseline compare to SOTA methods that use replay, task labels, or dynamic architecture expansion?
- RQ4Does the pre-trained model’s representation quality diminish under distribution shifts in continual learning?
- RQ5To what extent do current benchmarks reflect the true challenge of continual learning, given the strong performance of simple baselines?
Key findings
- The proposed NMC baseline achieved 83.70% average accuracy on 10-Split-CIFAR100, outperforming most SOTA methods using the same pre-trained backbone.
- On CoRe50, the baseline achieved 83.23% average accuracy, surpassing L2P (78.33%) and matching the performance of more complex methods.
- The baseline achieved competitive results on Split-ImageNet-R and the 5-dataset benchmark, both more diverse than CIFAR-100, without using any replay buffer.
- The method outperformed several exemplar-free and buffer-free methods, including L2P and BiC, on multiple benchmarks with zero buffer size.
- The results suggest that pre-trained models provide strong, robust representations that may already capture most of the necessary invariances, reducing the need for complex continual learning mechanisms.
- The study highlights that many SOTA methods may not be improving representation quality beyond the pre-trained model, but rather just mitigating forgetting.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.