Cross-Domain Few-Shot Classification via Adversarial Task Augmentation

Haoqing Wang, Zhi-Hong Deng
4/29/2021
cs.CV

Official code: Haoqing-Wang/CDFSL-ATA (72 stars, Python, last commit 2023-02-07).

Abstract

Few-shot classification aims to recognize unseen classes with few labeled samples from each class. Many meta-learning models for few-shot classification elaborately design various task-shared inductive bias (meta-knowledge) to solve such tasks, and achieve impressive performance.

Show full abstract

However, when there exists the domain shift between the training tasks and the test tasks, the obtained inductive bias fails to generalize across domains, which degrades the performance of the meta-learning models. In this work, we aim to improve the robustness of the inductive bias through task augmentation. Concretely, we consider the worst-case problem around the source task distribution, and propose the adversarial task augmentation method which can generate the inductive bias-adaptive 'challenging' tasks. Our method can be used as a simple plug-and-play module for various meta-learning models, and improve their cross-domain generalization capability. We conduct extensive experiments under the cross-domain setting, using nine few-shot classification datasets: mini-ImageNet, CUB, Cars, Places, Plantae, CropDiseases, EuroSAT, ISIC and ChestX. Experimental results show that our method can effectively improve the few-shot classification performance of the meta-learning models under domain shift, and outperforms the existing works. Our code is available at https://github.com/Haoqing-Wang/CDFSL-ATA.

View on arXivView PDF

Code Implementations(1)

[IJCAI 2021 & AIJ 2023] Cross-Domain Few-Shot Classification via Adversarial Task Augmentation

727Python, ShellMay 1, 20213 years ago
adversarial-learningcross-domainfew-shot-learningmeta-learning

Similar Papers

Cite this paper

@article{wang2021crossdomain,
  title  = {Cross-Domain Few-Shot Classification via Adversarial Task Augmentation},
  author = {Haoqing Wang and Zhi-Hong Deng},
  year   = {2021},
  eprint = {2104.14385},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.14385}
}

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/2104.14385.svg)](https://codeofpaper.com/paper/2104.14385)

Discussion