Skip to main content
QUICK REVIEW

[Paper Review] First Session Adaptation: A Strong Replay-Free Baseline for Class-Incremental Learning

Aristeidis Panos, Yuriko Kobe|arXiv (Cornell University)|Mar 23, 2023
Domain Adaptation and Few-Shot LearningComputer Science3 citations
TL;DR

This paper proposes First Session Adaptation (FSA), a replay-free baseline for class-incremental learning that fine-tunes a pre-trained neural network backbone only during the first learning session and fixes it thereafter, while updating a linear discriminant analysis (LDA)-based head incrementally. FSA achieves state-of-the-art performance across 15 of 16 settings, especially with FiLM adapters in few-shot scenarios, challenging the necessity of continual body adaptation in continual learning.

ABSTRACT

In Class-Incremental Learning (CIL) an image classification system is exposed to new classes in each learning session and must be updated incrementally. Methods approaching this problem have updated both the classification head and the feature extractor body at each session of CIL. In this work, we develop a baseline method, First Session Adaptation (FSA), that sheds light on the efficacy of existing CIL approaches and allows us to assess the relative performance contributions from head and body adaption. FSA adapts a pre-trained neural network body only on the first learning session and fixes it thereafter; a head based on linear discriminant analysis (LDA), is then placed on top of the adapted body, allowing exact updates through CIL. FSA is replay-free i.e.~it does not memorize examples from previous sessions of continual learning. To empirically motivate FSA, we first consider a diverse selection of 22 image-classification datasets, evaluating different heads and body adaptation techniques in high/low-shot offline settings. We find that the LDA head performs well and supports CIL out-of-the-box. We also find that Featurewise Layer Modulation (FiLM) adapters are highly effective in the few-shot setting, and full-body adaption in the high-shot setting. Second, we empirically investigate various CIL settings including high-shot CIL and few-shot CIL, including settings that have previously been used in the literature. We show that FSA significantly improves over the state-of-the-art in 15 of the 16 settings considered. FSA with FiLM adapters is especially performant in the few-shot setting. These results indicate that current approaches to continuous body adaptation are not working as expected. Finally, we propose a measure that can be applied to a set of unlabelled inputs which is predictive of the benefits of body adaptation.

Motivation & Objective

  • To evaluate the relative contributions of head and body adaptation in class-incremental learning (CIL) under replay-free constraints.
  • To investigate whether continuous adaptation of the feature extractor body is truly beneficial, especially in few-shot and high-shot settings.
  • To establish a strong, simple, replay-free baseline that isolates the impact of body adaptation.
  • To empirically validate that current SOTA methods over-rely on continuous body adaptation, which may not be necessary.

Proposed method

  • FSA adapts a pre-trained backbone only on the first session using full fine-tuning or FiLM adapters, then fixes the body parameters for all subsequent sessions.
  • A linear discriminant analysis (LDA)-based classifier is used as the head, which allows exact, forgetting-free updates at each session.
  • The method is replay-free, meaning no memory of past data is stored, satisfying privacy constraints such as GDPR.
  • Experiments compare FSA with standard linear heads, Nearest Class Mean (NCM), and full-body fine-tuning across diverse datasets and settings.
  • FiLM adapters are used to enable parameter-efficient adaptation with only a small number of learnable parameters.
  • The approach is evaluated in high-shot, few-shot, and few-shot+ CIL settings using a pre-trained EfficientNet-B0 backbone.
Figure 1: Average accuracy across all VTAB+ datasets using no-adaptation (NA), FiLM adaptation (A-FiLM), and full body adaptation (A-FB) for different classifier heads (NCM, LDA, Linear) and number of shots (5, 10, 50, All Data). The results correspond to the offline setting where all classes are av
Figure 1: Average accuracy across all VTAB+ datasets using no-adaptation (NA), FiLM adaptation (A-FiLM), and full body adaptation (A-FB) for different classifier heads (NCM, LDA, Linear) and number of shots (5, 10, 50, All Data). The results correspond to the offline setting where all classes are av

Experimental results

Research questions

  • RQ1Does continuous adaptation of the feature extractor body provide significant gains in replay-free CIL, or is it overrated?
  • RQ2How do different head designs—especially LDA—compare to standard linear heads in incremental learning?
  • RQ3Can a simple baseline that fixes the body after the first session outperform state-of-the-art methods that continuously adapt the body?
  • RQ4In what conditions is body adaptation truly beneficial, and can we predict when it provides value?
  • RQ5What role do parameter-efficient adapters like FiLM play in few-shot CIL when body adaptation is restricted?

Key findings

  • FSA outperforms state-of-the-art methods in 15 out of 16 evaluated CIL settings, demonstrating its strength as a strong replay-free baseline.
  • On the FGVC-Aircraft dataset under few-shot CIL, FSA-FiLM achieves 55.8% accuracy in the final session, surpassing all other no-memory methods and matching the best memory-based method GDumb.
  • In the few-shot CIL setting on iNaturalist, FSA-FiLM reaches 58.8% accuracy in the final session, significantly outperforming both FSA and FACT, which degrade rapidly.
  • The LDA head consistently improves over the Nearest Class Mean (NCM) baseline and supports CIL out-of-the-box without forgetting.
  • FSA with FiLM adapters achieves 94.3% accuracy in the first session on Letters, maintaining strong performance (73.4%) in the final session, indicating robustness to incremental class shifts.
  • The study identifies a predictive measure for the benefits of body adaptation using unlabelled inputs, suggesting that body adaptation is most valuable when data distribution shifts are significant.
Figure 2: Scatter plot of the accuracy differences between FSA-FiLM and NA against the minimum cosine distance between a dataset and mini Imagenet dataset evaluated using the NA method. We consider the offline setting with 50 shots. A pre-trained EfficientNet-B0 on ImageNet-1k is used as a backbone.
Figure 2: Scatter plot of the accuracy differences between FSA-FiLM and NA against the minimum cosine distance between a dataset and mini Imagenet dataset evaluated using the NA method. We consider the offline setting with 50 shots. A pre-trained EfficientNet-B0 on ImageNet-1k is used as a backbone.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.