Controlling False Positives in Image Segmentation via Conformal Prediction

Luca Mossina, Corentin FriedricharXiv 2025 · DOI

Abstract

Deep learning models for medical image segmentation often suffer from over-segmentation, leading to false positives that can prompt unnecessary clinical interventions. This paper introduces a post-hoc framework using Conformal Prediction to generate "confidence masks." By progressively shrinking initial predictions, the method provides a statistical guarantee that the proportion of false-positive pixels remains below a user-defined threshold with high probability.

Introduction

In clinical settings, semantic segmentation models (e.g., for identifying polyps or tumors) must be reliable. While many uncertainty heuristics exist, they typically lack formal statistical guarantees. A model might flag healthy tissue as diseased, causing patient distress and invasive follow-ups. The authors address this by calibrating pre-trained models to ensure image-level error bounds, moving beyond simple pixel-level accuracy.

Methodology

The proposed framework is "black-box," requiring no retraining of the underlying architecture. It operates through a three-step calibration process:

  1. Shrinkage Strategy: To mitigate false positives, the initial predicted mask is reduced. The authors evaluate two methods: Score Thresholding (increasing the sigmoid probability threshold) and Morphological Erosion (using image processing to trim mask boundaries).
  2. Accepted False-Positive Proportion (AFP): This metric quantifies the fraction of false positives remaining in the shrunken mask relative to the original prediction's size.
  3. Conformal Calibration: Using a small calibration dataset, the method identifies a shrinkage parameter ($\lambda$). Applying Inductive Conformal Prediction ensures that for new images, the AFP remains below a tolerance level ($\tau$) with a confidence level of $1-\alpha$ (e.g., 90%).
Visualizing the effect of Conformal Prediction (CP) on segmentation masks. The columns show the true mask, standard error types (TP, FP, FN), the generated confidence mask and uncertainty region, and the final effect of CP shrinkage.

The resulting output includes a confidence mask (the "safe" prediction) and an uncertainty region (pixels originally predicted but flagged as statistically risky).

Experimental Results

The framework was tested on the POLYPS dataset using predictions from the PraNet architecture. The experiments compared conformalized thresholding and erosion against a standard baseline (fixed 0.5 threshold).

Reliability and Validity

The primary metric for success is Empirical Validity (EV)—the frequency with which the safety constraint is actually met on unseen data. As shown in the results table, the baseline fails significantly as the tolerance ($\tau$) decreases. For instance, at $\tau = 0.001$, the baseline's EV drops to 0.005, whereas the Conformalized Thresholding maintains an EV of 0.914, successfully meeting the 90% target confidence level.

Quantitative comparison of Baseline, Thresholding, and Erosion methods across different tolerance levels (τ). EV denotes Empirical Validity, CR is the Compression Ratio, and ATP is the Accepted True-Positive fraction.

Utility Trade-offs

Ensuring safety requires a trade-off in mask size. At $\tau = 0.01$, the Thresholding method retains approximately 53% of the original predicted area (Compression Ratio, CR) while satisfying the false-positive bound. The authors noted that Score Thresholding consistently outperformed Morphological Erosion, as raw probability scores provide more granular uncertainty information than binary masks.

Discussion and Conclusion

This framework provides a robust, model-agnostic way to add safety guarantees to existing medical imaging pipelines. While the guarantees are "marginal" (holding on average across the population), they offer a significant improvement over uncalibrated heuristics. Future work aims to extend this to multi-class segmentation and instance-adaptive masks that adjust shrinkage based on object characteristics. By providing a rigorous way to bound false positives, this method brings deep learning segmentation one step closer to safe clinical deployment.

Summary updated

BibTeX
@misc{mossina2025controlling,
  author = {Luca Mossina and Corentin Friedrich},
  title = {{Controlling False Positives in Image Segmentation via Conformal Prediction}},
  year = {2025},
  eprint = {2511.15406},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.15406},
}
Figure