Understanding Cross-Domain Few-Shot Learning: An Experimental Study

Jaehoon Oh, Sungnyun Kim, Namgyu Ho, Jin-Hwa Kim, Hwanjun Song, Se-Young Yun

Introduction

Cross-Domain Few-Shot Learning (CD-FSL) addresses the challenge of adapting models to novel target domains with limited labeled data, where the target domain significantly differs from the source pre-training domain. While standard Few-Shot Learning (FSL) assumes domain alignment, real-world applications often encounter substantial domain gaps—such as transitioning from natural images to medical or satellite imagery. This study investigates the effectiveness of various pre-training strategies, specifically comparing supervised learning (SL) on source data with self-supervised learning (SSL) on target data.

Methodology

The study evaluates three primary pre-training paradigms:

  1. Supervised Learning (SL): Standard cross-entropy training on labeled source datasets (e.g., ImageNet).
  2. Self-Supervised Learning (SSL): Leveraging unlabeled target data through contrastive methods like SimCLR or BYOL.
  3. Mixed-Supervised Learning (MSL): A hybrid approach combining SL and SSL objectives simultaneously.

To categorize performance, the authors introduce two critical metrics:

  • Domain Similarity: Measured via Earth Mover’s Distance (EMD) between source and target feature distributions.
  • Few-Shot Difficulty: An intrinsic measure of task hardness, defined by the performance ceiling when training directly on labeled target data.
Conceptual map of pre-training strategy preferences based on domain similarity and few-shot difficulty. Region A favors SSL due to low similarity, while Region B favors SL for similar but difficult domains.

Experimental Setup

Source datasets include ImageNet and its variants. Target datasets comprise the BSCD-FSL benchmark (EuroSAT, CropDisease, ISIC, ChestX) and additional datasets (Places, Plantae, Cars, CUB) to span a wide range of similarity and difficulty.

Results and Discussion

A key finding is the remarkable data efficiency of SSL. On the EuroSAT dataset, SSL achieved 84.30% accuracy (5-way 1-shot), significantly outperforming SL (66.14%) despite using far fewer samples. The study reveals that domain similarity alone does not dictate the optimal strategy. For instance, even on the Places dataset, which is similar to ImageNet, SSL remains superior.

The interaction between similarity and difficulty is crucial. SL is preferred primarily when domain similarity is high and the few-shot task is inherently difficult. In such scenarios, the structured supervision from the source domain provides more robust features than self-supervision on the target. Conversely, as task difficulty decreases, the performance gain of SSL over SL tends to increase.

Empirical relationship between SSL performance gain over SL and the inherent few-shot difficulty of the target dataset.

Furthermore, a two-stage pre-training scheme (SL followed by MSL fine-tuning) consistently achieved state-of-the-art results, demonstrating the synergy between source-domain supervision and target-domain self-supervision. For instance, on the ISIC dataset, it reached 50.72% (5-way 5-shot), outperforming both standalone SL (44.10%) and SSL (47.85%).

Conclusion

This empirical study provides a roadmap for selecting pre-training strategies in CD-FSL. By considering both domain similarity and task difficulty, practitioners can better navigate the trade-offs between SL and SSL. Future research should aim for a theoretical grounding of these observations and automated hyperparameter optimization for hybrid learning schemes.

Summary updated

BibTeX
@inproceedings{oh2022understanding,
  author = {Jaehoon Oh and Sungnyun Kim and Namgyu Ho and Jin-Hwa Kim and Hwanjun Song and Se-Young Yun},
  title = {{Understanding Cross-Domain Few-Shot Learning: An Experimental Study}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=rH-X09cB50f},
}
Figure