# Weakly-Supervised Convolutional Neural Networks for Multimodal Image Registration

Yipeng Hu, Marc Modat, Eli Gibson, Wenqi Li, Nooshin Ghavami, Ester Bonmati and 8 more · arXiv · 2018-7-9

- **Problem** Voxel-level correspondence for MR-to-TRUS prostate registration has no reliable ground truth, and intensity similarity aligns anatomically different structures that look alike across the two modalities.
- **Method** Trains a 3D network by warping moving anatomical labels and scoring their overlap with a multiscale Dice, so that inference needs only the image pair.
- **Results** Baseline reached a median target registration error of 3.6 mm and a median Dice of 0.87 on prostate glands in 12-fold patient-level cross-validation on 108 MR-TRUS image pairs.

![Figure 2: The upper part illustrates the training strategy of the proposed weakly-supervised registration framework (described in Section 2.1), where the dash…](https://refivu.com/papers/bfc7dfd6-1596-4541-9723-c26ab0c5a3f5/figures/figure-42d3afec6ef9295ba8a02447a3ae7c6e.png?thumb=512)

**Fig.2** . The upper part illustrates the training strategy of the proposed weakly-supervised registration framework (described in Section 2.1), where the dashed lines indicates data flows only required in training. The lower part depicts the resulting inference (indicated by the solid lines), i.e. registration predicting the output DDF, requiring only the image pair, with which the moving image may be warped to align with the fixed image (dotted lines).

[Original paper](https://arxiv.org/abs/1807.03361v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yipeng Hu, Marc Modat, Eli Gibson, Wenqi Li, Nooshin Ghavami, Ester Bonmati, Guotai Wang, Steven Bandula, Caroline M. Moore, Mark Emberton, Sébastien Ourselin, J. Alison Noble, Dean C. Barratt, Tom Vercauteren · Weakly-Supervised Convolutional Neural Networks for Multimodal Image Registration · Original paper figure · Extracted the figure area from page 3 of the original PDF.

## Why voxel-level labels are scarce

Learning a registration network in the usual supervised way needs voxel-level correspondence as training targets, and such targets are scarce and seldom obtainable reliably from medical images. Some work generates pseudo-ground-truth transformations from simulations, from existing registration methods or from manual rigid alignment, while other work learns from image-similarity losses that carry the weaknesses of intensity-based registration.

For MR-to-TRUS prostate registration the intensity route is fragile, because anatomically different structures can look alike in both modalities. The surgical capsule on TRUS and the central-peripheral zonal boundary on MR are examples, and they lead most intensity-based measures to a false alignment.

The authors' alternative is to supervise with anatomical labels such as organs, boundaries, pathological regions and subject-specific landmarks like calcifications and cysts, which are easier to annotate reliably than voxel correspondence. Labels are needed only during training, so the network can learn voxel correspondence from them and register new images from the images alone.

## Learning a displacement field from label overlap

Each training image pair consists of a moving image and a fixed image, plus a set of anatomical label pairs, and the number of label pairs differs from one image pair to the next. The network takes only the two images and predicts a dense displacement field, which warps the moving label so that it can be compared with the fixed label.

The objective averages a label-level similarity over the labels of each pair and then over the pairs, and training minimises the negative of this utility plus a weighted regulariser. \\\[ \\hat{\\theta} = \\arg\\min\_{\\theta} \\left\[ -J(\\mathbf{x}^A,\\mathbf{x}^B,\\mathbf{l}^A,\\mathbf{l}^B;\\theta) + \\alpha \\cdot \\Omega(\\mathbf{u}) \\right\] \\\] Here alpha weights the regulariser Omega(u), which penalises non-smooth displacements, so a larger weight pushes training towards smoother fields.

The loss has no intensity-based similarity term, which the authors consider unreliable for this application. Labels enter only through the loss, so they are not needed when the trained network registers new image pairs. The regulariser can be changed, for example to bending energy or to an L1 or L2 norm of the displacement gradients.

## Minibatch gradients from two-stage sampling

Label counts vary between image pairs, which makes it awkward to build minibatches of label pairs directly. The approach draws K image pairs uniformly in a first stage and then one label pair uniformly from each of them in a second stage, so every minibatch holds K image-label pairs.

The argument conditions on the first-stage image pairs: the expected estimate over second-stage label draws equals the per-pair gradient, and averaging over the first stage recovers the gradient of the full objective (Eq. 3). Because the number of labels per image pair can vary, a large number of labels can be used per pair without increasing memory use.

## Multiscale Dice as the label loss

Classical overlap metrics such as Dice, Jaccard and cross-entropy ignore spatial distance when two foreground objects do not overlap, and they saturate, so a near miss and a far miss look the same. The earlier work used a cross-entropy with a heuristic smoothing built from an inverse distance transform, approximated by interpolating precomputed label maps, because the distance transform is neither differentiable nor efficient inside each iteration.

For label values a\_i and b\_i in \[0, 1\] over I voxels, the soft probabilistic Dice is computed as follows. \\\[ S\_{Dice}(\\mathbf{a},\\mathbf{b}) = \\frac{2\\sum\_{i=1}^{I} a\_i b\_i}{\\sum\_{i=1}^{I} a\_i + \\sum\_{i=1}^{I} b\_i} \\\]

Each scale applies an isotropic 3D Gaussian filter f\_sigma to the fixed label and to the warped moving label, computes the soft Dice on the filtered pair, and averages over the scales. \\\[ J\_k = \\frac{1}{Z} \\sum\_{\\sigma} S\_{Dice}\\big(f\_{\\sigma}(\\mathbf{l}^B\_k), f\_{\\sigma}(\\mathbf{y}^A\_k)\\big) \\\] Z is set to 7, with sigma in mm drawn from 0, 1, 2, 4, 8, 16 and 32, and sigma 0 keeps the unfiltered binary label in the average.

The filtering is differentiable and can run on the fly after warping and data augmentation, and labels can also be filtered before training. For comparison, the same multiscale scheme is paired with a negative cross-entropy over foreground and background classes. The authors argue that the multiscale Dice penalises overconfident binary predictions, balances gradients between foreground and background, and gives non-saturating gradients for small labels.

## Summed displacement network

It combines summation skip layers across resolution levels, residual shortcuts and trilinear additive up-sampling, and it replaces the global affine sub-network of the earlier design.

Each up-sampling level outputs a displacement summand, from an additional convolution with a bias term and without batch normalisation or a standard nonlinearity, which is trilinearly up-sampled to the output size. The summands at levels 1 to 4 are added to the summand delta 0 at the input resolution to give a single output DDF.

Summing the displacement summands instead of composing fields means that no intermediate field needs resampling, and the summands depend only on the up-sampling levels, not on the scales of the multiscale Dice.

The summand nodes allow zero-mean, small-variance random initialisation of convolution weights and biases, which keeps the initial DDF magnitude controlled so that the warped labels give useful gradients. Trilinear sampling provides a bounded nonlinear step between linear convolutions.

Each block has two convolution and batch normalisation layers with rectified linear units, down-sampling uses max-pooling and up-sampling uses transpose convolution, both with strides of two. Convolution kernels are 3 × 3 × 3, except for 7 × 7 × 7 in the first convolution layer, and the first feature maps have n0 channels that double as the resolution halves.

## Data and implementation

The study uses 108 pairs of T2-weighted MR and TRUS images from 76 patients, acquired during SmartTarget clinical trials. Each patient had up to three image data sets, and a range of 57 - 112 TRUS frames was acquired per case and reconstructed into a 3D volume. Both MR and TRUS images were normalised to zero mean and unit variance after resampling to 0.8×0.8×0.8 mm3 isotropic voxels.

Gland segmentations were taken from the MR trial protocol, and TRUS gland segmentations were manually edited from automatically contoured glands.

The label pairs comprise 108 (12.9%) gland segmentation pairs, 213 (25.5%) apex or base pairs, 214 (25.7%) zonal boundary pairs, 37 (4.4%) urethra pairs and 262 (31.4%) patient-specific regions such as calcifications and cysts. Excluding the gland segmentations, the labels have an average volume of 0.39±0.21 cm3 and a range of \[0.13, 18.0\] cm3.

Training used TensorFlow with a trilinear resampler and an augmentation layer adapted from NiftyNet, applying a random affine transformation without flipping to each image-label pair before each iteration. Each network trained on a 12GB NVIDIA Pascal TITAN Xp GPU for 48 hours. The Baseline used the Adam optimiser at a learning rate of 10-5, a minibatch size of 4, a regularisation weight alpha of 0.5, n0 of 32 and no weight decay, with Xavier initialisation except for the final displacement layers.

The convolution kernel and bias parameters of the final displacement layers were initialised to zeros in the reported results.

## Baseline accuracy under cross-validation

Validation used 12-fold patient-level cross-validation, with test data from 6-7 patients held out in each fold. Target registration error is the root-mean-square of the centroid distance errors over all landmark pairs of a patient, and the Dice similarity coefficient measures overlap of the binary prostate gland labels.

Its median Dice on prostate glands was 0.87, with first and third quartiles of 0.82 and 0.89. About four 3D registrations per second were performed on the same GPUs.

The full percentile breakdown for the Baseline and the other networks appears in Table 1, with the 10th, 25th, 75th and 90th percentiles of both metrics. The Baseline's target registration error percentiles were \[1.6, 2.3, 6.5, 10.0\] mm and its Dice percentiles were \[0.77, 0.82, 0.89, 0.91\].

Networks were compared with paired Wilcoxon signed-rank tests at significance level 0.05 on the medians, and confidence intervals were reported where p-values exceeded that level. Each landmark was tested in a fold where it was not used in training.

## Loss, regulariser and architecture ablations

Replacing the multiscale Dice with a multiscale cross-entropy gave Baseline-msCE a median target registration error of 6.1 mm, significantly worse than the Baseline (p-value below 0.001). Its median Dice was 0.88, slightly better than the Baseline with p-value 0.046. The authors attribute the better Dice to the class balance conveyed by the multiscale Dice, which lessens the bias towards large labels such as prostate glands.

Replacing bending energy with an average L2-norm of the displacement gradients gave Baseline-L2 a median target registration error of 4.8 mm, with a p-value of 0.049 against the Baseline. Its Dice was 0.82 with p-value below 0.001, and the authors intended this variant to show that a different regulariser can be used without tuning each hyper-parameter.

Pre-computing the label filtering in Baseline-preFilt did not change target registration error (p-value 0.458, CI \[-1.433, 0.634\]) or Dice (p-value 0.498, CI \[-0.009, 0.030\]).

With only the summand delta 0 at the finest level (Baseline-delta0), the median target registration error was 4.5 mm, and the Baseline was better in target registration error (p-value 0.034) and Dice (p-value 0.003).

Removing the finest-level summand (Baseline-delta1-4) gave a median target registration error of 4.2 mm, with no significant difference from the Baseline (p-value 0.477, CI \[-1.342, 0.735\]) and no significant Dice difference (p-value 0.316, CI \[-0.011, 0.023\]). Removing the trilinear additive up-sampling layers gave a median target registration error of 6.4 mm, significantly higher than the Baseline (p-value below 0.001).

## Comparison with the earlier Global-Net and Composite-Net

Composite-Net needed more than 12GB of GPU memory at the same minibatch size, so it was trained on a 24GB card. The authors note that numbers reported in their earlier work are not directly comparable, because the data sets and training strategy differ.

Baseline has significantly better target registration error and Dice than Global-Net, which only models an affine transformation and reached a median target registration error of 5.8 mm and a median Dice of 0.77 (both p-values below 0.001). Composite-Net reached a median target registration error of 4.7 mm and a median Dice of 0.82, and the Baseline improved on both measures over it (both p-values below 0.001).

## Deformation regularity checks

With the weight alpha of 0.5, no negative Jacobian determinants appeared in any predicted DDF. In the illustrative network trained with alpha of 0.01, the displacement magnitudes and gradient norms had visibly larger variance, and negative Jacobian determinants appeared.

## Pairwise intensity-based registration on the same data

Free-form deformation regularised by bending energy with weight 0.5 was optimised with normalised mutual information, normalised cross-correlation or sum-of-square differences. Registrations ran with no initialisation, with an automatic rigid initialisation and with a manual centroid initialisation, giving 972 registrations in total.

All nine median target registration errors were above 24 mm, and none of the median Dice values exceeded 0.77. Direct application gave median target registration errors of 26.7 to 35.0 mm, while manual centroid alignment alone gave 19.6 mm with a median Dice of 0.79. With centroid initialisation, NMI, NCC and SSD gave median target registration errors of 20.6, 24.7 and 25.6 mm, with median Dice values of 0.77, 0.67 and 0.65.

The median target registration error before registration was 34.8 mm.

Earlier studies on patient data report expected target registration errors of 1.4 to 2.8 mm, on sample sizes of 8 to 29 cases and with customised initialisation or segmentation. One of them reports a median target registration error of 1.8 mm on 20 patients, after an initialisation from six manual landmarks. These published values come from other data and protocols, so they indicate the gap in performance rather than a controlled comparison on this data set.

## Limits of the validation

A sizable data set completely unseen during methodology development was not available, so generalisation could not be tested conclusively. The authors plan to test generalisation to data from different centres and to other applications.

Sparse landmarks cannot by themselves define a dense correspondence for one case, so validation treats independent landmark misalignments as samples of the dense registration error. Only about eight landmark pairs per image were annotated, so the evidence depends on pooling across 108 cases.

The predicted DDFs were not constrained to preserve topology, because the regularisation required in this application is relatively heavy. Composing the outputs of the displacement levels instead of summing them is discussed as an option but is not evaluated in the reported experiments. Generalised Dice and weighted cross-entropy did not improve the results in this application, which the authors attribute to the highly constrained outputs of registration.

## Paper info

- **Authors**: Yipeng Hu, Marc Modat, Eli Gibson, Wenqi Li, Nooshin Ghavami, Ester Bonmati, Guotai Wang, Steven Bandula, Caroline M. Moore, Mark Emberton, Sébastien Ourselin, J. Alison Noble, Dean C. Barratt, Tom Vercauteren
- **Venue**: arXiv · Preprint
- **First published**: 2018-7-9
- **Added**: 2026-11-6
- **Updated**: 2018-7-9
- **Version**: v1
- **arXiv**: 1807.03361
- **DOI**: 10.1016/j.media.2018.07.002
- **Category**: cs.CV · cs.AI · cs.LG · cs.NE
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/1807.03361v1) · [PDF ↗](https://arxiv.org/pdf/1807.03361v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Abstract

One of the fundamental challenges in supervised learning for multimodal image registration is the lack of ground-truth for voxel-level spatial correspondence. This work describes a method to infer voxel-level transformation from higher-level correspondence information contained in anatomical labels. We argue that such labels are more reliable and practical to obtain for reference sets of image pairs than voxel-level correspondence. Typical anatomical labels of interest may include solid organs, vessels, ducts, structure boundaries and other subject-specific ad hoc landmarks. The proposed end-to-end convolutional neural network approach aims to predict displacement fields to align multiple labelled corresponding structures for individual image pairs during the training, while only unlabelled image pairs are used as the network input for inference. We highlight the versatility of the proposed strategy, for training, utilising diverse types of anatomical labels, which need not to be identifiable over all training image pairs. At inference, the resulting 3D deformable image registration algorithm runs in real-time and is fully-automated without requiring any anatomical labels or initialisation. Several network architecture variants are compared for registering T2-weighted magnetic resonance images and 3D transrectal ultrasound images from prostate cancer patients. A median target registration error of 3.6 mm on landmark centroids and a median Dice of 0.87 on prostate glands are achieved from cross-validation experiments, in which 108 pairs of multimodal images from 76 patients were tested with high-quality anatomical labels.

## Quote from the paper

Yipeng Hu, Marc Modat, Eli Gibson, Wenqi Li, Nooshin Ghavami, Ester Bonmati, Guotai Wang, Steven Bandula, Caroline M. Moore, Mark Emberton, Sébastien Ourselin, J. Alison Noble, Dean C. Barratt, Tom Vercauteren (2018). Weakly-Supervised Convolutional Neural Networks for Multimodal Image Registration. arXiv:1807.03361v1. https://doi.org/10.1016/j.media.2018.07.002

**BibTeX**

```
@article{hu2018weakly,
  title = {{Weakly-Supervised Convolutional Neural Networks for Multimodal Image Registration}},
  author = {Yipeng Hu and Marc Modat and Eli Gibson and Wenqi Li and Nooshin Ghavami and Ester Bonmati and Guotai Wang and Steven Bandula and Caroline M. Moore and Mark Emberton and Sébastien Ourselin and J. Alison Noble and Dean C. Barratt and Tom Vercauteren},
  year = {2018},
  eprint = {1807.03361},
  archivePrefix = {arXiv},
  doi = {10.1016/j.media.2018.07.002},
  url = {https://arxiv.org/abs/1807.03361v1}
}
```

## Other paper commentary

- [A Deep Cascade of Convolutional Neural Networks for Dynamic MR Image Reconstruction](https://refivu.com/en/papers/c81adf70-889d-4a7a-93f1-14353887187b-a-deep-cascade-of-convolutional-neural-networks-for.md)
- [Learning to (Learn at Test Time): RNNs with Expressive Hidden States](https://refivu.com/en/papers/6a02f8bd-d757-4f00-9d97-6829bf6db29f-learning-to-learn-at-test-time-rnns-with.md)
- [GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints](https://refivu.com/en/papers/11792bcd-8c73-4a2d-8b43-c855c3d7ad48-gqa-training-generalized-multi-query-transformer-models-from.md)
- [Fast Transformer Decoding: One Write-Head is All You Need](https://refivu.com/en/papers/65f892e7-2a21-4ce7-9e89-c75f7ec6b23c-fast-transformer-decoding-one-write-head-is-all.md)
- [Dynamic Routing Between Capsules](https://refivu.com/en/papers/a4e87f62-36cc-47df-991e-87dd01b1a4ef-dynamic-routing-between-capsules.md)
- [Distilling the Knowledge in a Neural Network](https://refivu.com/en/papers/d39fc594-ec58-4492-b1f4-d2d3600a6455-distilling-the-knowledge-in-a-neural-network.md)
- [Variational Quantum Circuits for Deep Reinforcement Learning](https://refivu.com/en/papers/f6af79b4-b092-4c2a-8589-70b19b37fcc5-variational-quantum-circuits-for-deep-reinforcement-learning.md)
- [Large Language Models Encode Clinical Knowledge](https://refivu.com/en/papers/54421651-3211-4d10-8173-bc88802e60f6-large-language-models-encode-clinical-knowledge.md)
- [MoE-LLaVA: Mixture of Experts for Large Vision-Language Models](https://refivu.com/en/papers/fb693097-da32-48e7-b5d7-5855f63c8534-moe-llava-mixture-of-experts-for-large-vision.md)
- [JARVIS-1: Open-World Multi-task Agents with Memory-Augmented Multimodal Language Models](https://refivu.com/en/papers/cf00e122-bac5-4b1b-869d-88ddc3860800-jarvis-1-open-world-multi-task-agents-with.md)
- [Explaining a Series of Models by Propagating Shapley Values](https://refivu.com/en/papers/156a125e-30ec-4bbb-8d1f-a941c551d78c-explaining-a-series-of-models-by-propagating-shapley.md)
- [Precise and Dexterous Robotic Manipulation via Human-in-the-Loop Reinforcement Learning](https://refivu.com/en/papers/f8ac2bf8-18ae-41b1-9229-515501c8d0d8-precise-and-dexterous-robotic-manipulation-via-human-in.md)

## Terms in this paper

- [u-net](https://refivu.com/en/terms/f49a93d54ad5-u-net)
- [Gaussian filter](https://refivu.com/en/terms/75ff695bca0c-gaussian-filter)
- [Jacobian determinant](https://refivu.com/en/terms/08a2e5d4883c-jacobian-determinant)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/bfc7dfd6-1596-4541-9723-c26ab0c5a3f5-weakly-supervised-convolutional-neural-networks-for)
