[Paper Review] Con$^{2}$DA: Simplifying Semi-supervised Domain Adaptation by Learning Consistent and Contrastive Feature Representations
Con2DA proposes a simple yet effective framework for semi-supervised domain adaptation (SSDA) by learning consistent and contrastive feature representations through stochastic data augmentation and normalized feature space optimization. By enforcing consistency between weak and strong augmented views and leveraging contrastive and self-supervised losses, the method achieves state-of-the-art performance on Office-31, Office-Home, and DomainNet, improving accuracy by up to 1.4%.
In this work, we present Con$^{2}$DA, a simple framework that extends recent advances in semi-supervised learning to the semi-supervised domain adaptation (SSDA) problem. Our framework generates pairs of associated samples by performing stochastic data transformations to a given input. Associated data pairs are mapped to a feature representation space using a feature extractor. We use different loss functions to enforce consistency between the feature representations of associated data pairs of samples. We show that these learned representations are useful to deal with differences in data distributions in the domain adaptation problem. We performed experiments to study the main components of our model and we show that (i) learning of the consistent and contrastive feature representations is crucial to extract good discriminative features across different domains, and ii) our model benefits from the use of strong augmentation policies. With these findings, our method achieves state-of-the-art performances in three benchmark datasets for SSDA.
Motivation & Objective
- Address the challenge of domain shift in semi-supervised domain adaptation (SSDA) with limited labeled target data.
- Extend recent advances in consistency regularization and contrastive learning to the SSDA setting.
- Improve generalization and feature discriminability across source and target domains using normalized feature representations.
- Investigate the impact of strong data augmentation policies and loss components on model performance in SSDA.
- Achieve state-of-the-art performance on standard SSDA benchmarks without complex architectural modifications.
Proposed method
- Apply stochastic weak and strong data augmentations (e.g., random cropping, horizontal flipping, RandAugment) to generate paired views of the same input.
- Pass augmented inputs through a shared feature extractor and normalize the output features to the unit hypersphere.
- Enforce feature consistency between weak and strong augmented views using a contrastive loss that pulls positive pairs (same sample) together.
- Apply a self-supervised contrastive loss on unlabeled target data to align positive pairs and push apart negative pairs from different inputs.
- Use a linear classifier with normalized prototypes to supervise labeled source and target data via cross-entropy and cosine similarity loss.
- Optimize a combined loss function that integrates consistency, contrastive, and self-supervised components during training.
Experimental results
Research questions
- RQ1Can consistency and contrastive learning be effectively combined in semi-supervised domain adaptation to improve feature generalization?
- RQ2How do strong augmentation policies like RandAugment impact performance in low-shot SSDA settings?
- RQ3What is the relative contribution of contrastive and self-supervised losses in improving domain alignment?
- RQ4Does normalizing the linear classifier weights improve performance in SSDA with limited labeled data?
- RQ5How do the proposed components interact to achieve state-of-the-art results on standard SSDA benchmarks?
Key findings
- The use of strong augmentation policies, particularly RandAugment, significantly improves performance, increasing validation accuracy by 3.3% on Office-31 (W→A) and 1.3% on DomainNet (R→C) compared to baseline weak augmentations.
- Removing the contrastive loss (w/o ℒcont) reduces accuracy to 66.7% on Office-31 (W→A), demonstrating its critical role in learning robust representations.
- Eliminating the self-supervised loss (w/o ℒself) leads to a 2.2% drop in accuracy on Office-31 (W→A), confirming its importance in leveraging unlabeled target data.
- Normalizing the linear classifier weights (w cosine) improves performance to 72.0% on Office-31 (W→A), showing that cosine similarity with prototypes enhances generalization.
- Con2DA achieves state-of-the-art performance on Office-31, Office-Home, and DomainNet, improving average accuracy by up to 1.4% compared to prior methods.
- The ablation study confirms that the combination of consistency, contrastive, and self-supervised losses is essential for optimal performance in SSDA.
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.