CONSIGN: Conformal Segmentation Informed by Spatial Groupings via Decomposition

Bruno Viti, Elias Karabelas, Martin Holler · DOI

Introduction

Deep learning models for image segmentation, such as those used in medical imaging to delineate tumors or cardiac structures, typically output confidence scores via softmax. However, these scores are often poorly calibrated and lack rigorous statistical guarantees. Conformal Prediction (CP) addresses this by producing "prediction sets"—collections of possible labels for each pixel guaranteed to contain the ground truth with a user-defined probability (e.g., 90%).

Traditional CP methods operate pixel-by-pixel, ignoring the inherent spatial structure of images. This results in "salt-and-pepper" uncertainty sets that are anatomically unrealistic and unnecessarily large. If a model is uncertain about a boundary, that uncertainty usually applies to the entire shape's contour, not isolated random pixels.

Methodology: Spatially-Aware Decomposition

The authors introduce CONSIGN (Conformal Segmentation Informed by Spatial Groupings via Decomposition). Instead of treating pixels as independent, CONSIGN captures how model predictions vary across the entire image.

  1. Sampling: Multiple sample outputs are generated from a pre-trained model using techniques like Monte Carlo dropout or ensembles.
  2. Decomposition: Singular Value Decomposition (SVD) is applied to these samples to identify "principal directions of uncertainty"—spatial patterns where the model is most conflicted.
  3. Spatially-Aware Prediction Sets: Prediction sets are defined based on linear combinations of these principal spatial vectors. Using only a few components (e.g., $K=2$ or $5$) captures meaningful variations while filtering high-frequency noise.
  4. Calibration: Conformal Risk Control (CRC) is used to find a global parameter ($\lambda$) that scales the range of these spatial components, ensuring the final segmentations meet the required error rate ($\alpha$).
Comparison of CONSIGN and Pixel-Wise prediction sets. CONSIGN produces spatially coherent masks, whereas pixel-wise methods result in unrealistic "salt-and-pepper" noise.

Experimental Evaluation

CONSIGN was evaluated across five diverse settings to demonstrate its flexibility:

  • Medical Imaging: M&Ms-2 (Cardiac MRI), MS-CMR19 (Multi-modal Cardiac MRI), and LIDC (Lung CT scans).
  • General Computer Vision: COCO Animals and COCO Vehicles.

The framework proved to be model-agnostic, working effectively with architectures like U-Nets and DeepLabV3+.

Key Results

CONSIGN demonstrates significant improvements in both the quality and compactness of prediction sets:

  • Tighter Uncertainty Bounds: Using the Chao estimator to measure the number of unique segmentations, CONSIGN produced sets orders of magnitude smaller than pixel-wise baselines like RAPS.
  • Spatial Consistency: CONSIGN achieved higher Pearson correlation between sampled segmentations (0.4–0.6) compared to baselines (~0.1), confirming it captures coherent structures.
  • Efficiency: The method reached target empirical coverage ($1-\alpha$) with fewer samples than competing approaches.
Chao Estimator results across five datasets. CONSIGN (blue/green) consistently produces more compact prediction sets compared to Pixel-Wise (PW) and SACP methods.

Discussion and Limitations

By focusing on principal components of uncertainty, CONSIGN filters out noise and acknowledges that pixels move together, leading to more realistic and useful uncertainty estimates. However, some limitations remain:

  • Exchangeability: Like standard CP, it assumes test data follows the calibration distribution.
  • Computational Cost: The numerical optimization for spatial coefficients is more intensive than simple thresholding, though still viable for online use.
  • Implicit Sets: While easy to sample from, checking if an arbitrary mask belongs to the set is less straightforward.

Future work may explore Adaptive Conformal Inference to handle distribution shifts over time.

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