[Paper Review] Prototypical Cross-domain Self-supervised Learning for Few-shot Unsupervised Domain Adaptation
This paper proposes Prototypical Cross-domain Self-supervised Learning (PCS), a novel end-to-end framework for few-shot unsupervised domain adaptation that jointly learns discriminative and domain-invariant features via in-domain prototypical contrastive learning and cross-domain instance-to-prototype matching. PCS achieves state-of-the-art performance, improving mean accuracy by 10.5%, 3.5%, 9.0%, and 13.2% on Office, Office-Home, VisDA-2017, and DomainNet, respectively, under few-shot labeled source settings.
Unsupervised Domain Adaptation (UDA) transfers predictive models from a fully-labeled source domain to an unlabeled target domain. In some applications, however, it is expensive even to collect labels in the source domain, making most previous works impractical. To cope with this problem, recent work performed instance-wise cross-domain self-supervised learning, followed by an additional fine-tuning stage. However, the instance-wise self-supervised learning only learns and aligns low-level discriminative features. In this paper, we propose an end-to-end Prototypical Cross-domain Self-Supervised Learning (PCS) framework for Few-shot Unsupervised Domain Adaptation (FUDA). PCS not only performs cross-domain low-level feature alignment, but it also encodes and aligns semantic structures in the shared embedding space across domains. Our framework captures category-wise semantic structures of the data by in-domain prototypical contrastive learning; and performs feature alignment through cross-domain prototypical self-supervision. Compared with state-of-the-art methods, PCS improves the mean classification accuracy over different domain pairs on FUDA by 10.5%, 3.5%, 9.0%, and 13.2% on Office, Office-Home, VisDA-2017, and DomainNet, respectively. Our project page is at http://xyue.io/pcs-fuda/index.html
Motivation & Objective
- Address the challenge of unsupervised domain adaptation when only a few labeled samples are available in the source domain, due to high annotation costs in real-world applications like medical imaging.
- Overcome limitations of existing instance-wise cross-domain self-supervised learning, which fails to encode semantic structures and is sensitive to abnormal samples.
- Develop a unified, end-to-end framework that simultaneously learns discriminative features and aligns domains without relying on a two-stage training pipeline.
- Improve robustness and convergence in domain alignment by replacing instance-to-instance matching with instance-to-prototype matching.
- Achieve superior performance in low-resource labeling scenarios by leveraging prototype-based self-supervision and adaptive classifier updates.
Proposed method
- Perform in-domain prototypical contrastive learning to encode semantic structures by grouping semantically similar samples into prototypes, improving feature discriminability.
- Implement cross-domain instance-to-prototype matching to transfer knowledge from source to target, enhancing robustness against abnormal samples and improving optimization stability.
- Unify prototype learning with a cosine classifier and adaptively update the classifier using both source and target prototypes to improve generalization on the target domain.
- Apply entropy maximization to diversify predictions and reduce overfitting, especially in low-label regimes.
- Integrate all components into a single-stage training framework, eliminating the need for separate pre-training and fine-tuning stages.
- Use a ResNet-18 backbone with a learning rate of 0.01 and a batch size of 64, with hyperparameters tuned via ablation studies.
Experimental results
Research questions
- RQ1Can prototypical self-supervision improve feature discriminability in low-shot source settings where standard instance-wise self-supervision fails to encode semantic structure?
- RQ2Does replacing instance-to-instance cross-domain matching with instance-to-prototype matching lead to more robust and stable domain alignment under domain shift?
- RQ3Can a unified, end-to-end framework combining prototypical learning and adaptive classifier updates outperform two-stage pipelines in few-shot unsupervised domain adaptation?
- RQ4How does the proposed method scale in performance as the number of labeled source samples decreases?
- RQ5To what extent does entropy maximization improve generalization and prevent overfitting in label-scarce adaptation scenarios?
Key findings
- PCS achieves a 10.5% absolute improvement in mean classification accuracy over state-of-the-art methods on the Office benchmark under few-shot unsupervised domain adaptation.
- On Office-Home, PCS improves accuracy by 3.5% compared to the previous best method, demonstrating consistent gains across diverse domain shifts.
- On VisDA-2017, PCS achieves a 9.0% accuracy gain, highlighting its effectiveness in large-scale, fine-grained domain adaptation tasks.
- On DomainNet, PCS achieves a 13.2% improvement, indicating strong generalization across multiple domains and complex visual variations.
- In 47 out of 52 domain adaptation settings, PCS outperforms the previous best method, confirming its robustness across different datasets and domain pairs.
- With only 1-shot per class (31 labeled images), PCS achieves 76.1% accuracy on the DSLR→Amazon setting, and with 94% fewer labels, performance degrades by only 1.3%, demonstrating exceptional sample efficiency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.