CONSIGN: Conformal Segmentation Informed by Spatial Groupings via Decomposition

Bruno Viti, Elias Karabelas, Martin Holler

The Challenge of Uncertainty in Image Segmentation

Deep learning models for image segmentation—such as those used to identify tumors in medical scans or objects in autonomous driving—typically output "softmax scores" for every pixel. While these scores are often interpreted as probabilities, they are fundamentally heuristic confidence measures. They do not offer mathematical guarantees of accuracy, which is a critical flaw in high-stakes domains like healthcare.

Conformal Prediction (CP) is a powerful statistical framework designed to convert these heuristic scores into rigorous "prediction sets" that are guaranteed to contain the ground truth with a user-specified probability (e.g., 95%). However, applying CP directly to image segmentation usually happens on a pixel-by-pixel basis. This naive approach ignores a fundamental characteristic of image data: spatial correlation. If a model is uncertain about a pixel on the boundary of a lung, it is highly likely to be uncertain about the neighboring pixels as well.

Ignoring this spatial structure leads to overly conservative results. Traditional pixel-wise CP generates massive prediction sets containing millions of nonsensical, "noisy" label combinations (often resembling salt-and-pepper noise) that no human expert would ever consider plausible.

Introducing CONSIGN

To address this limitation, researchers have proposed CONSIGN (Conformal Segmentation Informed by Spatial Groupings via Decomposition). CONSIGN is a novel framework that brings rigorous statistical guarantees to image segmentation by explicitly accounting for spatial correlations.

The CONSIGN workflow operates in four primary stages:

  1. Sampling: The process begins with a pre-trained segmentation model capable of generating multiple outputs for the same image (e.g., using Monte Carlo Dropout or deep ensembles).
  2. Decomposition: Instead of treating pixels independently, CONSIGN performs a Singular Value Decomposition (SVD) on these generated samples. This step identifies the "principal components" of the model's uncertainty, effectively isolating the specific regions or structural shapes where the model is most confused.
  3. Set Construction: A prediction set is then defined as a linear combination of these principal components. By varying the weights of just a few components (typically $K=2$ or $5$), CONSIGN can represent a wide, yet realistic, range of plausible segmentations.
  4. Calibration: Using the Conformal Risk Control (CRC) framework, CONSIGN finds a global parameter ($\lambda$) on a held-out calibration set. This ensures that for any new image, the resulting set of segmentations meets the user's desired error rate ($\alpha$). An additional parameter ($\beta$) is used to enforce label-wise accuracy, ensuring the model doesn't ignore rare but critical classes (like small lesions) in favor of the background.

Key Insights: Coherence Over Noise

One of the most striking findings of the paper is that tracking every individual pixel's uncertainty is unnecessary. By leveraging SVD, the authors demonstrate that just 2 to 5 "principal directions" are often sufficient to capture the meaningful variations in a segmentation.

Because CONSIGN understands that pixels are grouped into objects, it doesn't waste its "uncertainty budget" on impossible label configurations. Traditional pixel-wise CP produces "salt and pepper" uncertainty—randomly scattered pixels of different labels. In contrast, CONSIGN produces spatially coherent samples. If the model is unsure about a boundary, CONSIGN shows the boundary shifting smoothly, which is significantly more interpretable for a clinician or human reviewer.

Comparison of CONSIGN and Pixel-Wise segmentation outputs

Quantitative Results: Drastically Smaller Uncertainty Volumes

The researchers evaluated CONSIGN across five diverse datasets: three medical imaging datasets (M&Ms-2, MS-CMR19, LIDC) and two general computer vision datasets (COCO-animals, COCO-vehicles). They tested the framework against three different model architectures, including standard U-Nets with dropout and DeepLabV3+ ensembles.

To measure the "size" of the prediction sets, the authors used the Chao estimator, which estimates the number of unique plausible segmentations generated by the uncertainty model.

Chao Estimator across datasets comparing CONSIGN to baselines

As shown in the evaluation, CONSIGN's uncertainty sets were consistently orders of magnitude smaller than the pixel-wise baselines (such as RAPS and SACP). CONSIGN reached the target statistical coverage with significantly fewer samples, proving that incorporating spatial structure yields much tighter, more precise prediction sets while maintaining the exact same statistical guarantees.

Limitations and Future Directions

While CONSIGN represents a major step forward for interpretable uncertainty quantification, it shares a common limitation with all standard Conformal Prediction methods: the exchangeability assumption. CONSIGN assumes that the test data comes from the same distribution as the calibration data. It may not perform reliably under significant distribution shifts (e.g., calibrating on one hospital's MRI machine and testing on another's).

Additionally, determining if a specific candidate segmentation belongs to the CONSIGN prediction set requires solving a small optimization problem. While the authors provide an efficient algorithm, it is inherently more computationally intensive than simple pixel-wise thresholding. Future work will likely focus on extending the method to handle distribution shifts robustly and exploring more complex, non-linear ways to define the bounds of the principal components.

Summary updated

BibTeX
@inproceedings{viti2026consign,
  author = {Bruno Viti and Elias Karabelas and Martin Holler},
  title = {{CONSIGN: Conformal Segmentation Informed by Spatial Groupings via Decomposition}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=pHF5CXB0YH},
}
Figure