Abstract
We present VoxelMorph, a fast learning-based framework for deformable, pairwise medical image registration. Traditional registration methods optimize an objective function for each pair of images, which can be time-consuming for large datasets or rich deformation models. In contrast to this approach, and building on recent learning-based methods, we formulate registration as a function that maps an input image pair to a deformation field that aligns these images. We parameterize the function via a convolutional neural network (CNN), and optimize the parameters of the neural network on a set of images. Given a new pair of scans, VoxelMorph rapidly computes a deformation field by directly evaluating the function. In this work, we explore two different training strategies. In the first (unsupervised) setting, we train the model to maximize standard image matching objective functions that are based on the image intensities. In the second setting, we leverage auxiliary segmentations available in the training data. We demonstrate that the unsupervised model's accuracy is comparable to state-of-the-art methods, while operating orders of magnitude faster. We also show that VoxelMorph trained with auxiliary data improves registration accuracy at test time, and evaluate the effect of training set size on registration. Our method promises to speed up medical image analysis and processing pipelines, while facilitating novel directions in learning-based registration and its applications.
Introduction
In medical imaging, deformable registration is the critical process of aligning two 3D scans (such as MRIs) so that corresponding anatomical structures overlap. This capability is vital for tracking disease progression, surgical planning, and population-wide anatomical studies.
The traditional approach to this problem is "optimization-based": for every new pair of images, an algorithm must iteratively solve a complex mathematical problem to find the optimal warp. This is computationally expensive, often requiring minutes to hours per pair. As medical datasets grow into the thousands, this per-pair bottleneck makes large-scale studies increasingly difficult. VoxelMorph aims to replace this "solve-from-scratch" approach with a "learn-once, apply-everywhere" framework, transforming registration into a lightning-fast, single-pass deep learning task.
Methodology
VoxelMorph treats registration as a learning problem, optimizing the parameters of a network across a whole dataset rather than optimizing a deformation field for a single pair of images.
Architecture and Training
The core of the framework is a V-Net/U-Net style encoder-decoder with skip connections. The network takes two concatenated 3D volumes—a moving image ($m$) and a fixed image ($f$)—as input and outputs a dense displacement field ($ϕ$).
To enable training without "ground truth" deformations, the authors utilize a Spatial Transformer Layer. This differentiable component allows the network to warp the moving image toward the fixed image, enabling the calculation of a loss based on the resulting alignment. The framework supports two primary training strategies:
- Unsupervised: A loss function combining local cross-correlation (to match image intensities) and a smoothing regularizer (to ensure physically plausible deformations).
- Auxiliary Supervision: If anatomical segmentations are available during training, the model can incorporate a "Dice loss" to ensure specific structures (like the hippocampus) overlap correctly. Importantly, these labels are only required during training, not at test time.
This approach utilizes amortized optimization. By training on a large dataset, the network learns a global representation of anatomical variation, effectively "amortizing" the cost of optimization over thousands of examples.
Experimental Setup
The study utilized a massive, multi-site dataset of 3,731 T1-weighted 3D MR brain scans aggregated from eight public sources, including OASIS, ABIDE, and the Harvard GSP. This diverse dataset provided a robust distribution of ages and health conditions for the model to learn from. Testing was conducted against manual expert segmentations, specifically using the FreeSurfer Buckner40 dataset.
Results and Discussion
Speed and Accuracy
VoxelMorph demonstrates that accuracy does not need to be sacrificed for speed. The model registered a pair of 3D volumes in under 1 second on a GPU, compared to the baseline (ANTs) which took over 2 hours on a CPU.
Quantitatively, accuracy was measured by the Dice score (where 1.0 represents perfect overlap). VoxelMorph achieved scores (~0.75) comparable to or slightly better than state-of-the-art classical methods like ANTs and NiftyReg across various brain structures. When trained with auxiliary labels, the model significantly improved registration for difficult, small anatomical structures.
Key Insights
- Implicit Regularization: Because network weights are shared across thousands of pairs, the model naturally learns a "prior" for human brain anatomy, making it more robust than isolated pair optimization.
- Data Efficiency: The model reaches near-peak performance with as few as 100 training images, suggesting that massive datasets are not a prerequisite for adopting this deep learning approach.
- Closing the Amortization Gap: While the initial network output is excellent, the authors suggest that a quick "instance-specific" fine-tuning can further enhance accuracy, combining the strengths of deep learning and classical optimization.
Conclusion and Future Work
VoxelMorph represents a significant shift in medical image processing, offering a general-purpose framework that is orders of magnitude faster than traditional methods. While the current study focuses on mono-modal T1-weighted brain MRIs, the framework is extensible. Future work includes ensuring "diffeomorphic" transforms (smooth, reversible warps without tissue folding), extending the model to multi-modal tasks (e.g., MRI to CT), and applying the framework to other highly deformable organs like the lungs or heart.
Summary updated