Rethinking Post-Hoc Calibration in Semantic Segmentation

Tristan Kirscher, Kim-Celine Kahl, Balint Kovacs, Maximilian R. Rokuss, Klaus Maier-Hein +3 more
7/2/2026
cs.CVcs.LG

No confident code implementation found for this paper.

Abstract

Reliable confidence estimates are essential in semantic segmentation, yet modern models often remain miscalibrated. We investigate two overlooked issues in post-hoc calibration.

Show full abstract

First, adding a constant to all logits leaves softmax probabilities unchanged, but several standard calibrators depend on this arbitrary offset. In segmentation, this offset can vary across pixels or voxels, introducing spatially varying representation dependence. We characterize translation-invariant (TI) calibrators and construct TI counterparts of shift-sensitive methods. Second, calibrating with cross-entropy can degrade segmentation quality due to mismatched training and calibration objectives and limited calibration data. We investigate decision-preserving calibration under argmax- and order-preservation constraints. Since these constraints restrict affine softmax calibrators to temperature scaling, we introduce more expressive class-conditional affine calibrators that preserve decisions. Across natural-image and medical segmentation benchmarks, including corruption-based covariate shift, TI variants generally improve calibration, while decision-preserving variants prevent segmentation degradation by construction and retain strong calibration performance. Our findings provide practical design principles for post-hoc calibration in semantic segmentation.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kirscher2026rethinking,
  title  = {Rethinking Post-Hoc Calibration in Semantic Segmentation},
  author = {Tristan Kirscher and Kim-Celine Kahl and Balint Kovacs and Maximilian R. Rokuss and Klaus Maier-Hein and Xavier Coubez and Philippe Meyer and Sylvain Faisan},
  year   = {2026},
  eprint = {2607.01902},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.01902v2}
}

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

Discussion