arXiv:2609.07922cs.LGSep 2026

Manuscript Offprint

arXiv:2609.07922

Prevalence calibration as shortcut mitigation

Mohamed Amine Kina, Eike Petersen

Mohamed Amine Kina¹ and Eike Petersen²

¹ Universität Bremen, Bremen, Germany

² Fraunhofer Institute for Digital Medicine MEVIS, Bremen, Germany

Abstract. Shortcut learning denotes the widespread situation in which a classifier exploits spurious correlations rather than diagnostic features. Existing mitigation strategies mostly aim to learn shortcut-invariant representations; their empirical success is limited and they cannot be applied to classifiers using frozen foundation model encoders. We propose to re-frame shortcut learning as fundamentally a calibration problem: unconstrained learning implicitly calibrates each shortcut group to its training set disease prevalence, rendering the resulting classifier necessarily over-confident in one group and under-confident in the other. Building on this insight, we prevalence-equalize calibration between shortcut groups through two encoder-agnostic methods, an in-processing regularizer and a post-hoc prevalence-equalized recalibration step. Across chest-drain-pneumothorax benchmarks on CheXpert and SIIM-ACR, spanning fine-tuned CNNs and frozen foundation-model backbones, both methods substantially outperform all baselines. Post-hoc recalibration of a standard ERM-trained DenseNet raises misaligned-group AUROC from 0.23 to 0.73, indicating that shortcut reliance degrades the classification head rather than the underlying representation. Besides two new state-of-the-art shortcut mitigation approaches, our findings more fundamentally connect shortcut learning to calibration theory and algorithmic fairness.

Keywords: Shortcut learning · Calibration · Algorithmic fairness

1 Introduction

Shortcut learning represents an essential open problem in medical image classification [3,7]. Deep learning models can identify a vast spectrum of non-disease features from medical images and exploit spurious correlations between these features and a given target label [7,3,8]. As one often-cited example, models trained to detect pneumothorax in chest x-rays have been shown to rely on the presence of chest drains, a treatment artifact correlated with the disease label rather than a diagnostic feature [21,22,13,25]. Similar shortcut learning has been documented for hospital-specific markers, patient positioning, and other acquisition-related artifacts, enabling models to achieve high apparent performance while primarily relying on features with no pathophysiological relevance [3,7]. Modern pretrained image encoders (foundation models, FMs), while reducing sample size requirements and boosting overall model performance, do not solve the shortcut learning problem: if a non-disease feature can be identified from an image and

M. A. Kina and E. Petersen

is correlated with the target label, there is no reason for an FM classification head not to rely on these features for improving (apparent) disease classification performance; see fig. 1 for an example from our own study.

Approaches for shortcut learning mitigation have primarily focused on the representation learning stage, aiming for representations that are invariant with respect to the shortcut feature [19,31,20,29,2,6]. However, such approaches have fundamental drawbacks. Due to their reliance on representation-level mitigation, they are incompatible with the increasingly common setting in which classification heads are trained on top of frozen image encoders. Moreover, they enforce invariances by entirely discarding shortcut-correlated information from the representation, which can degrade downstream target-task performance [23] and explains limited successes [32,33].

Figure

Fig. 1. Reliability diagram showing model calibration differences between chest drain subgroups for a MedImageInsight-based pneumothorax classifier on a balanced test set. The model exhibits significant miscalibration due to shortcut reliance, presenting as under-confident for the no drain group and over-confident for the drain group.

Interestingly, as illustrated in fig. 1, shortcut learning can also be understood as a calibration problem: the model has learned to be overconfident in one group and underconfident in the other. Given that calibration is prevalence-dependent [26] and models tend to optimize for calibration by groups by default [18], this is unsurprising. Shortcut learning occurs when shortcut features and target labels are strongly correlated, implying large differences in disease prevalence. A well-calibrated model must reflect these differing prevalences by learning distinct disease priors for each group. Based on this insight, we propose a reframing of shortcut learning mitigation as prevalence-equalized calibration by (shortcut) groups. Our contributions include:

  1. a general reframing of shortcut learning as a calibration challenge rather than a problem to be addressed at the level of representation learning,

  2. simple in-processing and post-processing approaches for shortcut learning mitigation based on this insight, which do not require access to or modification of the underlying (pretrained) encoder,

  3. a rigorous hyperparameter optimization scheme specifically tailored for shortcut learning mitigation approaches, addressing the fact that such methods are known to be highly sensitive to regularization strength and enabling optimal tuning of regularization constants and a fair comparison between different mitigation approaches, and

  4. two extensive sets of experiments in chest drain shortcut learning in the well-researched chest x-ray pneumothorax classification setting, showing our proposed mitigation approaches to outperform all baselines by large margins.

References (33)