ModeTv2: GPU-accelerated motion decomposition transformer for pairwise optimization in medical image registration

Haiqiao Wang, Zhuoyuan Wang, Dong Ni, Yi WangMedical Image Analysis 2024

TL;DR

This paper introduces ModeTv2, a novel deep learning model for medical image registration that leverages a GPU-accelerated Transformer architecture to efficiently decompose complex motion patterns. By optimizing for pairwise registration and introducing a refined "RegHead" module, ModeTv2 achieves state-of-the-art accuracy and efficiency, making it a promising tool for clinical applications.

What Problem Does This Paper Address?

Deformable image registration (DIR) is crucial for medical imaging, aiding in diagnosis and guiding interventions. Traditional DIR methods are accurate but slow, while existing deep learning (DL) approaches, though fast, often struggle with generalizability across different domains and can be less interpretable. This paper aims to bridge this gap by developing a DL model that combines the accuracy and interpretability of traditional methods with the speed of DL, specifically focusing on enabling efficient and effective pairwise optimization (PO) for registration. The challenge lies in creating a DL model that can handle diverse motion patterns, maintain anatomical realism, and generalize well without extensive retraining for new datasets or modalities.

Methods

The core of ModeTv2 is its GPU-accelerated Motion Decomposition Transformer (ModeT). This operator, an enhancement of their previous work, uses a multi-head neighborhood attention mechanism to dissect complex motion into multiple "subfields" at each resolution level. This decomposition allows the model to better capture diverse motion patterns.

Key innovations include:

  • GPU Acceleration: The ModeT operator is re-implemented with CUDA extensions to significantly speed up computation and reduce memory usage, making it suitable for efficient pairwise optimization.
  • RegHead Module: A novel "RegHead" module is introduced to refine the deformation fields generated by ModeT. This module integrates the multiple motion subfields, improving deformation realism and reducing the number of trainable parameters. It acts as a filter, learning to resolve artifacts and effectively decompose large deformations into smaller, diffeomorphic steps.
  • Pyramid Structure: The network employs a pyramid architecture, processing images from coarse to fine resolutions. This reduces the computational burden of attention calculations and allows for efficient handling of large deformations.

Datasets

The proposed method was evaluated on four public datasets:

  • LPBA dataset: 40 brain MRI volumes, used for training and testing pairwise registration.
  • Mindboggle dataset: Brain MRI scans, also used for training and testing.
  • IXI dataset: Brain MRI scans, used for template-to-subject registration.
  • Abdomen CT (ABCT) dataset: CT scans with annotated organs, used for inter-subject registration.

Key Insights and Ideas

  • Decomposition is Key: The paper strongly advocates for decomposing complex motion into multiple subfields as a fundamental strategy for accurate and robust registration. This approach allows the model to learn more nuanced deformations.
  • GPU Acceleration is Crucial for PO: The CUDA implementation of the ModeT operator is vital for enabling efficient pairwise optimization, a capability that is often lacking in existing DL registration methods.
  • RegHead for Refinement: The RegHead module proves effective in integrating the decomposed motion subfields, leading to more realistic deformations and reducing the model's complexity.
  • Inductive Bias Matters: The pyramid structure and the attention-based motion decomposition provide a strong inductive bias that accelerates convergence and improves generalization.

Key Results

  • State-of-the-Art Accuracy: ModeTv2 consistently achieved the highest Dice Similarity Coefficient (DSC), lowest Hausdorff Distance (HD95), and Average Symmetric Surface Distance (ASSD) across all tested datasets (ABCT, LPBA, Mindboggle, IXI). For instance, on the ABCT dataset, the large ModeTv2 model achieved a DSC of 81.8% and an ASSD of 4.48mm.
  • Efficiency Gains: The GPU-accelerated ModeTv2 significantly reduced training and inference times compared to previous methods and even its own predecessor (ModeT). The small ModeTv2-s model achieved an inference time of 0.23s per case.
  • Improved Generalizability: ModeTv2 demonstrated strong performance in cross-domain registration experiments, showing good accuracy even when trained on one modality and tested on another, and converging quickly during pairwise optimization.
  • Reduced Folding: The diffeomorphism versions of ModeTv2 generated deformation fields with very low negative Jacobian ratios, indicating high-quality, fold-free registrations.

Limitations and Future Work

  • Encoder Architecture: The authors acknowledge that the encoder still relies on pure convolutions. They suggest that exploring Transformer-based encoders could potentially reduce the overall trainable parameter count and further enhance performance.
  • Multi-Modal Registration: The current work focuses on mono-modal registration. The authors propose extending ModeTv2 to multi-modal registration tasks as a future direction.
  • Attention Mechanisms: Further research into more efficient attention mechanisms could also be beneficial.
  • Real-time Applications: While ModeTv2 offers significant speedups, further optimization might be needed for strict real-time surgical applications, potentially involving trade-offs between model size and speed.

Summary updated

BibTeX
@article{wang2024modetv,
  author = {Haiqiao Wang and Zhuoyuan Wang and Dong Ni and Yi Wang},
  title = {{ModeTv2: GPU-accelerated motion decomposition transformer for pairwise optimization in medical image registration}},
  journal = {Medical Image Analysis},
  year = {2024},
}
Figure