NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Flow Matching for Measure Transport and Feedback Stabilization of Control-Affine Systems

Karthik ElamvazhuthiarXiv 2025 · DOI

Abstract

We develop a flow-matching framework for transporting probability measures under control-affine dynamics and for stabilizing systems to points or target sets. Starting from the continuity equation associated with the control affine system $dx/dt = f_0(x) + \sum_{i=1}^m u_i f_i(x)$, we construct measure interpolations through exact and approximate flow matching, and extend the approach to output flow matching when only output distributions must align. These constructions allow to directly import standard control tools, such as feedback design, oscillatory inputs, and trajectory steering, and yield sample-efficient, regression-based controllers for measure-to-measure transport. We also introduce a complementary "noising + time-reversal" perspective for classical state or set stabilization, inspired by denoising diffusion models. Here stabilization is interpreted as a denoising problem. We propose two methods for constructing the noising process: (i) PMP-based noising, which leverages the Hamiltonian system from Pontryagin's Maximum Principle and recovers the optimal controller for linear systems with convex costs, while providing feasible feedback laws in the nonlinear case; and (ii) randomized-control noising, which employs regular (non-white noise) controls through the endpoint map and naturally accommodates control constraints. Both approaches avoid the score blow-up seen in stochastic differential equation-based denoising methods. We establish existence of solutions to the corresponding ODEs and regularity of the induced flows on measures, even when control laws are nonsmooth. Finally, we illustrate the framework on linear and nonlinear systems, demonstrating its effectiveness for both measure transport and stabilization problems.

Introduction

In modern robotics and biological engineering, the objective is often to control entire populations or distributions rather than single agents. This task, known as measure transport, is critical for managing swarms of drones or directing populations of cells. While generative AI has revolutionized distribution transport—transforming noise into complex data like images—these models typically operate without physical constraints.

In control theory, we are bound by control-affine dynamics, where the system's evolution is governed by the differential equation: $$\frac{dx}{dt} = f_0(x) + \sum_{i=1}^m u_i f_i(x)$$ This paper bridges the gap between generative flow matching and control theory, providing a framework that respects physical dynamics while avoiding the numerical instabilities common in previous diffusion-based control methods.

The Challenges of Distributional Control

Existing methods for measure transport often face two significant hurdles:

  1. The Curse of Dimensionality: Traditional grid-based methods fail as state-space variables increase.
  2. Numerical Instability (Score Blow-up): Diffusion-based models often rely on Stochastic Differential Equations (SDEs). As the system approaches a target point, the mathematical gradients (the "score") can become infinite, leading to numerical failure on real-world hardware.

Methodology: System-Consistent Flow Matching

The proposed framework introduces a Flow Matching approach tailored for control-affine systems. The core objective is to learn a deterministic feedback law $u(t, x)$ that moves a population from an initial distribution to a target distribution.

1. System-Consistent Interpolation

Standard flow matching uses arbitrary straight-line paths to interpolate between points. This paper instead utilizes paths that are "system-consistent," meaning they adhere to the system's underlying physics. By sampling valid trajectories and applying regression, the framework identifies a single feedback law that represents the "average" behavior of these paths—a process the authors term the purification of controls.

2. Output Flow Matching

In many practical scenarios, only a subset of the state (the output) needs to match a target distribution (e.g., the spatial coordinates of a robot, regardless of its internal velocity or battery state). The framework extends the mathematical formulation to handle these partial matching problems effectively.

3. Stabilization via Noising and Time-Reversal

To stabilize a system to a specific point or set, the authors adapt the logic of Denoising Diffusion Models:

  • Noising: The system is "noised" by pushing it away from the target using either optimal control trajectories (based on Pontryagin’s Maximum Principle) or random Brownian motion (Randomized-control).
  • Time-Reversal: The model learns to reverse this process. By using an Ordinary Differential Equation (ODE) formulation rather than an SDE, the framework ensures the feedback laws remain regular and finite, successfully bypassing the "score blow-up" singularity at the target.

Experimental Validation

The framework was evaluated across several classic control benchmarks:

  • 6D Linear System: Demonstrated successful output flow matching in higher-dimensional spaces, matching complex "mixture of Gaussians" target distributions.
  • 3D Nonlinear Driftless System: Tested on systems with non-holonomic constraints (like parallel parking), where movement in certain directions is restricted.
  • Unicycle Model: A standard test for stabilization to the origin and to a spherical manifold.
  • Martinet System: A complex nonlinear system used to validate the randomized-control noising strategy.

Key Insights

  • Bridging Classical and Modern Theory: The paper demonstrates that the Hamiltonian systems from Pontryagin’s Maximum Principle (PMP)—a pillar of 20th-century control—can serve as the foundation for modern generative "noising" processes.
  • The ODE Advantage: Formulating the problem with ODEs ensures that the resulting flows on measures are well-behaved and smooth, even when the underlying control laws are nonsmooth.
  • Sample Efficiency: The regression-based approach allows for efficient learning of controllers from sampled trajectories, making it more scalable than traditional grid-based solvers.

Conclusion and Future Work

This work provides a robust theoretical and practical foundation for applying flow matching to control systems. While the authors prove the existence and regularity of these solutions, they note that the learned paths are not necessarily unique or globally optimal in terms of energy consumption. Future research will focus on incorporating hard safety constraints directly into the flow-matching regression task to ensure agents avoid obstacles while transporting between distributions.

Summary updated

BibTeX
@misc{elamvazhuthi2025flow,
  author = {Karthik Elamvazhuthi},
  title = {{Flow Matching for Measure Transport and Feedback Stabilization of Control-Affine Systems}},
  year = {2025},
  eprint = {2510.02706},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.02706},
  howpublished = {arXiv},
}

Loading related content...

Figure