- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 2
Read review
Summary
The paper proposes a computational scheme that renders the gradient-based optimization over Continuous Piecewise-Affine Based (CPAB) maps feasible in terms of its computational complexity. The accumulation of the loss function over the mapped domain is exploited to cast the computation of the loss function's gradient w.r.t. the CPAB parameters to cell-wise evaluations. Since the basis of the CPAB parameterization is fixed on each cell of the domain, the components of the basis do not enter the trajectory-dependent per-cell computations, thus decreasing their complexity. The improved computational scheme for the loss function's gradient allows for employing gradient-based optimizers to infer more finely discretized CPAB maps in 2D and 3D images' diffeomorphic correspondence problems.
Strengths and weaknesses
Strengths:
(S1) The paper builds on a good technical insight into the CPAB formulation of diffeomorphisms, namely, that the accumulation of loss functions over the CPAB transformation points allows for cell-wise evaluations of the loss functions' gradients, which, in turn, decouple the on-trajectory computations from their projection to the gradient vector elements. Consequently, the computational scheme is original and improves the applicability of the CPAB formulation in gradient-based optimization pipelines.
(S2) The performed experiments cover most of the CPAB application cases and the efficiency of finer tessellations in diffeomorphic matching problems has been sufficiently supported.
(S3) The paper is mostly well-written and the main contributions are clearly stated and supported by the results.
Weaknesses:
(W1) My first concern relates to the main contribution of the paper, which is the improvement of the order of the computational cost of the gradient of the CPAB maps w.r.t. their parameters. The original CPAB paper [13] suggests (Algorithm 2 and Scts. 4.8 & 5.4) the usage of Gaussian priors for the 1st-order approximation of a learnable diffeomorphism and for its parameters, an option that reduces the optimization cost to a simple line search for the parameters' magnitude, in the landmarks matching cases. The case of diffeomorphic matching of functions is treated in [13], retaining this Bayesian approach, via MCMC, avoiding gradients with respect to the CPAB parameters. Moreover, these gradients' computation and the corresponding implementation are given in [13] for completeness, since there it is claimed that "MCMC methods are found to be easier to tune and to produce better results than gradient-based optimization". Consequently, what is improved in the present paper is characterized as supplementary in the original CPAB journal paper. This does not mean that this paper's main contribution is unnecessary per se; however, it should be given emphasis on comparing the gradient - based optimization of CPAB with the MCMC - based one proposed in [13]. Such a comparison is absent from the paper. Specifically, in all diffeomorphism inference experiments of Scts. 4.2-4.6, the MCMC - based determination of the parameters of CPAB should be included as a baseline, in order to verify the necessity of a gradient-based optimizer.
(W2) The contributed decoupling between matrix and on-trajectory integration is actually forced by splitting the integrands' summation (10) into per-cell summations. Consequently, the claim that "the basis slice acts as a fixed coefficient" should be rephrased since, by its definition, of is trajectory - dependent. The authors actually force to be fixed and accumulate the integrands that cross this cell. This is valid only if a second summation is added in (10) w.r.t. the points, otherwise (10) is not equivalent to (12). So, it is not the CPAB gradient w.r.t. its parameters that is reformulated and computationally improved but the corresponding gradients of CPAB functionals, where accumulation over the CPAB points is involved. This distinction should be made clear when FG-CPAB is introduced and summarized (in Abstract, Introduction and Discussion). For example, the claim that "the proposed formulation removes the main computational bottleneck of standard CPAB" is not accurate: the gradient of the CPAB maps does not allow for decoupling on-trajectory integration from parameter-space coefficients, intrinsically ( is trajectory-dependent). It should be made clear that this intrinsic coupling (and the corresponding bottleneck) can be lifted only when accumulation over the whole domain is evident, which is the case of loss functions over CPAB transformations.
(W3) In the perspective described in (W2) above, the CPAB - gradient formula (24), derived in [13], can be decoupled in terms of - matrix, as well, if it is contracted with the loss function variations with respect to CPAB (the adjoint vectors). Consequently, why is the exact formula (24) of the CPAB gradients in [13] not employed in the present paper and it is substituted by an inexact midpoint rule? In the main text, it is referred that "Using different forward and backward schemes is the approach adopted in the original CPAB formulation"; however, I cannot spot in the CPAB journal paper, [13], any other scheme than the succession (19) of the matrix exponentials of (18). Even in the discussion of Sct. 4.7 of [13] concerning the - gradient of the CPAB map, the authors refer to Algorithm 1, which evaluates the matrix exponentials' succession of (19). Actually, the second-order approximation of the exponential map, adopted in (5), though it simplifies the derivation of the - gradient of the CPAB map, it is not intrinsically necessary for decoupling the matrix and the loss function gradient evolution. Resolution of equation (24) of [13] in terms of is explicitly tractable and should not be skipped just to simplify the method's underlying technical derivations (i.e. without any computational advantage).
(W4) In the absence of implementation code, the reproducibility of the proposed gradient computation algorithm and of its incorporation in the performed diffeomorphic matching experiments asks for detailed and thorough descriptions. Such descriptions are provided for the implementation of the segmented trajectory caching (appendix D) and for the experiments of Scts. 4.3 and 4.5. However, for the other performed experiments, the provided information does not allow for reproducing them:
a) Concerning the performance comparison with libcpab and DIFW, what exactly is replaced in both these libraries? These libraries use autograd over the implemented -parametrized CPAB map, however FG-CPAB relies on computing the loss function's gradient without computing the gradient of the CPAB map. So, how is this computation incorporated in the optimization pipelines of these libraries? What optimization problems are considered to compare FG-CPAB with libcpab and DIFW timings? In appendix A, there is only a reference to "a workload of 125,000 points with batch size of 16". Moreover, a significant difference in the timings of the forward application of CPAB is registered in the experimental results. However, FG-CPAB employs the original CPAB forward transformation in Sct. 3.1. With the provided information, this performance improvement cannot be explained. What should be modified in the libcpab implementation to obtain the observed forward performance of FG-CPAB?
b) Concerning the 3D registration, the authors refer to an "IXI dataset evaluation protocol commonly used in learning-based registration methods" (appendix D1). At least one publication should be cited, whose protocol is followed in this paper's experiment. From the employed loss function, one may deduce that, instead of the dataset's MRI images, some labelled version of them is used. Which are the employed labels? How are the DSC scores of the different labels accumulated? Since the considered diffeomorphic matching problem employs a common atlas for all patients, which is this atlas? Finally, in the employed loss function, there is a regularization term over the gradient of the displacement field (I suppose this gradient refers to the Jacobian of the diffeomorphism). However, the loss functions covered by the moment accumulation of (11) depend only on the CPAB map and not on its Jacobian. How should one modify (11) to evaluate the gradient of the loss function used in the 3D registration experiment?
Questions
Question 1: Is the gradient-based optimization actually necessary, or can the MCMC, suggested in the CPAB original journal paper [13], cover the diffeomorphism inference applications considered in the paper? Considering a fine-tuned, MCMC - based determination of the parameters of CPAB, along the lines proposed in [13], will allow the authors to answer this question, cover the concerns of the weakness (W1) and justify the significance of the results.
Suggestion 1: The distinction between the CPAB gradient computation (which cannot be factored) and the loss function's gradient computation (which is factored in the paper) should be made clear and the missing loss function - driven summation w.r.t. the transformed points should be restored in equations (9) and (10) and explained accordingly. This is to lift the concerns contained in weakness (W2), thus improving the paper's clarity and correctness.
Suggestion 2: Details of the incorporation of the proposed loss function's gradient computation in a practical gradient-based optimization pipeline should be provided, with correspondence to the pipelines adopted in the baseline CPAB implementations (please refer to the weakness (W4)-a)). Details on the experimental data and the FG-CPAB implementation that answer the questions raised in (W4) are necessary to render the gradient computational scheme and the performed experiments reproducible. Reproducibility will significantly enhance the quality of the paper.
Limitations
There is no discussion about the limitations of FG-CPAB, only a sentence about the intrinsic limitation of CPAB to low dimensions, due to its dependence on tesselations.
The computational necessity of the inexact midpoint rule of (5), instead of the exact one of (4), should be justified and the approximation error imposed by this choice should be considered. Also, a possible adaptation of the moment accumulation formula should be analyzed if the exact CPAB map's gradient is considered, instead of the inexact one in (6) (please refer to the weakness (W3)).
There are several other adaptations that should be discussed to cover loss functions that contain regularization terms on the diffeomorphisms' velocity field (like the one of LDDMM) and/or their Jacobian.
Paper formatting concerns
There are formatting violations in all tables and figures of the main text, except in Figure 1. Tables' and figures' captions have decreased font size.
Final justification
The authors for considered all issues raised in the review.
With the provided clarifications, a revised version of the paper that will include all the changes claimed in the authors' Rebuttal would have increased clarity and quality, thus improving my overall evaluation to 4: Borderline accept.
We thank the reviewer for the detailed and encouraging evaluation, as well as the valuable constructive suggestions.
R1/W1. Is gradient-based optimization necessary, or can MCMC cover these applications?
Note: The journal extension (Freifeld et al., PAMI 2017) introduced gradient-based optimization, which was not included in the original conference paper (Freifeld et al., ICCV 2015).
End-to-end differentiability: CPAB was originally developed a decade ago as a standalone registration tool outside deep-learning frameworks. When integrated as a differentiable component within a larger neural network, exact gradients are required for backpropagation and end-to-end training, a requirement MCMC cannot satisfy.
High-dimensional scaling: In general, typical MCMC methods such as particle filters or the Metropolis algorithm with a Gaussian proposal used in the original CPAB paper scale poorly with the dimensionality of the parameter space θ. Thus, unsurprisingly, this degradation also occurs with fine tessellations. Early MCMC evaluations were limited to low-dimensional parameter spaces (e.g., d=38 in the landmark experiment in Freifeld et al.). In contrast, our synthetic benchmarks use 842 parameters in 2D and 8,232 in 3D, while our IXI setting requires 20,577 parameters per CPAB transformation.
This explains why recent CPAB literature (i.e., the methods in lines 40-41 in our paper) relies heavily on gradient-based optimization.
Empirical validation: For completeness, we benchmarked the official CPAB repository's MCMC implementation under our exact IXI experimental setup. Even with a 100× larger optimization budget (wall-clock time), MCMC achieved a Dice score of only 0.453, compared to 0.760 for our gradient-based FG-CPAB. This confirms that while MCMC is feasible for simple setups, it is uncompetitive for the fine-tessellation tasks evaluated here. We will include this comparison in the revised manuscript and clarify the practical importance of gradient-based optimization in fine-tessellation settings.
R2/W2. What exactly is factorized, and where is the missing sum over points?
We agree that Eq. (10) should explicitly include the sum over points when transitioning to the cell-wise accumulator in Eq. (11), and we will correct this notation in the revised manuscript. We will also clarify that FG-CPAB factorizes the vector-Jacobian product required for loss optimization rather than materializing the full Jacobian of the CPAB map.
However, we kindly point out that Bi,c itself is not trajectory-dependent: the basis is fixed, while only the active cell index cn(t) depends on the trajectory. The sets
Ic={(n,t):cn(t)=c}
partition all point-time visits, so regrouping the sum by cell is exact. We will revise the manuscript to make this distinction and the exact cell-wise regrouping explicit.
R3/W3. Why not use Eq. (24) of the original paper, and is midpoint necessary?
Equation (24) of Freifeld et al. (PAMI 2017) exactly defines the continuous sensitivity dynamics, but it does not provide a closed-form gradient. It requires solving one sensitivity equation, yi=∂p/∂θi, for every parameter and point, resulting in the O(dTN) computation that FG-CPAB seeks to avoid.
Moreover, the official CPAB implementation accompanying the original paper evaluates Eq. (24) numerically using midpoint integration. Thus, our method does not replace an available closed-form gradient with a midpoint approximation. The main difference is computational organization: the original method integrates d parameter-specific sensitivities along every trajectory, whereas FG-CPAB integrates a single state-sized adjoint, accumulates parameter-independent cell moments, and applies the basis only once afterward.
The midpoint rule is not fundamental to the factorization; it is used to match the original implementation, and because it provides a simple and accurate second-order discretization. Other integration schemes could also be used by deriving their corresponding discrete adjoints.
R4/W4(a). How is FG-CPAB incorporated into optimization, what is benchmarked, and why is the forward faster?
We integrated FG-CPAB with PyTorch autograd as a standard differentiable layer. The forward pass computes Y=Φθ(X), while the backward pass receives ∂L/∂Y and directly computes ∂L/∂θ without materializing the full Jacobian. It can therefore be used with Adam or any other gradient-based optimizer. The full implementation will be released upon acceptance.
The performance figures benchmark the CPAB primitive, not convergence on a particular optimization objective: the public libcpab and DIFW implementations and our implementation transform the same point workload, and the backward timing measures the corresponding vector-Jacobian product under the same upstream gradient shape. We do not replace a component inside libcpab or DIFW; they are reference implementations against which our separately implemented forward/backward kernels are timed.
The backward improvement comes from factorization (which in turn leverages the linearity and the sparsity/locality of the CPA basis). The forward improvement is a separate implementation contribution: the small per-cell exponential matrices are precomputed, and cell lookup plus point updates are implemented in optimized GPU kernels with one thread processing each point.
R5/W4(b). IXI data, labels, atlas, Dice aggregation, and diffusion regularization.
Code will be released upon acceptance.
We follow the public TransMorph IXI atlas-to-patient protocol [7]. The dataset contains 576 preprocessed T1-weighted MRI volumes, divided into 403 training, 58 validation, and 115 test subjects. Each volume is skull-stripped, affinely aligned, segmented using FreeSurfer, normalized to [0,1], and represented at a resolution of 160×192×224. Because FG-CPAB requires no offline training, we evaluate directly on all 115 test subjects.
The fixed image is the common atlas distributed with the TransMorph IXI dataset, originally obtained from the CycleMorph protocol, together with its corresponding segmentation. Registration is optimized using the MRI intensities, not the anatomical labels. Specifically, we use a 20×20×20 CPAB tessellation and optimize the parameters with Adam using LNCC (window size 9, sampling stride 2, weight 1.0) and diffusion regularization (weight 3.0). The segmentation labels are used only for evaluation. We will add these protocol details to the revised manuscript.
The diffusion regularizer does not require changing the moment formula. It is implemented by finite differences of the final displacement grid,
R_{\mathrm{diff}}=\sum_n\|\nabla_h u_n\|^2.$$ Although this term couples neighboring transformed points, it is still a differentiable scalar function of the final positions. We first compute $$\lambda_n^{(T)} =\frac{\partial}{\partial p_n^{(T)}} \left(\mathcal L_{\mathrm{LNCC}}+\beta R_{\mathrm{diff}}\right),$$ including the finite-difference stencil and its neighboring terms. The same adjoint sweep and moment accumulation then compute the CPAB parameter gradient. Equation (11) does not require the terminal loss to be pointwise separable. ### Summary We sincerely thank the reviewer for the time and care devoted to evaluating our work. We appreciate the constructive suggestions and will incorporate them into the revised manuscript. We hope our responses clarify the points raised, and we would be pleased to address any remaining questions or concerns.