One-Step Flow Policy Mirror Descent

Tianyi Chen, Haitong Ma, Na Li, Kai Wang, Bo Dai · DOI

Abstract

Flow Policy Mirror Descent (FPMD) is a novel reinforcement learning algorithm that bridges the gap between the high expressivity of diffusion-style policies and the rapid inference of Gaussian policies. By utilizing flow matching and exploiting the natural convergence of RL policies toward low-variance distributions, FPMD enables state-of-the-art performance with single-step sampling, bypassing the iterative denoising overhead of traditional diffusion models.

Introduction: The "Speed Tax" of Diffusion Policies

In recent years, diffusion policies have transformed robot learning by effectively modeling complex, multi-modal action distributions—such as a robot navigating around obstacles. However, these models suffer from a significant "speed tax": generating a single action typically requires 10 to 50 sequential denoising steps through a neural network. This latency hinders their application in high-frequency, real-time control loops or on hardware with limited computational resources.

While techniques like distillation or consistency training exist to accelerate diffusion, they often introduce complexity and significant training overhead. FPMD addresses this by asking whether the expressivity of these models can be achieved without inference-time delays through a simpler, end-to-end approach.

Methodology: Flow Matching and Mirror Descent

FPMD replaces standard diffusion with Flow Matching, specifically focusing on "straight interpolation" flows. In this framework, the model learns a velocity field that moves particles from a noise distribution to the target action distribution along linear paths.

The core technical innovations include:

  1. Tractable RL Loss: Because flow models lack a closed-form log-probability, the authors derived a variational loss function compatible with Policy Mirror Descent (PMD). This allows policy updates toward high-reward regions without calculating complex likelihoods.
  2. The "Free Lunch" of Convergence: A key mathematical insight is that the error of a one-step sampling jump in a flow model is bounded by the variance of the target distribution. As RL agents learn optimal behaviors, their policies naturally become "sharper" (lower variance). FPMD exploits this: as the agent improves, one-step sampling becomes inherently more accurate.
  3. Algorithmic Variants: The researchers introduced FPMD-R (Rectified Flow), which uses standard flow matching, and FPMD-M (MeanFlow), which uses an "average velocity" parametrization to allow one-step sampling even during the training phase.

Empirical Evaluation

The authors evaluated FPMD on the Gym MuJoCo (state-based) and DeepMind Control Suite (visual) benchmarks.

Inference Efficiency

FPMD achieves inference speeds comparable to simple Gaussian policies like Soft Actor-Critic (SAC), representing a 10x to 20x speedup over multi-step diffusion baselines such as DPMD.

Figure 1: Comparison of inference time (ms) between SAC, DPMD, and FPMD variants. FPMD achieves speeds nearly identical to the Gaussian SAC baseline while being significantly faster than diffusion-based DPMD.

Benchmark Performance

On MuJoCo tasks, FPMD-R (labeled as RF-1 in results) and FPMD-M (labeled as MF) match or exceed the performance of multi-step diffusion models. Notably, in the Humanoid and Pusher environments, FPMD variants established new state-of-the-art scores for one-step (NFE=1) methods.

Figure 4: Performance comparison across MuJoCo environments. FPMD (RF-1 and MF) consistently matches or outperforms diffusion-based policies (DPMD) and classic model-free RL (SAC, TD3) across various tasks.

In high-dimensional visual control tasks, FPMD significantly outperformed traditional Gaussian baselines, demonstrating that the expressivity of flow models is vital for complex movement. In these visual tasks, reducing the Number of Function Evaluations (NFE) from 20 down to 1 provided a massive practical speedup, often exceeding 4x faster wall-clock time due to the high cost of visual encoders.

Discussion and Limitations

While FPMD offers a powerful combination of speed and expressivity, some limitations remain. The MeanFlow variant (FPMD-M) occasionally underperformed the Rectified variant (FPMD-R) in visual tasks, possibly due to suboptimal sampling during training. Additionally, the current framework is tailored for continuous action spaces; extending these "straight-line" dynamics to discrete domains is a subject for future research. Finally, the authors suggest that FPMD could be used to fine-tune large, pretrained flow models for specific robotic applications.

Summary updated

BibTeX
@misc{chen2025one,
  author = {Tianyi Chen and Haitong Ma and Na Li and Kai Wang and Bo Dai},
  title = {{One-Step Flow Policy Mirror Descent}},
  year = {2025},
  eprint = {2507.23675},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.23675},
}
Figure