Skip to main content
QUICK REVIEW

[Paper Review] Embedding Adaptation is Still Needed for Few-Shot Learning

Sébastien M. R. Arnold, Fei Sha|arXiv (Cornell University)|Apr 15, 2021
Domain Adaptation and Few-Shot LearningComputer Science67 references5 citations
TL;DR

This paper proposes Automatic Taskset Generation (ATG), a clustering-based method to create few-shot learning benchmarks with controlled transfer difficulty without requiring human-annotated semantic relationships. ATG enables systematic evaluation of few-shot methods, revealing that gradient-based models like Finetune outperform metric-based ones under high transfer difficulty, challenging prior assumptions about their superiority.

ABSTRACT

Constructing new and more challenging tasksets is a fruitful methodology to analyse and understand few-shot classification methods. Unfortunately, existing approaches to building those tasksets are somewhat unsatisfactory: they either assume train and test task distributions to be identical -- which leads to overly optimistic evaluations -- or take a "worst-case" philosophy -- which typically requires additional human labor such as obtaining semantic class relationships. We propose ATG, a principled clustering method to defining train and test tasksets without additional human knowledge. ATG models train and test task distributions while requiring them to share a predefined amount of information. We empirically demonstrate the effectiveness of ATG in generating tasksets that are easier, in-between, or harder than existing benchmarks, including those that rely on semantic information. Finally, we leverage our generated tasksets to shed a new light on few-shot classification: gradient-based methods -- previously believed to underperform -- can outperform metric-based ones when transfer is most challenging.

Motivation & Objective

  • To address the limitation of existing few-shot benchmarks that either assume identical train/test task distributions (leading to overly optimistic results) or require costly human-annotated semantic relationships.
  • To develop a method that enables fine-grained control over transfer difficulty between training and test tasks without relying on external knowledge.
  • To empirically evaluate the performance of gradient-based and metric-based few-shot learning methods across a spectrum of transfer difficulties.
  • To challenge the prevailing belief that metric-based methods are superior by demonstrating the strong performance of gradient-based methods under high transfer difficulty.

Proposed method

  • ATG uses a penalized clustering objective to partition class embeddings into train and test tasksets while enforcing a predefined level of similarity between them.
  • Class embeddings are computed by averaging the feature representations of all images per class using a pre-trained backbone network.
  • The method models the joint distribution of train and test tasks by optimizing a clustering objective that balances cluster compactness and inter-distribution similarity.
  • By adjusting the penalty term in the clustering objective, ATG can generate tasksets that are easy, intermediate, or hard in terms of transfer difficulty.
  • The approach is fully automatic and does not require human-structured semantic relationships or additional annotations.
  • ATG is applied to standard datasets like CIFAR-100, mini-ImageNet, and others to generate five new tasksets with varying degrees of transfer difficulty.

Experimental results

Research questions

  • RQ1Can we generate few-shot learning benchmarks with controlled transfer difficulty without relying on human-annotated semantic relationships?
  • RQ2How do gradient-based and metric-based few-shot learning methods perform across a spectrum of transfer difficulties?
  • RQ3Does the performance ranking of few-shot learning methods change when transfer is most challenging?
  • RQ4Can automatic taskset generation reveal previously overlooked strengths of gradient-based methods in few-shot learning?
  • RQ5Is the assumption that metric-based methods are superior in few-shot learning valid across all transfer difficulty regimes?

Key findings

  • Gradient-based methods such as Finetune and MAML significantly outperform metric-based methods like ProtoNet and ANIL when transfer is most challenging, achieving 93.51% accuracy on EMNIST under high difficulty.
  • Finetune achieves 70.98% accuracy on CIFAR-100 and 83.57% on tiered-ImageNet under high transfer difficulty, outperforming ProtoNet by over 10 percentage points.
  • The results challenge the prevailing belief that sharing a fixed feature extractor is sufficient for few-shot learning, showing that adaptation of the embedding function is critical when transfer is difficult.
  • ATG successfully generates tasksets with varying degrees of difficulty, including ones that are harder than existing benchmarks, without requiring semantic annotations.
  • The method enables the creation of more realistic and diverse benchmarks, revealing that model performance is highly sensitive to the similarity between train and test task distributions.
  • In the most challenging regime, where no information is shared between train and test tasks, gradient-based adaptation of the embedding function becomes essential for high performance.

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.