UniDR: Learning To Generate Anatomical Deformations From Images via Unified Diffusion Modeling and Registration

Swakshar Deb, Tonmoy Hossain, Tom Fletcher, Miaomiao ZhangarXiv 2026

It’s late, your coffee is cold, and you’re staring at medical images. You know the drill: to train a robust model for something like brain segmentation, you need a mountain of data. But medical data is scarce, and "faking it" with standard generative models often results in "hallucinated" anatomy that would make a radiologist weep.

This paper, UniDR, offers a clever way out. Instead of trying to generate pixels from scratch, it learns to generate the physics of movement—the anatomical deformations that happen as a heart beats or a brain ages.

TL;DR

UniDR is a unified framework that combines image registration (finding how one image transforms into another) with diffusion models (the tech behind DALL-E) to generate realistic anatomical changes. By training these two processes together rather than in separate steps, it creates synthetic medical images that are not only high-fidelity but also anatomically "legal," preserving the underlying structure of the organs.

What Problem Does This Paper Address?

In medical imaging, we care deeply about topology. If you’re modeling a brain, you can’t have tissue suddenly disappearing or folding into itself in ways that defy physics. We represent these changes using "deformation fields"—mathematical maps of how every point in an image moves.

The standard way to build a generative model for these fields is a two-step pipeline:

  1. Registration: Use a network to estimate the deformation between pairs of images.
  2. Generation: Train a second model to learn the distribution of those estimated deformations.

The catch? If your registration step makes a mistake (and it will), that error gets baked into your generative model. It’s like trying to learn to dance by watching a video that skips every third frame.

The difference between the traditional two-step approach and UniDR's unified approach.

Methods

The authors propose UniDR (Unified Diffusion modeling and Registration). Instead of a linear pipeline, they create a feedback loop where the generative model and the registration process are optimized simultaneously.

The Secret Sauce: Registration-Guided Diffusion

UniDR uses a conditional diffusion model. Usually, diffusion models start with noise and slowly refine it into an image. UniDR does this in "deformation space." It starts with a noisy transformation and refines it into a plausible anatomical deformation, conditioned on a source image.

What makes it "Unified" is the objective function. During training, the model isn't just trying to "denoise" the transformation; it’s also being judged on a registration loss. It asks: "If I apply this generated transformation to the source image, does the result actually look like a real target image?"

To ensure the deformations don't "break" the anatomy, they use Stationary Velocity Fields (SVF). This is a bit of group theory (Lie algebras, specifically) that ensures the resulting mappings are diffeomorphisms—meaning they are smooth, invertible, and preserve the "connectedness" of the structures. No holes, no tears.

Figure 2. An overview of our proposed network architecture of UniDR. ⊕indicates the channel-wise concatenation operation.

Datasets

The team put UniDR through its paces on three distinct fronts:

  • Synthetic MNIST: A "toy" dataset of handwritten digits subjected to random rotations and translations to test basic geometric learning.
  • 3D Brain MRIs (ADNI): 1,021 participants with longitudinal scans. This tests the model's ability to simulate complex 3D anatomical aging and disease progression (like Alzheimer's).
  • 2D Cardiac MRIs (ACDC): Cine CMR images used to model the heart's contraction from the end-diastolic to end-systolic phase.

Key Insights and Ideas

  • Bidirectional Learning: The registration task provides "structured supervision" for the diffusion model. In return, the diffusion model acts as a powerful "prior," helping the registration process explore a wider space of plausible shapes.
  • Implicit Supervision: You don't need "ground truth" deformation fields (which are nearly impossible to get for real patients). The model learns what a "good" deformation looks like just by looking at image pairs.
  • Label-Preserving Augmentation: Since the model generates a transformation rather than just an image, you can apply that same transformation to a manual segmentation mask. This gives you a new, perfectly labeled training image for free.

Key Results

UniDR consistently outperformed state-of-the-art two-stage models (like MorphLDM and TPIE):

  • Fidelity: On 3D Brain MRIs, UniDR achieved an FID (Fréchet Inception Distance) of 0.232, significantly lower (better) than the competition.
  • Topology: The "folding" rate (measured by negative Jacobian determinants) was nearly zero (0.0009%), meaning the generated brains were almost perfectly anatomically plausible.
  • Downstream Gains: When used for data augmentation, UniDR improved the accuracy (Dice score) of brain structure segmentation by 1% to 5% across various regions.
Figure 3. A comparison of generated samples on Roto-Translated MNIST. UniDR produces larger and more diverse rotations and translations while preserving digit topology.

Limitations and Future Work

The authors are honest about one major constraint: UniDR currently only models geometry. It can move tissue around, but it doesn't account for intensity changes. For example, it can't simulate a new bright lesion appearing in a brain or the way tissue signal changes with different MRI settings.

The next frontier? A model that jointly learns to deform the geometry and synthesize the appearance changes, creating a truly complete "digital twin" of human anatomy.

Summary updated

Abstract

This paper presents a novel framework, Unified Diffusion modeling and Registration (UniDR), which learns to generate arbitrary anatomical deformations from images with preserved topology. Existing approaches often model the generative process separately from registration-based deformation estimation; hence making them prone to propagated errors from the registration stage. To address this limitation, we propose a unified paradigm based on a conditional diffusion model over deformation fields that are jointly optimized from the registration process. A principled registration-guided score-matching objective function is then introduced to align the diffusion process with the deformation distribution induced by registration. As a result, our UniDR establishes an explicit connection between generation and registration: the diffusion model enables exploration of the space of plausible anatomical deformations, whereas registration provides structured supervision for learning transformations consistent with observed images. Once trained, UniDR is able to sample diverse, anatomically plausible transformations conditioned on any single input image. We evaluate UniDR across multiple real-world applications and demonstrate its effectiveness in generating high-fidelity image samples compared to the state-of-the-art. Additionally, we demonstrate that these generated samples improve performance in downstream medical image analysis and vision tasks.
BibTeX
@misc{deb2026unidr,
  author = {Swakshar Deb and Tonmoy Hossain and Tom Fletcher and Miaomiao Zhang},
  title = {{UniDR: Learning To Generate Anatomical Deformations From Images via Unified Diffusion Modeling and Registration}},
  year = {2026},
  eprint = {2611.29712},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.29712},
}
Figure