Combining inherent knowledge of vision-language models with unsupervised domain adaptation through strong-weak guidance
Thomas Westfechtel, Dexuan Zhang, Tatsuya Harada
TL;DR
This work tackles unsupervised domain adaptation by leveraging the inherent knowledge of vision-language models, notably CLIP, and fusing it with source-domain knowledge through a strong–weak guidance framework. It introduces strong guidance via source-domain expansion with the most confident target samples and weak guidance via a knowledge-distillation loss using shifted zero-shot predictions, optimizing a joint objective $L = L_{CE} + L_{KD} + L_{AD}$. The method uses CDAN as the base domain-adaptation loss, enhances performance with batch-norm adaptations, refined zero-shot processing, and optional integration with DAPL for prompt-learning-based adaptation. Empirical results on Office-Home, VisDA, and DomainNet show consistent improvements over state-of-the-art baselines, with ablations highlighting the contributions of each component and demonstrating compatibility with existing prompt-learning approaches.
Abstract
Unsupervised domain adaptation (UDA) tries to overcome the tedious work of labeling data by leveraging a labeled source dataset and transferring its knowledge to a similar but different target dataset. Meanwhile, current vision-language models exhibit remarkable zero-shot prediction capabilities. In this work, we combine knowledge gained through UDA with the inherent knowledge of vision-language models. We introduce a strong-weak guidance learning scheme that employs zero-shot predictions to help align the source and target dataset. For the strong guidance, we expand the source dataset with the most confident samples of the target dataset. Additionally, we employ a knowledge distillation loss as weak guidance. The strong guidance uses hard labels but is only applied to the most confident predictions from the target dataset. Conversely, the weak guidance is employed to the whole dataset but uses soft labels. The weak guidance is implemented as a knowledge distillation loss with (shifted) zero-shot predictions. We show that our method complements and benefits from prompt adaptation techniques for vision-language models. We conduct experiments and ablation studies on three benchmarks (OfficeHome, VisDA, and DomainNet), outperforming state-of-the-art methods. Our ablation studies further demonstrate the contributions of different components of our algorithm.
