A Lagrangian Gauss-Newton-Krylov Solver for Mass- and Intensity-Preserving Diffeomorphic Image Registration

Andreas Mang, Lars Ruthotto

Introduction

Image registration—the process of overlaying two or more images of the same scene—is a cornerstone of medical imaging, essential for tracking tumor growth, mapping brain connectivity, and longitudinal studies. When deformations are large and complex, researchers rely on Large Deformation Diffeomorphic Metric Mapping (LDDMM). This framework ensures transformations are diffeomorphic: smooth, invertible mappings that preserve the topological integrity of the image.

Despite its accuracy, LDDMM is notoriously computationally expensive. Traditional Eulerian methods discretize images on a fixed grid and solve partial differential equations (PDEs) over time. To maintain stability, these methods require numerous small time steps and must store the entire space-time history of the image to calculate gradients for optimization. For high-resolution 3D images, this creates a "memory wall" that limits clinical scalability. Furthermore, most existing solvers rely on slow, first-order gradient descent methods.

Overcoming the Memory Wall: The Lagrangian Approach

This research introduces a highly efficient Lagrangian-based solver that shifts the perspective from a fixed grid to particle tracking. By tracking "particles" along characteristic curves rather than watching the image evolve on a grid, the solver only needs to store the final state of the system to compute derivatives. This drastically reduces memory requirements, making the storage overhead independent of the number of time steps ($N$).

Mathematical Framework and Notation

To facilitate the derivation of the second-order optimization scheme, the authors utilize a consistent set of mathematical notations for the transformation mappings and image intensities.

Table of mathematical symbols and notation used in the Lagrangian framework.

Methods: Optimization and Preservation

The proposed discretize-then-optimize strategy utilizes a Lagrangian hyperbolic PDE solver with several key components:

  • RK4 Integration: A fourth-order Runge-Kutta (RK4) method is used to accurately compute characteristic curves, ensuring the solver remains stable regardless of the chosen step size.
  • Gauss-Newton-Krylov Solver: To accelerate convergence, the authors move beyond simple gradient descent to a second-order Gauss-Newton method. By deriving analytical derivatives for the Lagrangian solver, they utilize an iterative Krylov solver (Preconditioned Conjugate Gradient) to find the optimal velocity field efficiently.
  • Mass vs. Intensity Preservation: The framework supports two primary transport models. The transport equation preserves image intensity (common in MRI), while the continuity equation preserves total mass, which is essential for PET scans where tracer concentration must be conserved.
Comparison of the Lagrangian perspective for advection (intensity preservation) and continuity (mass preservation) models.

Key Insights

  1. Unconditional Stability: Unlike explicit Eulerian schemes, the Lagrangian method is stable regardless of the time step size relative to velocity.
  2. Sparse Derivatives: The derivatives of the transformation with respect to the velocity field can be represented as sparse matrices. This sparsity allows Gauss-Newton iterations to remain computationally efficient even with millions of degrees of freedom.
  3. Spectral Preconditioning: The use of Discrete Cosine Transforms (DCT) to cluster the eigenvalues of the Hessian allows the iterative linear solver to converge in significantly fewer steps.

Experimental Results

The solver was evaluated on both synthetic benchmarks and high-resolution clinical data:

  • 3D Brain MRI (NIREP): In tests involving up to 14.7 million degrees of freedom, the solver achieved a Dice score of ~0.8, indicating high-fidelity alignment. It performed roughly 2x faster than state-of-the-art hyperelastic registration models.
  • 3D Cardiac PET: In registering systolic and diastolic images of a mouse heart, the mass-preserving model (MP-LDDMM) achieved a 99.98% reduction in distance measure, significantly outperforming standard intensity-based models for this modality.

Conclusion

By combining a Lagrangian PDE solver with a second-order Gauss-Newton-Krylov optimization strategy, this work effectively breaks the "memory wall" of LDDMM. The resulting framework is fast, stable, and scalable, providing a robust tool for large-scale clinical applications in both mass- and intensity-preserving image registration.

Summary updated

BibTeX
@article{mang2017lagrangian,
  author = {Andreas Mang and Lars Ruthotto},
  title = {{A Lagrangian Gauss-Newton-Krylov Solver for Mass- and Intensity-Preserving Diffeomorphic Image Registration}},
  journal = {SIAM J. Sci. Comput.},
  year = {2017},
  doi = {10.1137/17m1114132},
}
Figure