EUDA: An Efficient Unsupervised Domain Adaptation via Self-Supervised Vision Transformer

Ali Abedi, Q. M. Jonathan Wu, Ning Zhang, Farhad Pourpanah
7/31/2024
cs.CVcs.AIcs.LG

Official code: A-Abedi/EUDA (5 stars, last commit 2025-07-15).

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.

View on arXivView PDF

Code Implementations(1)

A-Abedi/EUDAOfficial100%

Source code of the EUDA: An Efficient Unsupervised Domain Adaptation via Self-Supervised Vision Transformer

50PythonAug 8, 20241 years ago
computer-visiondeep-learningdomain-adaptationvision-transformer

Similar Papers

Cite this paper

@article{abedi2024euda,
  title  = {EUDA: An Efficient Unsupervised Domain Adaptation via Self-Supervised Vision Transformer},
  author = {Ali Abedi and Q. M. Jonathan Wu and Ning Zhang and Farhad Pourpanah},
  year   = {2024},
  eprint = {2407.21311},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.21311v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.21311.svg)](https://codeofpaper.com/paper/2407.21311)

Discussion