Skip to main content
QUICK REVIEW

[Paper Review] Optimized Generic Feature Learning for Few-shot Classification across Domains

Tonmoy Saikia, Thomas Brox|arXiv (Cornell University)|Jan 22, 2020
Domain Adaptation and Few-Shot LearningComputer Science55 references29 citations
TL;DR

This paper proposes hyperparameter optimization (HPO) using few-shot classification across domains as a validation objective to learn generic features that generalize well. By optimizing hyperparameters on cross-domain few-shot tasks, the method achieves state-of-the-art performance on Meta-Dataset, outperforming prior meta-learning and few-shot methods through improved generalization across domains and tasks.

ABSTRACT

To learn models or features that generalize across tasks and domains is one of the grand goals of machine learning. In this paper, we propose to use cross-domain, cross-task data as validation objective for hyper-parameter optimization (HPO) to improve on this goal. Given a rich enough search space, optimization of hyper-parameters learn features that maximize validation performance and, due to the objective, generalize across tasks and domains. We demonstrate the effectiveness of this strategy on few-shot image classification within and across domains. The learned features outperform all previous few-shot and meta-learning approaches.

Motivation & Objective

  • To improve generalization of learned features across unseen tasks and domains in few-shot learning.
  • To investigate whether hyperparameter optimization (HPO) can enhance feature generalization beyond performance on a single benchmark.
  • To evaluate the effectiveness of using cross-domain few-shot tasks as a validation objective for HPO.
  • To identify optimal hyperparameter configurations that improve robustness and transferability of features.
  • To assess the compatibility of HPO with model ensembling and data augmentation for improved generalization.

Proposed method

  • Uses Bayesian optimization with hyperband (BOHB) to search over a structured hyperparameter space for deep neural network feature extractors.
  • Employs few-shot classification accuracy on a validation set of diverse tasks as the HPO objective, with support and query sets per task.
  • Trains feature extractors on a source dataset (e.g., ImageNet) using sampled hyperparameters, then evaluates on few-shot tasks during validation.
  • Applies data augmentation with variable numbers of operations (N_ops) and optimizes their configuration as part of the search space.
  • Uses N-Centroid classifiers for few-shot evaluation, computing accuracy on query sets to guide HPO.
  • Performs both within-domain and cross-domain HPO, where validation tasks are drawn from different domains than training.

Experimental results

Research questions

  • RQ1Can hyperparameter optimization using few-shot classification as a validation objective lead to better generalization across domains?
  • RQ2How does cross-domain HPO compare to within-domain HPO in improving few-shot performance on unseen domains?
  • RQ3Which hyperparameter configurations (learning rate, batch size, optimizer, data augmentation) yield the best generalization?
  • RQ4Does HPO improve performance when combined with model ensembling?
  • RQ5Can HPO discover non-trivial hyperparameter patterns that improve generalization beyond common best practices?

Key findings

  • HPO with cross-domain few-shot validation significantly improves few-shot classification accuracy, achieving state-of-the-art performance on Meta-Dataset.
  • The best-performing model (BOHB-NC-S2) achieved 66.41% ± 0.62 and 84.52% ± 0.41 accuracy on mini-ImageNet and ImageNet-GBM, respectively, outperforming prior methods.
  • Ensembling the top 20 models from HPO further improved performance to 55.39% ± 1.06 (D1), 68.72% ± 0.87 (D2), and 54.70% ± 1.02 (D3), demonstrating strong compatibility with ensembling.
  • Lower learning rates and smaller batch sizes (e.g., 8) consistently led to better performance, confirming known principles but validating them empirically in this setup.
  • SGD outperformed ADAM on ImageNet-GBM, while both optimizers worked well on mini-ImageNet, indicating domain-dependent optimal choices.
  • Applying one or two data augmentation operations in sequence (N_ops = 1 or 2) was found to be optimal, suggesting that moderate augmentation improves generalization.

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.