Adversarial Feature Augmentation for Cross-domain Few-shot Classification

Yanxu Hu, Andy J. Ma
8/23/2022
cs.CV

Official code: youthhoo/AFA_For_Few_shot_learning (22 stars, Python, last commit 2023-01-08).

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.

Show full abstract

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

View on arXivView PDF

Code Implementations(1)

222PythonJul 4, 20223 years ago

Similar Papers

Cite this paper

@article{hu2022adversarial,
  title  = {Adversarial Feature Augmentation for Cross-domain Few-shot Classification},
  author = {Yanxu Hu and Andy J. Ma},
  year   = {2022},
  eprint = {2208.11021},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.11021}
}

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

Discussion