Skip to main content
QUICK REVIEW

[论文解读] Overcoming Catastrophic Forgetting in Incremental Few-Shot Learning by Finding Flat Minima

Guangyuan Shi, Jiaxin Chen|arXiv (Cornell University)|Oct 30, 2021
Domain Adaptation and Few-Shot LearningComputer Science被引用 49
一句话总结

本文表明,在基础训练阶段找到平坦的局部极小值并将微调限制在该平坦区域,能够有效缓解增量少样本学习中的灾难性遗忘,优于现有方法。

ABSTRACT

This paper considers incremental few-shot learning, which requires a model to continually recognize new categories with only a few examples provided. Our study shows that existing methods severely suffer from catastrophic forgetting, a well-known problem in incremental learning, which is aggravated due to data scarcity and imbalance in the few-shot setting. Our analysis further suggests that to prevent catastrophic forgetting, actions need to be taken in the primitive stage -- the training of base classes instead of later few-shot learning sessions. Therefore, we propose to search for flat local minima of the base training objective function and then fine-tune the model parameters within the flat region on new tasks. In this way, the model can efficiently learn new classes while preserving the old ones. Comprehensive experimental results demonstrate that our approach outperforms all prior state-of-the-art methods and is very close to the approximate upper bound. The source code is available at https://github.com/moukamisama/F2M.

研究动机与目标

  • 展示增量少样本学习(IFL)中灾难性遗忘的严重性,并表明基线模型可以超过许多前期方法。
  • 提出一种基线会话优化策略,旨在寻找平坦的局部极小值以保留旧知识。
  • 在平坦区域内开发微调程序,以少量样本学习新类别。
  • 为所提出的优化框架提供理论收敛保证。
  • 在 CIFAR-100、miniImageNet 和 CUB-200-2011 数据集上进行经验验证。

提出的方法

  • 通过对模型参数添加随机噪声并联合优化多项损失项,定义并定位基础训练目标的 b-flat 局部极小值。
  • 使用将交叉熵与原型漂移惩罚相结合的基线损失,使类别原型在平坦区域内保持固定。
  • 在增量阶段,仅在平坦区域内进行微调,使用基于度量的(最近类均值)分类器,采用欧氏距离。
  • 在每次更新后将嵌入网络参数夹紧以保持在已识别的平坦区域内,防止漂移。
  • 给出收敛性分析,表明在标准 SGD 假设下,期望梯度范数趋于零。

实验结果

研究问题

  • RQ1是否可以通过解决基础训练阶段来缓解增量少样本学习中的灾难性遗忘,而不仅仅是增量更新?
  • RQ2强制优化在平坦局部极小值区域内运行是否在保留旧知识的同时改善对新任务的泛化?
  • RQ3在 IFL 中,原型漂移和参数漂移对长期性能的影响是什么?
  • RQ4在标准基准上,提出的 F2M 方法与最先进的 IFL 和 IL 基线相比如何?
  • RQ5是否存在对所提出的基于平坦极小值的训练策略的理论收敛支持?

主要发现

  • 一个仅在基类上训练的简单基线就能超越若干最先进的 IFL 方法,凸显出严重的遗忘。
  • 在基础训练中找到平坦的局部极小值并将后续更新限制在该区域内可显著减少遗忘。
  • F2M 在多个数据集上持续优于最先进的方法,且接近近似上限(cRT)。
  • 消融研究表明,添加噪声以定位平坦极小值并固定原型是实现性能提升的重要组成部分。
  • 该方法在 miniImageNet 上尤为接近上限性能,与 cRT 的差距很小。
  • 理论分析支持在标准假设下提出的基于 SGD 的算法的收敛性。

阅读本论文

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

在 Nubint 中阅读本论文

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