TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Cross-Domain Few-Shot Classification via Adversarial Task ...

Cross-Domain Few-Shot Classification via Adversarial Task Augmentation

Haoqing Wang, Zhi-Hong Deng

2021-04-29Meta-LearningDomain GeneralizationCross-Domain Few-ShotGeneral ClassificationClassification
PaperPDFCode(official)

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.

Results

TaskDatasetMetricValueModel
Few-Shot LearningChestX5 shot25.08ATA-FT
Few-Shot LearningChestX5 shot24.32ATA
Few-Shot LearningPlantae5 shot58.08ATA-FT
Few-Shot LearningPlantae5 shot52.69ATA
Few-Shot Learningcars5 shot54.28ATA-FT
Few-Shot Learningcars5 shot49.14ATA
Few-Shot LearningEuroSAT5 shot89.64ATA-FT
Few-Shot LearningEuroSAT5 shot83.75ATA
Few-Shot LearningCUB5 shot69.83ATA-FT
Few-Shot LearningCUB5 shot66.22ATA
Few-Shot LearningISIC20185 shot49.79ATA-FT
Few-Shot LearningISIC20185 shot44.91ATA
Few-Shot LearningPlaces5 shot76.64ATA-FT
Few-Shot LearningPlaces5 shot75.48ATA
Few-Shot LearningCropDisease5 shot95.44ATA-FT
Few-Shot LearningCropDisease5 shot90.59ATA
Meta-LearningChestX5 shot25.08ATA-FT
Meta-LearningChestX5 shot24.32ATA
Meta-LearningPlantae5 shot58.08ATA-FT
Meta-LearningPlantae5 shot52.69ATA
Meta-Learningcars5 shot54.28ATA-FT
Meta-Learningcars5 shot49.14ATA
Meta-LearningEuroSAT5 shot89.64ATA-FT
Meta-LearningEuroSAT5 shot83.75ATA
Meta-LearningCUB5 shot69.83ATA-FT
Meta-LearningCUB5 shot66.22ATA
Meta-LearningISIC20185 shot49.79ATA-FT
Meta-LearningISIC20185 shot44.91ATA
Meta-LearningPlaces5 shot76.64ATA-FT
Meta-LearningPlaces5 shot75.48ATA
Meta-LearningCropDisease5 shot95.44ATA-FT
Meta-LearningCropDisease5 shot90.59ATA
Cross-Domain Few-ShotChestX5 shot25.08ATA-FT
Cross-Domain Few-ShotChestX5 shot24.32ATA
Cross-Domain Few-ShotPlantae5 shot58.08ATA-FT
Cross-Domain Few-ShotPlantae5 shot52.69ATA
Cross-Domain Few-Shotcars5 shot54.28ATA-FT
Cross-Domain Few-Shotcars5 shot49.14ATA
Cross-Domain Few-ShotEuroSAT5 shot89.64ATA-FT
Cross-Domain Few-ShotEuroSAT5 shot83.75ATA
Cross-Domain Few-ShotCUB5 shot69.83ATA-FT
Cross-Domain Few-ShotCUB5 shot66.22ATA
Cross-Domain Few-ShotISIC20185 shot49.79ATA-FT
Cross-Domain Few-ShotISIC20185 shot44.91ATA
Cross-Domain Few-ShotPlaces5 shot76.64ATA-FT
Cross-Domain Few-ShotPlaces5 shot75.48ATA
Cross-Domain Few-ShotCropDisease5 shot95.44ATA-FT
Cross-Domain Few-ShotCropDisease5 shot90.59ATA

Related Papers

Simulate, Refocus and Ensemble: An Attention-Refocusing Scheme for Domain Generalization2025-07-17GLAD: Generalizable Tuning for Vision-Language Models2025-07-17MoTM: Towards a Foundation Model for Time Series Imputation based on Continuous Modeling2025-07-17Adversarial attacks to image classification systems using evolutionary algorithms2025-07-17Are encoders able to learn landmarkers for warm-starting of Hyperparameter Optimization?2025-07-16Imbalanced Regression Pipeline Recommendation2025-07-16CLID-MU: Cross-Layer Information Divergence Based Meta Update Strategy for Learning with Noisy Labels2025-07-16InstructFLIP: Exploring Unified Vision-Language Model for Face Anti-spoofing2025-07-16