On Calibrating Semantic Segmentation Models: Analyses and An Algorithm

Dongdong Wang, Boqing Gong, Liqiang Wang
12/22/2022
cs.CVcs.AIcs.LG

Official code: dwang181/selectivecal (15 stars, Python, last commit 2023-06-22).

Abstract

We study the problem of semantic segmentation calibration. Lots of solutions have been proposed to approach model miscalibration of confidence in image classification.

Show full abstract

However, to date, confidence calibration research on semantic segmentation is still limited. We provide a systematic study on the calibration of semantic segmentation models and propose a simple yet effective approach. First, we find that model capacity, crop size, multi-scale testing, and prediction correctness have impact on calibration. Among them, prediction correctness, especially misprediction, is more important to miscalibration due to over-confidence. Next, we propose a simple, unifying, and effective approach, namely selective scaling, by separating correct/incorrect prediction for scaling and more focusing on misprediction logit smoothing. Then, we study popular existing calibration methods and compare them with selective scaling on semantic segmentation calibration. We conduct extensive experiments with a variety of benchmarks on both in-domain and domain-shift calibration and show that selective scaling consistently outperforms other methods.

View on arXivView PDF

Code Implementations(1)

Source code for selective scaling in the paper of << On Calibrating Semantic Segmentation Models - Analyses and An Algorithm>> (CVPR 2023)

153PythonJan 13, 20233 years ago

Similar Papers

Cite this paper

@article{wang2022calibrating,
  title  = {On Calibrating Semantic Segmentation Models: Analyses and An Algorithm},
  author = {Dongdong Wang and Boqing Gong and Liqiang Wang},
  year   = {2022},
  eprint = {2212.12053},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.12053}
}

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

Discussion