Skip to main content
QUICK REVIEW

[Paper Review] A Baseline for Few-Shot Image Classification

Guneet S. Dhillon, Pratik Chaudhari|arXiv (Cornell University)|Sep 6, 2019
Domain Adaptation and Few-Shot LearningComputer Science49 references24 citations
TL;DR

This paper proposes a simple transductive fine-tuning baseline for few-shot image classification that outperforms state-of-the-art methods on Mini-ImageNet, Tiered-ImageNet, CIFAR-FS, and FC-100 using the same hyper-parameters across all protocols. The approach leverages standard cross-entropy loss with transductive adaptation on both support and query sets, demonstrating that this basic method achieves superior accuracy, challenging the validity of current benchmarks and prompting a re-evaluation of few-shot learning progress.

ABSTRACT

Fine-tuning a deep network trained with the standard cross-entropy loss is a strong baseline for few-shot learning. When fine-tuned transductively, this outperforms the current state-of-the-art on standard datasets such as Mini-ImageNet, Tiered-ImageNet, CIFAR-FS and FC-100 with the same hyper-parameters. The simplicity of this approach enables us to demonstrate the first few-shot learning results on the ImageNet-21k dataset. We find that using a large number of meta-training classes results in high few-shot accuracies even for a large number of few-shot classes. We do not advocate our approach as the solution for few-shot learning, but simply use the results to highlight limitations of current benchmarks and few-shot protocols. We perform extensive studies on benchmark datasets to propose a metric that quantifies the "hardness" of a few-shot episode. This metric can be used to report the performance of few-shot algorithms in a more systematic way.

Motivation & Objective

  • To establish a simple, systematic baseline for few-shot image classification that does not require protocol-specific hyper-parameter tuning or architecture changes.
  • To challenge the validity of current few-shot learning benchmarks by showing that a basic fine-tuning approach surpasses complex state-of-the-art methods.
  • To quantify the 'hardness' of few-shot episodes using a novel metric that captures classification difficulty across varying numbers of ways and shots.
  • To enable fairer benchmarking by proposing a standardized baseline and a systematic reporting framework for few-shot performance.
  • To demonstrate the first few-shot learning results on the large-scale ImageNet-21k dataset, highlighting challenges in scaling existing methods.

Proposed method

  • Pre-train a deep network using standard cross-entropy loss on a meta-training dataset.
  • Fine-tune the pre-trained model on a few-shot episode using transductive learning, where both support and query sets are used during adaptation.
  • Optimize the model using a modified cross-entropy loss that incorporates both support and query samples, with the query labels used only for supervision during fine-tuning.
  • Define a hardness metric as the expected log-odds of prediction confidence, formulated as $ E_{(x,y) otin ext{support}} \left[ \log \frac{1 - p(y|x)}{p(y|x)} \right] $, to quantify episode difficulty.
  • Use the same backbone and hyper-parameters across all few-shot protocols (e.g., 1-way, 5-way, 1-shot, 5-shot) to ensure consistency and fairness in comparison.
  • Report results on standard benchmarks including Mini-ImageNet, Tiered-ImageNet, CIFAR-FS, FC-100, and the first few-shot results on ImageNet-21k.

Experimental results

Research questions

  • RQ1Does a simple transductive fine-tuning baseline outperform state-of-the-art few-shot learning methods across multiple benchmarks and protocols?
  • RQ2How does the performance of this baseline vary with the number of meta-training classes and few-shot episode characteristics?
  • RQ3Can a single, fixed hyper-parameter configuration generalize across different few-shot protocols (e.g., 1-shot vs. 5-shot, 5-way vs. 10-way)?
  • RQ4What metrics can systematically quantify the difficulty of a few-shot episode, and how do they correlate with model performance?
  • RQ5How does the baseline perform on large-scale datasets like ImageNet-21k, which contain rare and long-tail classes?

Key findings

  • Transductive fine-tuning with fixed hyper-parameters outperforms all state-of-the-art methods on Mini-ImageNet, Tiered-ImageNet, CIFAR-FS, and FC-100 under standard few-shot protocols.
  • The baseline achieves the first reported few-shot learning results on the ImageNet-21k dataset, which contains 21,814 classes and 14.2 million images.
  • Higher meta-training class diversity leads to better few-shot generalization, even when few-shot classes are numerous.
  • The proposed hardness metric effectively captures episode difficulty and correlates with model performance, especially in distinguishing challenges across different numbers of ways and shots.
  • The variance in few-shot accuracy across episodes is substantial, suggesting that reported mean accuracies may be misleading and progress in the field may be overstated.
  • The baseline’s superior performance indicates that current benchmarks and evaluation protocols may be biased toward methods that exploit specific design choices rather than generalization ability.

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.