Papers
Topics
Authors
Recent
Search
2000 character limit reached

Riemannian Gaussian Variational Flow Matching

Updated 12 June 2026
  • RG-VFM is a generative modeling framework that extends Variational Flow Matching to data on Riemannian manifolds using Riemannian Gaussian distributions.
  • It leverages closed-form geodesic and log/exp maps to perform manifold-aware learning, enabling efficient endpoint prediction along geodesics.
  • Empirical evaluations on spherical data demonstrate that RG-VFM better preserves geometric properties and checkerboard contrast compared to Euclidean methods.

Riemannian Gaussian Variational Flow Matching (RG-VFM) is a generative modeling framework that extends the principle of Variational Flow Matching (VFM) to data residing on Riemannian manifolds. It achieves this by utilizing Riemannian Gaussian distributions as variational families and matching endpoint predictions along geodesics in spaces where the geometric structure is non-Euclidean. RG-VFM is designed for manifolds with closed-form geodesic and log/exp map computations—exemplified by spheres, hyperbolic spaces, and flat tori—allowing manifold-aware learning while maintaining computational tractability (Zaghen et al., 18 Feb 2025).

1. Riemannian Gaussian Distributions

Given a complete Riemannian manifold (M,g)(\mathcal{M}, g) with metric gg, geodesic distance distg(,)\mathrm{dist}_g(\cdot,\cdot), and volume form dMzd\mathcal{M}_z, the Riemannian Gaussian (RG) centered at μM\mu \in \mathcal{M} with scale σ>0\sigma > 0 is defined as

NRiem(zμ,σ)=1C(μ,σ)exp ⁣(12σ2distg2(z,μ))\mathcal{N}_{\rm Riem}(z\mid \mu,\sigma) = \frac{1}{C(\mu,\sigma)} \exp\!\left(-\tfrac{1}{2\sigma^2}\,\mathrm{dist}_g^2(z,\mu)\right)

where the normalizing constant

C(μ,σ)=Mexp ⁣(12σ2distg2(z,μ))dMzC(\mu,\sigma) = \int_{\mathcal{M}} \exp\!\left(-\tfrac{1}{2\sigma^2}\,\mathrm{dist}_g^2(z,\mu)\right) d\mathcal{M}_z

ensures unit mass. In Euclidean space, this recovers the standard isotropic Gaussian. If M\mathcal{M} is homogeneous, C(μ,σ)C(\mu,\sigma) is independent of gg0. This property is essential for parameterizing densities and performing variational inference on structured manifolds (Zaghen et al., 18 Feb 2025).

2. RG-VFM: Variational Objective and Training

RG-VFM generalizes Euclidean VFM to manifolds by introducing joint densities gg1, interpolating between a base gg2 and a target gg3. The variational flow matching objective is

gg4

with the variational posterior

gg5

where gg6 is the predicted geodesic endpoint.

Assuming (a) gg7 is homogeneous and (b) closed-form geodesics are available, the RG-VFM loss reduces (up to an additive constant, absorbing gg8) to

gg9

where distg(,)\mathrm{dist}_g(\cdot,\cdot)0 denotes the Riemannian logarithm map at distg(,)\mathrm{dist}_g(\cdot,\cdot)1 and distg(,)\mathrm{dist}_g(\cdot,\cdot)2 is the norm induced by the metric on the tangent space (Zaghen et al., 18 Feb 2025).

RG-VFM recovers the underlying velocity field distg(,)\mathrm{dist}_g(\cdot,\cdot)3 for the Riemannian continuity equation

distg(,)\mathrm{dist}_g(\cdot,\cdot)4

by averaging the conditional geodesic velocities: distg(,)\mathrm{dist}_g(\cdot,\cdot)5 connecting endpoint-based training to continuous-time flows over distg(,)\mathrm{dist}_g(\cdot,\cdot)6.

3. Comparison with Riemannian Flow Matching (RFM)

In contrast to RG-VFM, Riemannian Flow Matching (RFM) learns a vector field directly on distg(,)\mathrm{dist}_g(\cdot,\cdot)7 by minimizing

distg(,)\mathrm{dist}_g(\cdot,\cdot)8

Key differences include:

  • Objective: RFM matches instantaneous velocity fields at each distg(,)\mathrm{dist}_g(\cdot,\cdot)9, whereas RG-VFM matches predicted endpoints.
  • Parameterization: RG-VFM is variational: it learns the geodesic endpoint dMzd\mathcal{M}_z0 (and optionally the scale dMzd\mathcal{M}_z1), reconstructing the velocity field indirectly.
  • Geometric requirements: Both methods utilize geodesic log maps. RG-VFM requires these only at predicted endpoints, while RFM requires them at all training points.
  • Support of base distribution: RG-VFM can leverage a base dMzd\mathcal{M}_z2 in dMzd\mathcal{M}_z3 (yielding the RG-VFMdMzd\mathcal{M}_z4 variant) with linear off-manifold interpolation. RFM requires dMzd\mathcal{M}_z5 to be supported on dMzd\mathcal{M}_z6 and geodesic-based interpolation throughout [(Zaghen et al., 18 Feb 2025), Chen & Lipman 2024].

4. Manifolds, Metrics, and Geodesics in Practice

RG-VFM is applicable to homogeneous manifolds with computable closed-form geodesics and log/exp maps, such as:

Manifold Geodesic Distance Logarithm Map
Sphere dMzd\mathcal{M}_z7 dMzd\mathcal{M}_z8 dMzd\mathcal{M}_z9
Hyperbolic space μM\mu \in \mathcal{M}0 (Poincaré ball) μM\mu \in \mathcal{M}1 Closed form via Möbius transforms
Flat torus μM\mu \in \mathcal{M}2 Modulo Euclidean norm Standard log map mod μM\mu \in \mathcal{M}3

The explicit availability of exponential and logarithm maps in these geometries underpins both training and generative sampling (Zaghen et al., 18 Feb 2025).

5. Training and Sampling Procedures

Training follows a stochastic gradient approach:

  • Sample μM\mu \in \mathcal{M}4.
  • Sample μM\mu \in \mathcal{M}5 (the target).
  • Interpolate:
    • If μM\mu \in \mathcal{M}6: μM\mu \in \mathcal{M}7 via uniform geodesic interpolation, μM\mu \in \mathcal{M}8, with μM\mu \in \mathcal{M}9.
    • If σ>0\sigma > 00: σ>0\sigma > 01.
  • Compute Loss: σ>0\sigma > 02.
  • Update: σ>0\sigma > 03.

Sampling from the learned model proceeds by solving the ODE: σ>0\sigma > 04 with any suitable ODE solver (e.g., RK4), yielding samples σ>0\sigma > 05 (Zaghen et al., 18 Feb 2025).

6. Empirical Evaluation: Spherical Checkerboard

In the checkerboard experiment, data are embedded on σ>0\sigma > 06 via: σ>0\sigma > 07 The following methods are compared:

  • CFM (Conditional Flow Matching)
  • VFM (Euclidean)
  • RFM (Riemannian)
  • RG-VFMσ>0\sigma > 08
  • RG-VFMσ>0\sigma > 09

Evaluation metrics:

  • Norm deviation: NRiem(zμ,σ)=1C(μ,σ)exp ⁣(12σ2distg2(z,μ))\mathcal{N}_{\rm Riem}(z\mid \mu,\sigma) = \frac{1}{C(\mu,\sigma)} \exp\!\left(-\tfrac{1}{2\sigma^2}\,\mathrm{dist}_g^2(z,\mu)\right)0 deviation from 1 (ideal on NRiem(zμ,σ)=1C(μ,σ)exp ⁣(12σ2distg2(z,μ))\mathcal{N}_{\rm Riem}(z\mid \mu,\sigma) = \frac{1}{C(\mu,\sigma)} \exp\!\left(-\tfrac{1}{2\sigma^2}\,\mathrm{dist}_g^2(z,\mu)\right)1).
  • Visual quality: Checker patch concentration.

Key results:

  • Euclidean methods yield points off NRiem(zμ,σ)=1C(μ,σ)exp ⁣(12σ2distg2(z,μ))\mathcal{N}_{\rm Riem}(z\mid \mu,\sigma) = \frac{1}{C(\mu,\sigma)} \exp\!\left(-\tfrac{1}{2\sigma^2}\,\mathrm{dist}_g^2(z,\mu)\right)2 (standard deviation of NRiem(zμ,σ)=1C(μ,σ)exp ⁣(12σ2distg2(z,μ))\mathcal{N}_{\rm Riem}(z\mid \mu,\sigma) = \frac{1}{C(\mu,\sigma)} \exp\!\left(-\tfrac{1}{2\sigma^2}\,\mathrm{dist}_g^2(z,\mu)\right)3).
  • Geometric methods maintain NRiem(zμ,σ)=1C(μ,σ)exp ⁣(12σ2distg2(z,μ))\mathcal{N}_{\rm Riem}(z\mid \mu,\sigma) = \frac{1}{C(\mu,\sigma)} \exp\!\left(-\tfrac{1}{2\sigma^2}\,\mathrm{dist}_g^2(z,\mu)\right)4 (std NRiem(zμ,σ)=1C(μ,σ)exp ⁣(12σ2distg2(z,μ))\mathcal{N}_{\rm Riem}(z\mid \mu,\sigma) = \frac{1}{C(\mu,\sigma)} \exp\!\left(-\tfrac{1}{2\sigma^2}\,\mathrm{dist}_g^2(z,\mu)\right)5).
  • Variational methods (VFM and RG-VFM) better preserve checker contrast than CFM/RFM.
  • RG-VFMNRiem(zμ,σ)=1C(μ,σ)exp ⁣(12σ2distg2(z,μ))\mathcal{N}_{\rm Riem}(z\mid \mu,\sigma) = \frac{1}{C(\mu,\sigma)} \exp\!\left(-\tfrac{1}{2\sigma^2}\,\mathrm{dist}_g^2(z,\mu)\right)6 and RG-VFMNRiem(zμ,σ)=1C(μ,σ)exp ⁣(12σ2distg2(z,μ))\mathcal{N}_{\rm Riem}(z\mid \mu,\sigma) = \frac{1}{C(\mu,\sigma)} \exp\!\left(-\tfrac{1}{2\sigma^2}\,\mathrm{dist}_g^2(z,\mu)\right)7 achieve the closest qualitative match to the geometric checkerboard target (Zaghen et al., 18 Feb 2025).

7. Limitations and Open Problems

Several constraints shape the current scope and challenge potential extensions:

  • Applicability is restricted to homogeneous manifolds with closed-form log/exp maps; general learned manifolds are excluded.
  • Constant normalizer and fixed scale parameter NRiem(zμ,σ)=1C(μ,σ)exp ⁣(12σ2distg2(z,μ))\mathcal{N}_{\rm Riem}(z\mid \mu,\sigma) = \frac{1}{C(\mu,\sigma)} \exp\!\left(-\tfrac{1}{2\sigma^2}\,\mathrm{dist}_g^2(z,\mu)\right)8 are assumed; extending to nonhomogeneous or anisotropic Gaussians is nontrivial.
  • Off-manifold sampling in RG-VFMNRiem(zμ,σ)=1C(μ,σ)exp ⁣(12σ2distg2(z,μ))\mathcal{N}_{\rm Riem}(z\mid \mu,\sigma) = \frac{1}{C(\mu,\sigma)} \exp\!\left(-\tfrac{1}{2\sigma^2}\,\mathrm{dist}_g^2(z,\mu)\right)9 via Euclidean linear interpolation may behave unpredictably on high-curvature manifolds.
  • Extension to manifolds with boundaries, singularities, or non-global geodesics is an open question.
  • Non-Gaussian variational families (e.g., von Mises–Fisher on spheres) may further improve modeling on compact manifolds.

Further developments may involve addressing these limitations, especially integration with flexible non-Gaussian families and arbitrary manifold topologies (Zaghen et al., 18 Feb 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Riemannian Gaussian Variational Flow Matching (RG-VFM).