TL;DR
This paper introduces "Multi-source Few-shot Domain Adaptation" (MFDA), a new challenging scenario where models must adapt to an unlabeled target domain using multiple source domains, each with only a few labeled examples. They propose MSFAN, a novel framework that leverages multi-domain self-supervised learning and a support set for cross-domain consistency to achieve state-of-the-art performance, significantly outperforming existing methods.
What Problem Does This Paper Address?
Traditional domain adaptation (DA) often assumes access to a large, fully labeled source dataset to train a model that can then generalize to a different, unlabeled target domain. Multi-source Domain Adaptation (MDA) extends this by using multiple fully labeled source domains. However, in many real-world applications, obtaining extensive labeled data, even for source domains, is prohibitively expensive and time-consuming (e.g., medical imaging, specialized datasets). This paper addresses this gap by introducing Multi-source Few-shot Domain Adaptation (MFDA), a more practical setting where each of the multiple source domains provides only a small number of labeled samples, while the target domain remains entirely unlabeled. Existing MDA methods struggle in this low-label regime, failing to learn discriminative features that are both domain-invariant and class-specific.
Methods
The proposed Multi-Source Few-shot Adaptation Network (MSFAN) tackles the MFDA challenge with a three-pronged approach:
- Multi-domain Prototypical Self-Supervised Learning (SSL): This component aims to learn robust, class-discriminative, and domain-invariant features. It combines:
- In-domain Prototypical Contrastive Learning: Learns well-clustered representations within each individual domain (source and target) by using a ProtoNCE-like loss on memory banks of features.
- Cross-multi-domain Prototypical SSL: Aligns features across different domains by minimizing the entropy of the similarity distribution between source domain features and target domain prototypes. This helps bridge the domain gap without relying on adversarial methods.
- Cross-domain Consistency via Support Sets: To further enforce domain invariance and class discriminability, MSFAN constructs a "support set" for each source domain. This set includes the few labeled samples and high-confidence pseudo-labeled samples from unlabeled data. A cross-domain similarity consistency loss is then applied to ensure that representations of target samples are consistent across different source domain classifiers.
- Multi-domain Prototypical Classifier Learning: Instead of training a classifier for each source domain solely on its limited labeled data (which leads to overfitting), MSFAN leverages prototypes computed from the support sets of all source domains to train more robust and diverse classifiers. This also involves a classifier-wise mutual information maximization objective to enhance domain-invariant and class-discriminative features.
The entire framework is trained end-to-end in a non-adversarial manner.
Datasets
The proposed MSFAN framework is evaluated on three standard domain adaptation benchmarks:
- Office [41]: Contains 3 domains (Amazon, DSLR, Webcam) with 31 classes. Experiments use 1-shot and 3-shot labeled samples per class.
- Office-Home [42]: A more challenging dataset with 4 domains (Art, Clipart, Product, Real) and 65 classes. Experiments use 3% and 6% labeled samples per class.
- DomainNet [26]: A large-scale benchmark, for which a subset of four domains (Clipart, Painting, Real, Sketch) with 126 classes is used. Experiments use 1-shot and 3-shot labeled samples per class.
The paper notes that the dataset settings are adapted from previous works [35, 33] to fit the MFDA scenario.
Key Insights and Ideas
- MFDA as a Practical Challenge: The paper highlights that the few-shot setting for multi-source domain adaptation is a more realistic scenario than assuming abundant labeled data, especially in specialized fields.
- Limitations of Existing Methods: The authors demonstrate that standard MDA methods, which rely on ample labeled source data, fail to perform well in the MFDA setting due to the difficulty in learning discriminative features with limited supervision.
- Prototypical Learning for Alignment: The core idea of using prototypes for both in-domain clustering and cross-domain alignment is a key innovation. This allows for learning semantic structures and bridging domain gaps without adversarial training.
- Support Sets for Consistency: The use of support sets, combining labeled and high-confidence pseudo-labeled data, provides a robust mechanism to enforce cross-domain consistency and improve feature learning.
- Non-Adversarial Approach: MSFAN's reliance on self-supervised learning and consistency losses, rather than adversarial discriminators, offers a potentially more stable and easier-to-train alternative.
Key Results
MSFAN demonstrates significant improvements over state-of-the-art methods on the MFDA task across multiple benchmarks:
- Office Dataset: Achieved a mean classification accuracy improvement of 20.2% over different domain pairs.
- Office-Home Dataset: Achieved a mean classification accuracy improvement of 9.4%.
- DomainNet Dataset: Achieved a mean classification accuracy improvement of 16.2%.
Qualitative results, such as t-SNE visualizations, show that MSFAN learns more discriminative features that are better aligned across domains compared to ImageNet pre-training and source-combined baselines. The paper also includes an ablation study showing that each component of MSFAN contributes positively to the overall performance.
Limitations and Future Work
- Fixed Target Domain: The current work focuses on adapting to a single, fixed target domain.
- Future Work: The authors propose extending their work to Domain Generalization, where multiple target domains are involved and may not be observable during training. This would broaden the applicability of their approach. They also suggest exploring MSFAN for other DA settings like multi-source semi-supervised DA, multi-source partial DA, and multi-source open-set DA.
Summary updated