Bayesian model selection and misspecification testing in imaging inverse problems only from noisy and partial measurements

Tom Sprunck, Marcelo Pereyra, Tobías I. Liaudat

Introduction

Modern imaging techniques increasingly rely on Bayesian statistical models to tackle complex image reconstruction and restoration tasks. Deep learning-based priors, such as diffusion models, have proven exceptionally powerful in filling in missing information. However, evaluating these models objectively presents a significant challenge when a "ground truth" clean image is unavailable.

This paper introduces a novel, self-supervised cross-validation framework designed to evaluate Bayesian imaging models without requiring ground truth data. By employing a technique called "data fission," the authors provide a robust method to detect whether a model is using incorrect physical parameters or if its image prior is "hallucinating" out-of-distribution (OOD) details.

The Challenge of Unsupervised Model Evaluation

In computational imaging fields like MRI, deblurring, or denoising, Bayesian models reconstruct images from noisy, partial data. The core issue with modern deep-learning priors is their sheer generative power: they can easily hallucinate realistic-looking features that do not actually exist in the underlying subject. This is particularly problematic if the model is "misspecified"—for instance, using a model trained on faces to reconstruct a knee scan, or applying an incorrect blur kernel.

Traditionally, diagnosing these errors requires comparing the reconstruction against a ground-truth image, a luxury rarely available in real-world clinical or scientific scenarios. Existing unsupervised evaluation methods fall short because they are either computationally prohibitive for high-dimensional images or fundamentally incompatible with modern, implicitly defined deep-learning priors.

Methodology: Data Fission and Bayesian Cross-Validation

To overcome the lack of ground truth, the authors propose a framework grounded in Bayesian Cross-Validation (BCV) powered by Data Fission.

1. Data Fission

Standard cross-validation is impossible when you only have a single noisy measurement ($y$). Data fission solves this by injecting carefully calibrated noise to split $y$ into two synthetic measurements: $y^+$ and $y^-$. Crucially, these two splits are conditionally independent; they both point to the same underlying true image but possess independent noise profiles.

2. The Evaluation Loop

The framework uses the $y^-$ split to generate posterior samples (reconstructions) via the chosen Bayesian model. It then evaluates how accurately these reconstructions predict the held-out measurement, $y^+$.

3. Scoring Rules

The evaluation relies on two primary scoring mechanisms:

  • Likelihood-based Scoring: Measures how well the physical forward model (e.g., the assumed blur kernel) fits the observed data.
  • Posterior-based (Perceptual) Scoring: Utilizes deep embeddings (such as LPIPS or DINOv2) to compare reconstructions derived from both splits. This is specifically engineered to catch "hallucinations" from priors that do not match the data, acting as an Out-of-Distribution (OOD) detector.

Notably, this approach is entirely "sampler-agnostic," meaning it seamlessly integrates with Langevin dynamics, diffusion models, plug-and-play samplers, or any other Bayesian sampling strategy.

Key Insights

  • The $\alpha$ Parameter: The framework utilizes a parameter $\alpha$ to control the information split between $y^+$ and $y^-$. As $\alpha$ approaches zero, the method mathematically converges to the Marginal Likelihood—the gold standard for model selection—while remaining vastly more computationally efficient.
  • Hallucinations as a Diagnostic Signal: When a prior is a poor fit (OOD), the model will hallucinate entirely different details to satisfy $y^+$ compared to $y^-$. The perceptual scoring rule detects this discrepancy, cleverly using the model's own inconsistencies to flag it as unreliable.
  • Computational Efficiency: Unlike traditional techniques like "Nested Sampling," which are computationally paralyzing for high-resolution images, this data fission method requires relatively few posterior samples to yield a stable, accurate ranking of models.

Experimental Validation and Results

The researchers rigorously tested their methodology across diverse domains, including natural images (FFHQ, AFHQ, LSUN-Bedrooms, Met-Faces, CBSD68), medical imaging (FastMRI brain and knee scans), and astronomy (galaxy images).

Key findings include:

  • Blur Kernel Selection: In deblurring tasks, the method correctly identified the ground-truth blur kernel from a single noisy measurement in 86.7% of cases. When results were pooled across just three images, accuracy reached a perfect 100%.
  • OOD Detection: The framework demonstrated excellent statistical power in detecting model mismatches. It successfully distinguished between different face datasets (FFHQ vs. Met-Faces) and perfectly flagged "Strong OOD" scenarios, such as applying a face-trained model to a bedroom image.
  • MRI Reliability: In medical reconstruction, the estimators successfully flagged knee scans as OOD when processed by a brain-trained model, achieving 100% detection power at various acceleration factors ($R=4$ and $R=8$).
  • Speed: The proposed method operates orders of magnitude faster than traditional Bayesian evidence estimators like ProxNest, making it highly practical for modern, high-dimensional imaging pipelines.

Limitations and Future Directions

While highly effective, the authors note a few limitations:

  • Sampler Dependence: The diagnostic's reliability is inherently tied to the quality of the posterior samples. If the underlying sampler fails (e.g., utilizing too few diffusion steps), the evaluation metrics may degrade.
  • Embedding Choice: The perceptual score relies on the chosen embedding (LPIPS, DINOv2). While general-purpose embeddings perform well, task-specific embeddings could yield even higher diagnostic accuracy.
  • Computational Overhead: Although significantly faster than prior methods, generating multiple posterior samples per measurement still introduces overhead that may bottleneck real-time applications.

Future work will likely focus on automating the selection of the splitting parameter $\alpha$ and developing specialized embeddings tailored for specific scientific imaging domains.

Summary updated

BibTeX
@inproceedings{sprunck2026bayesian,
  author = {Tom Sprunck and Marcelo Pereyra and Tobías I. Liaudat},
  title = {{Bayesian model selection and misspecification testing in imaging inverse problems only from noisy and partial measurements}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=b1qoHUQVNy},
}
Figure