[Paper Review] Matching Normalizing Flows and Probability Paths on Manifolds
This paper introduces CNF Matching (CNFM), a novel framework for training Continuous Normalizing Flows (CNFs) on manifolds by minimizing Probability Path Divergence (PPD), a divergence that avoids ODE solving during training. PPD leverages a logarithmic mass conservation PDE to match the CNF’s flow to a target probability path, enabling state-of-the-art likelihoods and sample quality on low- and moderate-dimensional manifolds, including spheres and product manifolds modeling robot state spaces.
Continuous Normalizing Flows (CNFs) are a class of generative models that transform a prior distribution to a model distribution by solving an ordinary differential equation (ODE). We propose to train CNFs on manifolds by minimizing probability path divergence (PPD), a novel family of divergences between the probability density path generated by the CNF and a target probability density path. PPD is formulated using a logarithmic mass conservation formula which is a linear first order partial differential equation relating the log target probabilities and the CNF's defining vector field. PPD has several key benefits over existing methods: it sidesteps the need to solve an ODE per iteration, readily applies to manifold data, scales to high dimensions, and is compatible with a large family of target paths interpolating pure noise and data in finite time. Theoretically, PPD is shown to bound classical probability divergences. Empirically, we show that CNFs learned by minimizing PPD achieve state-of-the-art results in likelihoods and sample quality on existing low-dimensional manifold benchmarks, and is the first example of a generative model to scale to moderately high dimensional manifolds.
Motivation & Objective
- To address the high computational cost and limited scalability of training CNFs on manifolds using traditional likelihood-based methods.
- To develop a divergence measure that enables efficient, ODE-free training of CNFs on Riemannian manifolds while preserving expressive power.
- To enable training on moderately high-dimensional manifolds (e.g., S^15) where prior methods fail due to computational or numerical constraints.
- To provide a flexible framework compatible with diverse target paths that interpolate between noise and data distributions on manifolds.
Proposed method
- Proposes Probability Path Divergence (PPD), a novel divergence between the probability path generated by a CNF and a target path, defined via a logarithmic mass conservation (LMC) PDE.
- The LMC PDE links the log density of the model path and the CNF’s vector field, enabling PPD to be computed directly from the vector field and its derivatives without evaluating the model density.
- PPD is formulated with a single parameter ℓ ≥ 1, and upper bounds classical divergences: TV (ℓ=1), α-divergence (1<ℓ<∞), and reversed KL (ℓ=∞).
- The method trains CNFs by minimizing PPD, which avoids solving ODEs during training, reducing time and memory costs by 1–2 orders of magnitude.
- The framework supports manifold-embedded data by using intrinsic geometry, including stereographic projection for spheres and product manifolds for robotics state spaces.
- A flexible target path design is used, where p_t transitions from pure noise to data distribution, with log p_t and its derivatives computable via analytical or numerical means.
Experimental results
Research questions
- RQ1Can a divergence be defined that enables ODE-free training of CNFs on manifolds while maintaining high model expressivity?
- RQ2Does PPD provide a theoretically grounded, scalable alternative to likelihood-based training for CNFs on non-Euclidean data?
- RQ3Can CNFM achieve state-of-the-art performance in likelihood and sample quality on low- and moderate-dimensional manifolds?
- RQ4How does PPD-based training scale to higher-dimensional manifolds, such as S^15 or product manifolds modeling robot kinematics?
Key findings
- CNFM achieves state-of-the-art log likelihoods on S^1, S^2, and S^15, outperforming both vMF mixture models and S-FFJORD on S^15 with a 0.83 NLL score.
- On S^15, CNFM reduces NLL to 0.83, significantly outperforming the best vMF-MM baseline (1.05) and S-FFJORD (1.15).
- Training time for CNFM is 1–2 orders of magnitude faster than ODE-based likelihood training, with a 4K-second training run showing a substantial speedup.
- CNFM successfully generates qualitatively realistic samples on product manifolds modeling robot state spaces (Cheetah, Walker, Humanoid), with plausible noise-to-data trajectories.
- Despite biased gradient estimation in high dimensions (e.g., MNIST, d=784), CNFM remains stable and produces reasonable samples, indicating robustness to approximation errors.
- PPD is shown to upper bound classical divergences (TV, α-divergence, reversed KL), providing theoretical justification for its use as a training objective.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.