When two scans of the same patient come from different machines, such as a preoperative MRI and an intraoperative ultrasound, a registration algorithm must estimate how every point moved between them. At a faint or sliding tissue boundary, though, the images only constrain motion across the edge. Motion along the edge leaves no visible trace. This is the aperture problem, and current methods ignore it twice. They output a single displacement vector per point as if every direction were equally known. They are then scored against hand-placed point landmarks that force annotators to invent precision the image does not contain. We propose to train a network that predicts, for each location in a cross-modal image pair, a displacement together with a direction-dependent confidence (a small ellipsoid saying "known to within 1 mm across this edge, 6 mm along it"). The network is trained entirely on synthetic deformations of single-modality scans, where the true motion is known exactly. Its output is used in two ways: as a direction-weighted prior inside a classical optimizer, and as a landmark-free estimate of where the final registration can and cannot be trusted.
The opportunity comes from an awkward empirical fact. On the data-scarce, cross-modal brain-resection task in Learn2Reg 2024, the classical optimizer niftyreg reached a target registration error (TRE, mean distance between corresponding expert landmarks after alignment) of 2.87 mm. The best deep network reached only 4.42 mm. Rather than try to beat classical optimization with a bigger network, we ask the network to supply the one thing optimizers lack: a calibrated map of which displacement components the evidence supports. Ground truth scarcity is handled by simulation. Boundary ambiguity becomes the object being modelled. Cross-modality generalization is the condition the confidence estimate must survive.
Core Claim
The identifiable part of a cross-modal deformation is mostly the component normal to boundaries that are visible in both images. This can be learned as a per-voxel precision tensor, meaning a 3×3 positive semidefinite matrix whose large eigenvalues mark well-constrained directions. Training on single-modality scans with random appearance changes and simulated modality-specific dropout (acoustic shadows, speckle, a missing resection cavity) should teach the network to tell a boundary shared by both modalities from an edge that exists in only one. That distinction separates our approach from a hand-computed image structure tensor. The claim is falsifiable on three counts. First, the predicted ellipsoids should be calibrated on real cross-modal data. Second, using them as a prior should lower TRE below the classical optimizer alone. Third, a simple structure tensor computed from the two images should not achieve the same gains.
How It Relates to Prior Work
The motivation comes from the validation literature. The uncertainty-aware annotation protocol lets experts mark elliptic confidence regions instead of points at ambiguous boundaries. It then models the error field with a Gaussian process and reaches stable evaluation scores with roughly half the landmarks of distance-based heuristics. That work is evaluation only, its covariance depends on spatial coordinates rather than image content, and it was not applied across modalities. We make the ellipse the output of the registration system and use the protocol's annotations as calibration targets. The ReMIND database supplies the hardest test regime: speckle and shadowing in intraoperative ultrasound create false boundaries and hide real ones, and resection removes tissue outright.
The training recipe comes from appearance randomization. MAD applies random convolutions to T1 brain MRI so that a network learns distances that ignore intensity. That study reports that random convolutions cut error from 5.07 mm to 3.69 mm in its ablation and transfer zero-shot to abdominal CT-MR. MAD is restricted to affine (global linear) transforms and weights all patches uniformly. MASR-Net uses Bézier intensity transforms and deep self-similarity features to turn multimodal registration into a single-modality problem for ANTs or LapIRN, raising Learn2Reg Abdomen MR-CT Dice overlap from 37.32% to 85.61%. It assumes boundaries appear symmetrically in both modalities and attaches no confidence to its features. We borrow both randomization schemes and add asymmetric dropout simulation, so that the network learns to lower confidence where one modality has lost the edge.
Other work constrains the design. Uncertainty-guided segmentation such as DyCON shows that keeping, rather than discarding, high-entropy boundary voxels helps. It also needs dataset-specific tuning of its focal parameter (0.5 versus 0.8). We therefore avoid hand-scheduled relaxation and let the predicted precision decide where constraints are loose. Label-driven weakly supervised registration reaches 4.2 mm median TRE on MRI-ultrasound prostate data, but it needs over 4,000 manual labels across 111 pairs. Our method needs no labels at training time.
Research Program
The training data generator starts from a single-modality volume (CamCAN T1 for brain, public abdominal CT and MRI for abdomen). It samples a smooth random deformation with known dense field $u^*$ and renders two copies with independent random-convolution or Bézier appearance maps. One copy then receives modality-mimicking corruption: cone-shaped shadows, multiplicative speckle, depth attenuation, and, for brain, a carved cavity filled with fluid-like signal. A 3D U-Net takes the pair and outputs a displacement $\hat u(x)$ and a Cholesky factor of a precision tensor $\Lambda(x)$ at each voxel $x$. It is trained with the Gaussian negative log-likelihood
$$ \mathcal{L} = \sum_x \big(u^*(x)-\hat u(x)\big)^\top \Lambda(x)\big(u^*(x)-\hat u(x)\big) - \log\det \Lambda(x), $$
which rewards high precision only in directions where the network's error is reliably small. Because the true field is known everywhere in simulation, this sidesteps the absence of dense ground truth in patients.
At inference the network output becomes a quadratic prior inside an existing optimizer. For a deformation $\phi$ we minimize
$$ E(\phi) = D_{\text{MIND}}(\phi) + \beta \sum_x \big(\phi(x)-\hat u(x)\big)^\top \Lambda(x)\big(\phi(x)-\hat u(x)\big) + \alpha R(\phi), $$
where $D_{\text{MIND}}$ is the standard modality-independent neighbourhood descriptor dissimilarity, $R$ is the usual smoothness penalty, and $\alpha,\beta$ are scalar weights. This term pulls hard toward the network only along directions it is sure of. Elsewhere, image similarity and smoothness decide. We implement the prior in ConvexAdam and in niftyreg. A posterior ellipsoid per voxel, obtained from the combined Hessian at convergence, then serves as the reported uncertainty.
The analysis has two parts. We measure how often predicted ellipsoids contain the true error on real data, and we split TRE into components normal and tangential to the nearest shared boundary. The tangential component is where we expect existing benchmarks to have been scoring annotator bias rather than algorithm error.
Baselines
The naive reference point is the unregistered or rigidly initialized pair, which every Learn2Reg task reports. The strongest classical competitor on ReMIND2Reg is niftyreg, at TRE 2.87 mm as reported in Learn2Reg 2024. On the broad multi-task benchmark it is ConvexAdam, the overall winner in Learn2Reg; the file gives no single summary number for ConvexAdam. We rerun both with MIND similarity on identical preprocessing and identical initial alignment. Their regularization weight and pyramid levels get the same validation-split tuning budget as our $\alpha$ and $\beta$. Beating niftyreg means a lower mean TRE on the ReMIND2Reg test cases than our rerun of niftyreg, by a margin larger than a paired bootstrap interval, with no worse smoothness as measured by the standard deviation of the log-Jacobian. The published 2.87 mm serves as a sanity check on our rerun.
The strongest learned competitor is MASR-Net features registered with ANTs. It is the best published cross-modal structural representation in the file, with 85.61% Dice on Learn2Reg Abdomen MR-CT according to MASR-Net. We retrain it on our same source volumes so that the comparison isolates the method rather than the data. Beating it on abdomen means higher Dice at equal or better log-Jacobian regularity.
Three ablations isolate the key ingredient. The first replaces $\Lambda$ with a scalar confidence times the identity, keeping confidence but discarding direction. The second replaces the learned $\Lambda$ with the elementwise minimum of the two images' structure tensors, giving direction from image gradients without learned cross-modal reasoning. The third removes asymmetric dropout simulation from training. If the structure-tensor ablation matches the full model, the learned component is unnecessary and we would report that.
Why not just…?
Why not just run niftyreg or ConvexAdam with MIND, since they already win? They are the baseline to beat, and their success is our motivation. Their regularizer is isotropic and spatially uniform, so a shadow-induced false edge in ultrasound pulls the field as strongly as a true sulcus does. The proposal does not replace these optimizers; it adds one prior term to them. The comparison is therefore direct. If the prior gives no TRE gain on ReMIND2Reg, the idea fails on its main application, and the experiment is designed to show that cleanly.
Why not just compute the image structure tensor, which already encodes edge directions? This is the most serious threat. Within a single image, a structure tensor does capture the aperture problem. What it cannot do is tell whether an edge in ultrasound has a counterpart in MRI, or whether a missing MRI edge in ultrasound is a dropout or a resection. Edges that exist in one modality only are exactly the failure mode the file attributes to MIND, MAD and MASR-Net. The structure-tensor ablation tests this directly. We expect parity on Abdomen MR-CT, where boundaries are largely shared, and a gap on ReMIND2Reg, where they are not. Parity on both would falsify the core claim.
Why not just translate ultrasound into pseudo-MRI and register within one modality? Translation models optimize for realism, so in low-contrast regions they can invent or erase boundaries, as the file notes for diffusion and GAN translators such as AdaptDiff. They also need paired cross-domain data that surgical cohorts lack. More importantly, translation yields no statement about which directions are constrained, so even a perfect translator would leave the validation problem untouched.
Why not just take ensemble or dropout variance from a registration network as uncertainty? Ensemble spread measures disagreement between models, not whether the image supports a direction. Several networks can agree confidently on a tangential displacement the image does not constrain. We include a five-member ensemble of our own network trained without the likelihood loss and compare calibration. If ensembles calibrate as well, the likelihood formulation is unnecessary.
Proposed Experiments
The primary test is ReMIND2Reg (post-resection intraoperative ultrasound to preoperative MRI), measured by TRE, normal and tangential TRE components, and log-Jacobian smoothness. It is supplemented by CURIOUS (MR-ultrasound brain) and Learn2Reg Abdomen MR-CT (Dice, 95th-percentile Hausdorff distance). The robotic and handheld lumbar spine ultrasound-CT dataset in the paired spine benchmark supplies a physically tracked reference. We use it for calibration, because there the true error is not an annotator's guess; the file reports no registration error numbers for it. A 2D variant runs on COMULISglobe SHG to bright-field microscopy, where the published winner VROC reached TRE 2.64 pixels.
Calibration has its own experiment. Following the uncertainty-aware protocol, two annotators place elliptic confidence regions on a subset of ReMIND2Reg pairs. Within the protocol's reported efficiency of about half the usual landmark count, this is a modest budget of tens of pairs. We then check whether the coverage of predicted ellipsoids follows the chi-squared quantiles that a Gaussian error model implies.
The decisive checks are three. The full model must lower ReMIND2Reg TRE below our niftyreg rerun, with the gain concentrated in the normal component. The full model must beat the structure-tensor ablation specifically on ultrasound pairs. Predicted ellipsoids must be calibrated, meaning nominal 90% regions contain roughly 90% of errors, on the spine data with physical ground truth. Passing the first two without the third would yield a better optimizer prior but not a trustworthy validation tool. Passing the third alone would yield a landmark-free quality estimate that is still useful when accuracy gains are small.
References
- Learn2Reg 2024: New Benchmark Datasets Driving Progress on New Challenges
- Uncertainty-Aware Annotation Protocol to Evaluate Deformable Registration Algorithms
- ReMIND: The Brain Resection Multimodal Imaging Database
- MAD: Modality Agnostic Distance Measure for Image Registration
- Modality-Agnostic Structural Image Representation Learning for Deformable Multi-Modality Medical Image Registration
- DUCore: Dual Uncertainty-Guided Consistency and Regional Contrastive Learning for Semi-supervised Medical Image Segmentation
- Label-driven weakly-supervised learning for multimodal deformarle image registration
- Learn2Reg: Comprehensive Multi-Task Medical Image Registration Challenge, Dataset and Evaluation in the Era of Deep Learning
- AdaptDiff: Cross-Modality Domain Adaptation via Weak Conditional Semantic Diffusion for Retinal Vessel Segmentation
- A large, paired dataset of robotic and handheld lumbar spine ultrasound with ground-truth CT benchmarking