Making the Best of Both Worlds: A Domain-Oriented Transformer for Unsupervised Domain Adaptation

Wenxuan Ma, Jinming Zhang, Shuang Li, Chi Harold Liu, Yulin Wang +1 more
8/2/2022
cs.CV
transformer-attention

Official code: BIT-DA/Domain-Oriented-Transformer (7 stars, Python, MIT, last commit 2022-11-24).

Abstract

Extensive studies on Unsupervised Domain Adaptation (UDA) have propelled the deployment of deep learning from limited experimental datasets into real-world unconstrained domains. Most UDA approaches align features within a common embedding space and apply a shared classifier for target prediction.

Show full abstract

However, since a perfectly aligned feature space may not exist when the domain discrepancy is large, these methods suffer from two limitations. First, the coercive domain alignment deteriorates target domain discriminability due to lacking target label supervision. Second, the source-supervised classifier is inevitably biased to source data, thus it may underperform in target domain. To alleviate these issues, we propose to simultaneously conduct feature alignment in two individual spaces focusing on different domains, and create for each space a domain-oriented classifier tailored specifically for that domain. Specifically, we design a Domain-Oriented Transformer (DOT) that has two individual classification tokens to learn different domain-oriented representations, and two classifiers to preserve domain-wise discriminability. Theoretical guaranteed contrastive-based alignment and the source-guided pseudo-label refinement strategy are utilized to explore both domain-invariant and specific information. Comprehensive experiments validate that our method achieves state-of-the-art on several benchmarks.

View on arXivView PDF

Code Implementations(1)

MIT
71PythonJul 12, 20224 years agoMIT

Similar Papers

Cite this paper

@article{ma2022making,
  title  = {Making the Best of Both Worlds: A Domain-Oriented Transformer for Unsupervised Domain Adaptation},
  author = {Wenxuan Ma and Jinming Zhang and Shuang Li and Chi Harold Liu and Yulin Wang and Wei Li},
  year   = {2022},
  eprint = {2208.01195},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.01195}
}

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/2208.01195.svg)](https://codeofpaper.com/paper/2208.01195)

Discussion