Papers › Uncertainty-guided Source-free Domain Adaptation

Uncertainty-guided Source-free Domain Adaptation

16 Aug 2022arXiv:2208.07591archive 2025-07-28

Subhankar Roy, Martin Trapp, Andrea Pilzer, Juho Kannala, Nicu Sebe, Elisa Ricci, Arno Solin

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. 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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2208.07591")

Code

Syntology Ran 1 of 11 code samples harvested from 1 repository linked to this paper; 10 have no recorded run. Of those that ran: 1 ran · our draft was wrong.

By repository: official repository: 11 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

roysubhankar/uncertainty-sfda officialmentioned in paperpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 1 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
10unverified

Licence: 0 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from roysubhankar/uncertainty-sfda. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

grl_hook roysubhankar/uncertainty-sfda/cifar/loss.py official repository ran · our draft was wrong MIT (permissive) · 9768efb52f591b55 · report
CDAN roysubhankar/uncertainty-sfda/cifar/loss.py official repository unverified MIT (permissive) · 385d1e010dfb76a9 · report
Entropy roysubhankar/uncertainty-sfda/cifar/loss.py official repository unverified MIT (permissive) · f3ce545fc143fc83 · report
Entropy roysubhankar/uncertainty-sfda/toy_classification/multiclass_shot.py official repository unverified MIT (permissive) · 618b4bb0ee3cb5eb · report
calc_acc roysubhankar/uncertainty-sfda/cifar/main_cda.py official repository unverified MIT (permissive) · 8eed95a2fb35fc66 · report
denorm roysubhankar/uncertainty-sfda/cifar/data_list.py official repository unverified MIT (permissive) · 6e16337c88174e00 · report
estimate_variance roysubhankar/uncertainty-sfda/cifar/laplace.py official repository unverified MIT (permissive) · 42c61c7f8959ae74 · report
prepare_transform roysubhankar/uncertainty-sfda/cifar/data_list.py official repository unverified MIT (permissive) · 914593a4ff59e6f3 · report
shift_data roysubhankar/uncertainty-sfda/toy_classification/multiclass_shot.py official repository unverified MIT (permissive) · 3d1f1abcfc6f520c · report
source_train roysubhankar/uncertainty-sfda/toy_classification/multiclass_shot.py official repository unverified MIT (permissive) · c5ed9b407bcf6e76 · report
trainval_loader roysubhankar/uncertainty-sfda/cifar/data_list.py official repository unverified MIT (permissive) · d09792f112e6ca1e · report

Tasks

Domain AdaptationSource-Free Domain Adaptation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections