[Paper Review] Safe Self-Refinement for Transformer-based Domain Adaptation
This paper proposes SSRT, a novel unsupervised domain adaptation method that combines a vision transformer backbone with a safe self-refinement strategy using perturbed target data to improve generalization. By applying KL divergence-based regularization on predictions from perturbed latent tokens and employing an adaptive safe training mechanism, SSRT achieves state-of-the-art performance, including 85.43% on Office-Home, 88.76% on VisDA-2017, and 45.2% on DomainNet.
Unsupervised Domain Adaptation (UDA) aims to leverage a label-rich source domain to solve tasks on a related unlabeled target domain. It is a challenging problem especially when a large domain gap lies between the source and target domains. In this paper we propose a novel solution named SSRT (Safe Self-Refinement for Transformer-based domain adaptation), which brings improvement from two aspects. First, encouraged by the success of vision transformers in various vision tasks, we arm SSRT with a transformer backbone. We find that the combination of vision transformer with simple adversarial adaptation surpasses best reported Convolutional Neural Network (CNN)-based results on the challenging DomainNet benchmark, showing its strong transferable feature representation. Second, to reduce the risk of model collapse and improve the effectiveness of knowledge transfer between domains with large gaps, we propose a Safe Self-Refinement strategy. Specifically, SSRT utilizes predictions of perturbed target domain data to refine the model. Since the model capacity of vision transformer is large and predictions in such challenging tasks can be noisy, a safe training mechanism is designed to adaptively adjust learning configuration. Extensive evaluations are conducted on several widely tested UDA benchmarks and SSRT achieves consistently the best performances, including 85.43% on Office-Home, 88.76% on VisDA-2017 and 45.2% on DomainNet.
Motivation & Objective
- Address the challenge of large domain gaps in unsupervised domain adaptation (UDA) where source and target domains differ significantly.
- Leverage the strong feature representation of vision transformers (ViT) to improve transferability in UDA beyond traditional CNN backbones.
- Develop a robust training mechanism to prevent model collapse during adaptation, especially when predictions on target data are noisy due to large domain shifts.
- Improve knowledge transfer from source to target domains by refining the model using predictions from perturbed target samples in a controlled, adaptive manner.
Proposed method
- Employs a vision transformer (ViT-B/16) as the backbone to extract powerful, transferable features from both source and target domains.
- Applies random offset perturbations to the latent token sequences of target domain data during training to generate adversarial views.
- Uses Kullback-Leibler (KL) divergence to minimize prediction discrepancies between original and perturbed target samples, enforcing robustness and consistency.
- Implements multi-layer perturbation and bi-directional supervision across transformer blocks to enhance feature refinement.
- Introduces a safe training mechanism that monitors prediction diversity on target data to detect model collapse and triggers model rollback with configuration reset.
- Adaptively adjusts hyperparameters during training using a dynamic diversity measure, avoiding manual tuning and improving reliability on challenging tasks.
Experimental results
Research questions
- RQ1Can vision transformers outperform convolutional networks in unsupervised domain adaptation under large domain shifts?
- RQ2How can model collapse be prevented during self-training when using high-capacity models like vision transformers on noisy target predictions?
- RQ3Does perturbation-based self-refinement with KL regularization improve generalization and robustness in UDA?
- RQ4Can an adaptive, dynamic training strategy improve performance across diverse UDA benchmarks without manual hyperparameter tuning?
- RQ5How does the proposed safe self-refinement strategy compare to existing SSL-based methods like Mixup and VAT in domain adaptation settings?
Key findings
- SSRT achieves 85.43% top-1 accuracy on the Office-Home benchmark, surpassing previous SOTA results using ResNet backbones.
- On VisDA-2017, SSRT reaches 88.76% accuracy, demonstrating strong generalization on a challenging, large-scale domain shift benchmark.
- On DomainNet, SSRT achieves 45.2% average accuracy, a significant improvement over the prior SOTA of 33.3% using ResNet-101.
- Ablation studies show that the safe training mechanism prevents performance degradation on difficult adaptation tasks, such as the Pr→Cl and Cl→Pr splits.
- Even with fewer parameters (22M), the ViT-small variant (SSRT-S) outperforms MDD+SCDA with ResNet-101 (45M params) by 5.1% on DomainNet.
- Empirical analysis confirms that SSRT is more robust to perturbations during inference, maintaining higher accuracy even under large perturbation magnitudes (α=0.4).
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.