Uncertainty-guided Source-free Domain Adaptation

Subhankar Roy, Martin Trapp, Andrea Pilzer, Juho Kannala, Nicu Sebe +2 more
8/16/2022
cs.CVcs.LG

Official code: roysubhankar/uncertainty-sfda (35 stars, Python, MIT, last commit 2022-07-23).

Abstract

Source-free domain adaptation (SFDA) aims to adapt a classifier to an unlabelled target data set by only using a pre-trained source model. However, the absence of the source data and the domain shift makes the predictions on the target data unreliable.

Show full abstract

We propose quantifying the uncertainty in the source model predictions and utilizing it to guide the target adaptation. For this, we construct a probabilistic source model by incorporating priors on the network parameters inducing a distribution over the model predictions. Uncertainties are estimated by employing a Laplace approximation and incorporated to identify target data points that do not lie in the source manifold and to down-weight them when maximizing the mutual information on the target data. Unlike recent works, our probabilistic treatment is computationally lightweight, decouples source training and target adaptation, and requires no specialized source training or changes of the model architecture. We show the advantages of uncertainty-guided SFDA over traditional SFDA in the closed-set and open-set settings and provide empirical evidence that our approach is more robust to strong domain shifts even without tuning.

View on arXivView PDF

Code Implementations(1)

MIT

PyTorch code for Uncertainty-guided Source-free Domain Adaptation

353PythonJul 17, 20224 years agoMIT

Similar Papers

Cite this paper

@article{roy2022uncertaintyguided,
  title  = {Uncertainty-guided Source-free Domain Adaptation},
  author = {Subhankar Roy and Martin Trapp and Andrea Pilzer and Juho Kannala and Nicu Sebe and Elisa Ricci and Arno Solin},
  year   = {2022},
  eprint = {2208.07591},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.07591}
}

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

Discussion