Propagation and Attribution of Uncertainty in Medical Imaging Pipelines

Leonhard F. Feiner, Martin J. Menten, Kerstin Hammernik, Paul Hager, Wenqi Huang, Daniel Rueckert, Rickmer F. Braren, Georgios Kaissis

Introduction

In clinical practice, deep learning models often operate in cascades. For instance, an upstream model might reconstruct a high-fidelity MRI image from undersampled k-space data, which is then passed to a downstream model for tasks like volumetric analysis or lesion detection. While uncertainty estimation for individual models is well-studied, quantifying how uncertainty propagates through such pipelines remains a challenge. This paper introduces a model-agnostic framework for tracking and attributing aleatoric (data-dependent) uncertainty across multi-stage medical imaging chains.

Methodology: Uncertainty Propagation via Monte Carlo Sampling

The proposed framework utilizes Monte Carlo (MC) sampling to estimate the distribution of downstream predictions conditioned on raw input data.

Schematic of the proposed uncertainty propagation framework using Monte Carlo sampling.

As illustrated in Figure 1, the process involves:

  1. Upstream Reconstruction ($g$): The model $g$ processes raw k-space data $z$ to produce a mean image $\mathbb{E}[x]$ and a pixel-wise variance map $\text{Var}[x]$.
  2. Sampling: Multiple plausible image samples $x_{(t)}$ are drawn from the distribution $p(x|z)$ defined by the upstream model.
  3. Downstream Analysis ($f$): Each sample is fed into the downstream model $f$, which produces a prediction $\hat{y}_{(t)}$ and its own internal uncertainty estimate $\Delta_{(t)}$.
  4. Aggregation and Attribution:
    • For Regression tasks, the total variance $\text{Var}[y]$ is decomposed into "propagated uncertainty" (variance of the predictions $\sigma^2_{\hat{y}}$) and "residual uncertainty" (mean of the downstream model's internal variance $\mu_{\Delta}$).
  5. For Classification tasks, information-theoretic measures like Entropy and Mutual Information are used to isolate the uncertainty inherited from the upstream stage.

Experimental Setup

The framework was evaluated on two benchmarks:

  • fastMRI (Knee): Reconstructing knee MRIs from k-space and classifying the knee side (left vs. right).
  • ADNI (Brain): Reconstructing brain MRIs to perform volume regression and sex classification.

To simulate varying data quality, "acceleration factors" were applied to the raw k-space data, representing different levels of undersampling.

Key Results and Insights

The experiments confirmed a direct correlation between input data quality and propagated uncertainty. As acceleration factors increase (making scans faster but noisier), the upstream uncertainty rises, which is then captured and quantified by the downstream model.

The Uncertainty Budget

A key contribution of this work is the ability to attribute uncertainty to specific stages of the pipeline. This "uncertainty budget" allows clinicians to determine whether a questionable result stems from a poor-quality scan (upstream) or a complex clinical case that the downstream model finds difficult to interpret (residual).

Brain volume regression results showing mean reconstructions, uncertainty maps, and the breakdown of standard deviation components across acceleration factors.

As shown in Figure 6 for the brain volume regression task, as acceleration increases from 2x to 8x, the "Propagated Standard Deviation" (green line) increases steadily. This indicates that the "wobble" in the final volume measurement is increasingly driven by the reconstruction quality.

Performance Impact

In the knee classification task, increasing acceleration from 4x to 64x caused joint entropy to nearly quadruple (from $1.95 \cdot 10^{-2}$ to $6.93 \cdot 10^{-2}$), while accuracy decreased from 99.2% to 96.7%. These results quantitatively validate that the MC sampling method accurately captures the degradation of confidence in the pipeline.

Limitations and Future Directions

While the framework provides a robust baseline for uncertainty attribution, several areas for improvement remain:

  • Spatial Correlation: The current model assumes pixel-wise independence in uncertainty maps, whereas MRI artifacts often exhibit structured spatial patterns.
  • Epistemic Uncertainty: The focus here is on aleatoric uncertainty. Future work should incorporate epistemic uncertainty to account for the model's own knowledge gaps.
  • Calibration: Ensuring that the propagated uncertainty values are well-calibrated (i.e., they accurately reflect the true error rates) remains an open research challenge for complex multi-stage systems.

Summary updated

BibTeX
@inproceedings{feiner2023propagation,
  author = {Leonhard F. Feiner and Martin J. Menten and Kerstin Hammernik and Paul Hager and Wenqi Huang and Daniel Rueckert and Rickmer F. Braren and Georgios Kaissis},
  title = {{Propagation and Attribution of Uncertainty in Medical Imaging Pipelines}},
  booktitle = {UNSURE @ MICCAI},
  year = {2023},
}
Figure