NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Image-to-Image Regression with Distribution-Free Uncertainty Quantification and Applications in Imaging

Anastasios N. Angelopoulos, Amit P. S. Kohli, Stephen Bates, Michael I. Jordan, Jitendra Malik, Thayer Alshaabi, Srigokul Upadhyayula, Yaniv Romano

Abstract

Image-to-image regression is an important learning task, used frequently in biological imaging. Current algorithms, however, do not generally offer statistical guarantees that protect against a model's mistakes and hallucinations. To address this, we develop uncertainty quantification techniques with rigorous statistical guarantees for image-to-image regression problems. In particular, we show how to derive uncertainty intervals around each pixel that are guaranteed to contain the true value with a user-specified confidence probability. Our methods work in conjunction with any base machine learning model, such as a neural network, and endow it with formal mathematical guarantees -- regardless of the true unknown data distribution or choice of model. Furthermore, they are simple to implement and computationally inexpensive. We evaluate our procedure on three image-to-image regression tasks: quantitative phase microscopy, accelerated magnetic resonance imaging, and super-resolution transmission electron microscopy of a Drosophila melanogaster brain.

Introduction

Image-to-image regression is a cornerstone of modern scientific and medical imaging, mapping low-resolution or undersampled data to high-fidelity outputs. However, deep learning models often act as "black boxes," failing in silent and potentially dangerous ways. A primary concern is the production of "hallucinations"—plausible-looking structural details that do not exist in the ground truth. For clinicians and researchers, these artifacts can lead to incorrect diagnoses or flawed scientific conclusions. This work introduces a model-agnostic, distribution-free framework to provide rigorous, per-pixel uncertainty intervals, ensuring that users can identify where a model is guessing rather than reconstructing.

Methodology: Risk-Controlling Prediction Sets

The proposed framework constructs image-valued Risk-Controlling Prediction Sets (RCPS) through a two-phase process:

  1. Heuristic Uncertainty Estimation: A base model (e.g., a U-Net) is trained to produce both a point prediction and heuristic uncertainty bounds. Several heuristics were evaluated, including predicting residual magnitudes, Gaussian standard deviations, softmax-based probability distributions, and pixelwise quantile regression.
  2. Statistical Calibration: Since heuristic bounds lack formal guarantees, they are scaled using a calibration parameter, $\hat{\lambda}$, derived from a held-out dataset. By applying Hoeffding's inequality, the method identifies the minimum $\hat{\lambda}$ required to ensure the true pixel values fall within the intervals for a user-specified fraction of the image (e.g., 90%) with high statistical confidence.

This approach is "distribution-free," meaning it requires no assumptions about the underlying data distribution or the specific architecture of the neural network.

Experimental Evaluation

The methods were tested across three diverse biological and medical imaging domains:

  • Quantitative Phase Imaging (BSCCM): Mapping oblique illumination to phase maps of white blood cells.
  • Accelerated MRI (fastMRI): Reconstructing knee MRIs from 4x undersampled k-space data.
  • Super-Resolution TEM (TEMCA2): Enhancing resolution from 16nm to 4nm in Drosophila brain images.

Key Results and Insights

The study found that pixelwise quantile regression is the most effective heuristic. Unlike symmetric methods (like residual magnitude), quantile regression allows for asymmetric intervals that adapt to local image complexity. It consistently produced the tightest uncertainty intervals while maintaining rigorous risk control.

The uncertainty quantification pipeline for accelerated MRI. The model reconstructs an image (B) from undersampled data (A). The uncertainty heatmap (C) identifies regions where the model has hallucinated details (E) that are absent in the ground truth (G).

A critical finding is that these uncertainty maps serve as a reliable indicator of model hallucinations. As shown in the accelerated MRI task, when the model invents structures not present in the ground truth, the calibration procedure flags those specific regions with significantly larger uncertainty intervals. Furthermore, the method maintains "size-stratified risk," meaning the coverage guarantees hold across both high-confidence and high-uncertainty regions, preventing the model from "hiding" errors in complex structures.

Conclusion

This work provides a practical and mathematically rigorous way to deploy deep learning in sensitive imaging applications. By wrapping standard models in calibrated uncertainty intervals, practitioners can gain a clear signal of when to trust a model's output. While some heuristics like Softmax proved computationally expensive, pixelwise quantile regression offers a robust and efficient path forward for reliable image-to-image regression.

Summary updated

BibTeX
@inproceedings{angelopoulos2022image,
  author = {Anastasios N. Angelopoulos and Amit P. S. Kohli and Stephen Bates and Michael I. Jordan and Jitendra Malik and Thayer Alshaabi and Srigokul Upadhyayula and Yaniv Romano},
  title = {{Image-to-Image Regression with Distribution-Free Uncertainty Quantification and Applications in Imaging}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=wFzS9lyHFaW},
}
Figure