arXiv(opens in a new tab)cs.ROOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.10453

RFPO: Rectified Flow Policy Optimization for Embodied Control

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

Ting Huang 1∗^{1*} Lisiyu Pan 1∗^{1*} Haoyu Wang 1∗^{1*} Zeyu Zhang 1∗†^{1*\dagger} Siyuan Qian 1^{1}

Yanjun Li 1^{1} Yandong Guo 2^{2} Boxin Shi 1^{1} Hao Tang 1‡^{1\ddagger}

1^{1}School of Computer Science, Peking University 2^{2}AI 2^{2} Robotics

*Equal contribution. †Project lead. ‡Corresponding author: bjdxtanghao@gmail.com

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.9× speedup. Real-robot experiments further validate stable one-step locomotion. Code: https://github.com/AIGeeksGroup/RFPO. Website: https://aigeeksgroup.github.io/RFPO

I. INTRODUCTION

Learning expressive and efficient continuous-control policies is a central problem in robotics. Conventional reinforcement learning typically parameterizes actions with simple distributions such as diagonal Gaussians, which are easy to optimize but can be restrictive when multiple control strategies are valid under the same observation. Generative policies provide a more expressive alternative and have shown strong performance in visuomotor and geometry-aware robot control [3], [33]. In particular, flow matching [12] and rectified flow [13] model action generation as an ODE that transports simple noise distributions into continuous actions. Flow-based policies have since been adopted for efficient robot manipulation [34] and large-scale vision-language-action models such as π0\pi_{0} [1], highlighting their potential as an expressive policy class for robot control.

Beyond demonstration-supervised learning, recent work has increasingly optimized generative policies directly from environment rewards. Diffusion-based approaches such as DPPO [21], DIME [2], and GenPO [4] extend reinforcement learning to iterative generative action distributions. For flow-based policies, ReinFlow [35] enables online fine-tuning through stochastic flow dynamics, while Flow Q-

Figure

Fig. 1. Few-step execution of reward-optimized flow policies. Naive step reduction can create a discretization gap between full-step and few-step actions. RFPO rectifies student-induced transport paths and uses complementary action-space supervision to enable reliable few-step execution.

Learning [18] and SAC Flow [36] explore offline and off-policy optimization. FPO [16] constructs an on-policy surrogate directly from conditional flow-matching losses, and FPO++ [32] further improves this formulation with per-sample flow ratios and asymmetric trust-region updates. These advances make reward-driven optimization of expressive flow policies increasingly practical.

However, high-reward flow policies are not necessarily reliable when the numerical integration budget is aggressively reduced. Existing flow-policy RL objectives optimize control return under the training integration budget but do not explicitly constrain the resulting vector field to remain numerically reliable under coarse integration. Consequently, reducing the number of Euler steps can substantially change the generated action and lead to severe control degradation, as illustrated in Fig. 1. We refer to this mismatch between full-step optimization and low-budget execution as the few-step discretization gap. Although Reflow [13], consistency learning [27], fast ODE solvers, and policy distillation [19], [34] have enabled efficient few-step generation, these techniques are primarily developed for generative modeling, imitation learning, or post-hoc policy acceleration rather than jointly with on-policy reward optimization. This motivates directly shaping reward-optimized flow policies for reliable few-step execution.

To address this problem, we introduce RFPO, a flow-policy optimization framework for reliable few-step control. The key mechanism is reward-aware online Reflow, which repeatedly constructs student-induced full-step endpoints and rectifies their transport paths during on-policy learning, making the learned vector field more amenable to coarse numerical integration. A frozen Gaussian PPO controller supplies complementary action-space supervision at full and intermediate integration budgets, anchoring the quality of the learned actions without directly supervising one-step execution. The original on-policy objective is retained throughout training, and all training-only components are removed at deployment, leaving a single flow student executed with one Euler step. We evaluate RFPO across two quadruped and two humanoid embodiments: Unitree Go2, Boston Dynamics Spot, Unitree H1, and Unitree G1. Across all four embodiments and both zero and random initialization, one-step execution remains within 2.4% of the corresponding 64-step return, whereas FPO++ and distillation-only baselines exhibit substantial degradation under aggressive step reduction. On Unitree Go2, RFPO retains 98.5% of its 64-step reward while reducing onboard mean inference latency from 4.39 ms to 0.08 ms, yielding a 54.9×54.9 \times speedup. Real-robot experiments further demonstrate stable one-step locomotion across forward, lateral, and yaw commands.

Our contributions are threefold:

• We identify the few-step discretization gap in reward-optimized flow policies, where aggressive reduction of the numerical integration budget can severely degrade control despite strong full-step performance.

• We introduce RFPO, which uses reward-aware student-induced online Reflow to regularize transport geometry during on-policy learning, together with complementary multi-budget action-space supervision from a frozen Gaussian PPO controller.

• Extensive evaluations across two quadruped and two humanoid embodiments demonstrate robust one-step execution. On Unitree Go2, RFPO retains 98.5% of 64-step reward with a 54.9×54.9 \times onboard inference speedup and transfers to real-robot locomotion.

References (36)