Adversarial Feature Augmentation for Cross-domain Few-shot Classification

23 Aug 2022  ·  Yanxu Hu, Andy J. Ma ·

Existing methods based on meta-learning predict novel-class labels for (target domain) testing tasks via meta knowledge learned from (source domain) training tasks of base classes. However, most existing works may fail to generalize to novel classes due to the probably large domain discrepancy across domains. To address this issue, we propose a novel adversarial feature augmentation (AFA) method to bridge the domain gap in few-shot learning. The feature augmentation is designed to simulate distribution variations by maximizing the domain discrepancy. During adversarial training, the domain discriminator is learned by distinguishing the augmented features (unseen domain) from the original ones (seen domain), while the domain discrepancy is minimized to obtain the optimal feature encoder. The proposed method is a plug-and-play module that can be easily integrated into existing few-shot learning methods based on meta-learning. Extensive experiments on nine datasets demonstrate the superiority of our method for cross-domain few-shot classification compared with the state of the art. Code is available at https://github.com/youthhoo/AFA_For_Few_shot_learning

PDF Abstract

Results from the Paper


Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Cross-Domain Few-Shot cars AFA 5 shot 49.28 # 5
Cross-Domain Few-Shot ChestX AFA 5 shot 25.02 # 8
Cross-Domain Few-Shot CropDisease AFA 5 shot 88.06 # 7
Cross-Domain Few-Shot CUB AFA 5 shot 68.25 # 5
Cross-Domain Few-Shot EuroSAT AFA 5 shot 85.58 # 4
Cross-Domain Few-Shot ISIC2018 AFA 5 shot 46.01 # 4
Cross-Domain Few-Shot Places AFA 5 shot 76.21 # 5
Cross-Domain Few-Shot Plantae AFA 5 shot 54.26 # 6

Methods