Skip to main content
QUICK REVIEW

[Paper Review] Flow Matching on General Geometries

Ricky T. Q. Chen, Yaron Lipman|arXiv (Cornell University)|Feb 7, 2023
3D Shape Modeling and AnalysisEngineering3 citations
TL;DR

This paper introduces Riemannian Flow Matching (RFM), a simulation-free framework for training continuous normalizing flows on general Riemannian manifolds by leveraging closed-form premetrics derived from geodesic distances. RFM enables scalable, divergence-free training on complex geometries—including triangular meshes and manifolds with boundaries—achieving state-of-the-art performance on non-Euclidean datasets while preserving manifold constraints.

ABSTRACT

We propose Riemannian Flow Matching (RFM), a simple yet powerful framework for training continuous normalizing flows on manifolds. Existing methods for generative modeling on manifolds either require expensive simulation, are inherently unable to scale to high dimensions, or use approximations for limiting quantities that result in biased training objectives. Riemannian Flow Matching bypasses these limitations and offers several advantages over previous approaches: it is simulation-free on simple geometries, does not require divergence computation, and computes its target vector field in closed-form. The key ingredient behind RFM is the construction of a relatively simple premetric for defining target vector fields, which encompasses the existing Euclidean case. To extend to general geometries, we rely on the use of spectral decompositions to efficiently compute premetrics on the fly. Our method achieves state-of-the-art performance on many real-world non-Euclidean datasets, and we demonstrate tractable training on general geometries, including triangular meshes with highly non-trivial curvature and boundaries.

Motivation & Objective

  • To address the limitations of existing generative modeling methods on Riemannian manifolds, including reliance on simulation, scalability issues, and biased objectives.
  • To develop a training framework for continuous normalizing flows that is both scalable and exact on general geometries, including those with non-trivial curvature and boundaries.
  • To eliminate the need for divergence computation and iterative sampling by constructing a closed-form target vector field via a premetric formulation.
  • To extend flow matching to Riemannian manifolds while maintaining computational efficiency and geometric fidelity.
  • To demonstrate successful training of deep generative models on challenging non-Euclidean domains such as discrete triangular meshes and symmetric positive definite matrices.

Proposed method

  • RFM formulates a premetric based on geodesic distance to define a closed-form target vector field for flow matching on manifolds.
  • It uses spectral decomposition to efficiently compute premetrics on-the-fly for general Riemannian geometries.
  • The method employs conditional flow matching, regressing onto vector fields that push a base distribution toward individual training examples via geodesic paths.
  • For simple geometries (e.g., hypersphere, hyperbolic space), RFM is completely simulation-free, using analytic geodesics as trajectories.
  • The framework avoids divergence estimation and does not require backpropagation through ODE solvers, enabling efficient training.
  • It supports both Riemannian and Euclidean norms in the loss, with the Riemannian norm shown to improve manifold adherence in high-curvature regions.
Figure 1 : Riemannian Conditional Flow Matching (RCFM) regresses onto the vector field of flows $x_{t}$ connecting a source $x_{0}\sim p$ and a target $x_{1}\sim q$ . ( Left ) On general geometries, $x_{t}$ is obtained by solving a simple ODE. ( Right ) On simple geometries ( e.g. , hypersphere), RC
Figure 1 : Riemannian Conditional Flow Matching (RCFM) regresses onto the vector field of flows $x_{t}$ connecting a source $x_{0}\sim p$ and a target $x_{1}\sim q$ . ( Left ) On general geometries, $x_{t}$ is obtained by solving a simple ODE. ( Right ) On simple geometries ( e.g. , hypersphere), RC

Experimental results

Research questions

  • RQ1Can continuous normalizing flows be trained efficiently and exactly on general Riemannian manifolds without simulation or divergence computation?
  • RQ2How can a closed-form, geometrically consistent target vector field be constructed for flow matching on non-Euclidean spaces?
  • RQ3To what extent does using Riemannian geodesics and norms improve model performance and manifold adherence compared to Euclidean approximations?
  • RQ4Can RFM scale to high-dimensional manifolds such as symmetric positive definite matrices and discrete triangular meshes with complex boundaries?
  • RQ5Does the proposed premetric-based framework outperform existing Riemannian diffusion and flow matching methods in terms of training stability and likelihood performance?

Key findings

  • RFM achieves state-of-the-art performance on real-world non-Euclidean datasets, including hyperbolic spaces and symmetric positive definite matrices, outperforming competitive baselines in negative log-likelihood (NLL).
  • On the BCI-IV-2b dataset (21D), RFM with Riemannian geodesic and norm achieved NLL = -61.76 ± 0.24, outperforming the Euclidean baseline (NLL = -52.22 ± 9.67).
  • On the BCI-IV-1 dataset (1770D), RFM with Riemannian geodesic and norm achieved NLL = -1209.88 ± 53.55, with 100% of samples remaining valid SPD matrices.
  • The use of Riemannian norms significantly improves manifold adherence, ensuring simulated flows remain within the manifold, especially in ill-conditioned regions of SPD matrices.
  • RFM enables successful training on triangular meshes with non-trivial curvature and boundaries, demonstrating the first tractable continuous-time generative model on such discrete geometries.
  • On simple geometries like the hypersphere and hyperbolic disk, RFM is simulation-free and learns flows that strictly follow geodesic paths, preserving intrinsic geometry.
Figure 2 : The conditional vector field $u_{t}(x|x_{1})$ defined in equation 13 transports all points $x\neq x_{1}$ to $x_{1}$ at exactly $t=1$ .
Figure 2 : The conditional vector field $u_{t}(x|x_{1})$ defined in equation 13 transports all points $x\neq x_{1}$ to $x_{1}$ at exactly $t=1$ .

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.