EUDA: An Efficient Unsupervised Domain Adaptation via Self-Supervised Vision Transformer
Preprint
Abstract
Unsupervised domain adaptation (UDA) aims to mitigate the domain shift issue, where the distribution of training (source) data differs from that of testing (target) data. Many models have been developed to tackle this problem, and recently vision transformers (ViTs) have shown promising results. However, the complexity and large number of trainable parameters of ViTs restrict their deployment in practical applications. This underscores the need for an efficient model that not only reduces trainable parameters but also allows for adjustable complexity based on specific needs while delivering comparable performance. To achieve this, in this paper we introduce an Efficient Unsupervised Domain Adaptation (EUDA) framework. EUDA employs the DINOv2, which is a self-supervised ViT, as a feature extractor followed by a simplified bottleneck of fully connected layers to refine features for enhanced domain adaptation. Additionally, EUDA employs the synergistic domain alignment loss (SDAL), which integrates cross-entropy (CE) and maximum mean discrepancy (MMD) losses, to balance adaptation by minimizing classification errors in the source domain while aligning the source and target domain distributions. The experimental results indicate the effectiveness of EUDA in producing comparable results as compared with other state-of-the-art methods in domain adaptation with significantly fewer trainable parameters, between 42% to 99.7% fewer. This showcases the ability to train the model in a resource-limited environment. The code of the model is available at: https://github.com/A-Abedi/EUDA.Keywords
All Related Versions
This publication has 22 references indexed in Scilit:
- Domain Adaptation: A Survey2023
- Jigsaw-ViT: Learning jigsaw puzzles in vision transformerPattern Recognition Letters, 2022
- Advances in Domain Adaption Theory2019
- Deep visual domain adaptation: A surveyNeurocomputing, 2018
- Partial Transfer Learning with Selective Adversarial Networks2018
- Mind the Class Weight Bias: Weighted Maximum Mean Discrepancy for Unsupervised Domain Adaptation2017
- Adversarial Discriminative Domain Adaptation2017
- Deep CORAL: Correlation Alignment for Deep Domain Adaptation2016
- Colorful Image Colorization2016
- Adapting Visual Category Models to New Domains2010