Structured SIR: Efficient and Expressive Importance-Weighted Inference for High-Dimensional Image Registration

Ivor J. A. Simpson, Neill D. F. CampbellarXiv 2026

TL;DR

High-dimensional 3D image registration is notoriously ill-posed, yet standard deep learning approaches rely on overly simplistic Gaussian assumptions that fail to capture true multi-modal uncertainty. This paper introduces Structured SIR, a method that pairs Sampled Importance Resampling (SIR) with a novel, memory-efficient covariance parameterization (low-rank plus sparse Cholesky precision). The result is a highly efficient framework that accurately captures complex, multi-modal spatial uncertainties across 1.6 million dimensions in under 5 seconds.

What Problem Does This Paper Address?

Dense 3D image registration—the process of establishing voxel-wise geometric correspondences between images (such as brain MRIs)—is fundamentally ill-posed. Because different anatomical structures can look similar or deform in multiple plausible ways, there are often multiple valid registration solutions that yield identical matching scores.

To map these possibilities, researchers use probabilistic inference. However, standard amortized variational inference (VI) techniques are forced to make highly restrictive assumptions (like factorized or spherical Gaussians) to keep computation manageable. This causes models to become overconfident, poorly calibrated, and completely blind to multi-modal distributions (i.e., capturing multiple distinct, valid deformation hypotheses). While full-rank covariance matrices could theoretically solve this, they are computationally impossible to scale to the millions of dimensions required for dense 3D volumes.

Figure 1: Illustration of the posterior modelling problem, where the underlying probability distribution is illustrated in (a). (b) shows an attempt to model this variationally using a spherical Gaussian, which assigns probability mass to a lot of area that is unlikely, but simultaneously does not cover the whole distribution; if used as a proposal distribution then many poor samples are drawn and this is exacerbated as dimensionality increases. (c) illustrates how our SIR sampling framework allows selection of high probability samples at both learning/inference time, which avoids penalising a model for being more exploratory. Moreover, using a structured Gaussian allows assigning probability mass to higher density areas improving the efficiency of sampling.

Methods

The authors introduce Structured SIR, which bypasses the limitations of variational inference by using a Sampled Importance Resampling (SIR) framework. The method relies on two core innovations:

  1. A Novel Covariance Parameterization: To model high-dimensional correlations without exploding the memory footprint, they define the covariance matrix ($\Sigma$) as the sum of a low-rank covariance and a sparse, spatially structured Cholesky precision factor: $$\Sigma = RR^\top + (LL^\top)^{-1}$$ Here, $RR^\top$ captures global, low-frequency spatial correlations, while $L$ is a sparse lower-triangular matrix that captures local, high-frequency neighbor interactions across the 3D voxel grid and displacement directions.

  2. Two-Pass Gradient-Efficient Sampling: Drawing and backpropagating through thousands of high-dimensional samples is too memory-intensive. To solve this, the network first draws a large set of candidate samples ($N_s$) without tracking gradients to compute importance weights. It then performs multinomial resampling to select a smaller subset of high-quality samples ($N_k$). Only these selected samples are redrawn with gradients enabled to update the network weights, dramatically reducing computational overhead.

Datasets

The approach was validated on a subset of the OASIS (Open Access Series of Imaging Studies) brain MRI dataset:

  • Size & Resolution: Images were resampled to $1\text{ mm}^3$ isotropic voxels and cropped to a $96 \times 72 \times 80$ grid.
  • Dimensionality: With $552,960$ voxels and a 3D displacement vector estimated at each voxel, the model infers a multivariate distribution over 1.6 million dimensions.
  • Evaluation: The dataset contains 35 automatically segmented anatomical labels. The authors evaluated performance across $50 \times 49 = 2,450$ unique subject-to-subject registration pairs.

Key Insights and Ideas

  • The "Selection Gap" Proves Multi-Modality: One of the most striking findings is the substantial gap between the average sample mean and the "Oracle" (the single best-performing sample from the predicted distribution). This gap demonstrates that highly accurate, distinct registration hypotheses exist within the posterior space, but they are completely washed out if you only look at the mean.
Figure 2: Left, an illustration of the proposal mean (µ in SIR), variational µ, SIR sample mean and Oracle (best-sample), and standard deviation of the segmentation accuracy for different model variants. Right, a boxplot exemplifying the quality of the Oracle sample drawn from the approximate posterior distribution. Larger Dice Similarity Coefficient (DSC) values indicated greater segmentation accuracy.
  • Escaping Entropy Collapse: By optimizing an importance-weighted objective rather than the standard Evidence Lower Bound (ELBO), the model avoids the "entropy collapse" typical of variational methods. It doesn't penalize the model for being exploratory, allowing it to maintain a diverse distribution of anatomically plausible hypotheses.
  • Coherent Structure over Stochastic Noise: Thanks to the structured covariance parameterization, the uncertainty captured by the model manifests as spatially smooth, anatomically sensible variations (e.g., correcting entire boundaries of the thalamus or ventricles) rather than independent, pixel-level random jitter.

Key Results

  • Excellent Uncertainty Calibration: Structured SIR significantly outperformed variational baselines and deep ensembles (like Voxelmorph) on Expected Calibration Error (ECE) and Area Under the Sparsification Error (AUSE).
  • Reliable Error Proxy: The model demonstrated a strong negative correlation (up to $-0.419$) between label entropy and the Dice Similarity Coefficient (DSC). This means that when the model expresses high uncertainty, it reliably correlates with actual registration errors—a crucial property for clinical deployment.
Figure 3: Accuracy vs calibration for the different model variants for a set of structures, standard deviations plotted in gray. The best performance is in the bottom-right of the graph with a low AUSE (better calibration) and a high DSC (better accuracy). The full version of the model (S+LC) with 10 low-rank components offers improved calibration with equal or improved accuracy consistently over all structures. The 5 model Voxelmorph ensemble has improved average accuracy for some structures, but generally much worse calibration.
  • Blazing Fast Inference: Despite dealing with 1.6 million dimensions, the entire pipeline—amortized proposal generation, drawing 1,200 samples, and importance weighting—takes under 5 seconds on a single GPU.

Limitations and Future Work

  • Voxel Folding Trade-off: Because the SIR framework encourages a highly exploratory, high-variance posterior, the best-performing "Oracle" samples exhibit higher rates of voxel folding (non-positive Jacobian determinants). The authors note that future work should explore integrating stationary velocity fields to guarantee diffeomorphic (topology-preserving) transformations.
  • Architectural Upgrades: The underlying SIR and covariance mechanics are completely model-agnostic. While this paper uses a standard convolutional U-Net backbone, the authors suggest that swapping it out for a Vision Transformer (ViT) could yield further improvements.
  • Temperature Tuning: The temperature scaling hyperparameter used to smooth the importance weights was selected empirically; automating or optimizing this post-training could further refine calibration quality.

Summary updated

BibTeX
@misc{simpson2026structured,
  author = {Ivor J. A. Simpson and Neill D. F. Campbell},
  title = {{Structured SIR: Efficient and Expressive Importance-Weighted Inference for High-Dimensional Image Registration}},
  year = {2026},
  eprint = {2603.17415},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.17415},
}
Figure