Cross-Domain Few-Shot Classification via Adversarial Task Augmentation

29 Apr 2021  ·  Haoqing Wang, Zhi-Hong Deng ·

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.

PDF Abstract

Results from the Paper


Task Dataset Model Metric Name Metric Value Global Rank Benchmark
Cross-Domain Few-Shot cars ATA 5 shot 49.14 # 6
Cross-Domain Few-Shot cars ATA-FT 5 shot 54.28 # 2
Cross-Domain Few-Shot ChestX ATA 5 shot 24.32 # 10
Cross-Domain Few-Shot ChestX ATA-FT 5 shot 25.08 # 7
Cross-Domain Few-Shot CropDisease ATA-FT 5 shot 95.44 # 2
Cross-Domain Few-Shot CropDisease ATA 5 shot 90.59 # 4
Cross-Domain Few-Shot CUB ATA-FT 5 shot 69.83 # 3
Cross-Domain Few-Shot CUB ATA 5 shot 66.22 # 7
Cross-Domain Few-Shot EuroSAT ATA 5 shot 83.75 # 6
Cross-Domain Few-Shot EuroSAT ATA-FT 5 shot 89.64 # 2
Cross-Domain Few-Shot ISIC2018 ATA-FT 5 shot 49.79 # 2
Cross-Domain Few-Shot ISIC2018 ATA 5 shot 44.91 # 7
Cross-Domain Few-Shot Places ATA-FT 5 shot 76.64 # 4
Cross-Domain Few-Shot Places ATA 5 shot 75.48 # 6
Cross-Domain Few-Shot Plantae ATA-FT 5 shot 58.08 # 4
Cross-Domain Few-Shot Plantae ATA 5 shot 52.69 # 8

Methods


No methods listed for this paper. Add relevant methods here