cs.CVApr 14, 2026

Right Regions, Wrong Labels: Semantic Label Flips in Segmentation under Correlation Shift

Authors: Akshit Achara, Yovin Yahathugoda, Nick Byrne, Michela Antonelli, Esther Puyol Anton, Alexander Hammers, Andrew P. King

Organizations: School of Biomedical Engineering & Imaging Sciences, King’s College London, UK

Abstract

The robustness of machine learning models can be compromised by spurious correlations between non-causal features in the input data and target labels. A common way to test for such correlations is to train on data where the label is strongly tied to some non-causal cue, then evaluate on examples where that tie no longer holds. This idea is well established for classification tasks, but for semantic segmentation the specific failure modes are not well understood. We show that a model may achieve reasonable overlap while assigning the wrong semantic label, swapping one plausible foreground class for another, even when object boundaries are largely correct. We focus on this semantic label-flip behaviour and quantify it with a simple diagnostic (Flip) that counts how often ground truth foreground pixels are assigned the wrong foreground identity while remaining predicted as foreground. In a setting where category and scene are correlated during training, increasing the correlation consistently widens the gap between common and rare test conditions and increases these within-object label swaps on counterfactual groups. Overall, our results motivate assessing segmentation robustness under distribution shift beyond overlap by decomposing foreground errors into correct pixels, flipped-identity pixels, and missed-to-background pixels. We also propose an entropy-based, ground truth label-free `flip-risk' score, which is computed from foreground identity uncertainty, and show that it can flag flip-prone cases at inference time. Code is available at https://github.com/acharaakshit/label-flips.

Figures & tables

Appendix figures & tables11 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Towards Fairness under Label Bias in Image Segmentation: Impact, Measurement and Mitigation

    May 7, 2026Aditya Parikh, Stella Frank, Sneha Das +1Image SegmentationAlgorithmic Fairness

  2. CorrCLIPv2: Harnessing Unlabeled Images for Open-Vocabulary Semantic Segmentation

    Oct 17, 2026Dengke Zhang, Fagui Liu, Quan Tang +1Open-Vocabulary Semantic SegmentationSemantic Segmentation

  3. Segment Anything with Robust Uncertainty-Accuracy Correlation

    May 11, 2026Hongyou Zhou, Marc Toussaint, Ling Shao +1Image SegmentationPromptable Image Segmentation