arXiv:2610.28302cs.LGOct 2026

Manuscript Offprint

arXiv:2610.28302

Learning Normal Coordinates on Riemannian Manifolds with Flow Charts

Edmond Cunningham

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

Abstract

Riemannian manifolds are powerful models for problems with non-Euclidean structure. Recent work in geometric machine learning has focused on training deep neural networks to learn Riemannian metrics from high-dimensional data. However, many geometric algorithms require repeated evaluations of the exponential and logarithmic maps, whose high computational cost restricts the utility of learned Riemannian manifolds in practice. We propose to address this cost by training a conditional invertible neural network, called a flow chart, to approximate normal coordinates around points on a given Riemannian manifold. With this approach, the exponential and logarithmic maps can be approximated by fast Euclidean operations in the model's learned coordinate space. Our main contribution is an efficient loss function for training flow charts that is nonnegative and, under suitable domain assumptions, is zero precisely when the chart is normal. Across sixteen synthetic and data-derived geometries, flow charts are competitive with a specialized neural geodesic interpolator for logarithmic map estimation, while also being able to estimate the exponential map. When pretrained, flow charts provide a median speedup of 60−70×60-70\times over numerical baselines at comparable logarithmic map estimation error, and their learned coordinates improve the accuracy of a numerical geodesic solver.

1 Introduction

Many real-world problems can be modeled effectively with Riemannian manifolds whose metric encodes feasible state transitions (Diepeveen et al., 2024b; Wurgaft et al., 2026; Sun et al., 2025). These transitions are represented by shortest paths, called geodesics, so that problems like trajectory inference (Kapuśniak et al., 2024) and probabilistic inference (Girolami and Calderhead, 2011; Williams et al., 2025) can be expressed through geodesic computations. When the geometry is known a priori through domain constraints, geodesics can be computed in closed form or simulated numerically (Lee, 2018; Miolane et al., 2020). However, recent work in geometric machine learning has focused on learning metrics directly from data (Sun et al., 2025; Jones and Lanners, 2026; Bamberger et al., 2026) using neural networks. While these methods offer exciting new avenues for geometric deep learning (Bronstein et al., 2021), these neural metrics present computational challenges that limit their downstream utility.

The two computations that are fundamental to Riemannian algorithms are the exponential and logarithmic maps. These maps play the role of addition and subtraction of points on a manifold, so Riemannian extensions of classical algorithms such as PCA and regression (Fletcher, 2011; Fletcher et al., 2004) evaluate them repeatedly. On general manifolds, neither map has a closed form and both must be solved for numerically. The exponential map is often computed as the solution to a differential equation, like the geodesic equation or Hamilton's equations (Hairer et al., 2006), both of which can be simulated efficiently with automatic differentiation (Williams et al., 2025). However, the simulation updates depend on the metric's derivative, which can be unreliable for

Preprint.

Figure

Figure 1: Illustration of normal coordinate charts and our method, using our notation in Section 3 and Section 4. The purple and green symbols correspond to the same points p0p_{0} and p on the manifold in the top left, and the red curve is the geodesic between them. The tangent-space and coordinate plots depict the same blue region of the manifold in different numerical representations. The top row shows the standard approach to defining normal coordinates through the logarithmic map and the bottom shows our approach. Our method introduces flow charts and trains them to satisfy the identity in purple to learn normal coordinates.

learned metrics whose value may change rapidly (Arvanitidis et al., 2019). The logarithmic map is the inverse of the exponential map, and requires solving for the geodesic interpolation between two points at a time (Hennig and Hauberg, 2014; Rygaard and Hauberg, 2026). Although this cost can be amortized with neural networks (Kapuśniak et al., 2024; Kelshaw and Magri, 2024), these methods take both endpoints as input and so they are not able to evaluate the exponential map. We explore a different approach to computing both maps based on learning a coordinate system that simplifies their computations, called Riemann normal coordinates.

Normal coordinates are an important tool for calculations in Riemannian geometry (Lee, 2018, page 78). Within a suitable neighborhood of a point, geodesics through that point become straight lines in coordinate space, and so the exponential and logarithmic maps can be computed in closed form with addition and subtraction. However, normal coordinates are most often defined in terms of the exponential and logarithmic maps, and methods for computing them rely on the numerical approximations of these maps (Brun et al., 2005; Lin and Zha, 2008). We build on an alternative characterization of normal coordinates that does not depend on either map.

We propose a novel approach for parameterizing and learning normal coordinates on a Riemannian manifold using flow charts, which are conditional invertible neural networks that represent coordinate charts. Our main contribution is an efficient loss function for training flow charts whose value is nonnegative and equals zero over a geodesic ball if and only if the chart is normal. In our experiments, we first show that flow charts trained with the normal loss can recover the logarithmic map accurately at fixed base points on both synthetic manifolds and geometries derived from data. We then show that charts trained over many base points generalize to unseen ones and achieve median logmap query speedups of 60×60\times over GP Arvanitidis et al. (2019) and 72×72\times over GEORCE Rygaard and Hauberg (2026) across sixteen geometries, and exponential-map query speedups of 1.4−8.2×1.4-8.2\times on the seven high-dimensional geometries at comparable error. Finally, we show that GEORCE can compute more accurate logarithmic maps if applied in the flow chart's learned coordinate space rather than in data coordinates.

References (49)