Reparameterization Flow Policy Optimization

Hai Zhong, Zhuoran Li, Xun Wang, Longbo HuangICML 2026

Model-based reinforcement learning (RL) has long relied on Reparameterization Policy Gradients (RPG) to achieve high sample efficiency. By backpropagating analytical gradients directly through differentiable simulators, RPG allows agents to learn rapidly. However, RPG has historically been constrained to simple Gaussian policies, limiting its ability to represent the complex, multi-modal action distributions required for sophisticated robotics.

Reparameterization Flow Policy Optimization (RFO) is a novel framework that overcomes this limitation by marrying the high expressivity of flow-based generative policies with the sample efficiency of RPG.

The Challenge: Expressivity vs. Efficiency

While Gaussian policies are easy to optimize, they struggle with complex robotic tasks. Conversely, flow policies—which generate actions by solving an Ordinary Differential Equation (ODE)—are highly expressive and have proven highly successful in imitation learning.

Bringing flow policies into on-policy RL, however, is notoriously difficult. Standard RL algorithms typically require calculating action log-likelihoods, which are computationally intractable for flow models. Previous attempts to bridge this gap without log-likelihoods have suffered from severe training instability and inadequate exploration, often "shredding" the underlying vector field of the flow policy.

The RFO Solution

The core insight behind RFO is that flow policies are inherently "RPG-native." Because they parameterize a differentiable mapping from source noise to actions, they can bypass the need for intractable log-likelihood calculations entirely. RFO treats the flow generation process as an integral, differentiable component of the robot's trajectory.

RFO relies on four key mechanisms to achieve stable, efficient learning:

  1. Joint Backpropagation: Using a "discretize-then-optimize" paradigm, RFO performs numerical integration (e.g., the Euler method) to generate actions from noise. Because this process is differentiable, gradients can flow from the reward, through the simulator dynamics, and directly back into the flow model’s vector field.
  2. Past Data CFM Regularization: Naive RPG optimization can destabilize a flow policy, causing it to "forget" previously successful trajectories. To prevent this, RFO uses actions sampled in recent rollouts as targets for a Conditional Flow Matching (CFM) loss. This acts as a crucial anchor, stabilizing the vector field's geometry during training.
  3. Uniform Exploration CFM: To ensure the agent doesn't get trapped in local optima, RFO explicitly guides the flow policy toward uniformly sampled actions across the bounded action space using a secondary CFM objective.
  4. Action Chunking: RFO introduces a variant that predicts a sequence (or chunk) of future actions simultaneously, significantly improving the temporal consistency of robotic movements.

Experimental Results & Performance

RFO was evaluated across seven diverse tasks in two differentiable physics simulators (Rewarped and DFlex). The tasks spanned rigid and soft-body locomotion (Ant, ANYmal, Soft Jumper) and complex manipulation (Hand Reorient, Rolling Pin, Hand Flip, Transport), utilizing both low-dimensional state inputs and high-dimensional visual (pixel) inputs.

  • State-of-the-Art Performance: RFO consistently outperformed strong baselines, including SAPO (Gaussian RPG) and FlowRL (off-policy flow).
  • Soft-Body Breakthrough: On the highly complex Soft Jumper task—featuring a massive 222-dimensional action space and intricate soft-body physics—RFO achieved nearly double the reward of the strongest existing baseline.
  • Computational Efficiency: Despite the added complexity of ODE integration, RFO proves you do not need to sacrifice speed for expressivity. Training the Soft Jumper took only 2.68 hours, highly competitive with the 2.36 hours required for the simpler Gaussian-based SAPO.
  • Real-Time Ready: With an inference latency of approximately 2.83 ms per action, RFO is well-suited for real-world, real-time robotic control.

Limitations and Future Directions

While RFO represents a significant step forward, it does have limitations. Primarily, it relies on having access to differentiable dynamics. It cannot be directly applied to "black-box" environments without first learning a differentiable world model. Additionally, while the uniform exploration term is effective, extremely sparse reward environments may still pose a challenge for on-policy flow optimization.

Looking ahead, a highly promising direction is integrating RFO with offline pre-training (imitation learning). By bridging offline data with online RFO fine-tuning, researchers could further boost performance and reliability in complex, real-world robotic deployments.

Summary updated

BibTeX
@inproceedings{zhong2026reparameterization,
  author = {Hai Zhong and Zhuoran Li and Xun Wang and Longbo Huang},
  title = {{Reparameterization Flow Policy Optimization}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=Wx5XHJoeyn},
}
Figure