Flow policies reduce robot control delay without losing accuracy

RFPO: Rectified Flow Policy Optimization for Embodied Control

Robotics

Summary

Robot control usually requires careful calculation steps that take time, making real-time responses slower. The authors introduce a new method called RFPO that trains robot control policies to work well even with very few calculation steps. This means robots can respond faster without losing precision. Tests on various robot models show RFPO keeps performance nearly the same while speeding up control hundreds of times.

What this means in practice

  • For robotics engineers: Reduce latency in continuous robot control by deploying flow-based policies optimized for fast one-step execution, improving responsiveness without losing accuracy.
  • For robotics hardware teams: Cut onboard computation time in robot locomotion by replacing multi-step inference with RFPO’s one-step flow policy, enabling smoother real-time control.

Authors

Ting Huang, Lisiyu Pan, Haoyu Wang, Zeyu Zhang, Siyuan Qian, Yanjun Li, Yandong Guo, Boxin Shi, Hao Tang

Abstract

Flow-based policies provide an expressive framework for continuous robot control, but their iterative ODE integration incurs substantial inference cost. Naively reducing the integration budget can severely degrade control, since policies optimized under full-step execution are not explicitly constrained to remain reliable under coarse numerical integration. We refer to this mismatch as the few-step discretization gap. To address this problem, we introduce RFPO, a flow-policy optimization framework for reliable few-step execution. Reward-aware online Reflow rectifies student-induced transport paths during on-policy learning, making the resulting policy more robust to coarse integration. A frozen Gaussian PPO controller supplies complementary action-space supervision at full and intermediate integration budgets, while the deployed policy remains a single flow student executed with one Euler step. Across Unitree Go2, Boston Dynamics Spot, Unitree H1, and Unitree G1, RFPO consistently preserves full-step control performance under one-step execution, with one-step returns remaining within 2.4% of their corresponding 64-step values across both zero and random initialization. On Unitree Go2, one-step execution retains 98.5% of the 64-step reward while reducing onboard mean inference latency from 4.39 ms to 0.08 ms, yielding a 54.9x speedup. Real-robot experiments further validate stable one-step locomotion. Code: https://github.com/AIGeeksGroup/RFPO. Website: https://aigeeksgroup.github.io/RFPO.