Manuscript Offprint

arXiv:2609.10789

Two-Parameter Flow Map Learning for Continuous-Time Diffeomorphic Image Registration

Mohammadjavad Matinkia, Nilanjan Ray

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Mohammadjavad Matinkia ID^{ID} and Nilanjan Ray ID^{ID}

University of Alberta, Canada

matinkia@ualberta.ca, nray1@ualberta.ca

Abstract. Diffeomorphic image registration is central to medical image analysis, enabling anatomically consistent alignment across subjects. Most learning-based diffeomorphic methods model autonomous ODEs (ordinary differential equations) by parameterizing a stationary velocity field and recovering deformations via scaling-and-squaring. While non-autonomous ODEs with time-dependent velocities increase expressiveness, existing approaches rely on numerical integration to implicitly enforce flow structure that entangles model expressiveness with discretization accuracy. We propose a framework to directly learn the continuous-time solution of a non-autonomous ODE formulated as a two-parameter flow map. By enforcing cocycle consistency, a fundamental structural property of time-varying flows, we learn the flow maps without time discretization and velocity integration during training. The framework recovers diffeomorphic mappings at inference using a small number of compositions. Our proposed framework seamlessly incorporates standard registration backbones and improves alignment accuracy consistently across nine datasets while preserving diffeomorphic structure. Notably, the proposed method achieves an average Dice improvement of 2.1% on brain MRI benchmarks, a 12% TRE reduction on lung CT, and a 2.6% Dice gain on cardiac MRI and ultrasound datasets (https://mattkia.github.io/TPFMDIR/).

Keywords: Diffeomorphic Image Registration · Medical Image Registration · Flow-Based Models · Non-autonomous ODEs

1 Introduction

Diffeomorphic image registration (DIR) aims to estimate a smooth, bijective transformation that warps a moving image onto a fixed image while preserving topology. Unlike general deformable registration methods, which prioritize image similarity under smoothness constraints, diffeomorphic approaches explicitly enforce smooth invertibility to prevent foldings and ensure anatomically plausible alignment. Although this constraint provides strong geometric guarantees,

M. Matinkia, N. Ray

Figure

Fig. 1: Overview of TPFM-DIR. The left panel illustrates time-dependent similarity supervision, while the right panel depicts cocycle consistency regularization. Top: forward-time training; bottom: backward-time training.

diffeomorphic methods have historically faced a trade-off between anatomical consistency and alignment accuracy [15].

Traditional DIR methods rely on variational optimization to compute a deformation for each image pair, resulting in high computational cost [2, 6, 31]. Neural approaches address this limitation by either optimizing network parameters per image pair or learning deformation priors across datasets for rapid inference [4, 14, 48]. A particularly influential class of neural DIR methods models deformations as flows generated by ordinary differential equations (ODEs) [5, 8, 32]. In this formulation, the transformation is obtained by integrating a velocity field over time. Autonomous ODEs, being based on stationary velocity fields, allow efficient integration via scaling-and-squaring [1]. Non-autonomous formulations generalize this setting by allowing time-dependent velocity fields. However, they require costly numerical integration during both training and inference to induce flow structure. As a result, deformation consistency becomes coupled to discretization schemes and solver accuracy [45].

We introduce TPFM-DIR, a flow-based framework, which directly models the continuous-time solution operator of a non-autonomous ODE. By doing so, the method eliminates explicit velocity parameterization and numerical integration during training. Our approach is grounded in the theoretical properties of non-autonomous ODE solutions. In particular, we exploit the cocycle property, which characterizes valid flow maps of non-autonomous systems [25]. We propose a cocycle-based regularization for flow maps. This regularization enforces temporal consistency, and promotes invertibility and regularity of the deformation. As a result, TPFM-DIR does not require explicit integration and

Figure

Fig. 2: Architecture of TPFM-DIR (left), training scheme (top right), and inference scheme (bottom right). The training diagram illustrates the forward direction; the backward direction follows the formulation shown in Fig. 1. In all experiments, we use N = 4 compositions during inference.

multiple handcrafted smoothness penalties that are commonly used in diffeomorphic learning frameworks.

By modeling the flow map directly, the framework captures complex time-dependent deformations. At inference time, global transformations are constructed through a small number of compositions of predicted short-time maps. This strategy improves deformation regularity while maintaining computational efficiency.

Empirically, TPFM-DIR narrows the performance gap between diffeomorphic and deformable registration, matching or surpassing strong deformable baselines while preserving topology. We further demonstrate that TPFM-DIR integrates with diverse backbone architectures, consistently improving both alignment accuracy and topology preservation. The contributions of this work are summarized as follows:

  1. We introduce TPFM-DIR, a flow-map-based formulation of diffeomorphic image registration, that directly models the two-parameter solution of a non-autonomous ODE. Unlike velocity-based parameterizations that learn the generating field, our formulation operates at the level of the flow map itself, enabling structural modeling of the time-dependent deformations.

  2. We propose a cocycle-based regularization with formal guarantees that characterize valid solutions of non-autonomous ODEs. This removes the need for explicit numerical integration during training while promoting temporal consistency and invertibility without relying on multiple handcrafted smoothness penalties.

  3. We validate TPFM-DIR on nine benchmark datasets spanning 2D and 3D MRI, CT, and ultrasound, demonstrating consistent improvements over strong deformable and diffeomorphic methods.

M. Matinkia, N. Ray

Figure

Fig. 3: Continuous registration trajectory on CANDI. Top: warped image evolution with overlaid velocity norms computed by Eq. (9) indicating time-varying velocity. Bottom: incremental image differences illustrating temporal smoothness.

References (51)

  • A log-euclidean framework for statistics on diffeomorphisms
  • Symmetric diffeomorphic image registration with cross-correlation: evaluating automated labeling of elderly and neurodegenerative brain
  • A reproducible evaluation of ants similarity metric performance in brain image registration
  • An unsupervised learning model for deformable medical image registration
  • Voxelmorph: a learning framework for deformable medical image registration
  • Computing large deformation metric mappings via geodesic flows of diffeomorphisms
  • Liemorph: Transformer-based image registration using flows on lie groups
  • Transmorph: Transformer for unsupervised medical image registration
  • Transmatch: a transformer-based multilevel dual-stream feature matching network for unsupervised deformable image registration
  • Linear algebra: Theory and applications
  • Sacb-net: Spatial-awareness convolutions for medical image registration
  • Consistent image registration
  • Tracking lung tissue motion and expansion/compression with inverse consistent image registration and spirometry
  • Unsupervised learning for fast probabilistic diffeomorphic registration
  • Towards saner deep image registration
  • Variational problems on flows of diffeomorphisms for image matching
  • Mean flows for one-step generative modeling (opens arXiv in a new tab)
  • H-vit: A hierarchical vision transformer for deformable image registration
  • Gaussian Error Linear Units (GELUs)
  • R2net: Efficient and flexible diffeomorphic image registration using lipschitz continuous residual networks
  • Candishare: a resource for pediatric neuroimaging data
  • Diffusemorph: Unsupervised deformable image registration using diffusion model
  • Cyclemorph: cycle consistent unsupervised deformable image registration
  • 101 labeled brain images and a consistent human cortical labeling protocol
  • Nonautonomous dynamical systems
  • Deep learning for segmentation using an open large-scale dataset in 2d echocardiography
  • Flow Matching for Generative Modeling
  • Open access series of imaging studies (oasis): cross-sectional mri data in young, middle aged, nondemented, and demented older adults
  • Correlation-aware coarse-to-fine mlps for deformable medical image registration
  • On the metrics and euler-lagrange equations of computational anatomy
  • Fast free-form deformation using graphics processing units
  • Fast symmetric diffeomorphic image registration with convolutional neural networks
  • Large deformation diffeomorphic image registration with laplacian pyramid networks
  • Conditional deformable image registration with convolutional neural network
  • Film: Visual reasoning with a general conditioning layer
  • Acdc: The adverse conditions dataset with correspondences for semantic driving scene understanding
  • Construction of a 3d probabilistic atlas of human cortical structures
  • Unsupervised deformable image registration with fully connected generative neural network
  • Pulpo: Probabilistic unsupervised laplacian pyramid registration
  • Deformable medical image registration: A survey
  • Gradicon: Approximate diffeomorphisms via gradient inverse consistency
  • Nephi: Neural deformation fields for approximately diffeomorphic medical image registration (opens arXiv in a new tab)
  • Guiding registration with emergent similarity from pre-trained diffusion models
  • Learning image-based spatial transformations via convolutional neural networks: A review
  • Nodeo: A neural ordinary differential equation based optimization framework for deformable image registration
  • Multi-scale neural odes for 3d medical image registration
  • Adaptive correspondence scoring for unsupervised medical image registration
  • Learning dual transformer network for diffeomorphic registration
  • The segmentation masks of 35 subcortical regions available in the dataset are used for evaluation
  • The segmentation masks of 32 subcortical regions are available in the dataset and used for evaluations
  • The dataset comes with 300 keypoints per image annotated by experts