SOTAVerified

Adversarial Feature Augmentation for Cross-domain Few-shot Classification

2022-08-23Code Available1· sign in to hype

Yanxu Hu, Andy J. Ma

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

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

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
carsAFA5 shot49.28Unverified
ChestXAFA5 shot25.02Unverified
CropDiseaseAFA5 shot88.06Unverified
CUBAFA5 shot68.25Unverified
EuroSATAFA5 shot85.58Unverified
ISIC2018AFA5 shot46.01Unverified
PlacesAFA5 shot76.21Unverified
PlantaeAFA5 shot54.26Unverified

Reproductions