Skip to main content
QUICK REVIEW

[论文解读] Pushing the Limits of Simple Pipelines for Few-Shot Learning: External Data and Fine-Tuning Make a Difference

Shell Xu Hu, Da Li|arXiv (Cornell University)|Apr 15, 2022
Domain Adaptation and Few-Shot LearningComputer Science被引用 18
一句话总结

本文使用ProtoNet研究了在简单 few-shot 学习流程中预训练、元训练和微调的影响。结果表明,使用外部数据(如DINO、CLIP、ImageNet-21k)以及微调能显著提升在Meta-Dataset、miniImageNet和CIFAR-FS上的性能,其中在ImageNet-1k上进行监督预训练可实现多个基准上的最先进结果。

ABSTRACT

Few-shot learning (FSL) is an important and topical problem in computer vision that has motivated extensive research into numerous methods spanning from sophisticated meta-learning methods to simple transfer learning baselines. We seek to push the limits of a simple-but-effective pipeline for more realistic and practical settings of few-shot image classification. To this end, we explore few-shot learning from the perspective of neural network architecture, as well as a three stage pipeline of network updates under different data supplies, where unsupervised external data is considered for pre-training, base categories are used to simulate few-shot tasks for meta-training, and the scarcely labelled data of an novel task is taken for fine-tuning. We investigate questions such as: (1) How pre-training on external data benefits FSL? (2) How state-of-the-art transformer architectures can be exploited? and (3) How fine-tuning mitigates domain shift? Ultimately, we show that a simple transformer-based pipeline yields surprisingly good performance on standard benchmarks such as Mini-ImageNet, CIFAR-FS, CDFSL and Meta-Dataset. Our code and demo are available at https://hushell.github.io/pmf.

研究动机与目标

  • 评估结合预训练、元训练和微调的简单流水线在 few-shot 学习中的有效性。
  • 研究不同预训练方法(如DINO、CLIP、监督学习)对 few-shot 泛化能力的影响。
  • 分析微调超参数对模型性能的影响。
  • 评估自监督预训练生成的高质量特征表示是否可作为元学习的良好初始化。
  • 使用多种主干网络和预训练策略,比较在域内与域外 few-shot 基准上的性能表现。

提出的方法

  • 流水线遵循 P > M > F 框架:预训练(P)、使用ProtoNet进行元训练(M),以及在支持集上进行微调(F)。
  • 预训练在ImageNet-1k和ImageNet-21k上使用DINO、BEiT、CLIP和监督方法完成。
  • 元训练使用ProtoNet,支持集嵌入通过主干网络计算。
  • 微调在推理阶段应用,学习率、训练步数和数据增强概率作为超参数。
  • 使用T-SNE可视化分析元训练前后特征空间的质量。
  • 对微调超参数(包括学习率、梯度步数和数据增强概率)进行消融研究。

实验结果

研究问题

  • RQ1不同预训练方法(如DINO、CLIP、监督学习)对Meta-Dataset上 few-shot 学习性能有何影响?
  • RQ2微调超参数(学习率、步数、数据增强)对 few-shot 泛化能力有何影响?
  • RQ3自监督预训练(如DINO)能否生成高质量特征表示,从而提升ProtoNet性能?
  • RQ4在域内与域外 few-shot 基准上,性能表现有何差异?
  • RQ5在ImageNet-1k上进行监督预训练是否在 few-shot 学习中优于其他预训练方法?

主要发现

  • 在miniImageNet上(5-way, 1-shot),ImageNet-1k上的监督预训练(Sup1k)达到99.2%的平均准确率,5-way, 5-shot时达到99.8%。
  • BEiT + Sup21k预训练在CIFAR-FS上(5-way, 5-shot)达到97.5%的准确率,优于DINO和CLIP。
  • CLIP预训练结合ViT-base在元训练后于Meta-Dataset上达到70.89%的平均准确率,显著优于DINO和BEiT。
  • 使用学习率0.001和50次梯度步数的微调实现最优性能,数据增强概率为0.9时效果最佳。
  • T-SNE可视化证实,即使不依赖ImageNet相似性,DINO预训练也能在CUB、Aircraft和Omniglot等不同领域中生成分离良好的语义聚类。
  • 若无预训练,ProtoNet在Meta-Dataset上的平均准确率仅为52.8%,凸显了强大初始化的重要性。

阅读本论文

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

在 Nubint 中阅读本论文

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