DiffuseMorph: Unsupervised Deformable Image Registration Using Diffusion Model

Boah Kim, Inhwa Han, Jong Chul Ye

Abstract

Deformable image registration is one of the fundamental tasks in medical imaging. Classical registration algorithms usually require a high computational cost for iterative optimizations. Although deep-learning-based methods have been developed for fast image registration, it is still challenging to obtain realistic continuous deformations from a moving image to a fixed image with less topological folding problem. To address this, here we present a novel diffusion-model-based image registration method, called DiffuseMorph. DiffuseMorph not only generates synthetic deformed images through reverse diffusion but also allows image registration by deformation fields. Specifically, the deformation fields are generated by the conditional score function of the deformation between the moving and fixed images, so that the registration can be performed from continuous deformation by simply scaling the latent feature of the score. Experimental results on 2D facial and 3D medical image registration tasks demonstrate that our method provides flexible deformations with topology preservation capability.

Introduction

Image registration—the process of aligning a "moving" source image to a "fixed" target image—is a cornerstone of medical imaging, essential for disease tracking and surgical planning. While classical methods are mathematically rigorous, they are computationally expensive due to iterative optimization. Deep learning (DL) alternatives like VoxelMorph offer real-time performance but often struggle with two major issues: topology preservation (preventing physical impossibilities like tissue overlapping) and the generation of realistic, continuous intermediate deformation states.

DiffuseMorph addresses these challenges by leveraging denoising diffusion probabilistic models (DDPMs). By learning a conditional score function, the framework aligns images with high accuracy while enabling smooth, continuous deformation trajectories through simple latent feature scaling.

Methodology

DiffuseMorph introduces a dual-network architecture that combines generative diffusion models with geometric registration networks.

Dual-Network Architecture

  1. The Diffusion Network ($G_\theta$): This network learns a conditional score function. Given a pair of moving and fixed images, it estimates the latent features representing the deformation between them.
  2. The Deformation Network ($M_\psi$): Instead of processing raw images, this network utilizes the latent features from the diffusion network to estimate the registration field ($\phi$). A Spatial Transformation Layer (STL) then warps the moving image.

Diffusion and Deformation

A key innovation is the use of latent features for continuous registration. The authors found that linearly scaling these features (multiplying by a factor $\eta$ between 0 and 1) allows the deformation network to produce a smooth path from source to target. To accelerate the process, the model can generate new images via reverse diffusion starting from a slightly noisy version of the moving image rather than pure Gaussian noise.

The diffusion process involves estimating noise and latent features from the input images to guide deformation.

Experimental Setup

The authors evaluated DiffuseMorph across three distinct tasks:

  1. 2D Facial Expressions: Using the Radboud Faces Database (RaFD) to register different expressions of the same subject.
  2. 3D Cardiac MR: Using the ACDC dataset to register heart scans from the diastolic to the systolic phase.
  3. 3D Brain MR (Atlas-based): Using the OASIS-3 dataset to register individual brain scans to a common template.
Examples of facial expression registration tasks, showing the variety of source and target expressions used for evaluation.

Results and Discussion

DiffuseMorph consistently outperformed baseline models like VoxelMorph (VM) and its diffeomorphic variant (VM-diff) across several metrics:

  • Accuracy: In brain MR registration, DiffuseMorph achieved a Dice score of 0.756, surpassing VM (0.749) and VM-diff (0.731).
  • Topology Preservation: The model showed significantly fewer topological folds. In cardiac data, the percentage of non-positive Jacobian determinants was 0.161%, indicating superior physical realism.
  • Visual Quality: Continuous deformations appeared more natural, particularly in complex facial areas like the mouth where features must appear or disappear realistically.
  • Efficiency: Registration is performed in a single forward pass (~0.01 minutes on GPU for 3D scans), making it highly suitable for clinical environments.

Conclusion

DiffuseMorph represents a significant step forward in unsupervised image registration. By using score functions as geometric priors, the model effectively avoids the "folding" problem common in standard DL approaches. While the registration component is near-instant, the synthetic image generation via reverse diffusion remains a slower process (80–200 steps). Future work may extend this framework to 4D temporal medical image generation, potentially creating high-fidelity synthetic training data for broader medical AI applications.

Summary updated

BibTeX
@inproceedings{kim2022diffusemorph,
  author = {Boah Kim and Inhwa Han and Jong Chul Ye},
  title = {{DiffuseMorph: Unsupervised Deformable Image Registration Using Diffusion Model}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  url = {https://openreview.net/forum?id=qBo7BXrzcW},
}
Figure