Introduction
Deep learning models are notoriously brittle, performing well on their training (source) domain but often failing when deployed on a different (target) domain. Unsupervised Domain Adaptation (UDA) addresses this by leveraging labeled source data and unlabeled target data to bridge the domain gap. While adversarial training is a common approach, it is often unstable. Self-Supervised Learning (SSL) offers an alternative, but models might learn "shortcuts" irrelevant to the primary task. This paper introduces a robust framework that combines SSL pretext tasks with consistency training to learn domain-invariant features more effectively.
Methodology
The proposed framework integrates four distinct components into a multi-task learning objective:
- Main Classification Task ($L_m$): Standard supervised learning using labeled source domain data.
- Self-Supervised Pretext Task ($L_p$): The model predicts the rotation angle (0°, 90°, 180°, or 270°) of unlabeled target images, encouraging the encoder to learn structural features.
- Consistency Training ($L_c$): The core innovation where the model's classification prediction for an original image must be consistent with its prediction for the rotated version of that same image, minimized via Kullback-Leibler (KL) divergence.
- Entropy Minimization: Ensures confident predictions on unlabeled target data by pushing decision boundaries away from high-density regions.
By utilizing the rotation operation for both the pretext task and the consistency constraint, the model is forced to focus on features that are robust across transformations and relevant to the actual object being classified.
Evaluation and Benchmarks
The method was evaluated on four standard UDA benchmarks:
- PACS: 7 categories across Photo, Art Paintings, Cartoon, and Sketches domains.
- Office-31: Images from Amazon, Webcam, and DSLR.
- ImageCLEF: 12 classes across Caltech, ImageNet, and Pascal VOC.
- Office-Home: 65 categories across Art, Clipart, Product, and Real-World domains.
Key Insights
- Mitigating Shortcuts: Consistency training ensures that the features used for the SSL task (rotation) are also relevant for the main classification task, preventing the model from relying on irrelevant "shortcuts."
- Stability: Unlike adversarial methods (e.g., DANN, CDAN) which involve volatile min-max games, this approach uses a straightforward minimization objective, leading to smoother and faster convergence.
- Theoretical Foundation: Minimizing consistency loss is shown to be equivalent to maximizing mutual information between transformed data and main task labels.
Results
The proposed method achieved state-of-the-art (SOTA) or near-SOTA results across all benchmarks. On PACS, it reached an average accuracy of 87.7%, outperforming both adversarial (CDAN+E: 87.5%) and standard SSL methods (Rot: 87.0%). On Office-Home, it achieved 66.7% average accuracy.
Notably, the method exhibits superior convergence properties. On the DSLR to Amazon ($D \to A$) task, it reached high accuracy within 50 epochs, while adversarial methods like DANN remained lower and more erratic even after 200 epochs.
Limitations and Future Work
While effective, the model shows some sensitivity to the Entropy Minimization loss weight ($\lambda_e$). Future work could explore different pretext tasks beyond image rotation, especially for domains where orientation is fixed (e.g., medical imaging), and extend the framework to object detection or segmentation tasks.
Summary updated