Deformable Image Registration using Neural ODEs

Yifan Wu, Tom Z. Jiahao, Jiancong Wang, Paul A. Yushkevich, James C. Gee, M. Ani Hsieh

Abstract

NODEO (Neural Ordinary Differential Equation Based Optimization) is a novel framework that treats deformable image registration as a high-dimensional dynamical system. By parameterizing the velocity field of voxels with a neural network and solving it as an ODE, the authors achieve state-of-the-art registration accuracy and guaranteed topological preservation without requiring massive pre-training datasets.

Introduction

Deformable Image Registration (DIR) is the process of finding a dense, non-linear spatial mapping between two images—for example, aligning a patient’s MRI scan from last year with one from today. This is a cornerstone of medical image analysis, but it faces a classic "tug-of-war" between two approaches:

  1. Traditional Optimization: Methods like LDDMM (Large Deformation Diffeomorphic Metric Mapping) are mathematically rigorous and ensure "diffeomorphism" (smooth transformations that don't "fold" the image). However, they are often computationally expensive.
  2. Deep Learning (DL): Modern DL models are fast at inference time but typically require massive amounts of labeled training data and often struggle to generalize to rare pathologies.

NODEO identifies a gap: using the expressive power of neural networks to solve the registration problem for a single pair of images without needing a giant training set, while maintaining the mathematical guarantees of traditional methods.

Methods

The core innovation of NODEO is viewing the image grid as a system of moving particles.

Dynamical System Formulation

Instead of predicting a static displacement field, NODEO models the velocity of every voxel over a continuous "time" interval. The final transformation is the result of integrating these velocities.

Neural ODE Backbone

The velocity field is parameterized by a deep neural network ($v_\theta$). Unlike standard DL registration, this network is optimized specifically for the image pair at hand. To keep memory usage low during optimization, the authors use the Adjoint Sensitivity Method (ASM), which allows for gradient calculation through the ODE solver without storing all intermediate states.

The NODEO architecture parameterizes the velocity field $v_\theta$ using a neural network and solves the registration as an ODE.

Regularization & Constraints

The framework incorporates specific loss functions to ensure results are physically plausible:

  • Jacobian Determinant Penalty: Prevents the transformation from "folding" over itself, maintaining a topology-preserving, diffeomorphic map.
  • Gaussian Smoothing: A kernel is applied to the velocity field to ensure spatial smoothness.
  • Boundary Conditions: The model can enforce fixed boundaries, keeping the edges of the image frame static.

Results

The authors evaluated NODEO on two widely used brain MRI datasets: OASIS (cross-sectional T1 scans) and CANDI (pediatric T1 scans). They compared NODEO against several heavyweights, including SYMNet, SyN, NiftyReg, and Log-Demons.

Quantitative performance comparison showing NODEO outperforming baseline methods in Dice scores and topological preservation.

Key Performance Metrics

  • Accuracy: On the OASIS dataset, NODEO achieved a mean Dice score of 0.779, outperforming SYMNet (0.743) and NiftyReg (0.775).
  • Diffeomorphism: NODEO produced almost zero "folds." Its negative Jacobian ratio was significantly lower than traditional benchmarks, meaning the transformations were much more topologically "clean."
  • Efficiency: While slower than pre-trained DL models, NODEO completes a registration in about 80 seconds, significantly faster than many traditional iterative optimization methods that can take over 20 minutes.

Discussion and Insights

NODEO proves that neural networks are excellent "parametric backbones" for optimization. The network's architecture itself acts as a powerful regularizer for a single pair of images, removing the need for 10,000 training brains. By using an ODE, the transformation is continuous, allowing the model to find smoother, more natural paths of deformation than discrete, voxel-wise jumping.

Furthermore, because it is a dynamical system, NODEO can naturally extend to sequences. The authors demonstrated this by registering a "heart" shape to a "bear" shape while forcing it to pass through a "circle" shape at an intermediate time step—a task that is very difficult for standard registration tools.

Limitations and Future Work

Like many optimization frameworks, NODEO relies on weighting different loss terms (similarity vs. smoothness vs. Jacobian penalty), which can require tuning. While 80 seconds is efficient, it may still be too slow for real-time surgical applications. Future work may explore applying the framework to 4D medical data, such as cardiac cycles or respiratory motion tracking.

Summary updated

BibTeX
@inproceedings{wu2022deformable,
  author = {Yifan Wu and Tom Z. Jiahao and Jiancong Wang and Paul A. Yushkevich and James C. Gee and M. Ani Hsieh},
  title = {{Deformable Image Registration using Neural ODEs}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
  doi = {10.1109/cvpr52688.2022.02014},
}
Figure