Manuscript Offprint
arXiv:2610.10453RFPO: 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
School of Computer Science, Peking University AI 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 [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-

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 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 onboard inference speedup and transfers to real-robot locomotion.
Reinforcement learning with generative policies. Generative models have increasingly been incorporated into planning and reinforcement learning. Diffusion-based methods have been used for trajectory planning and expressive offline policies [8], [29], [9], while Q-score matching connects diffusion-policy scores with reward-derived action gradients [20]. DPPO [21], DIME [2], and GenPO [4] further optimize iterative generative policies with reinforcement learning. For flow-based policies, ReinFlow [35] studies online fine-tuning, while Flow Q-Learning [18] and SAC Flow [36] consider offline or off-policy optimization. FPO [16] and FPO++ [32] instead develop on-policy objectives directly from conditional flow-matching losses. These methods primarily optimize control return, while our work addresses the complementary problem of preserving policy behavior when the numerical integration budget is aggressively reduced.
Few-step generative policy acceleration. Reducing the inference cost of iterative generative models has motivated both solver-based and learning-based acceleration. Training-free approaches such as DDIM [25] and DPM-Solver [15] reduce the number of numerical integration steps, while learning-based approaches include progressive distillation [23], consistency models [27], consistency trajectory models [10], improved consistency training [26], and Shortcut Models [5]. For flow-based models, Reflow [13] and InstaFlow [14] reshape transport trajectories to support coarse or one-step generation. Related ideas have been transferred to robot policies through Consistency Policy [19], One-Step Diffusion Policy [30], FlowPolicy [34], and ManiFlow [31]. These approaches largely target generative modeling, imitation learning, or post-hoc policy acceleration. In contrast, RFPO performs student-induced Reflow during on-policy reward optimization, directly regularizing the transport geometry encountered by the evolving policy. A frozen deployable controller provides complementary action-space supervision at full and intermediate integration budgets rather than direct one-step supervision.
Learning-based legged locomotion and sim-to-real. Deep reinforcement learning has enabled agile legged locomotion through simulation-based training, robust policy learning, and massively parallel simulation [7], [28], [22]. Subsequent work has improved real-world robustness through rapid adaptation and perceptive locomotion [11], [17]. These studies primarily address dynamics mismatch, terrain variation, and online adaptation, whereas our work focuses on a complementary deployment bottleneck: preserving the behavior of reward-optimized flow policies under aggressive reductions of the numerical integration budget.
III. METHOD
A. Overview and Problem Formulation
We consider a conditional flow policy that maps a robot observation to a continuous action . We follow the convention of the underlying flow-policy optimizer, where denotes the noise endpoint and denotes the action endpoint. Given Gaussian noise and an action , conditional flow matching defines the linear probability path
At inference time, the learned velocity field is solved numerically from t = 1 to t = 0. We denote the action obtained with k Euler steps by
Training (On-policy RL)

Fig. 2. Overview of RFPO. During on-policy training, student-induced full-step endpoints are rectified by reward-aware online Reflow, while multi-budget student actions are distilled toward a frozen PPO controller. An adaptive budget objective further regularizes the fidelity–compute trade-off. At deployment, all auxiliary components are removed and only the flow student is retained for one-step Euler execution.
where the standard full budget is N = 64.
We build on FPO++ [32] and denote its original on-policy actor–critic objective by . This objective optimizes control performance at the training integration budget, but does not explicitly shape the vector field for coarse numerical execution. As a result, the action produced with a small budget can deviate substantially from its full-budget counterpart even when both are generated by the same policy. We refer to this mismatch as the few-step discretization gap.
As illustrated in Fig. 2, RFPO improves the numerical deployability of the learned flow through two complementary training signals. Reward-aware online Reflow shapes student-induced transport paths toward straighter couplings, while multi-budget action distillation anchors the resulting actions to a reliable Gaussian controller. Auxiliary zero-start sampling exposes the student to deterministic deployment, and an adaptive compute regularizer encourages action consistency across a range of solver budgets. All auxiliary components are used only during training; deployment retains a single flow student executed with one Euler step.
B. Reward-Aware Online Reflow
The geometry of a learned flow directly affects the error introduced by coarse numerical solvers. We therefore apply Reflow [13] to trajectories induced by the current student during on-policy training.
For each minibatch observation , we draw n = 4 auxiliary initializations. To cover both stochastic training and deterministic deployment, each initialization is sampled as
otherwise,
(3)
This mixture is restricted to the auxiliary Reflow and distillation losses; on-policy rollout collection retains Gaussian initialization.
The current student first produces a full-budget endpoint
where denotes stop-gradient. Hence, the coupling used by Reflow is induced by the evolving student itself, rather than by the external PPO teacher.
For each pair , we sample a flow time with the bounded CFM sampler used in our implementation, which is approximately uniform over . The corresponding straight path and target velocity are
Following the CFM implementation, we use the action-dimensional square-root reduction
(6) yielding the Reflow regression loss
We use the on-policy advantage to focus rectification on behavior that is useful for control. For the advantage estimate , we define
When positive-advantage samples are present, their normalized weights are
If all advantages in the minibatch are non-positive, uniform weights are used.
The resulting reward-aware Reflow objective is
This objective continuously aligns the evolving student with straighter transport couplings while retaining the reward-driven update of the original on-policy objective.
C. Multi-Budget Action Distillation
Transport rectification improves numerical behavior, while control quality also depends on the action endpoint represented by the learned field. We therefore introduce a frozen Gaussian PPO controller as an independent action-space reference. For the same observation o, the teacher provides
The PPO controller is used only to define action targets and does not participate in the construction of the Reflow couplings in Eq. (4).
The same flow student is evaluated at the full and intermediate budgets
and its actions are trained toward the PPO reference through
The two objectives therefore constrain different aspects of the policy. Online Reflow shapes the transport geometry encountered by coarse numerical solvers, whereas action distillation preserves a reliable action-space reference across full and intermediate budgets. Notably, k = 1 is not included in ; one-step behavior is consequently obtained without direct one-step teacher supervision.
D. Auxiliary Adaptive Compute Regularization
We further expose the student to heterogeneous numerical budgets during training. A lightweight predictor defines a categorical distribution over
with
The fidelity branch uses the highest-probability budget
We use the detached full-budget action under zero initialization,
as the reference and define
A complementary compute term penalizes the expected normalized solver budget,
Following the training implementation, the auxiliary regularizer is
where and . This regularizer broadens the solver budgets encountered during training and encourages low-cost execution while maintaining consistency with the full-budget student. The budget predictor is used only during optimization and is not required at deployment.
E. Joint Optimization and Deployment
The final training objective combines the original on-policy objective with the auxiliary flow and action regularizers:
where
Training follows the on-policy rollout and advantage-estimation procedure of FPO++. Student-generated Reflow endpoints and PPO action targets are detached from their respective target branches. Gaussian initialization is retained for policy rollouts, while the auxiliary losses additionally receive zero-start samples through Eq. (3).
Deployment requires neither the PPO teacher nor the budget predictor. Given observation , we set and execute the learned flow student with a single Euler step,
Thus, the deployed controller consists only of the learned student policy, with no auxiliary teacher or adaptive-compute module.
TABLE I
CROSS-EMBODIMENT FEW-STEP CONTROL. AVERAGE EPISODIC REWARD UNDER 64-STEP AND ONE-STEP EULER EXECUTION ACROSS TWO QUADRUPED AND TWO HUMANOID EMBODIMENTS. PPO USES A SINGLE DETERMINISTIC FORWARD PASS AND THEREFORE HAS NO INTEGRATION BUDGET. REWARD SCALES DIFFER ACROSS TASKS; COMPARISONS SHOULD BE MADE WITHIN EACH EMBODIMENT. HIGHER IS BETTER.
| Embodiment | Method | Zero Init. | Random Init. | ||
|---|---|---|---|---|---|
| 64-step | 1-step | 64-step | 1-step | ||
| Go2 | PPO [24] | 35.58 | - | - | - |
| FPO++ [32] | 21.29 | -187.70 | 17.66 | -220.10 | |
| KD-only | 29.95 | -4919.70 | 27.65 | -5121.70 | |
| RFPO (Ours) | 34.78 | 34.25 | 31.56 | 31.50 | |
| Spot | PPO [24] | 30.84 | - | - | - |
| FPO++ [32] | 9.29 | -404.05 | 9.31 | -195.82 | |
| KD-only | -0.32 | -0.77 | |||
| RFPO (Ours) | 28.41 | 28.52 | 24.41 | 24.98 | |
| H1 | PPO [24] | 414.86 | - | - | - |
| FPO++ [32] | 376.67 | 18.88 | 325.16 | 22.70 | |
| KD-only | 367.72 | 2.48 | 335.77 | 2.73 | |
| RFPO (Ours) | 417.50 | 413.78 | 404.42 | 406.36 | |
| G1 | PPO [24] | 56.37 | - | - | - |
| FPO++ [32] | 18.28 | -1.51 | 4.00 | -2.82 | |
| KD-only | 32.89 | -4.39 | 19.97 | -4.68 | |
| RFPO (Ours) | 54.30 | 55.24 | 52.35 | 52.03 | |
IV. EXPERIMENTS
A. Experimental Setup
Environment and task. We evaluate RFPO on velocity-control tasks spanning two quadruped and two humanoid embodiments: Unitree Go2, Boston Dynamics Spot, Unitree H1, and Unitree G1 (29 DoF). Each policy is trained and evaluated using the corresponding embodiment-specific observation space, reward function, and low-level control interface. For each embodiment, the PPO teacher and all flow-policy variants use the same task definition and domain-randomization protocol. For the real-robot study, we use the official Unitree-Go2-Velocity task. The Go2 policy receives a 45-D proprioceptive observation and outputs continuous joint-control targets through the official low-level PD interface. The observation does not include base linear velocity. Compared methods. We compare RFPO with the Gaussian PPO controller [24] and FPO++ [32]. We also evaluate KD-only, which uses PPO action supervision without Reflow. For the detailed Go2 ablation, we additionally consider uniform Reflow, advantage-weighted Reward-aware Reflow, and Reflow+KD. The complete RFPO uses reward-aware online Reflow, multi-budget action distillation, auxiliary zero-start training, and adaptive compute regularization.
Integration and evaluation protocol. The standard full integration budget is . For the cross-embodiment comparison, we evaluate both 64-step and one-step Euler execution. For the detailed Go2 analysis, we additionally sweep without retraining for individual solver budgets. We evaluate flow policies under both zero initialization (), which matches deterministic deployment, and random initialization (). PPO uses a single deterministic policy forward pass and there- fore has no integration budget. Unless otherwise specified, evaluation uses 256 parallel environments with one episode collected per environment, yielding 256 evaluation episodes per setting. All reported flow-policy evaluations use the EMA checkpoint (decay 0.95 with a 500-step warm-up).
Metrics and real-robot evaluation. We report average episodic reward for all embodiments. The detailed Go2 study additionally reports the mean absolute forward-velocity tracking error and fall fraction, where a fall is detected when the base height drops below 0.2 m. Onboard inference efficiency is measured using single-thread ONNX Runtime on the Go2 onboard CPU after 30 warm-up iterations and 100 timed evaluations; we report mean and p99 latency. For hardware validation, command trajectories recorded on the real robot are replayed under matched inputs in simulation, and we report joint-position correlation and mean absolute error (MAE).
B. Cross-Embodiment Few-Step Control
Tab. I evaluates the robustness of reward-optimized flow policies to aggressive integration reduction across four robot embodiments. FPO++ exhibits a substantial few-step discretization gap on every task. Action distillation alone does not resolve this behavior: although KD-only can improve full-step control on some embodiments, its one-step performance still degrades severely.
In contrast, RFPO remains remarkably insensitive to the integration budget. Under zero initialization, reducing the solver from 64 Euler steps to one changes the average return by only , , , and on Go2, Spot, H1, and G1, respectively. The same trend holds under random initialization, where the corresponding 64-to-1-step changes remain within across all four embodiments.
---- cmd vx —— actual vx ---- cmd wz —— actual wz

Fig. 3. Representative one-step velocity tracking on Unitree Go2. Responses of FPO++, KD-only, RA-Reflow, and RFPO to the same forward command m/s. FPO++ and KD-only fail to track the target under one-step execution, whereas RA-Reflow remains dynamically stable but does not follow the commanded velocity. RFPO maintains stable command tracking.

Fig. 4. Qualitative sim-to-real deployment on Unitree Go2. Representative simulation and real-world executions of forward locomotion, lateral locomotion, and yaw rotation using the fixed one-step RFPO policy. Frames are sampled at comparable normalized phases of each motion sequence.
These results show that the learned one-step behavior is neither specific to a single robot morphology nor dependent on deterministic zero initialization.
C. Ablation Study
Effect of online Reflow. We first isolate the mechanisms responsible for few-step robustness on Unitree Go2. Tab. II reports the zero-initialized return over the complete integration-budget sweep. FPO++ exhibits severe degradation as the solver budget is reduced, dropping from 21.29 at 64 steps to -187.70 at one step. KD-only improves full-budget performance but remains numerically fragile, eventually collapsing to -4919.70 at one step. In contrast, uniform Reflow maintains a nearly flat return profile from 64 to one step (33.57 → 32.84), and reward-aware Reflow shows similar numerical robustness. Combining Reflow with action-space supervision further improves the full-budget controller while preserving few-step performance. These results identify transport rectification as the primary mechanism for robust coarse integration, with action distillation providing complementary control supervision.
Command tracking and stability. Reward preservation alone does not necessarily imply accurate low-level control. As shown in Tab. III, FPO++ and KD-only exhibit large one-step tracking errors of 0.883 and 0.810, accompanied by fall fractions of 0.680 and 0.334, respectively. Uniform Reflow reduces the tracking error to 0.070 with no observed falls, further confirming the importance of transport rectification for stable coarse integration. Interestingly, RA-Reflow retains high one-step episodic reward (Tab. II) but incurs a tracking error of 0.805, showing that episodic reward robustness alone does not guarantee accurate command following. Reflow+KD and RFPO achieve low one-step tracking errors of 0.068 and 0.075, respectively, with no observed falls. Together, these results show that Reflow provides numerical robustness, while action-space supervision complements it by preserving control fidelity.
TABLE II FEW-STEP ROBUSTNESS ON UNITREE GO2. AVERAGE EPISODIC REWARD UNDER ZERO INITIALIZATION ACROSS EULER INTEGRATION BUDGETS. HIGHER IS BETTER.
| Method | Euler Steps | |||||
|---|---|---|---|---|---|---|
| 64 | 32 | 16 | 8 | 4 | 1 | |
| FPO++ | 21.29 | 19.06 | 18.78 | 18.56 | 15.43 | -187.70 |
| KD-only | 29.95 | 29.59 | 29.91 | 26.63 | -398.10 | -4919.70 |
| Reflow | 33.57 | 33.50 | 33.50 | 33.45 | 33.18 | 32.84 |
| RA-Reflow | 32.78 | 32.98 | 33.12 | 32.59 | 33.00 | 33.40 |
| Reflow+KD | 34.65 | 34.44 | 34.77 | 34.77 | 34.92 | 34.39 |
| RFPO | 34.78 | 34.43 | 34.32 | 34.67 | 34.21 | 34.25 |
Fig. 3 provides representative one-step trajectories under the same forward-velocity command, complementing the quantitative results in Tab. III.
Action-flow geometry. To further examine the learned transport structure, we visualize the action-flow density of representative Go2 joints in Fig. 5. Across all four legs, the learned trajectories form concentrated transport bands that evolve smoothly over flow time. This visualization provides a qualitative view of the structured transport induced by RFPO and complements the numerical robustness observed in Tab. II.
RFPO action-flow density on Go2

a6 RL_hip
a7 RL_thigh
a9 RR_hip
a10 RR_thigh
Flow time
Flow time
Flow time
Flow time
Normalized density
Fig. 5. Action-flow geometry of RFPO on Unitree Go2. Normalized action-state densities over flow time for representative hip and thigh joints across all four legs. The learned policy exhibits concentrated and smoothly evolving transport patterns across joint dimensions.
TABLE III
COMMAND TRACKING AND STABILITY ON UNITREE GO2. MEAN ABSOLUTE FORWARD-VELOCITY TRACKING ERROR AND ONE-STEP FALL FRACTION. LOWER IS BETTER. ALL EVALUATED
64-STEP FLOW POLICIES HAVE ZERO FALL FRACTION.
| Method | Tracking Error ↓ | Fall Frac. @1 ↓ | |
|---|---|---|---|
| 64-step | 1-step | ||
| PPO | 0.055 | - | - |
| FPO++ | 0.792 | 0.883 | 0.680 |
| KD-only | 0.178 | 0.810 | 0.334 |
| Reflow | 0.080 | 0.070 | 0.000 |
| RA-Reflow | 0.086 | 0.805 | 0.000 |
| Reflow+KD | 0.068 | 0.068 | 0.000 |
| RFPO | 0.066 | 0.075 | 0.000 |
D. Onboard Inference Efficiency
We evaluate inference latency on the Unitree Go2 onboard CPU using single-thread ONNX Runtime. As shown in Tab. IV, reducing the solver budget from 64 steps to a single Euler step decreases mean latency from 4.39 ms to 0.08 ms, corresponding to a speedup. The p99 latency simultaneously decreases from 20.06 ms to 0.10 ms; the former is approximately the period of a 50-Hz control loop, whereas one-step execution leaves substantial computational headroom. Together with the preserved one-step return in Tab. I, these results demonstrate the practical deployment benefit of few-step flow control.
E. Real-Robot Deployment
We deploy RFPO on a Unitree Go2 using deterministic zero initialization and fixed one-step Euler execution. We evaluate three representative locomotion commands: forward locomotion, lateral locomotion, and yaw rotation. Fig. 4 shows representative simulation and real-world executions at comparable phases of each motion sequence.
TABLE IV
ONBOARD INFERENCE EFFICIENCY ON UNITREE GO2.
SINGLE-THREAD ONNX RUNTIME LATENCY ON THE ONBOARD CPU.
| Euler Steps | Mean (ms) ↓ | p99 (ms) ↓ | Speedup ↑ |
|---|---|---|---|
| 64 | 4.39 | 20.06 | 1.0× |
| 32 | 1.50 | 1.56 | 2.9× |
| 16 | 0.79 | 1.07 | 5.6× |
| 8 | 0.41 | 0.44 | 10.7× |
| 4 | 0.23 | 0.26 | 19.1× |
| 1 | 0.08 | 0.10 | 54.9× |
TABLE V
MATCHED-COMMAND SIM-TO-REAL CONSISTENCY ON UNITREE
GO2. JOINT-POSITION AGREEMENT BETWEEN SIMULATION AND
HARDWARE USING THE DEPLOYED ONE-STEP RFPO POLICY.
| Motion | Joint Pos. Corr. ↑ | Joint Pos. MAE ↓ |
|---|---|---|
| Forward () | 0.992 | 0.085 |
| Lateral () | 0.995 | 0.079 |
| Yaw Turn () | 0.997 | 0.055 |
To quantify sim-to-real consistency, we record the command trajectory executed on hardware and replay the same temporally aligned command sequence in simulation. We then compare the resulting joint-position trajectories. Tab. V reports correlations of 0.992–0.997 and MAE of 0.055–0.085 across the three motions, indicating consistent joint-level responses between simulation and hardware. This analysis evaluates matched-command joint-position consistency rather than full state-level sim-to-real equivalence.
V. LIMITATIONS
Although RFPO is evaluated across two quadruped and two humanoid embodiments in simulation, our current real-robot validation focuses on Unitree Go2 locomotion. The hardware evaluation covers a limited set of motion commands, and our matched-command analysis measures joint-position consistency rather than full state-level sim-to-real equivalence. Broader real-world evaluation on humanoid platforms and more contact-rich tasks would further establish the generality of the approach. In addition, the deployment efficiency of RFPO comes at the cost of additional computation during training. Online Reflow requires full-budget student rollouts to construct student-induced endpoints, while action distillation relies on a separately trained frozen PPO controller. Reducing this training overhead and dependence on an external action-space teacher is an important direction for improving scalability. Finally, our current deployment uses a fixed one-step Euler solver, while adaptive compute regularization is used only during training. Extending RFPO to select the integration budget online according to the current control state may provide a better accuracy–efficiency trade-off for highly dynamic or contact-rich behaviors.
VI. Conclusion
We presented RFPO, a framework for reliable few-step execution of reward-optimized flow policies. By combining reward-aware online Reflow with complementary multi-budget action supervision, RFPO reduces the discretization gap between full-step optimization and low-budget deployment while preserving the original reward-driven objective. Across two quadruped and two humanoid embodiments, one-step execution closely matches the corresponding 64-step policy, demonstrating robust few-step control across different robot morphologies. On Unitree Go2, RFPO retains 98.5% of the 64-step reward while reducing onboard mean inference latency from 4.39 ms to 0.08 ms, yielding a speedup. Real-robot experiments further validate stable one-step locomotion across multiple motion commands. Overall, these results show that explicitly shaping reward-optimized flow policies for coarse numerical execution provides a practical path toward expressive and efficient robot control.
ACKNOWLEDGMENT
Generative AI tools were used to assist with language refinement.
REFERENCES
[1] K. Black, N. Brown, et al., “pi_0: A vision-language-action flow model for general robot control,” arXiv preprint arXiv:2410.24164, 2024.
[2] O. Celik, Z. Li, et al., “Dime: Diffusion-based maximum entropy reinforcement learning,” arXiv preprint arXiv:2502.02316, 2025.
[3] C. Chi, Z. Xu, et al., “Diffusion policy: Visuomotor policy learning via action diffusion,” The International Journal of Robotics Research, vol. 44, no. 10-11, pp. 1684–1704, 2025.
[4] S. Ding, K. Hu, et al., “Genpo: Generative diffusion models meet on-policy reinforcement learning,” Advances in neural information processing systems, vol. 38, pp. 130443–130474, 2026.
[5] K. Frans, D. Hafner, S. Levine, and P. Abbeel, “One step diffusion via shortcut models,” in The Thirteenth International Conference on Learning Representations, 2025.
[6] X. Hu, B. Liu, X. Liu, et al., “Rf-policy: Rectified flows are computation-adaptive decision makers,” in NeurIPS 2023 Foundation Models for Decision Making Workshop, 2023.
[7] J. Hwangbo, J. Lee, A. Dosovitskiy, D. Bellicoso, V. Tsounis, V. Koltun, and M. Hutter, “Learning agile and dynamic motor skills for legged robots,” Science Robotics, vol. 4, no. 26, p. eaau5872, 2019.
[8] M. Janner, Y. Du, J. Tenenbaum, and S. Levine, “Planning with diffusion for flexible behavior synthesis,” in Proceedings of the 39th International Conference on Machine Learning, vol. 162. PMLR, 2022, pp. 9902–9915.
[9] B. Kang, X. Ma, C. Du, T. Pang, and S. Yan, “Efficient diffusion policies for offline reinforcement learning,” Advances in Neural Information Processing Systems, vol. 36, pp. 67 195–67 212, 2023.
[10] D. Kim, C.-H. Lai, et al., “Consistency trajectory models: Learning probability flow ode trajectory of diffusion,” in International Conference on Learning Representations, vol. 2024, 2024, pp. 44493–44525.
[11] A. Kumar, Z. Fu, D. Pathak, and J. Malik, “Rma: Rapid motor adaptation for legged robots,” in Proceedings of Robotics: Science and Systems, 2021.
[12] Y. Lipman, R. T. Chen, H. Ben-Hamu, M. Nickel, and M. Le, “Flow matching for generative modeling,” arXiv preprint arXiv:2210.02747, 2022.
[13] X. Liu, C. Gong, and Q. Liu, “Flow straight and fast: Learning to generate and transfer data with rectified flow,” arXiv preprint arXiv:2209.03003, 2022.
[14] X. Liu, X. Zhang, J. Ma, J. Peng, and qiang liu, “Instaflow: One step is enough for high-quality diffusion-based text-to-image generation,” in The Twelfth International Conference on Learning Representations, 2024.
[15] C. Lu, Y. Zhou, F. Bao, J. Chen, C. Li, and J. Zhu, “Dpm-solver: A fast ode solver for diffusion probabilistic model sampling in around 10 steps,” Advances in neural information processing systems, vol. 35, pp. 5775–5787, 2022.
[16] D. McAllister, S. Ge, et al., “Flow matching policy gradients,” in International Conference on Learning Representations, vol. 2026, 2026, pp. 36352–36372.
[17] T. Miki, J. Lee, J. Hwangbo, L. Wellhausen, V. Koltun, and M. Hutter, "Learning robust perceptive locomotion for quadrupedal robots in the wild," Science Robotics, vol. 7, no. 62, 2022.
[18] S. Park, Q. Li, and S. Levine, “Flow q-learning,” arXiv preprint arXiv:2502.02538, 2025.
[19] A. Prasad, K. Lin, J. Wu, L. Zhou, and J. Bohg, “Consistency policy: Accelerated visuomotor policies via consistency distillation,” arXiv preprint arXiv:2405.07503, 2024.
[20] M. Psenka, A. Escontrela, P. Abbeel, and Y. Ma, “Learning a diffusion model policy from rewards via q-score matching,” arXiv preprint arXiv:2312.11752, 2023.
[21] A. Z. Ren, J. Lidard, et al., “Diffusion policy policy optimization,” in The Thirteenth International Conference on Learning Representations, 2025.
[22] N. Rudin, D. Hoeller, P. Reist, and M. Hutter, “Learning to walk in minutes using massively parallel deep reinforcement learning,” in 5th Annual Conference on Robot Learning, 2021.
[23] T. Salimans and J. Ho, “Progressive distillation for fast sampling of diffusion models,” in International Conference on Learning Representations, 2022.
[24] J. Schulman, F. Wolski, P. Dhariwal, A. Radford, and O. Klimov, "Proximal policy optimization algorithms," arXiv preprint arXiv:1707.06347, 2017.
[25] J. Song, C. Meng, and S. Ermon, “Denoising diffusion implicit models,” in International Conference on Learning Representations, 2021.
[26] Y. Song and P. Dhariwal, “Improved techniques for training consistency models,” in International Conference on Learning Representations, vol. 2024, 2024, pp. 15078–15097.
[27] Y. Song, P. Dhariwal, M. Chen, and I. Sutskever, “Consistency models,” in Proceedings of the 40th International Conference on Machine Learning, 2023.
[28] J. Tan, T. Zhang, E. Coumans, A. Iscen, Y. Bai, D. Hafner, S. Bohez, and V. Vanhoucke, “Sim-to-real: Learning agile locomotion for quadruped robots,” in Proceedings of Robotics: Science and Systems, June 2018.
[29] Z. Wang, J. J. Hunt, and M. Zhou, “Diffusion policies as an expressive policy class for offline reinforcement learning,” in The Eleventh International Conference on Learning Representations, 2023.
[30] Z. Wang, M. Li, et al., “One-step diffusion policy: Fast visuomotor policies via diffusion distillation,” in Forty-second International Conference on Machine Learning, 2025.
[31] G. Yan, J. Zhu, et al., “Maniflow: A general robot manipulation policy via consistency flow training,” in 9th Annual Conference on Robot Learning, 2025.
[32] B. Yi, H. Choi, et al., “Flow policy gradients for robot control,” arXiv preprint arXiv:2602.02481, 2026.
[33] Y. Ze, G. Zhang, et al., “3d diffusion policy: Generalizable visuomotor policy learning via simple 3d representations,” arXiv preprint arXiv:2403.03954, 2024.
[34] Q. Zhang, Z. Liu, et al., “Flowpolicy: Enabling fast and robust 3d flow-based policy via consistency flow matching for robot manipulation,” in Proceedings of the AAAI Conference on Artificial Intelligence, vol. 39, no. 14, 2025, pp. 14754–14762.
[35] T. Zhang, C. Yu, S. Su, and Y. Wang, “Reinflow: Fine-tuning flow matching policy with online reinforcement learning,” Advances in Neural Information Processing Systems, vol. 38, pp. 106282–106319, 2026.
[36] Y. Zhang, S.-a. Yu, et al., “Sac flow: Sample-efficient reinforcement learning of flow-based policies via velocity-reparameterized sequential modeling,” in International Conference on Learning Representations, vol. 2026, 2026, pp. 121983–122016.