Skip to main content
QUICK REVIEW

[Paper Review] Source Free Domain Adaptation with Image Translation

Yunzhong Hou, Liang Zheng|arXiv (Cornell University)|Aug 17, 2020
Domain Adaptation and Few-Shot LearningComputer Science46 references29 citations
TL;DR

This paper proposes a source-free domain adaptation method that translates target domain images into the style of the unseen source domain using batch normalization statistics from a pre-trained classifier. By aligning the batch-wise feature statistics of generated images to those in the source model's BN layers, the approach improves classification accuracy on unlabeled target data without accessing source images or labels, achieving consistent and statistically significant gains across multiple datasets.

ABSTRACT

Effort in releasing large-scale datasets may be compromised by privacy and intellectual property considerations. A feasible alternative is to release pre-trained models instead. While these models are strong on their original task (source domain), their performance might degrade significantly when deployed directly in a new environment (target domain), which might not contain labels for training under realistic settings. Domain adaptation (DA) is a known solution to the domain gap problem, but usually requires labeled source data. In this paper, we study the problem of source free domain adaptation (SFDA), whose distinctive feature is that the source domain only provides a pre-trained model, but no source data. Being source free adds significant challenges to DA, especially when considering that the target dataset is unlabeled. To solve the SFDA problem, we propose an image translation approach that transfers the style of target images to that of unseen source images. To this end, we align the batch-wise feature statistics of generated images to that stored in batch normalization layers of the pre-trained model. Compared with directly classifying target images, higher accuracy is obtained with these style transferred images using the pre-trained model. On several image classification datasets, we show that the above-mentioned improvements are consistent and statistically significant.

Motivation & Objective

  • Address the challenge of domain shift in real-world deployment when labeled source data is unavailable due to privacy or IP concerns.
  • Enable effective adaptation of pre-trained models to unlabeled target domains without access to source images or labels.
  • Develop a method that leverages only the pre-trained source classifier to transfer domain style to target images for improved generalization.
  • Overcome limitations of existing SFDA methods that rely on pseudo-labeling or modifying BN statistics in the classifier.

Proposed method

  • Use a generative image translation network to transform target domain images into the style of the unseen source domain.
  • Match the batch-wise feature statistics of generated images to the running statistics stored in the Batch Normalization (BN) layers of the pre-trained source classifier.
  • Train the generator using three loss components: content loss to preserve identity, style loss to match BN statistics, and entropy loss to encourage high-confidence predictions.
  • Feed the style-transferred images into the pre-trained source classifier at test time to improve recognition accuracy.
  • Ensure content consistency by enforcing reconstruction of input target images during training.
  • Avoid modifying the source classifier, preserving its original knowledge while adapting inference via pre-processing.

Experimental results

Research questions

  • RQ1Can we effectively adapt a pre-trained model to an unlabeled target domain without access to source data?
  • RQ2Can batch normalization statistics from a pre-trained model serve as a proxy for source domain style in the absence of source images?
  • RQ3Does image translation to source style improve classification accuracy on target domains compared to direct inference?
  • RQ4How do different components of the loss function contribute to the performance of the proposed method?
  • RQ5Can the proposed method be combined with pseudo-labeling to further improve performance?

Key findings

  • The proposed method achieves consistent and statistically significant improvements over direct inference on target images across multiple datasets, including SVHN→MNIST and VisDA-2017.
  • Ablation studies show that removing the style loss leads to a -0.4% performance drop, and removing the entropy loss leads to a -0.3% drop, both statistically significant (p<0.05).
  • The method outperforms baseline SFDA approaches such as pseudo-label fine-tuning and AdaBN, especially when combined with fine-tuning.
  • When combined with pseudo-labeling, the method achieves performance comparable to feature-level domain adaptation methods like MMD and DANN, which require labeled source data.
  • The method is robust and does not require modifying the pre-trained classifier, making it suitable for deployment with released models.
  • Content consistency loss is critical—without it, the method becomes meaningless as the generated images lose identity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.