Hierarchical Uncertainty Estimation for Learning-based Registration in Neuroimaging

Xiaoling Hu, Karthik Gopinath, Peirong Liu, Malte Hoffmann, Koen Van Leemput, Oula Puonti, Juan Eugenio Iglesias

TL;DR

This paper introduces a hierarchical framework for estimating uncertainty in deep learning-based brain image registration. By propagating voxel-level uncertainty through to global transformation models and downstream tasks, the authors demonstrate that their "aleatoric" uncertainty estimates correlate much better with actual registration errors than standard methods like Monte Carlo dropout, while simultaneously improving registration accuracy.

What Problem Does This Paper Address?

Image registration—the process of aligning two or more images into a common coordinate space—is a cornerstone of neuroimaging. While deep learning (DL) has made registration incredibly fast and accurate, these models are often "black boxes" when it comes to reliability.

Existing uncertainty estimation techniques, such as Monte Carlo (MC) dropout, are generic and don't account for the spatial peculiarities of medical images. They often fail to tell us where or why a registration might be failing. Furthermore, most DL methods treat every voxel as equally important during the fitting process, even if the model is highly uncertain about specific regions (like the highly folded and variable cortex). This paper aims to create a principled, hierarchical way to model and propagate this uncertainty to make registration both more transparent and more accurate.

Methods

The authors propose a three-level hierarchy for uncertainty:

Hierarchical framework mapping input MRI to coordinates with mean and standard deviation, followed by differentiable deformation for downstream tasks.
  1. Level 1: Target Regression: Instead of just predicting a deformation vector at each voxel, the network is trained to predict a probability distribution (specifically a Gaussian). It outputs both a mean (the predicted location) and a standard deviation (the "aleatoric" uncertainty or noise in the data).
  2. Level 2: Weighted Fitting: This is the core innovation. When fitting a global transformation model (like an Affine transform or B-splines), the authors use the predicted voxel-level uncertainty as weights. Locations where the model is "unsure" contribute less to the final transformation. This allows the model to effectively "ignore" noisy or ambiguous regions during the fit.
  3. Level 3: Downstream Tasks: By sampling from the posterior distribution of the fitted transformation, the authors can propagate uncertainty to final tasks, such as brain structure segmentation. This produces "error bars" for clinical or research measurements.

The framework was implemented using a "Registration by Regression" (RbR) backbone, which predicts coordinates in a standard atlas space (MNI template) directly from input MRI scans.

Datasets

The study utilized several large-scale, publicly available neuroimaging datasets:

  • Training/Validation: 897 subjects from the HCP (Human Connectome Project) and 1,148 subjects from ADNI (Alzheimer’s Disease Neuroimaging Initiative).
  • Testing: 100 scans each from ABIDE (Autism Brain Imaging Data Exchange) and OASIS3 (Open Access Series of Imaging Studies).

These datasets provide a diverse mix of ages and pathologies, ensuring the model is tested against significant morphological variability.

Key Insights and Ideas

Comparison of epistemic and aleatoric uncertainty maps against their respective error maps.
  • Aleatoric > Epistemic: The authors found that aleatoric uncertainty (uncertainty inherent in the data/task) correlates much more strongly with actual registration error than epistemic uncertainty (uncertainty in the model weights, often estimated via MC dropout). MC dropout performed surprisingly poorly, showing almost no correlation with real errors.
  • Uncertainty Improves Accuracy: Simply incorporating uncertainty into the fitting process (Level 2) improved the final registration accuracy (measured by Dice scores). By downweighting "difficult" voxels, the global model achieves a more robust fit.
  • Spatial Modeling Matters: The results show it is crucial to model uncertainty separately for each coordinate direction ($x, y, z$). Using a single "isotropic" uncertainty value for all directions significantly degraded performance.
  • Visualizing "Why": The hierarchical approach allows researchers to visualize uncertainty as heatmaps. For instance, the model consistently showed higher uncertainty in the cortex—a region known for high inter-subject variability—providing a "sanity check" for the model's behavior.

Key Results

  • Correlation with Error: Aleatoric uncertainty achieved a Spearman correlation of 0.601 with the reference registration error, compared to a meager 0.181 for MC dropout.
  • Accuracy Gains: For B-spline transformations on the ABIDE dataset, uncertainty-aware fitting improved the average Dice score from 0.782 to 0.790. Similar gains were seen for Affine transforms.
  • Downstream Impact: The authors demonstrated that by sampling transformations, they could generate entropy maps for segmentations, highlighting exactly which anatomical boundaries the model was most unsure about.

Limitations and Future Work

  • Computational Overhead: The uncertainty-aware B-spline fitting involves inverting high-dimensional matrices, which currently takes about 15 minutes per sample during inference. The authors note this needs further optimization for real-time clinical use.
  • Model Scope: The study focused on atlas-based registration (moving an image to a template). Future work is needed to extend this to pairwise registration (aligning two arbitrary scans).
  • Evaluation Metrics: While Dice scores are standard, they only provide a partial view of registration quality. Future studies could incorporate more granular landmarks to validate the "local" accuracy of the uncertainty estimates.

Code Availability: The authors have released their code at https://github.com/HuXiaoling/Regre4Regis.

Summary updated

BibTeX
@inproceedings{hu2025hierarchical,
  author = {Xiaoling Hu and Karthik Gopinath and Peirong Liu and Malte Hoffmann and Koen Van Leemput and Oula Puonti and Juan Eugenio Iglesias},
  title = {{Hierarchical Uncertainty Estimation for Learning-based Registration in Neuroimaging}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=w8LMtFY97b},
}
Figure