Source-Free Domain Adaptation Guided by Vision and Vision-Language Pre-Training
Wenyu Zhang, Li Shen, Chuan-Sheng Foo
TL;DR
This work tackles the problem of source-free domain adaptation by revealing that target pseudolabels from a solely source-trained model can be biased under domain shift. It proposes a flexible two-branch framework, Co-learn, that retains a pre-trained network alongside the adaptation model to distill target information during target adaptation, and extends it with Co-learn++ that incorporates CLIP's zero-shot decisions. Through extensive experiments on Office-31, Office-Home, VisDA-C, and DomainNet, the approach improves target performance and robustly handles open-set and partial-set SFDA variants, often outperforming existing SFDA methods. The findings highlight the practical value of leveraging modern pre-trained vision and vision-language models to enhance SFDA without additional data or training on the source domain.
Abstract
Source-free domain adaptation (SFDA) aims to adapt a source model trained on a fully-labeled source domain to a related but unlabeled target domain. While the source model is a key avenue for acquiring target pseudolabels, the generated pseudolabels may exhibit source bias. In the conventional SFDA pipeline, a large data (e.g. ImageNet) pre-trained feature extractor is used to initialize the source model at the start of source training, and subsequently discarded. Despite having diverse features important for generalization, the pre-trained feature extractor can overfit to the source data distribution during source training and forget relevant target domain knowledge. Rather than discarding this valuable knowledge, we introduce an integrated framework to incorporate pre-trained networks into the target adaptation process. The proposed framework is flexible and allows us to plug modern pre-trained networks into the adaptation process to leverage their stronger representation learning capabilities. For adaptation, we propose the Co-learn algorithm to improve target pseudolabel quality collaboratively through the source model and a pre-trained feature extractor. Building on the recent success of the vision-language model CLIP in zero-shot image recognition, we present an extension Co-learn++ to further incorporate CLIP's zero-shot classification decisions. We evaluate on 4 benchmark datasets and include more challenging scenarios such as open-set, partial-set and open-partial SFDA. Experimental results demonstrate that our proposed strategy improves adaptation performance and can be successfully integrated with existing SFDA methods. Project code is available at https://github.com/zwenyu/colearn-plus.
