Skip to main content
QUICK REVIEW

[Paper Review] Revisiting Fine-tuning for Few-shot Learning

Akihiro Nakamura, Tatsuya Harada|arXiv (Cornell University)|Oct 1, 2019
Domain Adaptation and Few-Shot LearningComputer Science23 references30 citations
TL;DR

This paper revisits network fine-tuning for few-shot learning and demonstrates that, with proper hyperparameter settings—particularly a low learning rate, adaptive optimizers like Adam, and full-network fine-tuning—it achieves state-of-the-art or superior performance on low-, high-, and cross-domain few-shot image classification benchmarks, outperforming specialized few-shot methods in many cases.

ABSTRACT

Few-shot learning is the process of learning novel classes using only a few examples and it remains a challenging task in machine learning. Many sophisticated few-shot learning algorithms have been proposed based on the notion that networks can easily overfit to novel examples if they are simply fine-tuned using only a few examples. In this study, we show that in the commonly used low-resolution mini-ImageNet dataset, the fine-tuning method achieves higher accuracy than common few-shot learning algorithms in the 1-shot task and nearly the same accuracy as that of the state-of-the-art algorithm in the 5-shot task. We then evaluate our method with more practical tasks, namely the high-resolution single-domain and cross-domain tasks. With both tasks, we show that our method achieves higher accuracy than common few-shot learning algorithms. We further analyze the experimental results and show that: 1) the retraining process can be stabilized by employing a low learning rate, 2) using adaptive gradient optimizers during fine-tuning can increase test accuracy, and 3) test accuracy can be improved by updating the entire network when a large domain-shift exists between base and novel classes.

Motivation & Objective

  • To re-evaluate the performance of standard network fine-tuning in few-shot learning, challenging the assumption that it is inherently inferior to specialized algorithms.
  • To investigate whether fine-tuning can achieve competitive accuracy on low-resolution, high-resolution, and cross-domain few-shot learning benchmarks.
  • To identify key hyperparameters and training strategies that stabilize and improve fine-tuning performance in low-data regimes.
  • To analyze the impact of domain shift on fine-tuning effectiveness and determine optimal update strategies for different network components.

Proposed method

  • Fine-tuned a pre-trained deep neural network (e.g., ResNet-18, VGG-16) on few-shot support sets using standard stochastic gradient descent with a low learning rate.
  • Employed adaptive gradient optimizers such as Adam, Adamax, Adagrad, and RMSprop to improve convergence and test accuracy during fine-tuning.
  • Systematically evaluated different parts of the network for fine-tuning: only the classifier head, batch normalization and fully connected layers, or the entire network.
  • Used normalized classifier heads to improve generalization and stability in few-shot classification.
  • Conducted experiments on three benchmark settings: low-resolution mini-ImageNet (standard), high-resolution mini-ImageNet (practical single-domain), and cross-domain datasets (large domain shift).
  • Applied validation sets to tune learning rate and number of fine-tuning epochs, ensuring robustness across tasks.

Experimental results

Research questions

  • RQ1Can standard network fine-tuning outperform specialized few-shot learning algorithms when properly tuned?
  • RQ2How does the choice of learning rate affect the stability and accuracy of fine-tuning in few-shot settings?
  • RQ3Does using adaptive gradient optimizers like Adam improve few-shot classification accuracy compared to standard SGD?
  • RQ4Under what conditions is updating the entire network more effective than fine-tuning only the classifier head?
  • RQ5How does domain shift between base and novel classes influence the performance of fine-tuning strategies?

Key findings

  • In the 1-shot low-resolution mini-ImageNet task, fine-tuning with optimal hyperparameters achieved higher accuracy than common few-shot learning algorithms.
  • In the 5-shot low-resolution task, fine-tuning achieved nearly the same accuracy as the state-of-the-art method, demonstrating strong competitiveness.
  • Using a low learning rate (e.g., 0.0001) stabilized the fine-tuning process, preventing divergence and improving convergence stability.
  • Adaptive gradient optimizers such as Adam significantly increased test accuracy, especially when combined with normalized classifier heads.
  • Updating the entire network led to higher test accuracy when a large domain shift existed between base and novel classes, particularly in cross-domain tasks.
  • The performance gain from full-network fine-tuning was most pronounced in the cross-domain task, where domain shift was substantial.

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.