cs.CVOct 26, 2026

Factorized Gradients for Scalable Highly-expressive Parametric Diffeomorphisms

Authors: Amit Aflalo, Eran Treister, Chaim Baskin, Oren Freifeld

Organizations: The Stein Faculty of Computer and Information Science, Ben-Gurion University of the Negev, Israel · School of Electrical and Computer Engineering, Ben-Gurion University of the Negev, Israel

Abstract

Diffeomorphisms provide a flexible, topology-preserving mathematical tool for modeling complex spatial or temporal deformations and are used in various scientific fields. However, making these deformations simultaneously highly expressive and computationally efficient remains challenging. Continuous Piecewise-Affine Based (CPAB) transformations (Freifeld et al., ICCV 2015; IEEE TPAMI 2017) offer an attractive solution by parameterizing a family of diffeomorphisms via continuous velocity fields that are piecewise affine with respect to a chosen tessellation of the domain. Importantly, d=dim⁡(θ)d=\dim(θ), the dimension of the parameter vector θθ, depends on the fineness of the tessellation rather than on the data resolution. Despite this compact parameterization, CPAB optimization has long been hindered by the tight coupling between trajectory integration and gradient computation with respect to θθ. We introduce FG-CPAB, a factorized-gradient formulation for scalable CPAB transformations. By separating integration from parameter-space projection, our method reduces gradient computation complexity from O(dTN)\mathcal{O}(dTN) to O(TN+dC)\mathcal{O}(TN+dC), where TT is the number of integration steps, NN is the number of transformed points, and CC is the number of tessellation cells. This reformulation yields speedups of up to four orders of magnitude (e.g., ≈104×\approx 10^4\times in 2D), substantial memory savings (e.g., ≈500×\approx 500\times reduction in peak GPU memory usage in 2D), and dramatically higher expressiveness. This makes fine-tessellation CPAB practical in 2D and 3D for the first time, enabling highly expressive parametric diffeomorphisms.

Figures & tables

Appendix figures & tables11 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. A Regularity Condition Under Which a CPAB Transformation is a Diffeomorphism

    Oct 23, 2026Amit Aflalo, Oren FreifeldDynamical Systems

  2. Towards Scalable Persistence-Based Topological Optimization

    May 9, 2026Abderrahim Bendahi, Alexandre Duplessis, Arnaud FickingerPersistent HomologyTopological Data Analysis

  3. DiffGIPC: Differentiable Mixed-Coordinate Contact Dynamics on GPU

    Oct 13, 2026Kemeng Huang, Bowen Ren, Xinyu Lu +2Differentiable PhysicsInverse Problems