One-Step Flow Policy Mirror Descent
Tianyi Chen, Haitong Ma, Na Li, Kai Wang, Bo Dai
TL;DR
Diffusion policies in online RL are powerful but hinder real-time inference due to iterative sampling. Flow Policy Mirror Descent (FPMD) enables 1-step sampling by tying policy variance to discretization error in straight-interpolation flow models, and presents two variants: FPMD-R (Flow) and FPMD-M (MeanFlow) with tractable online losses. Empirical results on MuJoCo and visual DMControl show FPMD matches diffusion-policy baselines in performance while reducing inference cost by orders of magnitude, and MeanFlow offers training-time efficiency without sacrificing much accuracy. Overall, FPMD demonstrates that flow-based policies can remain expressive during training yet deliver real-time inference suitable for online RL and robotics applications.
Abstract
Diffusion policies have achieved great success in online reinforcement learning (RL) due to their strong expressive capacity. However, the inference of diffusion policy models relies on a slow iterative sampling process, which limits their responsiveness. To overcome this limitation, we propose Flow Policy Mirror Descent (FPMD), an online RL algorithm that enables 1-step sampling during flow policy inference. Our approach exploits a theoretical connection between the distribution variance and the discretization error of single-step sampling in straight interpolation flow matching models, and requires no extra distillation or consistency training. We present two algorithm variants based on rectified flow policy and MeanFlow policy, respectively. Extensive empirical evaluations on MuJoCo and visual DeepMind Control Suite benchmarks demonstrate that our algorithms show strong performance comparable to diffusion policy baselines while requiring orders of magnitude less computational cost during inference.
