arXiv:2611.06954cs.GRNov 2026

Manuscript Offprint

arXiv:2611.06954

Certified folding-free deformable image registration: A whole-cell Jacobian certificate and a sequential variational solver

Baihan Zhao, Zicong Zhou, Guojun Liao

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

BAIHAN ZHAO, ZICONG ZHOU, AND GUOJUN LIAO

ABSTRACT. Registration transformations are used to propagate labels, to measure local volume change and to map results back through their inverse; all three uses require an invertible transformation. Registration methods usually guarantee invertibility only for an idealised continuous transformation. Folding of the computed transformation is then reported with a voxelwise finite-difference check, which can miss foldings between grid points. We consider the canonical continuous extension of a nodal displacement field, its trilinear interpolant, and give a test that either proves that its Jacobian determinant is positive at every point of every grid cell or rejects the map. The test is rigorous under the IEEE 754 binary64 model (correctly rounded operations without contraction), and with a fixed boundary a proof implies that the transformation is a bi-Lipschitz homeomorphism of the image domain. We build a registration method, SeqVP, around this certificate. A proximal formulation of the Jacobian-determinant-curl variational principle, with the controls eliminated, gives a sequence of inner problems whose penalties on the change of the map, its Jacobian determinant and its curl vanish to first order at the current map. The scheme decreases a fixed outer energy (verified up to a floating-point resolution guard), and every committed iterate is certified, so stopping at any time after the certified initialisation returns a folding-free map. A Poisson-preconditioned gradient method with Jacobian-aware step prediction and affine-scaling damping, started from a certified handoff of an uncertified binary32 pre-optimiser, makes this affordable for 1 mm brain MRI with about 2×1072 \times 10^7 unknowns in 90s on one GPU. On 49 held-out OASIS pairs the method reaches a mean Dice of 0.821 over 35 structures and 0.889 over 4 tissue classes with certified zero folding, +0.022 and +0.025 over ANTs SyN and +0.022 / +0.023 over uniGradICON with instance optimisation at equal time (paired, Holm-adjusted p<0.001p < 0.001), at the cost of rougher maps; on LPBA40 it is level with ANTs, on IBSR18 behind it, and on 20 large-deformation pairs ahead of every label-free baseline. Applied to the fields of nine established methods, the certificate proves non-positive cells on every ANTs SyN map (a median of ten cells, invisible to the voxelwise check) and on every map of NiftyReg, ConvexAdam, uniGradICON and TransMorph.

1. INTRODUCTION

Deformable image registration estimates a spatial transformation that aligns the anatomy in a moving image with that in a fixed image. In computational anatomy the transformation does more than resample the moving image: its Jacobian determinant is analysed voxel by voxel in deformation- and tensor-based morphometry [14, 36, 28], label maps are carried from an atlas to a subject, and the inverse transformation is needed to map results back [62]. All of these uses assume that the transformation is one-to-one and orientation preserving. A transformation that folds produces negative volume changes, propagates labels inconsistently and has no inverse.

Most registration methods address invertibility through the representation of the transformation. Large deformation diffeomorphic metric mapping and its geodesic-shooting variants, stationary-velocity-field methods such as diffeomorphic demons and DARTEL, and the symmetric normalisation of ANTs construct the transformation as the flow of a smooth velocity field, which is a diffeomorphism in the continuous setting [6, 1, 56, 2, 40]. Other methods add penalties or constraints on the Jacobian determinant to a variational model [12, 51, 13, 8], and learning-based

Date: November 6, 2026. Corresponding author: Baihan Zhao.

BAIHAN ZHAO, ZICONG ZHOU, AND GUOJUN LIAO

(a) folded grid

(c) one trilinear cell

Figure

(b) J of the bilinear map

Figure

FIGURE 1. Positivity at sample points does not imply positivity of the interpolated map. (a)–(b) Two-dimensional toy example with unit grid spacing: one interior node is displaced by 1.5 spacings (arrow) and overtakes its neighbour, so the bilinear interpolant folds two cells (shaded in (a); negative JJ in (b)). The central-difference determinant, as used for voxelwise folding counts, is positive at every node (dots; smallest value 0.25), because the central difference at a node does not involve the node itself. (c) One trilinear cell, Φ(ξ)=(ξ1,(1−aξ1)ξ2,(1−bξ1)ξ3)\Phi(\xi) = (\xi_1, (1-a\xi_1)\xi_2, (1-b\xi_1)\xi_3) with a=20/11a = 20/11, b=4/3b = 4/3, so that JK=(1−aξ1)(1−bξ1)J_K = (1-a\xi_1)(1-b\xi_1). It is positive at all points of {0,12,1}3\{0, \frac{1}{2}, 1\}^3 (the barrier points, including the corners and the cell centre) and at the 232^3 and 333^3 Gauss points, but negative for ξ1∈(11/20,3/4)\xi_1 \in (11/20, 3/4), with minimum −4/165-4/165 at ξ1=13/20\xi_1 = 13/20 (exact rational arithmetic). The middle Bernstein coefficient, −19/33-19/33, exposes the possible sign change, and subdivision locates it. Script in the ancillary files.

methods typically add a smoothness or folding penalty to a trained network [3, 9, 23, 55]. What is computed in every case, however, is a discrete object: a displacement field on the image grid, which is interpolated between grid points, most often trilinearly, whenever the transformation is applied to points, to surfaces or to images at another resolution, composed or inverted. The continuous guarantee does not transfer automatically to this object. Folding is then assessed after the fact by evaluating a finite-difference Jacobian determinant at the voxels, as in the Learn2Reg challenge [21]. This check samples a different discrete map and can miss foldings between grid points (Fig. 1) [39], as VPreg also notes [62, §2.1.1]; a reported value of zero folded voxels means that no folding was detected, not that the map is invertible.

The canonical continuous extension of a nodal displacement field, its trilinear interpolant Φu\Phi_u, is a piecewise polynomial map, and on each grid cell its Jacobian determinant is a polynomial of degree two in each variable. Whether it is positive everywhere is therefore a finite question that interval arithmetic and Bernstein expansions can answer rigorously, and, as we show, a positive answer together with a fixed boundary implies that Φu\Phi_u is a homeomorphism of the image domain. Controlling the Jacobian on the continuous domain rather than at grid points has precedents. For hierarchical parametric models built from first-degree B-splines, Musse et al. showed that in two dimensions the Jacobian is linear on each cell, so that positivity at the cell corners, imposed as linear constraints, guarantees a globally one-to-one map [46]. Noblet et al. extended the approach to three dimensions, where the map on each box is trilinear and the constraints become nonlinear: before each update of a node, interval branch-and-bound over the boxes of its support brackets the largest step that keeps the Jacobian within prescribed bounds everywhere [47]. That work handled about 9×1049 \times 10^4 parameters for 1283128^3 images, did not address floating-point rounding, and assessed its real-data results visually. These methods restrict the deformation to a coarse parametric hierarchy and enforce the constraints inside the optimisation of each block of parameters. Here the map is a dense nodal field at the full image resolution, and the difficulty is not the check itself but its use inside an optimiser: a 1 mm brain MRI has about seven million cells, the optimiser evaluates many trial maps, and if it may only accept certified maps it must still make progress when parts of the map approach the boundary of the feasible set.

In this paper we develop a registration method, SeqVP (sequential variational-principle registration), in which every committed map, and every map it returns, is certified. It builds on the variational principle (VP) approach to grid generation and registration, which controls the Jacobian determinant and the curl of the transformation [60, 62]. Our contributions are:

(1) A certificate of whole-cell positivity at full resolution and its global consequence. We give a test that decides, rigorously under the IEEE 754 binary64 model, whether the Jacobian determinant of a dense trilinear displacement map at the image resolution is positive at every point of every cell. It combines a constant-cost edge-hull bound with the Bernstein validity test for linear hexahedral elements of finite-element meshing [33], made rigorous by outward rounding and an a priori error bound (Section 4). It is fast enough to be applied to every trial map of the optimiser: its CPU stages overlap with GPU work and, in a pre-freeze measurement, add a median of 14 ms of waiting per trial map of 6.8×1066.8 \times 10^6 cells (Section 7). We prove that certified maps with zero boundary displacement are bi-Lipschitz homeomorphisms of the image domain (Theorem 4.6).

(2) A sequential Jacobian-curl model with an anytime guarantee. Eliminating the controls from a proximal VP formulation yields a sequence of inner problems whose penalties on the change of the map, of its Jacobian determinant and of its curl vanish to first order at the current map (Section 3.3). The scheme is monotone on a fixed outer energy, and every committed iterate is certified, so stopping at any time after the certified initialisation returns a folding-free map (Section 6).

(3) A solver that makes the guarantee affordable. We combine a Poisson-type preconditioner with diagonal equilibration and affine-scaling damping near compressed cells, a step prediction based on the exact cubic dependence of the Jacobian determinant on the step length, and a certified handoff from an uncertified binary32 pre-optimiser (Section 5). On a single GPU a 1 mm brain registration with about 2×1072 \times 10^7 unknowns runs in 90s end to end (88s on average on the held-out pairs) including certification of every trial (Section 7).

(4) Evaluation. On 49 held-out OASIS pairs, 20 large-deformation OASIS pairs, 10 LPBA40 pairs and 36 IBSR18 pairs we compare, under pre-registered protocols, with ANTs, NiftyReg, deedsBCV, ConvexAdam, FireANTs, uniGradICON, VoxelMorph and TransMorph. On OASIS the method is ahead of every label-free baseline in seg35, seg4 and HD95 (paired, Holm-adjusted), with rougher maps; on LPBA40 it is level with ANTs and on IBSR18 behind it. The certificate applied to the baselines' own fields proves folds that the voxelwise check reports as zero (Section 8).

The closest predecessor is VPreg [62], which controls the divergence and the curl through a div-curl system, combines a penalty stage with a hard-constrained stage, and reports folding with central differences, noting explicitly that this is a diagnostic rather than a certificate (VPreg, §2.1.1). Here we work with the Jacobian determinant itself, use the sequential self-referenced formulation of Section 3.3, and certify every accepted map.

The paper is organised as follows. Section 2 reviews related work. Section 3 introduces the discrete model and Section 4 the certificate. Section 5 describes the solver and Section 6 its properties. Section 7 summarises the implementation and Section 8 reports experiments. Section 9 discusses limitations.

BAIHAN ZHAO, ZICONG ZHOU, AND GUOJUN LIAO

References (26)