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 Learned Feature-W...

Cross-Domain Few-Shot Classification via Learned Feature-Wise Transformation

Hung-Yu Tseng, Hsin-Ying Lee, Jia-Bin Huang, Ming-Hsuan Yang

2020-01-23ICLR 2020 1Domain GeneralizationCross-Domain Few-ShotGeneral ClassificationClassification
PaperPDFCode(official)

Abstract

Few-shot classification aims to recognize novel categories with only few labeled images in each class. Existing metric-based few-shot classification algorithms predict categories by comparing the feature embeddings of query images with those from a few labeled images (support examples) using a learned metric function. While promising performance has been demonstrated, these methods often fail to generalize to unseen domains due to large discrepancy of the feature distribution across domains. In this work, we address the problem of few-shot classification under domain shifts for metric-based methods. Our core idea is to use feature-wise transformation layers for augmenting the image features using affine transforms to simulate various feature distributions under different domains in the training stage. To capture variations of the feature distributions under different domains, we further apply a learning-to-learn approach to search for the hyper-parameters of the feature-wise transformation layers. We conduct extensive experiments and ablation studies under the domain generalization setting using five few-shot classification datasets: mini-ImageNet, CUB, Cars, Places, and Plantae. Experimental results demonstrate that the proposed feature-wise transformation layer is applicable to various metric-based models, and provides consistent improvements on the few-shot classification performance under domain shift.

Results

TaskDatasetMetricValueModel
Few-Shot LearningChestX5 shot25.18FWT
Few-Shot LearningPlantae5 shot53.85FWT
Few-Shot Learningcars5 shot44.9FWT
Few-Shot LearningEuroSAT5 shot83.01FWT
Few-Shot LearningCUB5 shot66.98FWT
Few-Shot LearningISIC20185 shot43.17FWT
Few-Shot LearningPlaces5 shot73.94FWT
Few-Shot LearningCropDisease5 shot87.11FWT
Meta-LearningChestX5 shot25.18FWT
Meta-LearningPlantae5 shot53.85FWT
Meta-Learningcars5 shot44.9FWT
Meta-LearningEuroSAT5 shot83.01FWT
Meta-LearningCUB5 shot66.98FWT
Meta-LearningISIC20185 shot43.17FWT
Meta-LearningPlaces5 shot73.94FWT
Meta-LearningCropDisease5 shot87.11FWT
Cross-Domain Few-ShotChestX5 shot25.18FWT
Cross-Domain Few-ShotPlantae5 shot53.85FWT
Cross-Domain Few-Shotcars5 shot44.9FWT
Cross-Domain Few-ShotEuroSAT5 shot83.01FWT
Cross-Domain Few-ShotCUB5 shot66.98FWT
Cross-Domain Few-ShotISIC20185 shot43.17FWT
Cross-Domain Few-ShotPlaces5 shot73.94FWT
Cross-Domain Few-ShotCropDisease5 shot87.11FWT

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-17InstructFLIP: Exploring Unified Vision-Language Model for Face Anti-spoofing2025-07-16Efficient Calisthenics Skills Classification through Foreground Instance Selection and Depth Estimation2025-07-16Safeguarding Federated Learning-based Road Condition Classification2025-07-16AI-Enhanced Pediatric Pneumonia Detection: A CNN-Based Approach Using Data Augmentation and Generative Adversarial Networks (GANs)2025-07-13