Large Margin Mechanism and Pseudo Query Set on Cross-Domain Few-Shot Learning
Jia-Fong Yeh, Hsin-Ying Lee, Bing-Chen Tsai, Yi-Rong Chen, Ping-Chia Huang, Winston H. Hsu
TL;DR
This work tackles cross-domain few-shot learning by introducing LMM-PQS, a fine-tuning framework that generates pseudo query images from support data and employs two margin-based losses to adapt pre-trained backbones to new domains with limited data. Central to the approach are the prototypical triplet loss, which enlarges inter-class margins using prototypes, and the large margin cosine loss, which tightens decision boundaries in the embedding space. The method leverages a pseudo query set to simulate the meta-testing scenario during fine-tuning and uses a cosine mean-centroid classifier for inference. Empirical results across four distinct domains show substantial improvements over baselines and demonstrate the robustness of the backbone across backbones and shot settings, highlighting the practical potential for cross-domain adaptation with minimal labeled data.
Abstract
In recent years, few-shot learning problems have received a lot of attention. While methods in most previous works were trained and tested on datasets in one single domain, cross-domain few-shot learning is a brand-new branch of few-shot learning problems, where models handle datasets in different domains between training and testing phases. In this paper, to solve the problem that the model is pre-trained (meta-trained) on a single dataset while fine-tuned on datasets in four different domains, including common objects, satellite images, and medical images, we propose a novel large margin fine-tuning method (LMM-PQS), which generates pseudo query images from support images and fine-tunes the feature extraction modules with a large margin mechanism inspired by methods in face recognition. According to the experiment results, LMM-PQS surpasses the baseline models by a significant margin and demonstrates that our approach is robust and can easily adapt pre-trained models to new domains with few data.
