Abstract
Cross-Domain Few-Shot Learning (CD-FSL) presents significant challenges due to the domain gap between large-scale source datasets and limited target domain data. We present ME-D2N, a Multi-Expert Domain Decompositional Network that addresses data imbalance and domain interference. By training specialized teacher models for source and target domains and distilling their knowledge into a student network equipped with a novel Domain Decomposition Module (D2N), our approach dynamically allocates neural filters to specific domains. Experimental results across diverse target domains demonstrate state-of-the-art performance, achieving an average accuracy of 76.42% on 5-way 5-shot tasks.
Introduction
Few-Shot Learning (FSL) aims to recognize novel categories from a limited number of labeled examples. However, in Cross-Domain Few-Shot Learning (CD-FSL), the source and target domains often exhibit vastly different distributions, such as general object recognition versus specialized satellite or medical imagery.
Current CD-FSL approaches face two primary hurdles:
- Data Imbalance: Large source datasets often overwhelm the sparse auxiliary target data (e.g., 5 images per class), leading models to ignore target-specific features.
- Domain Interference: Shared neural network filters struggle to simultaneously extract effective features from disparate domains.
Methodology
The ME-D2N framework operates in two distinct stages to mitigate the domain gap and data imbalance.
Multi-Expert Teacher Training
To prevent target domain knowledge from being overshadowed, we train two independent "expert" networks:
- Source Teacher (St-Net): Optimized exclusively on the large-scale source dataset.
- Target Teacher (Tt-Net): Optimized on the limited auxiliary target data.
Student Learning with Domain Decomposition
A student model is trained via knowledge distillation to mimic the outputs of both experts. To manage the dual-domain input, we introduce the Domain Decomposition Module (D2N).
The D2N module utilizes a Domain-Specific Gate (DSG) to learn a binary mask for the network's filters, determining which filters are active for a given domain. To ensure differentiability during training, the Gumbel Softmax trick is employed for filter selection. During inference, the model utilizes a dual-path approach—averaging results from a standard path and the domain-specific path—to ensure robust predictions.
Experimental Evaluation
We evaluated ME-D2N using mini-ImageNet as the source domain and four distinct target domains: CUB (birds), Cars, Places, and Plantae.
Key Results
ME-D2N achieved state-of-the-art results, significantly outperforming previous methods like Meta-FDMixup.
- Accuracy: On 5-way 5-shot tasks, ME-D2N reached an average accuracy of 76.42% (vs. 73.53% for Meta-FDMixup).
- Robustness: Performance was consistently high across all target distributions, unlike baseline methods that often specialized in only one domain.
- Source Performance: The model maintained a high source domain accuracy of 84.30%, indicating no catastrophic forgetting of the original training data.
Discussion and Insights
A key finding of this work is that specialization often outperforms general domain-agnosticism in CD-FSL. By allowing each domain its own "territory" within the network weights, ME-D2N effectively decomposes the student model. Interestingly, higher-level semantic filters were found to be more easily decomposable than low-level edge-detection filters. Furthermore, the student model successfully extracted useful features from the Target Teacher (Tt-Net) despite the teacher's individual performance being limited by data scarcity.
Limitations
Current limitations include "filter entanglement" in early layers, where low-level features remain shared across domains. Future work will explore deeper decomposition of these initial layers and scaling the architecture to handle multiple target domains simultaneously.
Summary updated