SOTAVerified

Cross-Domain Few-Shot Classification via Adversarial Task Augmentation

2021-04-29Code Available1· sign in to hype

Haoqing Wang, Zhi-Hong Deng

Code Available — Be the first to reproduce this paper.

Reproduce

Code

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. 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.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
carsATA-FT5 shot54.28—Unverified
carsATA5 shot49.14—Unverified
ChestXATA5 shot24.32—Unverified
ChestXATA-FT5 shot25.08—Unverified
CropDiseaseATA5 shot90.59—Unverified
CropDiseaseATA-FT5 shot95.44—Unverified
CUBATA-FT5 shot69.83—Unverified
CUBATA5 shot66.22—Unverified
EuroSATATA5 shot83.75—Unverified
EuroSATATA-FT5 shot89.64—Unverified
ISIC2018ATA5 shot44.91—Unverified
ISIC2018ATA-FT5 shot49.79—Unverified
PlacesATA-FT5 shot76.64—Unverified
PlacesATA5 shot75.48—Unverified
PlantaeATA-FT5 shot58.08—Unverified
PlantaeATA5 shot52.69—Unverified

Reproductions