Skip to content

Menu

WorksComputer Science

How Geometry Shapes Generative Model Evaluation on Riemannian Manifolds

Download PDFView on arXiv

Ask your agent about this work

Your agent reads this work through Valency, with its citations and similar works. Paste this at the start of a chat.

Use the Valency MCP. Work: W_hnkr4anw. Fetch it with get_paper_by_id, then find its nearest works with find_similar_papers and tell me what it adds.

Works with any MCP client. Not connected yet? Connect your agent

Abstract

On Riemannian manifolds, generative-model evaluation is geometry-dependent since curvature and dimension jointly determine distances and volume growth. Our framework systematically compares geodesic, ambient, and tangent-space versions of Wasserstein and MMD across different geometries. Using controlled-noise perturbations and Riemannian Flow Matching samples, we study metric agreement, noise sensitivity, and their relation to geometry-induced volume scaling. We find that no metric is uniformly reliable: evaluation distance can affect both measured discrepancies and noise sensitivity, varying across curvature and dimension. Our analysis leads to practical recommendations for reporting evaluation distances, comparing metric types, and calibrating metrics to the geometry of the samples.

Introduction

A generative model is typically evaluated by measuring how close its generated samples are to the target distribution. Most evaluation metrics are built on a distance between pairs of points. The Wasserstein distance uses it as a transport cost [1, 2, 3], and the maximum mean discrepancy (MMD) uses it as the argument of a kernel [4]. In Euclidean space, there is only one natural way to measure this distance. On a Riemannian manifold, there are three: the geodesic distance on the manifold, the Euclidean distance between the ambient coordinates, or the Euclidean distance between points mapped to a common tangent space. These distances agree in flat space and locally near the tangent origin, but can diverge with curvature and as points move apart. Thus, evaluation on a manifold is itself a geometric choice.

We study two properties of an evaluation metric. Given several sets of generated samples, each compared with its target, a metric orders those generated sets from best to worst. We say that two metrics agree when they produce the same ranking. Different metrics measure different aspects of closeness and are not expected to agree, but when they do not, a conclusion drawn with one metric does not transfer to another. We also say that a metric is sensitive to a perturbation when its value grows with the size of the perturbation. We measure sensitivity as a signal-to-noise ratio, and a high ratio correlates with a more informative metric as it can detect perturbation reliably.

In this paper, we study how curvature and dimension change the agreement and the sensitivity of evaluation metrics on Riemannian manifolds. We consider the Wasserstein distance and the MMD, each computed with the geodesic, ambient, and tangent-space distance, which gives six versions of a metric for the same samples. Agreement is measured on the output of Riemannian Flow Matching (RFM, Chen and Lipman [ [5]), and sensitivity on target samples, to which we progressively add noise to mimic generated samples. We find that the curvature and the dimension influence both the agreement and the sensitivity of those metrics. Within one metric, changing the distance changes the value but rarely the ranking. Across metrics, the rankings differ, and at high dimension the MMD loses its sensitivity while the Wasserstein distance keeps it. Our code is available on GitHub.

Preliminaries

Riemannian manifolds. A Riemannian manifold is a smooth manifold M\mathcal{M} equipped with a Riemannian metric gg, i.e. a smoothly varying inner product gp:TpM×TpM→Rg_p : T_p\mathcal{M} \times T_p\mathcal{M} \to\mathbb{R} on the tangent space TpMT_p\mathcal{M} at each point p∈Mp \in\mathcal{M} [6]. Intuitively, the metric specifies how to measure infinitesimal lengths and angles locally on the manifold, thereby inducing curve lengths, geodesics, as locally shortest paths, and the geodesic distance dg(x,y)d_g(x, y) between points x,y∈Mx, y \in\mathcal{M}. With Mκd\mathcal{M}_\kappa^d, we denote a dd-dimensional manifold with sectional curvature κ∈R\kappa\in\mathbb{R}, metric gκg_\kappa, and geodesic distance dκ:=dgκd_\kappa:= d_{g_\kappa}.

Riemannian Flow Matching (RFM). RFM [5] learns a time-dependent tangent vector field vt:Mκd→TMκdv_t : \mathcal{M}_\kappa^d \to T\mathcal{M}_\kappa^d, with vt(x)∈TxMκdv_t(x) \in T_x\mathcal{M}_\kappa^d, that transports a base distribution p0p_0 to a target distribution p1p_1. On geometries with closed-form geodesics (e.g., spherical or hyperbolic space), training is simulation-free: for samples x0∼p0x_0 \sim p_0, x1∼p1x_1 \sim p_1, and time t∈[0,1]t \in[0, 1], both (i) the conditional path ψt(x0∣x1)\psi_t(x_0 \mid x_1) connecting x0x_0 to x1x_1, with point xt=ψt(x0∣x1)x_t = \psi_t(x_0 \mid x_1) at time tt, and (ii) the target velocity x˙t\dot{x}_t, which specifies how the path moves at time $t, can be computed in closed form. The geodesic connecting x0x_0 and x1x_1 can be expressed in terms of exponential and logarithmic maps

xt=ψtκ(x0∣x1)=exp⁡x1κ(α(t)log⁡x1κ(x0)),α(t)=1−t.(1)x_t = \psi_t^\kappa(x_0 \mid x_1) = \exp_{x_1}^\kappa\left(\alpha(t)\log_{x_1}^\kappa(x_0)\right), \qquad\alpha(t) = 1 - t. \tag*{(1)}

Experimental setup

For our RFM and noise experiments, we consider constant-κ\kappa manifolds, giving a controlled setting for cross-curvature comparison. Positive κ\kappa denotes spherical space Sκd\mathbb{S}_\kappa^d, κ=0\kappa= 0 Euclidean space Rd\mathbb{R}^d, and negative κ\kappa hyperbolic space Hκd\mathbb{H}_\kappa^d, represented using the Poincaré ball model Bκd\mathbb{B}_\kappa^d.

Geometries

To compare geometries while varying only curvature and dimension, we parameterise all spaces Mκd\mathcal{M}_\kappa^d in geodesic polar coordinates around a fixed origin o∈Mκdo \in\mathcal{M}_\kappa^d. Any point x∈Mκdx \in\mathcal{M}_\kappa^d is then described by its geodesic radius r=dκ(o,x)r = d_\kappa(o, x) and an angular direction θ∈Sd−1\theta\in\mathbb{S}^{d-1}, where Sd−1\mathbb{S}^{d-1} is a unit sphere of directions at oo. In these coordinates, the Riemannian metric takes the form gκ=dr2+sn⁡κ(r)2dΩ2g_\kappa= dr^2 + \operatorname{sn}_\kappa(r)^2 d\Omega^2, where dΩ2d\Omega^2 denotes the angular component, i.e. motion along directions around oo, and

sn⁡κ(r)={sin⁡(κr)/κfor κ>0;rfor κ=0;sinh⁡(−κr)/−κfor κ<0,(2)\operatorname{sn}_\kappa(r) = \begin{cases} \sin(\sqrt{\kappa}r)/\sqrt{\kappa} & \text{for } \kappa> 0;\\ r & \text{for } \kappa= 0;\\ \sinh(\sqrt{-\kappa}r)/\sqrt{-\kappa} & \text{for } \kappa< 0, \end{cases} \tag*{(2)}

determines how angular directions are scaled at geodesic radius rr; in constant curvature this follows from the Jacobi equation [7, 8]. These cases together form a unified parameterisation for constant-curvature geometry through κ\kappa. (Appendix § 10 lists used κ\kappa and dd values.)

Volume scaling. To quantify how curvature changes local volume, we compare infinitesimal volume elements on the tangent space and manifold. In geodesic polar coordinates around a fixed oo, the volume element is dvol⁡κ=sn⁡κ(r)d−1 dr dΩd\operatorname{vol}_\kappa= \operatorname{sn}_\kappa(r)^{d-1}\,dr\,d\Omega, whereas in the flat tangent space, it is rd−1 dr dΩr^{d-1}\,dr\,d\Omega [9]. Their ratio gives the Jacobian determinant of the exponential map [8]:

Jκ(r):=∣det⁡Dvexp⁡oκ∣=sn⁡κ(r)d−1 dr dΩrd−1 dr dΩ=(sn⁡κ(r)r)d−1,(3)J_\kappa(r) := \left|\det D_v\exp_o^\kappa\right| = \frac{\operatorname{sn}_\kappa(r)^{d-1}\,dr\,d\Omega}{r^{d-1}\,dr\,d\Omega} = \left(\frac{\operatorname{sn}_\kappa(r)}{r}\right)^{d-1}, \tag*{(3)}

where v∈ToMκdv \in T_o\mathcal{M}_\kappa^d with ∥v∥=r\lVert v\rVert= r, which measures the local volume scaling when mapped by exp⁡oκ\exp_o^\kappa from ToMκdT_o\mathcal{M}_\kappa^d to Mκd\mathcal{M}_\kappa^d at radius rr. Given pp on Mκd\mathcal{M}_\kappa^d, we quantify the amount of volume scaling acting on the distribution, via the mean of the Jacobian at points x∼px \sim p

μJκ(p):=Ex∼p[Jκ(r(x))].(4)\mu_{J_\kappa}(p) := \mathbb{E}_{x \sim p}[J_\kappa(r(x))]. \tag*{(4)}

Distributions

We define distributions p~0\tilde{p}_0 and p~1\tilde{p}_1 on the tangent space ToMκdT_o\mathcal{M}_\kappa^d of fixed origin oo. We choose oo as the north pole on Sκd\mathbb{S}_\kappa^d, the Euclidean origin on Rd\mathbb{R}^d, and the centre of the Poincaré ball on Hκd\mathbb{H}_\kappa^d.2 For x~i∼p~i\tilde{x}_i \sim\tilde{p}_i and i∈{0,1}i \in\{0,1\}, all experiments map curvature-normalised tangent samples to the manifold as xi0=x~ix_i^0 = \tilde{x}_i for κ=0\kappa= 0 and xiκ=exp⁡oκ(Rκx~i)x_i^\kappa= \exp_o^\kappa(R_\kappa\tilde{x}_i) for κ≠0\kappa\ne0, with Rκ=∣κ∣−1/2R_\kappa= |\kappa|^{-1/2}. This keeps the distributions at comparable relative scale across curvatures, so evaluation differences are not merely due to the same tangent samples occupying different fractions of the manifold; Appendix § 8.§ 1 gives the derivation. We use three families of tasks with p~0=N(0,0.32Id)\tilde{p}_0 = \mathcal{N}(0, 0.3^2 I_d) centered at oo. As targets p1p_1, we use:

  1. An isotropic Gaussian, giving the unimodal Gaussian-to-Gaussian (GtG) baseline.

  2. Symmetric Gaussian Ring (SGR), a rotationally symmetric target with mass concentrated near radius rr (“shell-shaped” for d>2d > 2). Varying rr is designed to study radial volume growth.

  3. Mixture-of-Gaussians (MoG), a multimodal target placed symmetrically in ToMT_o\mathcal{M}.

Metrics

We write devald_{\mathrm{eval}} for the evaluation of distance metrics, instantiated (i) intrinsically as geodesic distance dgeodesic:=dκd_{\mathrm{geodesic}} := d_{\kappa} on Mκd\mathcal{M}_{\kappa}^{d}, (ii) extrinsically as Euclidean distance dambientd_{\mathrm{ambient}} in ambient coordinates, or (iii) locally as Euclidean distance dtangentd_{\mathrm{tangent}} after log-mapping to ToMκdT_o\mathcal{M}_{\kappa}^{d} (details in Appendix § 9).

Wasserstein. To evaluate how well the generated distribution p^1\hat{p}_1 matches the target p1p_1, we use the 1-Wasserstein distance W1W_1 on Mκd\mathcal{M}_{\kappa}^{d} (also known as the Earth Mover’s distance [10]):

W1(p1,p^1)=inf⁡π∈Π(p1,p^1)∫Mκd×Mκddeval(y,y^) dπ(y,y^),(5)W_1(p_1,\hat{p}_1) = \inf_{\pi\in\Pi(p_1,\hat{p}_1)} \int_{\mathcal{M}_{\kappa}^{d} \times\mathcal{M}_{\kappa}^{d}} d_{\mathrm{eval}}(y,\hat{y}) \, \mathrm{d}\pi(y,\hat{y}), \tag*{(5)}

where π∈Π(p1,p^1)\pi\in\Pi(p_1,\hat{p}_1) is a coupling over samples y∼p1y \sim p_1 and y^∼p^1\hat{y} \sim\hat{p}_1 within the set of all couplings Π\Pi [1], giving the lowest-cost transport between p1p_1 and p^1\hat{p}_1. In practice, we approximate W1W_1 by entropically regularized Sinkhorn divergence [3]; see Appendix § 9.§ 1.

MMD. MMD compares distributions through average kernel similarities [4]. Using the same target and candidate samples {yi}i=1n\{y_i\}_{i=1}^{n} and {y^i}i=1n\{\hat{y}_i\}_{i=1}^{n}, we compute

MMD⁡deval2=1n2∑i,jk(yi,yj)−2n2∑i,jk(yi,y^j)+1n2∑i,jk(y^i,y^j),(6)\operatorname{MMD}^{2}_{d_{\mathrm{eval}}} = \frac{1}{n^{2}}\sum_{i,j} k(y_i,y_j) - \frac{2}{n^{2}}\sum_{i,j} k(y_i,\hat{y}_j) + \frac{1}{n^{2}}\sum_{i,j} k(\hat{y}_i,\hat{y}_j), \tag*{(6)}

with RBF kernel k(x,x′)=exp⁡(−deval(x,x′)2/(2ℓ2))k(x,x') = \exp\left(-d_{\mathrm{eval}}(x,x')^{2}/(2\ell^{2})\right) and ℓ\ell as median non-zero pairwise distance.

SNR. To separate metric sensitivity from model error, we evaluate each metric on controlled perturbations of the target distribution. For a metric DD, let Ds(σ)D_s(\sigma) denote the metric between the clean and perturbed target distributions in resampling replicate ss. Given target samples z∼p1z \sim p_1 on the tangent space, we construct noisy candidates by adding Gaussian noise: we sample us,σ∼NTzMκd(0,σ2dId)u_{s,\sigma} \sim\mathcal{N}_{T_z\mathcal{M}_{\kappa}^{d}}(0,\frac{\sigma^2}{d}I_d) and then project xs,σ=exp⁡κx(us,σ)x_{s,\sigma} = \exp_{\kappa}^{x}(u_{s,\sigma}). For LL ordered noise levels (σ0\sigma_0 up to σL−1\sigma_{L-1}), we define the signal-to-noise ratio between levels σi<σj\sigma_i < \sigma_j as

SNR⁡D(i,j):=Es[Ds(σj)−Ds(σi)]Std⁡s[Ds(σj)−Ds(σi)].(7)\operatorname{SNR}_{D}(i,j) := \frac{\mathbb{E}_{s}[D_s(\sigma_j)-D_s(\sigma_i)]}{\operatorname{Std}_{s}[D_s(\sigma_j)-D_s(\sigma_i)]}. \tag*{(7)}

A high SNR means the metric detects degradation above sampling variability. Averaging these values gives a single summary value for each noise-response curve, which we call the mean consecutive SNR:

SNR⁡‾D=1L−1∑i=0L−2SNR⁡D(i,i+1).\overline{\operatorname{SNR}}_{D} = \frac{1}{L-1}\sum_{i=0}^{L-2}\operatorname{SNR}_{D}(i,i+1).

Finally, we apply these metrics to RFM samples, where errors arise from learned transport instead of controlled noise.

Experiments and analysis

We discuss the main findings in this section; further results are provided in Appendix § 12.

Metric dependence. Figure 1 shows contrasting dimensional trends in hyperbolic space: the gap between geodesic and non-intrinsic W1W_1 decreases with dd, whereas geodesic MMD2^2 increasingly diverges from both tangent and ambient. Figure 2 shows the same trend as dimensionality increases: spherical spaces show weaker divergence, with tangent and ambient approximations behaving similarly. Hence, dimension does not uniformly amplify geometric error: it changes evaluation in a metric- and curvature-dependent manner. Appendix § 12 shows a complementary pattern: rankings are relatively stable across evaluation distances within a metric type, but weak and target-dependent across families (Figure 9).

Figure 1. Metric discrepancies depend on evaluation geometry. Cells show log⁡2(Dgeodesic/Dother)\log_2(D_{\mathrm{geodesic}}/D_{\mathrm{other}}) over (κ,d)(\kappa,d) for GtG, comparing geodesic evaluation with ambient (top) and tangent-space (bottom) distances. Positive values mean geodesic eval. yields a larger discrepancy. W1W_1 is mostly larger under geodesic, whereas MMD decreases in high dd.

Evaluation distance changes metric trends

Figure 2. Evaluation distance changes metric trends. Curves show log⁡2(Dgeodesic/Dother)\log_2(D_{\mathrm{geodesic}}/D_{\mathrm{other}}) across dimensions for four curvatures. W1W_1 and MMD2\mathrm{MMD}^2 respond differently to the same change from intrinsic to non-intrinsic evaluation.

Figure 9. Metric-type agreement is target-dependent. Spearman correlations are computed across all (κ,d,seed)(\kappa,d,\text{seed})-configurations for each target. For Fréchet variance we use ∣log⁡ρF∣\lvert\log\rho_F\rvert so lower values indicate better quality. Distance representations are strongly correlated within a metric type, but agreement across W1W_1, MMD2\mathrm{MMD}^2, and Fréchet variance is weaker and depends on target structure.

Controlled noise perturbations. Figure 3 shows that W1W_1 and MMD2\mathrm{MMD}^2 generally increase monotonically with noise, but with curvature- and distance-dependent response strength, especially in negatively curved spaces. Figure 4 extends this across the sweep: global SNR (computed as SNRD(0,L−1)\mathrm{SNR}_D(0,L-1) from Eq. (7)) varies systematically over (κ,d)(\kappa,d), showing that reliability is not a property of the metric alone. Appendix F.2 confirms this pattern with a monotonicity check: W1W_1 remains near-monotone across dimensions, whereas MMD2\mathrm{MMD}^2 weakens at high dd (Table 9). Thus, distance representation affects not only the reported discrepancy size, but also how reliably sample-quality degradations are detected.

Metrics detect sample worsening differently across geometries

Figure 3. Metrics detect sample worsening differently across geometries. At d=16d=16, W1W_1 and MMD2\mathrm{MMD}^2 generally increase with controlled noise, but the response differs across curvature and across evaluation distance.

Noise-detection reliability is geometry-dependent

Figure 4. Noise-detection reliability is geometry-dependent. Cells show global SNR SNRD(0,L−1)\mathrm{SNR}_D(0,L-1) over (κ,d)(\kappa,d), summarising how reliably each metric detects the controlled perturbations. Reliability varies with both evaluation distance and curvature.

ddρW1\rho_{W_1}ρMMD⁡\rho_{\operatorname{MMD}}
21.00000.9903
31.00000.9894
41.00000.9940
81.00000.9949
160.99970.9940
640.99590.9760
2561.00000.8407
5121.00000.1978

Table 9. Geodesic W1W_1 remains monotone, while geodesic MMD⁡2\operatorname{MMD}^2 weakens at high dd. Mean Spearman correlations between noise level σ\sigma and metric value on GtG, averaged over curvatures and seeds. Values near 1 indicate that the metric increases consistently with controlled noise. Spherical configurations at d∈{256,512}d \in\{256, 512\} are excluded (see Appendix § 10.§ 3).

Geometric interpretation. Curvature changes local volume through JκJ_\kappa (Eq. (3)), so the same intrinsic perturbation can yield different pairwise distances under geodesic, tangent-space, or ambient evaluation. This helps explain W1W_1: where volume grows rapidly, ambient distances can underestimate intrinsic separations, potentially making geodesic evaluation more sensitive to noise. Table 1 supports this for ambient W1W_1, while the weaker tangent-W1W_1 correlation suggests that log-mapping preserves enough radial structure for volume scaling alone not to predict the gap. For MMD2\mathrm{MMD}^2, Eq. (6) averages RBF similarities using devald_{\mathrm{eval}} and a median-distance bandwidth, so curvature-induced distance shifts alter both kernel values and bandwidths, yielding positive associations for the ambient and tangent alternatives. Such kernel discrepancies are also known to reduce sensitivity in high dimensions [11]. Thus, volume scaling helps explain the geometry-dependent reliability gaps, but the different W1W_1 and MMD2\mathrm{MMD}^2 patterns show that metric-specific computation also matters.

dambientd_{\mathrm{ambient}}dtangentd_{\mathrm{tangent}}
W1W_10.630.20
MMD2\mathrm{MMD}^20.620.62

Table 1. Spearman correlations between log⁡μJκ(p1)\log\mu J_\kappa(p_1) and log⁡2(SNRgeodesic/SNRother)\log_2(\mathrm{SNR}_{\mathrm{geodesic}}/\mathrm{SNR}_{\mathrm{other}}) on Gt\mathrm{Gt}. Positive values mean dgeodesicd_{\mathrm{geodesic}} gains reliability over dotherd_{\mathrm{other}}. Full pattern in Figure 14.

Conclusion

Our study shows that neither W1W_1 nor MMD2\mathrm{MMD}^2 is uniformly reliable across geometries. Where Kansal et al. [ [12] show that generative-model metrics can have different sensitivities in Euclidean data, we show that this non-interchangeability becomes geometric on manifolds: both metric family and evaluation distance can change measured discrepancies and noise sensitivity. At the metric type level, agreement is weak and target-dependent; at the distance level, geodesic, ambient, and tangent-space evaluations can change the reported discrepancy even for the same metric. In particular, MMD2\mathrm{MMD}^2 loses sensitivity in some high-dd settings, whereas W1W_1 remains comparatively consistent. The dependence

on curvature and dimension is consistent with curvature-induced volume scaling, suggesting that intrinsic evaluation is especially important in high-dd hyperbolic spaces. Thus, we recommend to report the evaluation distance, to compare different metric types, and to check their sensitivity to noise, especially in these high-dd hyperbolic spaces. Future work can use these diagnostics to guide metric selection and representation design. In particular, extending the controlled evaluation framework to learned latent manifolds [13, 14] would allow the latent geometry and its evaluation metric to be selected jointly, potentially leading to a more sensitive representation. Table 2 summarises what we recommend checking when evaluating models on manifolds.

SituationRecommendationSupport
All evaluationsReport devald_{\mathrm{eval}} as part of the metric; for MMD, also state the kernel bandwidth rule.Figure 1, Figure 2, Figure 3, Figure 4
High-dd, κ<0\kappa<0Avoid ambient-only conclusions; verify important results with dgeodesicd_{\mathrm{geodesic}} or dtangentd_{\mathrm{tangent}}.Figure 1 and Table 1
Comparison of modelsUse at least two metric types, since rankings need not transfer between e.g. W1W_1 & MMD2^2.Figure 9
High-dd MMDRun a small controlled-noise check before relying on MMD as the main quality signalTable 9, Figure 4, Figure 12

Table 2. Practical guidance for manifold sample evaluation.

Figure 12. Noise-detection reliability varies by metric and target structure. SNR is shown as a function of dimension for GtG, SGR, and MoG, using geodesic, tangent-space, and ambient distances. This supports the main-text claim that reliability is not a property of the metric alone.

Acknowledgements

We kindly thank Maria Esteban Casadevall for helpful discussions and insights during the early stages of this work. We also thank SURF (www.surf.nl) for the support in using the National Supercomputer Snellius.

Related work

Riemannian generative models build the geometry of the data space into the model, using densities, vector fields, diffusion processes, or probability paths on manifolds; examples include Riemannian normalizing flows [15, 16], Riemannian diffusion models [17], and Riemannian Flow Matching (RFM; Chen and Lipman [ [5]). Such models are used for non-Euclidean data such as spherical Earth data [16], hyperbolic image representations [18], rotations and structured manifolds [19], and molecular or protein-design tasks [5, 20].

Our work instead studies how generated manifold samples should be evaluated. Related work by Kansal et al. [ [12] evaluates generative modelling metrics in high-energy physics and show that different two-sample criteria vary in their sensitivity to controlled failure modes. We extend this evaluation question to controlled constant-curvature manifolds, where curvature, dimension, volume scaling, target structure, and the choice of distance representation can all affect metric reliability.

Riemannian Flow Matching: extended. Unlike diffusion models that often require many stochastic sampling steps, Flow Matching (FM) trains continuous normalizing flows (CNFs; Chen et al. [ [21]) by directly regressing a time-dependent vector field along conditional probability paths, avoiding simulation during training [22]. RFM extends this framework to non-Euclidean geometries, making geometry an explicit inductive bias [5].

RFM has been initially applied to data defined on spheres, tori, and mesh manifolds [5], showing simulation-free training is not limited to Euclidean space. As RFM computes its loss in tangent space, it is a local linear approximation that does not fully account for curved geometry. Extensions such as Riemannian Gaussian Variational FM (RG-VFM; Zaghen et al. [ [20]) replace RFM’s tangent-space loss with endpoint-based losses that minimise geodesic distances between predicted and target points. By doing so, RG-VFM improves performance in material and protein design without modifying the underlying network architecture [20].

In addition to the formal introduction of RFM in § 2, RFM is trained through Riemannian Conditional Flow Matching (RCFM), which trains vtv_t to match x˙t\dot{x}_t along the conditional path:

LRCFM(θ)=Et∼U(0,1), x0∼p0, x1∼p1[∥vt(xt;θ)−x˙t∥gκ2].(8)\mathcal{L}_{\mathrm{RCFM}}(\theta) = \mathbb{E}_{t\sim\mathcal{U}(0,1),\,x_0\sim p_0,\,x_1\sim p_1}\left[\left\|v_t(x_t;\theta)-\dot{x}_t\right\|_{g_\kappa}^{2}\right]. \tag*{(8)}

Geometric background

We provide additional background on constant-curvature spaces Mκd\mathcal{M}_{\kappa}^{d}, where sectional curvature κ\kappa determines how geometry differs from flat Euclidean space. In geodesic polar coordinates around a fixed origin oo, all curvature effects are captured by a single radial scaling term snκ(r)\mathrm{sn}_{\kappa}(r) in Eq. (2), enabling direct comparison across geometries κ\kappa [7]. As derived in Appendix § 8.§ 2, the scaling function snκ(r)\mathrm{sn}_{\kappa}(r) governs volume growth. It is linear for κ=0\kappa=0, bounded for κ>0\kappa>0, and exponential for κ<0\kappa<0. This is reflected in the Riemannian volume element dvolκ=snκ(r)d−1 dr dΩ\mathrm{dvol}_{\kappa}=\mathrm{sn}_{\kappa}(r)^{d-1}\,\mathrm{d}r\,\mathrm{d}\Omega.

For hyperbolic space (κ<0\kappa<0), we use the Poincaré ball model, which admits closed-form geodesics and exponential maps. In contrast, for κ>0\kappa>0, the exponential map at the origin is only locally diffeomorphic; beyond the injectivity radius r=π/κr=\pi/\sqrt{\kappa}, geodesics converge and the spherical parameterisation is no longer globally one-to-one [7].

The exponential and logarithmic maps at oo can be further specified as [5]:

exp⁡oκ:ToMκd→Mκd,log⁡oκ:Mκd→ToMκd(9)\exp_{o}^{\kappa}:T_{o}\mathcal{M}_{\kappa}^{d}\to\mathcal{M}_{\kappa}^{d},\qquad\log_{o}^{\kappa}:\mathcal{M}_{\kappa}^{d}\to T_{o}\mathcal{M}_{\kappa}^{d} \tag*{(9)}

The exponential map takes a tangent vector v∈ToMκdv\in T_o\mathcal{M}_{\kappa}^{d} and maps it to the manifold point reached by following the geodesic from oo in direction vv. The logarithmic map does the opposite: for a point x∈Mκdx\in\mathcal{M}_{\kappa}^{d}, it gives the tangent vector at oo that points from oo to xx. Thus (for points where this reverse map is well-defined), x=exp⁡oκ(v)⟺v=log⁡oκ(x)x=\exp_o^\kappa(v)\Longleftrightarrow v=\log_o^\kappa(x). In our experiments, we use exp⁡oκ\exp_o^\kappa to map tangent-space samples to the manifold, and log⁡oκ\log_o^\kappa to map samples back to ToMκdT_o\mathcal{M}_{\kappa}^{d}, for e.g., evaluation on the tangent space, as a shared space for different curvatures.

Tangent-space normalisation by curvature radius

In § 3.2, we introduce tangent-space normalisation for distributions p~0,p~1\tilde{p}_0,\tilde{p}_1 before their pushforward to the manifold through the exponential map. Here, we give context on why this normalisation is appropriate for studying RFM behaviour beyond curvature-induced geometric scaling.

With constant-curvature manifolds, the curvature parameter induces, besides, e.g., volume scaling (§ 3.1, Appendix § 9.§ 3), a natural length scale: a sphere of radius RR has constant sectional curvature κ=R−2\kappa= R^{-2} and a hyperboloid of radius RR has constant sectional curvature κ=−R−2\kappa= -R^{-2} [6]. Solving these relations for RR and by using ∣κ∣|\kappa| to combine both cases, we get curvature radius

Rκ:=∣κ∣−1/2.(10)R_{\kappa} := |\kappa|^{-1/2}. \tag*{(10)}

(This same scale is also used in curvature-parameterised Poincaré (see, e.g., Ganea et al. [23], van Spengler et al. [24]) and κ\kappa-stereographic models (see, e.g., Bachmann et al. [ [25]), where the radius is proportional to ∣κ∣−1/2|\kappa|^{-1/2}.) Thus, a fixed tangent-space radius rr does not have the same relative meaning across curvatures. If rr is kept fixed while ∣κ∣|\kappa| increases, then rRκ=r∣κ∣−1/2=∣κ∣ r\frac{r}{R_{\kappa}} = \frac{r}{|\kappa|^{-1/2}} = \sqrt{|\kappa|}\,r also increases. In other words, the same tangent displacement has the same absolute length rr, but not the same relative length: when ∣κ∣|\kappa| increases, RκR_{\kappa} becomes smaller, so the same rr “reaches farther” onto the manifold. Therefore, RFM performance differences may not come from just curvature, but also from the distributions being placed at a different relative scale across different κ\kappa.

To isolate the effect of curvature more, we hence compare distributions at the same radius measured in units of the curvature radius (rather than at the same “raw” tangent-space radius). We define the dimensionless radius

ρ:=rRκ=∣κ∣ r,(11)\rho:= \frac{r}{R_{\kappa}} = \sqrt{|\kappa|}\,r, \tag*{(11)}

which, by solving for rr, gives the corresponding curvature-dependent radius

rκ:=Rκρ=ρ∣κ∣,(12)r_{\kappa} := R_{\kappa}\rho= \frac{\rho}{\sqrt{|\kappa|}}, \tag*{(12)}

so that when ∣κ∣|\kappa| increases, rκr_{\kappa} is reduced, keeping ρ\rho constant. Practically, keeping ρ\rho fixed means that the distribution is placed at the same relative distance from the origin across different κ\kappa.

In our set-up, this rescaling is applied to samples on the tangent space zi∼p~iz_i \sim\tilde{p}_i, giving z~κ=z/∣κ∣\tilde{z}_{\kappa} = z/\sqrt{|\kappa|} if κ≠0\kappa\ne0, and z~κ=z\tilde{z}_{\kappa} = z otherwise. Thus, this operation rescales the data distribution on the tangent space relative to curvature radius (as opposed to scaling the Riemannian metric itself [26]), and it does so before applying the pushforward to the manifold.

We can see the effect of the normalisation by applying it to/through sn⁡κ\operatorname{sn}_{\kappa}, defined as Eq. (2). For κ≠0\kappa\ne0, substituting Eq. (12) into Eq. (2) gives

sn⁡κ(rκ)={sin⁡(κ Rκρ)κ=sin⁡(ρ)κ=Rκsin⁡(ρ)if κ>0;sinh⁡(−κ Rκρ)−κ=sinh⁡(ρ)−κ=Rκsinh⁡(ρ)if κ<0.(13)\operatorname{sn}_{\kappa}(r_{\kappa}) = \begin{cases} \dfrac{\sin(\sqrt{\kappa}\,R_{\kappa}\rho)}{\sqrt{\kappa}} = \dfrac{\sin(\rho)}{\sqrt{\kappa}} = R_{\kappa}\sin(\rho) & \text{if }\kappa> 0;\\ \dfrac{\sinh(\sqrt{-\kappa}\,R_{\kappa}\rho)}{\sqrt{-\kappa}} = \dfrac{\sinh(\rho)}{\sqrt{-\kappa}} = R_{\kappa}\sinh(\rho) & \text{if }\kappa< 0. \end{cases} \tag*{(13)}

Thus, after normalisation with the curvature radius, the dependence on ∣κ∣|\kappa| is isolated in RκR_{\kappa}. By the same substitution, now into JκJ_{\kappa} (as defined in Eq. (3)) using Eq. (12) and Eq. (13), we get

Jκ(rκ)=(sn⁡κ(rκ)rκ)d−1={(Rκsin⁡(ρ)Rκρ)d−1=(sin⁡(ρ)ρ)d−1if κ>0;(Rκsinh⁡(ρ)Rκρ)d−1=(sinh⁡(ρ)ρ)d−1if κ<0.(14)J_{\kappa}(r_{\kappa}) = \left(\frac{\operatorname{sn}_{\kappa}(r_{\kappa})}{r_{\kappa}}\right)^{d-1} = \begin{cases} \left(\dfrac{R_{\kappa}\sin(\rho)}{R_{\kappa}\rho}\right)^{d-1} = \left(\dfrac{\sin(\rho)}{\rho}\right)^{d-1} & \text{if }\kappa> 0;\\ \left(\dfrac{R_{\kappa}\sinh(\rho)}{R_{\kappa}\rho}\right)^{d-1} = \left(\dfrac{\sinh(\rho)}{\rho}\right)^{d-1} & \text{if }\kappa< 0. \end{cases} \tag*{(14)}

(For κ=0\kappa= 0, no normalisation is applied, giving J0(r)=1J_0(r) = 1.) As RκR_{\kappa} cancels for κ≠0\kappa\ne0, the direct dependence on curvature magnitude is removed. Nonetheless, the volume behaviour dependent on the sign remains (through sin⁡\sin and sinh⁡\sinh, resp.), meaning the set-up controls for global, curvature-induced scaling, but does not fully normalise/control for curvature effects.

Volume growth in constant curvature

This Appendix supports the volume scaling diagnostic used in § 3.1 and Appendix § 9.§ 3. We show how constant curvature changes the volume available at geodesic radius rr: Euclidean volume grows as rdr^d, hyperbolic volume grows exponentially, and spherical volume is bounded. This explains why the same target distribution can experience different curvature-induced volume distortion with different geometries and dimensions.

Hyperbolic space Hn(−c)\mathbb{H}^n(-c). For 2D surface areas, the circumference at a geodesic distance ρ\rho in a space of constant negative curvature −c-c is:

C(ρ)=2πsinh⁡(cρ)c.(15)C(\rho) = 2\pi\frac{\sinh(\sqrt{c}\rho)}{\sqrt{c}}. \tag*{(15)}

The total area is the accumulation of these circumferences from 0 to rr:

AH(r)=∫0r2πsinh⁡(cρ)c dρ=2πc∫0rsinh⁡(cρ) dρ.(16)A_{\mathrm{H}}(r) = \int_{0}^{r} 2\pi\frac{\sinh(\sqrt{c}\rho)}{\sqrt{c}}\,d\rho= \frac{2\pi}{\sqrt{c}}\int_{0}^{r}\sinh(\sqrt{c}\rho)\,d\rho. \tag*{(16)}

Using the identity ∫sinh⁡(ax) dx=1acosh⁡(ax)\int\sinh(ax)\,dx = \frac{1}{a}\cosh(ax), we find

AH(r)=2πc(cosh⁡(cr)−1),(17)A_{\mathrm{H}}(r) = \frac{2\pi}{c}\left(\cosh(\sqrt{c}r)-1\right), \tag*{(17)}
AH(r)=2πc(ecr+e−cr2−1).(18)A_{\mathrm{H}}(r) = \frac{2\pi}{c}\left(\frac{e^{\sqrt{c}r}+e^{-\sqrt{c}r}}{2}-1\right). \tag*{(18)}

As the radius increases (r→∞r \to\infty), the fundamental properties of the manifold’s geometry become dominant. For larger rr, the −1-1 term becomes negligible and e−cre^{-\sqrt{c}r} approaches 0. Thus, we find that the area in hyperbolic space

AH(r)≈πcecr,(19)A_{\mathrm{H}}(r) \approx\frac{\pi}{c}e^{\sqrt{c}r}, \tag*{(19)}

grows exponentially relative to the radius, with the curvature constant cc acting as a scaling factor that accelerates the expansion of available space.

For higher dimensional spaces (n>2n > 2), the surface area of an (n−1)(n-1)-sphere of geodesic radius ρ\rho is given by:

Sn−1(ρ)=Ωn−1(sinh⁡(cρ)c)n−1,(20)S_{n-1}(\rho) = \Omega_{n-1}\left(\frac{\sinh(\sqrt{c}\rho)}{\sqrt{c}}\right)^{n-1}, \tag*{(20)}

where Ωn−1\Omega_{n-1} denotes the surface area of the unit (n−1)(n-1)-sphere. The total volume VHn(r)V_{\mathrm{H}^n}(r) is the integral of these “shells” from the center (0) to the total geodesic radius (rr) is

VHn(r)=∫0rSn−1(ρ) dρ=Ωn−1(c)n−1∫0rsinh⁡n−1(cρ) dρ.(21)V_{\mathrm{H}^n}(r) = \int_{0}^{r} S_{n-1}(\rho)\,d\rho= \frac{\Omega_{n-1}}{(\sqrt{c})^{n-1}}\int_{0}^{r}\sinh^{n-1}(\sqrt{c}\rho)\,d\rho. \tag*{(21)}

Thus, in hyperbolic space, as shown in the 2D example, the sinh-function ensures that the surface area of each subsequent shell increases, leading to the exponential volume growth characteristic of negative curvature

VHn(r)∝e(n−1)cr(r→∞).(22)V_{\mathrm{H}^n}(r) \propto e^{(n-1)\sqrt{c}r}\quad(r\to\infty). \tag*{(22)}

Spherical space S2(+c)\mathbb{S}^2(+c). In a space of constant positive curvature +c+c, the geometry “closes” in on itself. For 2D surface areas, the circumference at a geodesic distance ρ\rho is

C(ρ)=2πsin⁡(cρ)c.(23)C(\rho) = 2\pi\frac{\sin(\sqrt{c}\rho)}{\sqrt{c}}. \tag*{(23)}

The total area ASA_{\mathrm{S}} is the accumulation of these circumferences:

AS(r)=∫0r2πsin⁡(cρ)c dρ=2πc(1−cos⁡(cr)).(24)A_{\mathrm{S}}(r) = \int_{0}^{r} 2\pi\frac{\sin(\sqrt{c}\rho)}{\sqrt{c}}\,d\rho= \frac{2\pi}{c}\left(1-\cos(\sqrt{c}r)\right). \tag*{(24)}

Given −1≤cos⁡(x)≤1-1 \le\cos(x) \le1, we find

0≤1−cos⁡(cr)≤2,(25)0 \le1-\cos(\sqrt{c}r) \le2, \tag*{(25)}
0≤2πc(1−cos⁡(cr))≤4πc,(26)0 \le\frac{2\pi}{c}\left(1-\cos(\sqrt{c}r)\right) \le\frac{4\pi}{c}, \tag*{(26)}
0≤AS(r)≤4πc.(27)0 \le A_{\mathbb{S}}(r) \le\frac{4\pi}{c}. \tag*{(27)}

Consequently, in spherical space, the area growth is strictly bounded by the manifold’s closed geometry. We find AS,max⁡=4πcA_{\mathbb{S},\max} = \frac{4\pi}{c} for r=πcr = \frac{\pi}{\sqrt{c}} (antipode), which is the area of the full sphere of radius 1/c1/\sqrt{c}.

For higher-dimensional spaces (n>2n > 2) and r≤π/cr \le\pi/\sqrt{c}, the surface area of an (n−1)(n-1)-sphere of geodesic radius ρ\rho is given by

Sn−1(ρ)=Ωn−1(sin⁡(cρ)c)n−1.(28)S_{n-1}(\rho) = \Omega_{n-1}\left(\frac{\sin(\sqrt{c}\rho)}{\sqrt{c}}\right)^{n-1}. \tag*{(28)}

The total volume VSn(r)V_{\mathbb{S}^n}(r) is calculated by integrating these spherical shells:

VSn(r)=Ωn−1cn/2∫0crsin⁡n−1(t) dt(29)V_{\mathbb{S}^n}(r) = \frac{\Omega_{n-1}}{c^{n/2}}\int_{0}^{\sqrt{c}r}\sin^{n-1}(t)\,dt \tag*{(29)}
<Ωn−1cn/2∫0crtn−1 dt=Ωn−1cn/2⋅(cr)nn=Ωn−1rnn.(30)< \frac{\Omega_{n-1}}{c^{n/2}}\int_{0}^{\sqrt{c}r}t^{n-1}\,dt = \frac{\Omega_{n-1}}{c^{n/2}}\cdot\frac{(\sqrt{c}r)^n}{n} = \frac{\Omega_{n-1}r^n}{n}. \tag*{(30)}

Because sin⁡t<t\sin t < t on (0,π](0,\pi], we get (VSn(r)<Ωn−1rn/n(V_{\mathbb{S}^n}(r) < \Omega_{n-1}r^n/n, the Euclidean volume, so spherical volume growth is sub-Euclidean. At r=π/cr = \pi/\sqrt{c} the integral gives V=Ωnc−n/2V = \Omega_n c^{-n/2}, the volume of the whole sphere.

Evaluation metrics

Here we provide additional intuition, motivation, and details for the metrics introduced in § 3.3. We also introduce alternative metrics that were not included in the main text due to space constraints. We divide these metrics into categories of accuracy (C.1), stability (C.2), and volume scaling (C.3).

On manifolds, the evaluation distance is a modelling choice. Embedded samples can be compared intrinsically by geodesic distance or extrinsically by ambient Euclidean distance, and these generally differ in a curvature-dependent way [27]; similar distance choices are standard in spherical spatial statistics, see e.g. Porcu et al. [ [28], Jeong et al. [ [29]. Likewise, tangent-space distances provide a useful Euclidean approximation after log mapping, but such local comparisons can miss global curvature effects [30]. We therefore evaluate dgeodesicd_{\mathrm{geodesic}} (i.e., dκd_{\kappa}), dambientd_{\mathrm{ambient}}, and dtangentd_{\mathrm{tangent}} separately, illustrated by Figure 5.

Three evaluation distances illustrated for spherical and hyperbolic space

Figure 5. The three evaluation distances, illustrated for spherical and hyperbolic space. Samples are compared intrinsically by geodesic distance, extrinsically by ambient Euclidean distance, or locally after log-mapping to the tangent space at oo. The same pair of points can thus produce different error.

Accuracy

Figure 6 illustrates the complementary roles of our three evaluation metrics.

Illustration of the evaluation metrics

Figure 6. Illustration of the evaluation metrics. The same predicted samples can be assessed by transport cost (W1W_1), kernel similarity (MMD2\mathrm{MMD}^2), and dispersion via Fréchet variance.

Wasserstein distance. We measure how well p^1\hat{p}_1 matches p1p_1 using the 1-Wasserstein distance W1(p1,p^1)W_1(p_1,\hat{p}_1) on Mκd\mathcal{M}_{\kappa}^{d} defined in Eq. (5) in § 3.3. This distance is sensitive to the underlying metric structure of the space. On curved manifolds, this makes Wasserstein distances a more natural choice than KL-divergence (relative entropy), which is based on pointwise density ratios. In our experiments, we approximate W1W_1 with entropy-regularized optimal transport and use the debiased Sinkhorn divergence [2, 3]

Sε(p1,p^1)=OT⁡ε(p1,p^1)−12OT⁡ε(p1,p1)−12OT⁡ε(p^1,p^1),(31)S_{\varepsilon}(p_1,\hat{p}_1) = \operatorname{OT}_{\varepsilon}(p_1,\hat{p}_1) - \frac{1}{2}\operatorname{OT}_{\varepsilon}(p_1,p_1) - \frac{1}{2}\operatorname{OT}_{\varepsilon}(\hat{p}_1,\hat{p}_1), \tag*{(31)}

where OT⁡ε\operatorname{OT}_{\varepsilon} denotes the entropy-regularized OT cost. This regularization makes the transport problem smoother and easier to solve numerically, but it also introduces bias. The two correction terms remove this bias while keeping the computational advantages.

Dispersion. To detect over- or underdispersion of p1p_1 and p^1\hat{p}_1 on Mκd\mathcal{M}_{\kappa}^{d}, we use the Fréchet variance

σF2(p):=Ex∼p[dκ(μF,x)2],μF(p):=arg min⁡m∈MκdEx∼p[dκ(m,x)2],(32)\sigma_{\mathrm{F}}^{2}(p) := \mathbb{E}_{x\sim p}\left[d_{\kappa}(\mu_{\mathrm{F}},x)^{2}\right], \qquad\mu_{\mathrm{F}}(p) := \underset{m\in\mathcal{M}_{\kappa}^{d}}{\operatorname{arg\,min}}\mathbb{E}_{x\sim p}\left[d_{\kappa}(m,x)^{2}\right], \tag*{(32)}

where μF\mu_{\mathrm{F}} is the Fréchet mean (also known as Riemannian centre of mass) [31, 32]. We compare target and generated σF2\sigma_{\mathrm{F}}^{2} using their ratio ρF(p^1,p1):=σF2(p^1)/σF2(p1)\rho_{\mathrm{F}}(\hat{p}_1,p_1) := \sigma_{\mathrm{F}}^{2}(\hat{p}_1)/\sigma_{\mathrm{F}}^{2}(p_1).

Specifically for MoG experiment: mode coverage. We additionally measure whether generated samples cover the target modes in the correct proportions for the MoG experiments. Each generated sample is assigned to its nearest target mode center using the intrinsic distance dκd_{\kappa}, giving an empirical mode distribution p^\hat{p}, whose kk-th entry is the fraction of generated samples assigned to mode kk. We compare this to the target mixture weights pp using

DKL(p∥p^)=∑k=1Kpklog⁡pkp^k+ϵ.(33)D_{\mathrm{KL}}(p\mathbin\Vert\hat{p}) = \sum_{k=1}^{K} p_k \log\frac{p_k}{\hat{p}_k+\epsilon}. \tag*{(33)}

Stability

We evaluate stability using three metrics:

  1. We track vector-field magnitudes through the mean, standard deviation, maximum, and 95th percentile of ∥vt(x)∥gκ\lVert v_t(x)\rVert_{g_{\kappa}}. Large or heavy-tailed norms indicate that the learned flow requires strong local velocities, which can make both training and sampling less stable numerically.

  1. Since vt(x)v_t(x) should lie in TxMκdT_x\mathcal{M}_{\kappa}^{d}, we measure tangent-space violation by projecting vt(x)v_t(x) back onto the tangent space and recording the remaining non-tangent component. We do this both for its absolute size and relative to ∥vt(x)∥gκ\lVert v_t(x)\rVert_{g_{\kappa}}. For the sphere, this corresponds to checking whether vt(x)v_t(x) is orthogonal to xx, i.e. whether ⟨x,vt(x)⟩=0\langle x,v_t(x)\rangle= 0.

(iii) Finally, we report the fraction of finite samples, i.e. the proportion of samples whose coordinates contain no NaNs or infinities.

Volume scaling.

To quantify volume scaling for a distribution pp on Mκd\mathcal{M}_{\kappa}^{d}, we use the radial Jacobian of the exponential map; Jκ(r):=∣det⁡Dvexp⁡κo∣J_{\kappa}(r) := \lvert\det D_{v}\exp_{\kappa}^{o}\rvert. In geodesic polar coordinates around a fixed origin oo, the Riemannian volume element follows dvolκ=sn⁡κ(r)d−1 dr dΩ\mathrm{dvol}_{\kappa} = \operatorname{sn}_{\kappa}(r)^{d-1}\,\mathrm{d}r\,\mathrm{d}\Omega, in which dr\mathrm{d}r and dΩ\mathrm{d}\Omega denote infinitesimal radial and angular elements, respectively. In the flat tangent space ToMκdT_{o}\mathcal{M}_{\kappa}^{d} (viewed as Rd\mathbb{R}^{d}), the corresponding Euclidean volume element is rd−1 dr dΩr^{d-1}\,\mathrm{d}r\,\mathrm{d}\Omega [9]. Their ratio gives the Jacobian factor Eq. (3), which measures the local volume “distortion” induced by the geometry(’s curvature) at geodesic radius rr [8], see Figure 7.

Figure 7. JκJ_{\kappa} versus rr for different κ\kappa.

Given a distribution pp on Mκd\mathcal{M}_{\kappa}^{d}, we summarise how much curvature-induced volume scaling it experiences by averaging this factor over points xx drawn from pp, x∼px \sim p, as in Eq. (4). In other words, this turns a quantity for a point into a summary for a distribution, by taking the expectation of the quantity over the distribution. If μJκ(p)\mu_{J_{\kappa}}(p) is large, then the probability mass of pp lies (on average) where the geometry expands volume; if it is small, then the mass lies where the geometry contracts volume. Hence, it summarises how much volume growth the distribution “experiences.” Additionally, we also consider the variance σJκ2(p)\sigma_{J_{\kappa}}^{2}(p) of the Jacobian, i.e.

σJκ2(p):=Var⁡x∼p[Jκ(r(x))].(34)\sigma_{J_{\kappa}}^{2}(p) := \operatorname{Var}_{x\sim p}[J_{\kappa}(r(x))]. \tag*{(34)}

We further define, given a start distribution p0p_{0} and a target distribution p1p_{1}, the volume-growth gap as

ΔμJκ(p0,p1):=μJκ(p1)−μJκ(p0),(35)\Delta_{\mu_{J_{\kappa}}}(p_{0},p_{1}) := \mu_{J_{\kappa}}(p_{1}) - \mu_{J_{\kappa}}(p_{0}), \tag*{(35)}

which, intuitively, measures how much volume growth the flow must overcome between p0p_{0} and p1p_{1}.

Experimental setup

This Appendix gives more detailed explanation on the experimental setup and hyperparameters for both the RFM experiments, with the Gaussian-to-Gaussian (D.1), Gaussian-ring (D.2), and Mixture-of-Gaussians (D.3), and also the noise-perturbation tests (D.4). Figure 8 visualises the three target families.

Overview of the target distributions

Figure 8. Overview of the target distributions. Columns show GtG, SGR, and MoG targets; rows show Euclidean, spherical, and hyperbolic geometries. The same tangent-space distributions lead to different sample geometries after mapping to manifolds with different curvature.

Gaussian-to-Gaussian

Motivation and geometric intuition. To provide a baseline for the more complex distributions, we construct a Gaussian-to-Gaussian (GtG) matching task. Both the base and target distributions are defined through isotropic Gaussian sampling in the tangent space of the manifold, followed by mapping to the manifold via the exponential map.

Analytical formulation. A tangent vector is sampled as z∼N(μσ,σ02)z \sim\mathcal{N}(\mu_{\sigma},\sigma_{0}^{2}) where μ∈ToMκd\mu\in T_{o}\mathcal{M}_{\kappa}^{d} is the tangent-space mean and σ\sigma is the isotropic standard deviation. The sampled tangent vector is then mapped onto the manifold through the exponential map. For the Poincaré ball model, the tangent vector is first projected to the tangent space and rescaled using the conformal factor at the origin before applying the exponential map. When tangent normalisation is enabled (Appendix § 8.§ 1), tangent vectors are additionally scaled by the curvature radius before being mapped to the manifold.

Mean placement strategy. The source distribution is centered at the origin of the tangent space. The target mean is constructed as a tangent vector with norm equal to the prescribed separation distance μ1=δu\mu_1 = \delta u, where δ\delta denotes the desired separation distance and uu is a unit vector in the tangent space. For spherical manifolds, the tangent space at the north pole is orthogonal to the radial direction. Therefore, the first coordinate of the tangent vector is constrained to zero.

Varying complexity. In addition to the general experimental hyperparameters (see Table 3), the hyperparameters as described in Table 4 are used. The separation distance or standard deviations are not varied across configurations.

ParameterValue
Curvatures (κ\kappa)-10, -5, -3, -2, -1, 0, 1, 2, 3, 5, 10
Dimensions (dd)2, 3, 4, 8, 16, 32, 64, 256, 512
Seeds34, 42, 50

Table 3. General hyperparameters.

ParameterValue
Base standard deviation (σ0\sigma_0)0.3
Target standard deviation (σ1\sigma_1)0.3
Separation distance (δ\delta)0.5

Table 4. Additional hyperparameters for the GtG experiments.

Symmetric Gaussian Ring (SGR)

Motivation and geometric intuition. The symmetric Gaussian ring (SGR) aims to construct rotationally symmetric experiments, such that we can isolate the effect of radial volume growth. The ring places probability mass near radius rSGRr_{\mathrm{SGR}} in all angular directions. Equivalently, its radial coordinate is approx. Gaussian while its angular direction is uniform. This results in a rotationally symmetric distribution that visually forms a ring shape for d=2d = 2 and a hollow shell for d>2d > 2.

Analytical formulation. To sample a point z∈ToMκdz \in T_o\mathcal{M}^{d}_{\kappa}, we sample a radius r∼N(rSGR,σSGR2)r \sim\mathcal{N}(r_{\mathrm{SGR}}, \sigma_{\mathrm{SGR}}^{2}) and a unit direction θ^∼U(Sd−1)\hat{\theta} \sim\mathcal{U}(\mathbb{S}^{d-1}) in ToMκdT_o\mathcal{M}^{d}_{\kappa}. We then define the sample on the tangent space as z=rθ^z = r\hat{\theta} and map it to the manifold by x=exp⁡oκ(z)x = \exp^{\kappa}_{o}(z). This yields a rotationally symmetric target around the origin oo, with probability mass concentrated near geodesic radius rSGRr_{\mathrm{SGR}}. Varying rSGRr_{\mathrm{SGR}} therefore changes the radial volume-growth “experienced” by the flow, as measured by Eq. (35).

Varying complexity. In addition to the general experimental hyperparameters of Table 3 and the σ0\sigma_0 hyperparameter of Table 4, we add the rSGRr_{\mathrm{SGR}} and σSGR\sigma_{\mathrm{SGR}} hyperparameters, as listed in Table 5.

ParameterValue
Radius (rSGRr_{\mathrm{SGR}})0.35, 0.60, 0.85
Radial standard deviation (σSGR\sigma_{\mathrm{SGR}})0.05

Table 5. Additional hyperparameters for the SGR experiments.

For spherical geometries, radii must remain below the injectivity radius of the exponential map at oo. With curvature-radius normalisation, this limit is ρ<π\rho< \pi for every κ>0\kappa> 0. Our largest radius, rSGR=0.85r_{\mathrm{SGR}} = 0.85, corresponds to 0.85/π≈27%0.85/\pi\approx27\% of the injectivity radius, and with σSGR=0.05\sigma_{\mathrm{SGR}} = 0.05 essentially all target mass lies well inside it. For comparability, we use the same radii for Euclidean and hyperbolic geometries.

Here, complexity is varied by rSGRr_{\mathrm{SGR}}: with larger radii, the volume growth gap in Eq. (35) increases, which is hypothesised to influence the complexity of the transport task.

Mixture-of-Gaussians (MoG)

Motivation and geometric intuition. MoG extends the GtG task to a multimodal setting. The modes are placed symmetrically at equal geodesic distance from the source (analogous to the SGR’s radial shell structure, but with discrete angular orientation instead of full rotational symmetry). This breaks the isotropy that makes SGR “relatively easy” for RFM, requiring the flow to resolve distinct angular targets. In principle, MoG approaches SGR in structure with sufficient modes, making it a natural interpolation between the two. Complexity is controlled by the number of modes and the mixture weights, so we can isolate the effect of multimodality from that of radial volume growth.

Analytical formulation. We define the base distribution as an isotropic wrapped Gaussian p0=NM(μ0,σ02)p_0 = \mathcal{N}_{\mathcal{M}}(\mu_0, \sigma_0^2) centered at the source mean μ0\mu_0 on the manifold M\mathcal{M}. The target distribution is a mixture of nn Gaussians:

p1=∑i=1nwiNM(μi,σ12),p_1 = \sum_{i=1}^{n} w_i\mathcal{N}_{\mathcal{M}}(\mu_i, \sigma_1^2),

where ∑i=1nwi=1\sum_{i=1}^{n} w_i = 1. To maintain parity with our GtG experiments and isolate the effect of constant sectional curvature, we strictly enforce that all target means μi\mu_i are equidistant from μ0\mu_0. Given a reference target mean μref\mu_{\mathrm{ref}} from the corresponding GtG setup, we constrain the geodesic distance such that dM(μ0,μi)=dM(μ0,μref)d_{\mathcal{M}}(\mu_0,\mu_i) = d_{\mathcal{M}}(\mu_0,\mu_{\mathrm{ref}}) for all i∈{1,…,n}i \in\{1,\ldots,n\}.

Mean placement strategy. To eliminate spatial bias, we set the target means to be maximally separated while satisfying the equidistance constraint. We achieve this by formulating a generalised Thomson problem [33] (i.e., we seek a set of nn vectors that minimise the inverse-distance electrostatic potential).

Varying complexity. We ablate topological complexity along two axes (configuration details in Table 6):

ParameterValue
Number of target modes (nn)2, 3, 5
Base standard deviation (σ0\sigma_0)0.3
Target standard deviation (σ1\sigma_1)0.3
Balanced weights (wnw_n)[1/n,…,1/n][1/n,\ldots,1/n]
Unbalanced weights (wnw_n)w2=13[1,2]w_2=\frac{1}{3}[1,2], w3=14[1,1,2]w_3=\frac{1}{4}[1,1,2], w5=18[1,2,3,1,1]w_5=\frac{1}{8}[1,2,3,1,1]

Table 6. Additional hyperparameters for the MoG experiments.

  1. Mode scaling (n∈{2,3,5}n \in\{2,3,5\}): Increases spatial crowding, requiring the model to resolve higher-order symmetric structures (e.g., regular simplices) in higher dimensions.

  2. Weight distribution: We compare balanced mixtures against unbalanced mixtures to test if the learned vector field can allocate proportional mass without mode collapse.

Spherical injectivity exclusion for GtG and MoG. For spherical GtG and MoG runs, the tangent Gaussian construction is only one-to-one inside the injectivity radius of the exponential map. With our curvature normalisation this requires ∥z∥<π\lVert z \rVert< \pi. Since the Gaussian standard deviation is 0.30.3 per coordinate, this condition is violated in high dimensions: the probability of ∥z∥>π\lVert z \rVert> \pi is below 0.1%0.1\% up to d=64d = 64, but essentially one for d=256d = 256 and d=512d = 512. The samples are still valid points on the sphere, but no longer represent the intended one-to-one tangent Gaussian target. We thus omit spherical GtG/MoG entries at d∈{256,512}d \in\{256,512\} from all figures. For instance, from the heatmaps of Figure 1, 2, 4, 10, where hatched (grey with black diagonal lines) cells mark these omitted configurations.

Noise experiment details

For each target configuration, we use N=256N = 256 samples and evaluate the noise levels

Σ={0.005,0.01,0.02,0.05,0.10,0.20,0.40}.(36)\Sigma= \{0.005, 0.01, 0.02, 0.05, 0.10, 0.20, 0.40\}. \tag*{(36)}

The replicate index ss refers only to independent random seeds. Configurations with different mixture weights, numbers of mixture components, or ring radii are treated separately and are not pooled as replicates. Consecutive metric differences are paired by seed and target configuration. Because we use three seeds, these SNR values should be interpreted as empirical reliability diagnostics rather than precise uncertainty estimates.

Implementation details

This section includes the practical implementation details used throughout the experiments, including architecture design, optimisation, numerical integration, deterministic evaluation, and geometry-specific stability design. Our publicly available codebase is available on GitHub.3

Software framework. Our implementation extends the original RFM framework by Chen and Lipman [ [5] with additional components for deterministic evaluation, sampling in a curvature normalised way, and geometry-consistent evaluation. We use code by Valeau et al. [ [34] for hyperbolic flow matching extensions.

All experiments are implemented using PyTorch and PyTorch lightning modules. Manifold operations are based upon the geoopt module for Riemannian optimisation in PyTorch [35]. We extend on this for curvature-aware dataset generation and evaluation. All methods are executed on NVIDIA H100 Tensor Core GPUs using CUDA acceleration.4 Mixed-precision training is used where data is numerically stable. All experiments (i.e., training one flow matching model) took approx. 5 to 10 minutes using the above compute.

Vector field architecture. The learned transport field vθ(t,x)v_\theta(t,x) is parameterised using a MLP operating in the ambient space of the given manifold. The network takes the ambient coordinate representation of xtx_t with a scalar time variable t∈[0,1]t \in[0,1] as the input, where time conditioning is done by concatenation of tt to the input features. The architecture consists of fully connected linear layers with SiLU activation, to residual hidden blocks and a final projection layer. The output of the model is an unrestricted ambient vector field, which is projected onto the tangent bundle after every forward pass

vθ(t,xt)=Proj⁡TxtMκd(v~θ(t,xt)),(37)v_\theta(t,x_t) = \operatorname{Proj}_{T_{x_t}\mathcal{M}_{\kappa}^{d}}(\widetilde{v}_\theta(t,x_t)), \tag*{(37)}

where v~θ(t,xt)\widetilde{v}_\theta(t,x_t) denotes the raw ambient output of the network. Importantly, we keep the hidden dimensionality and network depth fixed across geometries and experiments to isolate geometric effects from architectural scaling effects.

Geodesic interpolation and velocity computation. We compute conditional interpolation trajectories using the closed form exponential and logarithmic maps described in Eq. (1). Instead of approximating tangent velocities using finite differences, we compute them using forward-mode automatic differentiation via Jacobian-vector-products (JVPs), this helps improve numerical stability on curved manifolds. To further stabilise the logarithmic map computation near the injectivity radius on the sphere manifold we utilise cosine clipping and small angle regularization. For the hyperbolic manifolds (i.e., the Poincaré ball model Bκd\mathbb{B}_{\kappa}^{d}, see e.g. Valeau et al. [ [34]), we use radius clipping near the boundary to avoid numerical overflow. Lastly, we re-project tangent vectors to their respective tangent space to mitigate accumulated floating point drift.

Optimisation procedure. We use the AdamW optimizer [Loschcilov and Hutter, 2019] with cosine learning-rate annealing over the full training horizon of 20 000 optimization steps. Further optimization methods, we implement are (i) parameter updates using exponential moving average, (ii) early stopping with a patience of 1000 steps (a high number, to not let optimisation difficulties be a bottleneck, but to still save computation), and (iii) checkpoint saving. We use the EMA updates for all sampling and evaluation methods. We sample mini-batches independently from the source and target distributions. For each batch, interpolation times are sampled uniformly t∼U(0,1)t \sim\mathcal{U}(0, 1). Table 7 gives an overview of other hyperparameters.

ExperimentHidden layersBatch sizeLearning ratedd∣κ∣|\kappa|Seeds
GtG, SGR, MoG85121×10−41 \times10^{-4}2, 3, 4, 8, 16, 32, 64, 256, 5120, 1, 2, 3, 5, 1034, 42, 50

Table 7. Model hyperparameters and sweep configurations.

Numerical integration. Our implementation generates sampling trajectories by integration of the learned vector field. We utilise adaptive Dormand-Prince (dopri5) ODE solvers (a form of Runge-Kutta) as a default while having fixed-step Euler as a fallback. For geometry-restrictive evaluation experiments, we implement explicit Euler integration with manifold re-projection after every update step for non-local coordinates,

xt+Δt=Proj⁡Mκd(xt+Δt vθ(t,xt)),(38)x_{t+\Delta t} = \operatorname{Proj}_{\mathcal{M}_{\kappa}^{d}}\left(x_t + \Delta t\,v_\theta(t,x_t)\right), \tag*{(38)}

while for local coordinates we use xt+Δt=exp⁡xtκ(Δt vθ(t,xt))x_{t+\Delta t} = \exp_{x_t}^{\kappa}\left(\Delta t\,v_\theta(t,x_t)\right) as the update. This projection-oriented integration helps avoid numerical drift away from the manifold when trajectories are long. Projection here, for spherical manifolds, refers to normalising onto the sphere, while for hyperbolic methods, the points are projected back to the Poincaré ball radius (valid region), when the numerical updates reach the boundary. We also keep the tolerances for the solver and the step sizes fixed across all geometries.

Dataset generation. Generation of the synthetic datasets is done directly in the tangent space and then mapped to the manifold using the exponential map, see Eq. (9). Our framework supports the three experiments introduced in § 3 and explained in detail in Appendix § 10. We have implemented a unified geometry-aware API for data generation to guarantee an identical structure on all the spaces we use. Training samples can be generated on the fly or reused when the training run requires more samples than the dataset contains. All partitions (that is: train, validation, test) are generated using deterministic seeded splits, such that we fix all sources of randomness.

Deterministic evaluation pipeline. To avoid variance in stochastic evaluation, we introduce a deterministic fixed pair evaluation method. For all experiments we generate source-target samples once, followed by sampling the temporal evaluation probes once. All subsequent runs reload identical evaluation artifacts. The artifacts stored consist of the paired sample, temporal probe grids, interpolation trajectories, predicted vector fields, target vector fields, transported endpoint samples and the metadata of the configuration. The configuration metadata is verified for exact compatibility before re-use. This helps comparison between learned and analytic transport trajectories across runs.

MMD implementation. For all MMD evaluations, we use an RBF kernel k(x,x′)=exp⁡(−deval(x,x′)2/(2ℓ2))k(x,x') = \exp(-d_{\mathrm{eval}}(x,x')^{2}/(2\ell^{2})), see § 3.3. Unless stated otherwise, ℓ\ell is chosen as a median heuristic: for each evaluation, we compute the median of the non-zero cross-distances between generated and target samples. We recompute ℓ\ell separately for geodesic, tangent-space, and ambient MMD, since each distance induces a different distance matrix. For geodesic MMD, we use the same RBF-like statistic with deval=dgeodesicd_{\mathrm{eval}} = d_{\mathrm{geodesic}}, but, unlike the ambient and tangent-space RBF kernels, this geodesic kernel is not guaranteed to be positive definite for every manifold configuration. So we interpret it as an empirical kernel discrepancy.

Stability and numerical safeguards. To stabilise optimisation and sampling, multiple safeguards are implemented. We have already talked about tangent-space re-projection and the numerical stability in the manifolds above. To avoid division by zero in the many manifold operations where quantities may become very small, all denominators have geometry dependent epsilon thresholds, d←max⁡(d,ϵ)d \leftarrow\max(d,\epsilon). Here ϵ\epsilon is different for float32 and float64 computations. Despite this, trajectory integration occasionally become unstable due to very large curvature or step size. So, during training and evaluation trajectories are continuously checked for NaN-values, inf-values, constraint violations (manifold-specific) and exploding tangent norms.

Further to check stability we define a few diagnostic statistics which are recorded throughout training and evaluation, these include mean and max of tangent norms, magnitude of the tangent-space violation, frequency of NaNs, failure rate of integration, error of re-projection in a manifold and solver step counts (see also Appendix § 9.§ 2). Monitoring these provides additional insights into whether observed outcome is achieved through representational effects or numerical instability.

Reproducibility. To enable accurate reproducibility all the experiments use a deterministic seeded initialisation in dataset generation, data partitioning, source-target sampling, parameter initialisation of the model, generation of temporal probe, and subset selection for evaluation. We keep the validation and test subsets fixed across all runs. Additionally, we implement artifact-cached evaluation protocol, this helps generate sample and trajectories for every experiment configuration once to re-use of subsequent runs, each artifact bundle is stored together with the configuration metadata. We run the experiment across three seeds to further verify the reproducibility of the code.

Additional results

This Appendix supplements § 4 with additional observations, results, and discussion. Following the structure of § 4, we divide this Appendix into metric dependence (F.1), controlled noise perturbations (F.2), and geometric interpretation (F.3). We additionally report numerical stability verifications in Appendix § 12.§ 4.

Metric dependence

Figure 9 separates two effects: within a metric type, rankings are relatively stable across distance representations; for example, the three W1W_1 variants correlate at ρ=0.77\rho=0.77 to 0.910.91 across targets. Across metric types, however, agreement is weak and target-dependent: for example, intrinsic W1W_1 and MMD2\mathrm{MMD}^2 correlate at −0.07-0.07 on GtG, 0.250.25 on SGR, and −0.45-0.45 on MoG. Thus, changing from geodesic to tangent or ambient distance often changes scale more than rank, whereas changing metric type can change the conclusion itself.

This difference is expected from the metric definitions. W1W_1 is transport-based and penalises how far mass must move, whereas MMD2\mathrm{MMD}^2 compares within- and cross-sample kernel similarities and Fréchet variance measures global spread. These metrics agree most for the rotationally symmetric SGR because the main error is radial: if samples are placed at the wrong radius, transport cost, kernel overlap, and Fréchet variance all worsen together. They can disagree on MoG because matching just the spread is not sufficient; a model can have the right variance while assigning too much or too little mass to individual modes.

As an additional spread diagnostic, Figure 10 reports the ratio between the generated and target Fréchet variances. A value near 1 means that the generated samples have approximately the right spread around their Fréchet mean. For GtG, the ratio stays close to 1, so the generated samples match the target spread well in this baseline case. SGR, though, shows different behaviour. At low dimensions, the ratio is also close to 1, but at high dimensions the geodesic and tangent-space evaluations show high overdispersion in negative-κ\kappa spaces. The spherical cases remain much closer to the target spread. Ambient hyperbolic evaluation reports much smaller errors because Poincaré coordinates lie inside a bounded ball; large intrinsic separations are therefore compressed when they are measured with ambient Euclidean distance. Table 8 summarises this compression: in hyperbolic space, the ambient-to-geodesic Fréchet ratio drops from 0.77 at d=64d = 64 to 0.11 at d=512d = 512, while it remains close to 1 on spheres. Thus, ambient evaluation can still indicate that a model is poor, but it can substantially understate how large the dispersion error is.

Curvatured=3d=316166464256256512512
Hyperbolic1.001.000.990.990.770.770.180.180.110.11
Spherical1.001.001.011.010.950.951.011.011.011.01

Table 8. Ambient Fréchet variance underestimates high-dd hyperbolic dispersion. Entries show ρFdambient/ρFdgeodesic\rho_F^{d_{\mathrm{ambient}}}/\rho_F^{d_{\mathrm{geodesic}}} for RFM SGR samples. Values below 1 mean ambient evaluation reports a more small dispersion error than geodesic evaluation. The gap grows with dimension in hyperbolic space but stays near 1 on spheres.

Figure 10. Dispersion errors depend on target structure and representation. Ratio of predicted-to-target Fréchet variance across signed curvature κ\kappa and dimension dd, using geodesic, tangent-space, and ambient distances. GtG remains close to 1 across the sweep, while SGR develops large high-dd overdispersion under geodesic and tangent-space evaluation. Ambient hyperbolic evaluation compresses this magnitude, consistent with Table 8.

Controlled noise perturbations

Table 9 checks whether each metric increases consistently with controlled noise. This is important because our SNR summaries compare metric differences across noise levels; if a metric is not monotone, positive and negative differences can cancel. W1W_1 is near-monotone across dimensions, while MMD⁡2\operatorname{MMD}^2 weakens at high dd, especially at d=512d = 512. Thus, high-dimensional MMD SNR values should be interpreted together with the raw response curves.

Figures 11 and 12 expand the noise analysis of § 4. The raw SNR curves show both metrics generally increase with noise, but by how much depends on the evaluation distance, especially in hyperbolic space. The SNR summary also shows that W1W_1 generally becomes more sensitive with dimension, while MMD⁡2\operatorname{MMD}^2 has a more variable response on the GtG, SGR, and MoG. Thus, controlled perturbations provide a useful calibration check before trusting a metric for model comparison.

Figure 11. Noise responses depend on dimension and evaluation distance. At d=2d=2 and d=64d=64, both W1W_1 and MMD2\mathrm{MMD}^2 generally increase with controlled noise. However, the responses differ per evaluation distance, especially in hyperbolic space.

Geometric interpretation

The SGR target was designed to vary radial placement while keeping the angular structure simple by having it close to rotational symmetry. Figure 13 tests whether this radial parameter alone explains noise-detection reliability. Mean geodesic SNR remains high across the tested radii, but it shows a mild downward trend as rp1r_{p_1} (also referred to as rSGRr_{\mathrm{SGR}} in Appendix § 10.§ 2) increases, especially in hyperbolic space. This is consistent with the intuition behind the volume-growth gap (Eq. (35), defined in Section C.3): moving the target farther from the origin exposes the perturbation to stronger curvature-induced volume distortion. However, the strongest visual separation is still by dimension rather than by rp1r_{p_1}. Thus, increasing the SGR radius does not by itself explain the reliability gaps; the relevant quantity is how radius interacts with curvature and dimension through JκJ_{\kappa} (Eq. (3)).

Figure 13. SGR radius alone does not determine geodesic SNR. Mean geodesic SNR is shown against the target radius rp1r_{p_1} in spherical and hyperbolic geometries, coloured by dimension. SNR remains high across radii, while dimension explains much of the variation.

Figure 14 relates reliability gaps directly to the target volume scaling log⁡μJκ(p1)\log\mu_{J_{\kappa}}(p_1). For W1W_1, volume scaling is associated with the geodesic advantage over ambient evaluation, but not over tangent space evaluation. This matches the geometry: ambient distances can compress large intrinsic separations, while the log map keeps radial information more explicit. For MMD2\mathrm{MMD}^2, both ambient and tangent alternatives show positive associations, suggesting that volume scaling also changes the pairwise distances used by the RBF kernel. Still, MMD also depends on bandwidth and can lose sensitivity in high dimensions [38], so volume scaling is only part of the explanation.

Scatter plots relating volume scaling to the geodesic SNR advantage over compared distances

Figure 14. Volume scaling explains some, but not all, SNR gaps. Each point is a (κ,d)(\kappa,d)-configuration on GtG\mathrm{G}_t\mathrm{G}. The x-axis shows target volume scaling, log⁡μJκ(p1)\log\mu_{J_{\kappa}}(p_1), and the y-axis shows the geodesic SNR advantage over the compared distance. Positive values mean geodesic evaluation detects controlled noise more reliably. Volume scaling correlates with the geodesic advantage over ambient W1W_1 and over both MMD alternatives, with the relationship weaker for tangent space W1W_1.

Numerical stability checks

We check whether the metric differences in the main text could be caused by numerical instability in RFM sampling. Table 10 summarises run-level diagnostics over the same RFM sweeps. The results show that the observed metric differences are unlikely to be artifacts of failed sampling. All completed runs produce finite samples, and relative tangency violations remain very small (median 7.1×10−57.1 \times10^{-5}, maximum 5.3×10−45.3 \times10^{-4}). We therefore interpret the main trends as valid evaluation effects.

Target# runsSample validity: finite (%)Sample validity: failed (%)Relative tangency violation: medianRelative tangency violation: max∥vt(x)∥gκ\lVert v_t(x)\rVert_{g_\kappa} (p95): median∥vt(x)∥gκ\lVert v_t(x)\rVert_{g_\kappa} (p95): max
GtG330100.00.04.5×10−64.5 \times10^{-6}4.6×10−54.6 \times10^{-5}0.4520.40
SGR1350100.00.02.3×10−62.3 \times10^{-6}5.3×10−45.3 \times10^{-4}0.715.20
MoG1980100.00.01.0×10−51.0 \times10^{-5}2.9×10−42.9 \times10^{-4}0.4512.76
All3660100.00.07.1×10−67.1 \times10^{-6}5.3×10−45.3 \times10^{-4}0.5220.40

Table 10. Numerical stability for RFM sweeps. All completed runs produce finite samples, and relative tangency violations remain very small. This supports the interpretation that the metric differences in the text are not caused by invalid samples or off-manifold vector fields. The p95 vector-field norm is included as a secondary scale check.

Limitations

Our experiments are deliberately controlled: we use synthetic targets on constant-curvature manifolds, one RFM implementation, and three random seeds. Because of this, the SNR values should be interpreted as practical reliability checks, they are not precise uncertainty estimates. Also, the volume-scaling results point to a likely geometric factor, but do not give a complete causal explanation. The results further depend on choices such as Sinkhorn regularisation for W1W_1 and the RBF kernel and median-bandwidth rule for MMD2\mathrm{MMD}^2, so better bandwidth calibration remains future work. Further future work should test other types of errors, metric settings, and generative models, as well as real data on more general or learned manifolds.

References

  1. [1]Gabriel Peyré and Marco Cuturi. Computational Optimal Transport. 2020. URL https://arxiv.org/abs/1803.00567.
  2. [2]Aude Genevay, Gabriel Peyré, and Marco Cuturi. Learning generative models with Sinkhorn divergences, 2017. URL https://arxiv.org/abs/1706.00292.
  3. [3]Jean Feydy, Thibault Séjourné, François-Xavier Vialard, Shun ichi Amari, Alain Trouvé, and Gabriel Peyré. Interpolating between optimal transport and MMD using Sinkhorn divergences, 2018. URL https://arxiv.org/abs/1810.08278.
  4. [4]Arthur Gretton, Karsten Borgwardt, Malte J. Rasch, Bernhard Scholkopf, and Alexander J. Smola. A kernel method for the two-sample problem, 2008. URL https://arxiv.org/abs/0805.2368.
  5. [5]Ricky T. Q. Chen and Yaron Lipman. Flow matching on general geometries, 2024. URL https://arxiv.org/abs/2302.03660.
  6. [6]John M. Lee. Riemannian Manifolds: An Introduction to Curvature, volume 176 of Graduate Texts in Mathematics. Springer-Verlag, New York, 1997. ISBN 978-0-387-22726-1. doi: 10.1007/0-387-22726-1.DOI
  7. [7]Peter Petersen. Riemannian geometry. Springer, 2006.
  8. [8]Urs Lang. Lecture notes on Riemannian geometry, 2020. URL https://metaphor.ethz.ch/x/2020/fs/401-3532-08L/sc/DG2_16June2020.pdf. Spring Semester 2020.
  9. [9]S. Gallot, D. Hulin, and J. Lafontaine. Riemannian Geometry. Universitext. Springer Berlin Heidelberg, 2004. ISBN 9783540204930. URL https://books.google.nl/books?id=6F4Umpws_gUC.
  10. [10]Alexandr Andoni, Piotr Indyk, and Robert Krauthgamer. Earth mover distance over high-dimensional spaces. In Proceedings of the Nineteenth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA ’08, page 343–352, USA, 2008. Society for Industrial and Applied Mathematics.
  11. [11]Sashank J. Reddi, Aaditya Ramdas, Barnabás Póczos, Aarti Singh, and Larry Wasserman. On the decreasing power of kernel and distance based nonparametric hypothesis tests in high dimensions, 2014. URL https://arxiv.org/abs/1406.2083.
  12. [12]Raghav Kansal, Anni Li, Javier Duarte, Nadezda Chernyavskaya, Maurizio Pierini, Breno Orzari, and Thiago Tomei. Evaluating generative models in high energy physics. Physical Review D, 107(7), April 2023. ISSN 2470-0029. doi: 10.1103/physrevd.107.076017. URL http://dx.doi.org/10.1103/PhysRevD.107.076017.
  13. [13]Kaiyu Yue, Menglin Jia, Ji Hou, and Tom Goldstein. Image generation with a sphere encoder, 2026. URL https://arxiv.org/abs/2602.15030.
  14. [14]Tianci Bu, Chuanrui Wang, Hao Ma, Haoren Zheng, Xin Lu, and Tailin Wu. GBBall: Graph generative model on Poincaré ball, 2026. URL https://arxiv.org/abs/2506.07198.
  15. [15]Mevlana C. Gemici, Danilo Rezende, and Shakir Mohamed. Normalizing flows on Riemannian manifolds, 2016. URL https://arxiv.org/abs/1611.02304.
  16. [16]Emile Mathieu and Maximilian Nickel. Riemannian continuous normalizing flows, 2020. URL https://arxiv.org/abs/2006.10605.
  17. [17]Valentin De Bortoli, Emile Mathieu, Michael Hutchinson, James Thornton, Yee Whye Teh, and Arnaud Doucet. Riemannian score-based generative modelling, 2022. URL https://arxiv.org/abs/2202.02763.
  18. [18]Valentin Khrulkov, Leyla Mirvakhabova, Evgeniya Ustinova, Ivan Oseledets, and Victor Lempitsky. Hyperbolic image embeddings, 2020. URL https://arxiv.org/abs/1904.02239.
  19. [19]Yesukhei Jagvaral, Francois Lanusse, and Rachel Mandelbaum. Unified framework for diffusion generative models in SO(3): applications in computer vision and astrophysics, 2023. URL https://arxiv.org/abs/2312.11707.
  20. [20]Olga Zaghen, Floor Eijkelboom, Alison Pouplin, Cong Liu, Max Welling, Jan-Willem van de Meent, and Erik J. Bekkers. Riemannian variational flow matching for material and protein design, 2026. URL https://arxiv.org/abs/2502.12981.
  21. [21]Ricky T. Q. Chen, Yulia Rubanova, Jesse Bettencourt, and David K. Duvenaud. Neural ordinary differential equations. In S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 31. Curran Associates, Inc., 2018. URL https://proceedings.neurips.cc/paper_files/paper/2018/file/69386f6bbd1bfed86692a24c8686939b9-Paper.pdf.arxiv.org/abs/1806.07366
  22. [22]Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. Flow matching for generative modeling, 2023. URL https://arxiv.org/abs/2210.02747.
  23. [23]Octavian-Eugen Ganea, Gary Bécigneul, and Thomas Hofmann. Hyperbolic neural networks, 2018. URL https://arxiv.org/abs/1805.09112.
  24. [24]Max van Spengler, Erwin Berkhout, and Pascal Mettes. Poincaré ResNet, 2023. URL https://arxiv.org/abs/2303.14027.
  25. [25]Gregor Bachmann, Gary Bécigneul, and Octavian-Eugen Ganea. Constant curvature graph convolutional networks. In Proceedings of the 37th International Conference on Machine Learning, ICML’20. JMLR.org, 2020.arxiv.org/abs/1911.05076
  26. [26]Kisung You. Constant metric scaling in Riemannian computation, 2026. URL https://arxiv.org/abs/2601.10992.
  27. [27]Lukas Silvester Barth, Hannehan Fahimi, Parvaneh Joharinad, Jürgen Jost, and Janis Keck. Metrics and Riemannian Manifolds, pages 25–104. Springer Nature Switzerland, Cham, 2025. ISBN 978-3-031-97973-6. doi: 10.1007/978-3-031-97973-6_3. URL https://doi.org/10.1007/978-3-031-97973-6_3.
  28. [28]Emilio Porcu, Moreno Bevilacqua, and Marc G. Genton. Spatio-temporal covariance and cross-covariance functions of the great circle distance on a sphere. Journal of the American Statistical Association, 111(514):888–898, 2016. doi: 10.1080/01621459.2015.1072541. URL https://doi.org/10.1080/01621459.2015.1072541.
  29. [29]Jaehong Jeong, Mikyoung Jun, and Marc G. Genton. Spherical process models for global spatial statistics. Statistical Science, 32(4):501–513, 2017. doi: 10.1214/17-STS620. URL https://doi.org/10.1214/17-STS620.
  30. [30]Willem Diepeveen, Joyce Chew, and Deanna Needell. Curvature-corrected tangent space-based approximation of manifold-valued data. Information and Inference: A Journal of the IMA, 14(4):iaaf031, 12 2025. ISSN 2049-8772. doi: 10.1093/imaiai/iaaf031. URL https://doi.org/10.1093/imaiai/iaaf031.
  31. [31]Bijan Afsari. Riemannian L^p center of mass: existence, uniqueness, and convexity. Proceedings of the American Mathematical Society, 139(2):655–673, 2011.DOI
  32. [32]Hermann Karcher. Riemannian center of mass and so called Karcher mean, 2014. URL https://arxiv.org/abs/1407.2087.
  33. [33]J. Batle, Armen Bagdasaryan, M. Abdel-Aty, and S. Abdalla. Generalized Thomson problem in arbitrary dimensions and non-Euclidean geometries, 2016. ISSN 0378-4371. URL https://www.sciencedirect.com/science/article/pii/S0378437116001230.arxiv.org/abs/1312.1854
  34. [34]Federica Valeau, Maria Esteban-Casadevall, and Erik J Bekkers. Hyperbolic curvature as an inductive bias for latent space flow matching. In ICLR 2026 Workshop on Geometry-grounded Representation Learning and Generative Modeling, 2026. URL https://openreview.net/forum?id=baSHbzZuG5N.
  35. [35]Max Kochurov, Rasul Karimov, and Serge Kozlukov. Geopt: Riemannian optimization in PyTorch, 2020. URL https://arxiv.org/abs/2005.02819.
  36. [36]Nowtricity. CO₂ emissions per kWh in the Netherlands, May 2026.
  37. [38]Aaditya Ramdas, Sashank Jakkam Reddi, Barnabás Póczos, Aarti Singh, and Larry Wasserman. On the decreasing power of kernel and distance based nonparametric hypothesis tests in high dimensions. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 29, 2015.

AI tools statement

No AI-use declaration is available for this version in Valency.

The available record does not establish whether AI systems or models contributed to this work.

How AI tools are recorded

Paper details

Cite this paper

Publication

Published
Version
Latest

Data & code

Code, data, proofs and workflows the authors linked for testing, review and reproduction. These links are part of this work’s metadata and are released under the same license as the rest of that metadata. Valency doesn’t host the files; each keeps the license set where it’s hosted.

Pick where to look, or just type