Understanding Cross-Domain Few-Shot Learning Based on Domain Similarity and Few-Shot Difficulty

Jaehoon Oh, Sungnyun Kim, Namgyu Ho, Jin-Hwa Kim, Hwanjun Song +1 more
2/1/2022
71 citations
cs.LG
contrastive-ssl

Official code: sungnyun/understanding-cdfsl (34 stars, Python, MIT, PyTorch, last commit 2024-03-19).

Abstract

Cross-domain few-shot learning (CD-FSL) has drawn increasing attention for handling large differences between the source and target domains--an important concern in real-world scenarios. To overcome these large differences, recent works have considered exploiting small-scale unlabeled data from the target domain during the pre-training stage.

Show full abstract

This data enables self-supervised pre-training on the target domain, in addition to supervised pre-training on the source domain. In this paper, we empirically investigate which pre-training is preferred based on domain similarity and few-shot difficulty of the target domain. We discover that the performance gain of self-supervised pre-training over supervised pre-training becomes large when the target domain is dissimilar to the source domain, or the target domain itself has low few-shot difficulty. We further design two pre-training schemes, mixed-supervised and two-stage learning, that improve performance. In this light, we present six findings for CD-FSL, which are supported by extensive experiments and analyses on three source and eight target benchmark datasets with varying levels of domain similarity and few-shot difficulty. Our code is available at https://github.com/sungnyun/understanding-cdfsl.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

(NeurIPS 2022) Understanding Cross-Domain Few-Shot Learning Based on Domain Similarity and Few-Shot Difficulty

3410Python, Jupyter NotebookAug 26, 20212 years agoMIT
cross-domainfew-shot-learningpytorchself-supervised-learning

Similar Papers

Cite this paper

@article{oh2022understanding,
  title  = {Understanding Cross-Domain Few-Shot Learning Based on Domain Similarity and Few-Shot Difficulty},
  author = {Jaehoon Oh and Sungnyun Kim and Namgyu Ho and Jin-Hwa Kim and Hwanjun Song and Se-Young Yun},
  year   = {2022},
  eprint = {2202.01339},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.01339}
}

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

Discussion