Skip to main content
QUICK 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 Science被引用 3
一句话总结

本文提出首阶段微调(FSA),一种无需回放的类别增量学习基线方法,仅在首个学习阶段微调预训练神经网络主干,之后固定主干参数,同时增量更新基于线性判别分析(LDA)的分类头。FSA在16种设置中的15种达到最先进性能,尤其在少样本场景下使用FiLM适配器时表现突出,挑战了持续学习中持续主干微调的必要性。

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.

研究动机与目标

  • 评估在无回放约束下,分类头与主干微调在类别增量学习(CIL)中的相对贡献。
  • 探究在少样本和高样本设置下,持续微调特征提取主干是否真正有益。
  • 建立一个强大、简单、无回放的基线,以隔离主干微调的影响。
  • 实证验证当前最先进方法过度依赖持续主干微调,而这种依赖可能并非必要。

提出的方法

  • FSA 仅在首个学习阶段使用完整微调或 FiLM 适配器对预训练主干进行微调,之后在所有后续阶段固定主干参数。
  • 采用基于线性判别分析(LDA)的分类器作为分类头,可在每个阶段实现精确且无遗忘的更新。
  • 该方法为无回放方法,即不存储过去数据的记忆,满足如 GDPR 等隐私约束。
  • 实验对比了 FSA 与标准线性头、最近类均值(NCM)以及完整主干微调方法,在多种数据集和设置下的表现。
  • 使用 FiLM 适配器以实现仅需少量可学习参数的参数高效微调。
  • 该方法在使用预训练 EfficientNet-B0 主干的前提下,在高样本、少样本及少样本+ CIL 设置下进行评估。
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

实验结果

研究问题

  • RQ1在无回放 CIL 中,持续微调特征提取主干是否带来显著收益,还是被高估了?
  • RQ2不同分类头设计(尤其是 LDA)与标准线性头相比,在增量学习中的表现如何?
  • RQ3一种在首阶段后即固定主干的简单基线,是否能超越持续微调主干的最先进方法?
  • RQ4在何种条件下主干微调真正有益?我们能否预测其是否带来价值?
  • RQ5当主干微调受到限制时,参数高效适配器(如 FiLM)在少样本 CIL 中发挥何种作用?

主要发现

  • FSA 在所评估的 16 种 CIL 设置中的 15 种中优于最先进方法,证明其作为强大无回放基线的优越性。
  • 在 FGVC-Aircraft 数据集的少样本 CIL 设置下,FSA-FiLM 在最终阶段达到 55.8% 的准确率,超越所有其他无记忆方法,并与最佳记忆方法 GDumb 相当。
  • 在 iNaturalist 数据集的少样本 CIL 设置下,FSA-FiLM 在最终阶段达到 58.8% 的准确率,显著优于 FSA 和 FACT,后两者性能迅速下降。
  • LDA 分类头始终优于最近类均值(NCM)基线,并能无需遗忘地原生支持 CIL。
  • 使用 FiLM 适配器的 FSA 在 Letters 数据集上首阶段达到 94.3% 的准确率,最终阶段仍保持 73.4% 的高性能,表明其对增量类别偏移具有强鲁棒性。
  • 本研究提出一种基于无标签输入的预测指标,用于衡量主干微调的收益,表明当数据分布偏移显著时,主干微调最具价值。
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.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。