Papers › Cal-SFDA: Source-Free Domain-adaptive Semantic Segmentation with Differentiable...

Cal-SFDA: Source-Free Domain-adaptive Semantic Segmentation with Differentiable Expected Calibration Error

6 Aug 2023arXiv:2308.03003archive 2025-07-28

Zixin Wang, Yadan Luo, Zhi Chen, Sen Wang, Zi Huang

The prevalence of domain adaptive semantic segmentation has prompted concerns regarding source domain data leakage, where private information from the source domain could inadvertently be exposed in the target domain. To circumvent the requirement for source data, source-free domain adaptation has emerged as a viable solution that leverages self-training methods to pseudo-label high-confidence regions and adapt the model to the target data. However, the confidence scores obtained are often highly biased due to over-confidence and class-imbalance issues, which render both model selection and optimization problematic. In this paper, we propose a novel calibration-guided source-free domain adaptive semantic segmentation (Cal-SFDA) framework. The core idea is to estimate the expected calibration error (ECE) from the segmentation predictions, serving as a strong indicator of the model's generalization capability to the unlabeled target domain. The estimated ECE scores, in turn, assist the model training and fair selection in both source training and target adaptation stages. During model pre-training on the source domain, we ensure the differentiability of the ECE objective by leveraging the LogSumExp trick and using ECE scores to select the best source checkpoints for adaptation. To enable ECE estimation on the target domain without requiring labels, we train a value net for ECE estimation and apply statistic warm-up on its BatchNorm layers for stability. The estimated ECE scores assist in determining the reliability of prediction and enable class-balanced pseudo-labeling by positively guiding the adaptation progress and inhibiting potential error accumulation. Extensive experiments on two widely-used synthetic-to-real transfer tasks show that the proposed approach surpasses previous state-of-the-art by up to 5.25% of mIoU with fair model selection criteria.

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="2308.03003")

Code

Syntology Ran 11 of 19 code samples harvested from 1 repository linked to this paper; 8 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · our draft was wrong; 9 ran with no contract checked.

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

jo-wang/cal-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

19 samples harvested; 11 ran; 1 honoured the contract we drafted; 8 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 · honoured contract
1ran · our draft was wrong
9ran
8unverified

Licence: 0 of the 19 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 jo-wang/cal-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.

conv3x3 jo-wang/cal-sfda/model/DeeplabV2.py official repository ran · our draft was wrong MIT (permissive) · fac5364e2f53c6db · report
convert_model jo-wang/cal-sfda/model/sync_batchnorm/batchnorm.py official repository ran MIT (permissive) · 660b29e7beb7f344 · report
easy_dic jo-wang/cal-sfda/init_config.py official repository ran MIT (permissive) · adc5e415cd269dea · report
match_decoder jo-wang/cal-sfda/model/model_builder.py official repository ran MIT (permissive) · dbd857469a2a2157 · report
match_encoder jo-wang/cal-sfda/model/model_builder.py official repository ran MIT (permissive) · 553ee7cf40b15657 · report
model_all jo-wang/cal-sfda/rl/model.py official repository ran MIT (permissive) · 820856f2c847b605 · report
model_cla jo-wang/cal-sfda/rl/model.py official repository ran MIT (permissive) · ea9d77c576d902c2 · report
model_fea jo-wang/cal-sfda/rl/model.py official repository ran MIT (permissive) · e65df5dbb694bf60 · report
outS jo-wang/cal-sfda/model/DeeplabV2.py official repository ran · honoured contract fingerprinted MIT (permissive) · 27504cbeb5811ea6 · report
show_config jo-wang/cal-sfda/init_config.py official repository ran MIT (permissive) · da448e86441b1d0f · report
type_align jo-wang/cal-sfda/init_config.py official repository ran fingerprinted MIT (permissive) · 3ecaaabd66c84b40 · report
Res_Deeplab jo-wang/cal-sfda/model/DeeplabV2.py official repository unverified MIT (permissive) · 5820fad2bdccbd42 · report
adjust_brightness jo-wang/cal-sfda/dataset/transforms.py official repository unverified MIT (permissive) · 00ca137305a82c79 · report
adjust_contrast jo-wang/cal-sfda/dataset/transforms.py official repository unverified MIT (permissive) · 6d77c5d0ac004f32 · report
adjust_saturation jo-wang/cal-sfda/dataset/transforms.py official repository unverified MIT (permissive) · d15084eefd04a282 · report
init_model jo-wang/cal-sfda/model/model_builder.py official repository unverified MIT (permissive) · 81030351171d2c98 · report
init_source_dataset jo-wang/cal-sfda/dataset/dataset.py official repository unverified MIT (permissive) · 11ad33d0bb84b1ed · report
init_target_dataset jo-wang/cal-sfda/dataset/dataset.py official repository unverified MIT (permissive) · 6d4f75928375cf4a · report
init_test_dataset jo-wang/cal-sfda/dataset/dataset.py official repository unverified MIT (permissive) · 5579322fe3a7d79a · report

Tasks

Domain AdaptationModel SelectionPseudo LabelSemantic SegmentationSource-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