arXiv:2609.35454cs.LGSep 2026

Manuscript Offprint

arXiv:2609.35454

Manifold-Stable Flow Matching

Amirhossein Nazerian, Ali Pezeshki, Jianguo Zhao

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

Amirhossein Nazerian

Department of Mechanical Engineering

Colorado State University

Fort Collins, CO 80523, USA

a.nazerian@colostate.edu

Ali Pezeshki

Department of Electrical and Computer Engineering

Colorado State University

Fort Collins, CO 80523, USA

ali.pezeshki@colostate.edu

Jianguo Zhao

Department of Mechanical Engineering

Colorado State University

Fort Collins, CO 80523, USA

jianguo.zhao@colostate.edu

ABSTRACT

Flow matching (FM) learns generative dynamics through velocity regression. Geometric FM variants commonly assume a prior supported on the data manifold, requiring geometric knowledge that is often unavailable. Without such knowledge, low regression error alone does not guarantee manifold adherence. Adherence keeps generated samples within valid configurations and is empirically associated with better task performance. We introduce manifold-stable flow matching (MSFM), which can start from an arbitrary ambient prior, not necessarily supported on the manifold. Using tools from nonlinear dynamics, namely contraction theory, MSFM combines learned tangential transport with prescribed normal contraction. The construction uses analytical projectors for known manifolds and local affine proxies estimated by principal component analysis for unknown data geometry. By implementing contraction theory in both cases of known and unknown manifolds, we guarantee manifold invariance and transverse convergence to the manifold within a desired time window (e.g., one second). We derive a family of compatible probability paths and decompose the training loss into a learnable tangential term and a normal residual. An ellipse experiment attains a mean terminal off-manifold error of order 10−610^{-6}. In Push-T robotic experiments, MSFM raises success from 74% to 82%. In the Robomimic Square task, success increases from 60% to 72%, while rotation-manifold deviation decreases from order 10−210^{-2} to 10−710^{-7}. The MSFM terminal geometric errors are controlled by the chosen numerical tolerance. These results demonstrate stronger geometric adherence and higher observed task performance, supporting prescribed normal contraction as a complement to learned generative transport.

1 INTRODUCTION

Flow matching (FM) learns a time-dependent vector field whose flow transports a simple source distribution to a target data distribution through a regression objective rather than repeated ODE simulation during training (Lipman et al., 2023; Albergo et al., 2025). This framework is especially attractive for generative policies because inference reduces to integrating a learned dynamical system. However, many target distributions in robotics and structured generation are supported on, or concentrated near, a lower-dimensional manifold M⊂Rn\mathcal{M} \subset \mathbb{R}^n. Examples include rotation matrix parameterizations, rigid-body poses, constrained actions, and data-driven task manifolds.

Adherence to this manifold matters. First, samples off the manifold may not be valid outputs: a generated rotation that is not in SO(3) cannot be executed and must be projected after the fact, and projecting a sample that has drifted far from the manifold can yield an unintended action. Second, when the manifold is unknown, as for expert actions in imitation learning, samples off the data geometry correspond to actions the demonstrations do not support. In closed-loop control, such errors

Conventional Flow Matching

Manifold Stable Flow Matching

Figure

Figure 1: Schematic comparison. Linear conditional FM paths do not necessarily stay near a curved target manifold (top-left panel). MSFM (top-right panel) learns tangential transport and prescribes normal contraction, which guarantees convergence to the manifold. The learned MSFM sampling trajectories can curve because MSFM learns tangential motion, while it prescribes normal contraction (bottom panel). The normal component of the flow uniquely minimizes kinetic action.

can compound, and adherence to the expert action geometry can matter more for performance than low validation error (Pan et al., 2026).

Conventional FM, however, controls only the expected velocity error on sampled training paths. It matches distributions through training but provides no mechanism that pulls generated trajectories back to the manifold, so a model with low regression loss can still drift away from it. Existing remedies are limited: post-hoc projection requires a known manifold and corrects only the final sample, while geometric FM methods require both a known manifold and a prior supported on it.

We propose manifold-stable flow matching (MSFM), which separates learned transport along the data geometry from prescribed convergence toward it. For a known manifold, analytical tangent and normal projectors define this separation, while local principal component analysis (PCA) is used for unknown manifolds. Using contraction theory from nonlinear dynamics, we form a normal contractive flow to the data manifold, such that the flow (starting from a prior distribution outside of the manifold) is guaranteed to converge to the manifold within a desired time window (e.g., 1 second). Figure 1 provides a schematic comparison between the conventional FM and our novel MSFM.

Our main contribution is MSFM, a flow-matching framework that provably converges to the data manifold from an arbitrary ambient prior within a finite time window. This guarantee holds regardless of regression accuracy since the network learns only tangential transport while normal contraction is prescribed. We use analytical projectors when the geometry is known and local PCA affine proxies otherwise. We support this framework theoretically by deriving a family of compatible tangent-normal probability paths and an orthogonal loss decomposition that separates what the network learns from what is prescribed. We prove manifold invariance and transverse convergence. We support it empirically on an ellipse and two robotic manipulation tasks: under matched network capacity, MSFM reduces off-manifold error by multiple orders of magnitude on Push-T and Robomimic Square, and raises observed success.

References (77)