Cross-Domain Few-Shot Classification via Learned Feature-Wise Transformation

Hung-Yu Tseng, Hsin-Ying Lee, Jia-Bin Huang, Ming-Hsuan Yang
1/23/2020
cs.CVcs.LG

Official code: hytseng0509/CrossDomainFewShot (352 stars, Python, last commit 2020-04-12).

Abstract

Few-shot classification aims to recognize novel categories with only few labeled images in each class. Existing metric-based few-shot classification algorithms predict categories by comparing the feature embeddings of query images with those from a few labeled images (support examples) using a learned metric function.

Show full abstract

While promising performance has been demonstrated, these methods often fail to generalize to unseen domains due to large discrepancy of the feature distribution across domains. In this work, we address the problem of few-shot classification under domain shifts for metric-based methods. Our core idea is to use feature-wise transformation layers for augmenting the image features using affine transforms to simulate various feature distributions under different domains in the training stage. To capture variations of the feature distributions under different domains, we further apply a learning-to-learn approach to search for the hyper-parameters of the feature-wise transformation layers. We conduct extensive experiments and ablation studies under the domain generalization setting using five few-shot classification datasets: mini-ImageNet, CUB, Cars, Places, and Plantae. Experimental results demonstrate that the proposed feature-wise transformation layer is applicable to various metric-based models, and provides consistent improvements on the few-shot classification performance under domain shift.

View on arXivView PDF

Code Implementations(1)

Cross-Domain Few-Shot Classification via Learned Feature-Wise Transformation (ICLR 2020 spotlight)

35260PythonJan 15, 20206 years ago
domain-generalizationfew-shot-learningiclr2020meta-learning

Similar Papers

Cite this paper

@article{tseng2020crossdomain,
  title  = {Cross-Domain Few-Shot Classification via Learned Feature-Wise Transformation},
  author = {Hung-Yu Tseng and Hsin-Ying Lee and Jia-Bin Huang and Ming-Hsuan Yang},
  year   = {2020},
  eprint = {2001.08735},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2001.08735}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2001.08735.svg)](https://codeofpaper.com/paper/2001.08735)

Discussion