[Paper Review] Parallelised Differentiable Straightest Geodesics for 3D Meshes
The paper introduces GPU-parallel differentiable straightest geodesics to compute the exponential map on 3D meshes, presenting two differentiation schemes (Extrinsic Proxy and Geodesic Finite Differences) and demonstrating three novel mesh-learning applications: adaptive geodesic convolutions, MeshFlow flow matching, and Mesh-LBFGS optimisation.
Machine learning has been progressively generalised to operate within non-Euclidean domains, but geometrically accurate methods for learning on surfaces are still falling behind. The lack of closed-form Riemannian operators, the non-differentiability of their discrete counterparts, and poor parallelisation capabilities have been the main obstacles to the development of the field on meshes. A principled framework to compute the exponential map on Riemannian surfaces discretised as meshes is straightest geodesics, which also allows to trace geodesics and parallel-transport vectors as a by-product. We provide a parallel GPU implementation and derive two different methods for differentiating through the straightest geodesics, one leveraging an extrinsic proxy function and one based upon a geodesic finite differences scheme. After proving our parallelisation performance and accuracy, we demonstrate how our differentiable exponential map can improve learning and optimisation pipelines on general geometries. In particular, to showcase the versatility of our method, we propose a new geodesic convolutional layer, a new flow matching method for learning on meshes, and a second-order optimiser that we apply to centroidal Voronoi tessellation. Our code, models, and pip-installable library (digeo) are available at: circle-group.github.io/research/DSG.
Motivation & Objective
- Enable differentiable Riemannian operators directly on mesh surfaces for learning and optimisation.
- Provide GPU-parallel implementations of the exponential map, geodesic tracing, and parallel transport on meshes.
- Derive and compare two differentiable schemes (Extrinsic Proxy and Geodesic Finite Differences) for backpropagation through Exp.
- Demonstrate the utility of the differentiable operators in novel mesh learning modules: Adaptive Geodesic Convolutions, MeshFlow, and Mesh-LBFGS-based optimisation.
- Release a PyTorch-compatible library (dige) with CUDA kernels for seamless integration into learning pipelines.
Proposed method
- Adopt the straightest geodesics framework on triangular meshes to compute Expp(v), geodesic traces, and parallel transport.
- Develop two differentiation schemes: Extrinsic Proxy (EP) which uses a differentiable proxy endpoint and a fixed rotation in backpropagation, and Geodesic Finite Differences (GFD) which uses local frames and finite differences to approximate Jacobians.
- Implement a GPU-based one-thread-per-geodesic parallel tracing kernel to scale to large batches and multiple meshes.
- Provide backward passes by deriving Jacobians for Exp with respect to both p and v, and compare differentiation schemes (EP vs GFD) against closed-form gradients where available.
- Ensure compatibility with mesh boundaries by enabling controlled handling of boundary tracing to improve learning stability.
Experimental results
Research questions
- RQ1How can the exponential map and geodesic tracing on meshes be differentiated efficiently for integration into learning pipelines?
- RQ2What are the trade-offs between Extrinsic Proxy and Geodesic Finite Differences differentiations in terms of accuracy and speed?
- RQ3Can differentiable Expp enable new architectures or optimisers for learning on meshes (e.g., adaptive geodesic convolutions, flow matching, second-order optimisers)?
- RQ4How do the proposed methods fare against state-of-the-art baselines in accuracy and computational efficiency on diverse meshes?
Key findings
- The proposed GPU-parallel implementations achieve comparable forward accuracy to existing methods while offering substantial speedups, especially on large batches and high-resolution meshes.
- Geodesic Finite Differences provides high-accuracy gradients consistent with closed-form references, while Extrinsic Proxy offers faster gradients suitable when p is fixed.
- Adaptive Geodesic Convolutions learn patch sizes per channel/layer and outperform fixed-patch geodesic convolutions on mesh segmentation.
- MeshFlow delivers faster inference and lower memory usage than prior Riemannian flow methods while achieving competitive KL divergence and biharmonic-based Chamfer metrics.
- Mesh-LBFGS demonstrates efficient second-order optimisation for centroidal Voronoi tessellation on meshes, offering faster convergence than Lloyd’s method in tested scenarios.
- The accompanying dige library enables PyTorch-friendly integration through CUDA kernels for mesh-based Riemannian geometry operations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.