Fast and Robust Visuomotor Riemannian Flow Matching Policy

Haoran Ding, Noémie Jaquier, Jan Peters, Leonel Rozo

Introduction

In recent years, Diffusion Policies (DP) have emerged as a powerful paradigm for robot imitation learning, primarily due to their ability to represent complex, multi-modal action distributions. However, deploying these models in real-time robotic systems remains challenging. Standard diffusion processes require iterative denoising—often involving 10 to 100 steps—which introduces significant latency in high-frequency control loops. Furthermore, robots operate on Riemannian manifolds (e.g., the sphere of possible rotations), yet standard diffusion models often treat action spaces as Euclidean, necessitating mathematical "hacks" like post-processing normalization that can undermine the model's theoretical consistency.

This paper introduces Riemannian Flow Matching Policy (RFMP) and its stable variant, SRFMP. This framework replaces stochastic diffusion with deterministic flow matching, incorporating Riemannian geometry and control-theoretic stability to achieve faster training, near-instant inference, and superior robustness.

Methods: Geometry and Stability

The core innovation of this work is the transition from Diffusion to Flow Matching (FM). Unlike diffusion, which uses stochastic differential equations to model noise, FM learns a deterministic vector field that "pushes" a simple starting distribution toward the target action distribution.

Riemannian Integration

The authors extend Flow Matching to operate natively on manifolds. By utilizing geodesics—the shortest paths on curved surfaces—the "flow" respects the natural constraints of robot joint and end-effector orientations. This avoids the errors introduced by projecting Euclidean outputs back onto a manifold. This geometric awareness is particularly crucial for tasks involving complex rotations or spherical constraints.

Visualization of action distributions evolving on a spherical manifold. The flow matching process moves points from a prior distribution to the target trajectories along geodesics.

Stability via LaSalle’s Principle

A common failure mode in flow-based models is "drift" if the integration path is extended beyond the training horizon ($t=1$). The authors introduce Stable RFMP (SRFMP) by applying LaSalle’s invariance principle from control theory. By treating action generation as a dynamical system and designing the vector field to be stable relative to the target distribution, they ensure that once the flow reaches the goal, it remains there. This stability is what enables reliable one-step inference, where a single large integration step can produce a high-quality action without the risk of divergence.

Experimental Results

The models were rigorously tested across ten environments, including simulated benchmarks (Push-T, Robomimic, Franka Kitchen) and real-world manipulation tasks (Pick & Place, Mug Flipping).

Inference Speed and Performance

SRFMP consistently outperforms Diffusion Policies at low Numbers of Function Evaluations (NFE). In the long-horizon Franka Kitchen task, SRFMP achieved a 100% success rate with only 1 step, while Diffusion Policy (DP) failed completely (0% success) at the same speed. This represents a massive leap in efficiency for reactive robot control.

Performance scores for PushT and Square tasks. The plots demonstrate that SRFMP maintains high success rates even with minimal inference steps (NFE=1 and NFE=3) across various integration times.

Training Efficiency and Robustness

Beyond inference speed, RFMP is significantly easier to train than alternative fast-inference models like Consistency Policies (CP). While CP requires a computationally expensive two-stage distillation process, RFMP is "simulation-free" during training, making it as efficient to train as a standard regression model. In real-world testing on a 7-DoF Franka Emika Panda robot, SRFMP maintained smooth, successful trajectories for mug flipping even when inference steps were minimized, whereas DP became jerky and unreliable as the step count decreased.

Conclusion and Future Work

Riemannian Flow Matching offers a robust solution to the latency and geometric limitations of current imitation learning methods. By grounding generative modeling in Riemannian geometry and stability theory, the authors provide a path toward more reactive and mathematically consistent robot policies. Future research will focus on integrating equivariant perception backbones to further reduce the data requirements for complex manipulation tasks and exploring contact-rich environments.

Summary updated

BibTeX
@article{ding2024fast,
  author = {Haoran Ding and Noémie Jaquier and Jan Peters and Leonel Rozo},
  title = {{Fast and Robust Visuomotor Riemannian Flow Matching Policy}},
  journal = {IEEE Trans. Robotics},
  year = {2024},
}
Figure