A Plug-and-Play Image Registration Network

Junhao Hu, Weijie Gan, Zhixin Sun, Hongyu An, Ulugbek Kamilov

Deformable image registration (DIR) is a cornerstone of biomedical imaging, essential for aligning scans—such as brain MRIs from different patients—by calculating a dense "deformation field" that warps one image to match another.

Historically, researchers relied on iterative optimization. While mathematically grounded and reliable, this classical approach is notoriously slow. Recently, Deep Learning (DL) methods like VoxelMorph have gained popularity due to their lightning-fast inference speeds. However, these DL methods suffer from a "black box" problem: they rely entirely on learned priors and do not explicitly enforce data fidelity between the warped image and the target during testing. This often leads to unphysical deformations, such as the image folding in on itself (indicated by negative Jacobian determinants).

To bridge this gap, researchers have introduced PIRATE (Plug-and-Play Image RegistrATion nEtwork), a framework that brings "Plug-and-Play" (PnP) priors to DIR. By extending this into PIRATE+ using Deep Equilibrium Models (DEQ), the authors create an "infinite-depth" network that fine-tunes itself for specific registration tasks, achieving state-of-the-art accuracy and physically plausible results.

Methodology: PIRATE and PIRATE+

The paper proposes two flavors of their architecture to combine the reliability of classical optimization with the sophisticated priors of neural networks.

Architecture of PIRATE and PIRATE+

1. PIRATE (Plug-and-Play Image Registration Network) Most PnP research focuses on restoring images (e.g., denoising or deblurring). PIRATE innovates by applying PnP to registration fields, treating unphysical distortions in the warp as "noise." It uses a pre-trained Convolutional Neural Network (CNN) denoiser as a prior for what a valid deformation field should look like. Instead of outputting a field in a single pass, PIRATE runs an iterative optimization. In each step, it updates the field to better match the images (ensuring data fidelity) and then "plugs in" the CNN denoiser to smooth and correct the field.

2. PIRATE+ While PIRATE uses a generic denoiser, PIRATE+ employs Deep Equilibrium Models (DEQ) to fine-tune that denoiser specifically for the registration task. DEQ interprets the infinite iterations of the PIRATE algorithm as a single, infinitely deep neural network. Using implicit differentiation, the authors train this "infinite" network end-to-end without exceeding memory limits.

During DEQ training, PIRATE+ relies on a robust three-term loss function:

  • Similarity Loss: Ensures the source and target images accurately align.
  • Smoothness Loss: Prevents erratic, jagged warps.
  • Jacobian Loss: Specifically penalizes "folding" or non-physical overlaps in the deformation field.

Key Insights and Performance

The researchers validated their models on major benchmarks, including OASIS-1 and CANDI (brain MRI datasets), as well as EMPIRE10 (a lung CT dataset), proving the method's generalizability across different anatomies and modalities.

Quantitative results on OASIS and CANDI datasets

State-of-the-Art Accuracy: On the OASIS and CANDI datasets, PIRATE+ achieved the highest Dice Similarity Coefficients (DSC), outperforming popular models like VoxelMorph and NODEO.

Superior Physicality: A major breakthrough of PIRATE+ is its ability to ensure transformations are mathematically and biologically valid. It demonstrated a dramatic decrease in the ratio of negative Jacobian determinants (Neg. JD %). For example, on the OASIS dataset, PIRATE+ achieved a remarkably low Neg. JD ratio of 0.0495%, compared to 0.0940% for VoxelMorph and 0.1418% for GraDIRN.

Efficiency and Optimization: The authors also discovered that using a cosine-based dynamic step size during the iterative process significantly improved convergence compared to a fixed step size. While PIRATE+ is slower than "one-shot" CNNs (which take fractions of a second), it remains significantly faster than traditional iterative methods and complex models like NODEO, positioning it as a highly practical middle ground for clinical use.

Limitations and Future Directions

Despite its strong performance, the approach has limitations. Training PIRATE+ takes considerably longer than traditional CNN-based models because it requires finding fixed points during every training epoch. Additionally, implementing DEQ and implicit differentiation is mathematically more complex than standard backpropagation.

Looking forward, the authors suggest exploring the model's adaptability to even more diverse imaging modalities, such as whole-body registration or cross-modal registration (e.g., aligning a CT scan to an MRI), further expanding the potential of Plug-and-Play networks in medical imaging.

Summary updated

BibTeX
@inproceedings{hu2024plug,
  author = {Junhao Hu and Weijie Gan and Zhixin Sun and Hongyu An and Ulugbek Kamilov},
  title = {{A Plug-and-Play Image Registration Network}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=DGez4B2a6Y},
}
Figure