GenPO: Generative Diffusion Models Meet On-Policy Reinforcement Learning

Shutong Ding, Ke Hu, Shan Zhong, Haoyang Luo, Weinan Zhang, Jingya Wang, Jun Wang, Ye Shi

Abstract

Diffusion policies have emerged as a powerful paradigm for robotic control, offering the ability to represent complex, multimodal action distributions. However, their integration with on-policy Reinforcement Learning (RL) algorithms like Proximal Policy Optimization (PPO) has been hindered by the difficulty of calculating exact action log-likelihoods due to discretization errors in the denoising process. We present GenPO (Generative Policy Optimization), a framework that enables the use of expressive diffusion policies within on-policy RL. By employing a doubled dummy action mechanism and exact diffusion inversion, GenPO allows for the precise computation of log-likelihoods via the change-of-variables formula. Our results across eight high-dimensional tasks in the NVIDIA IsaacLab simulator demonstrate that GenPO significantly outperforms traditional Gaussian-based policies and existing off-policy diffusion methods, particularly in complex manipulation and locomotion tasks.

Introduction

In modern robotics, the ability to handle multimodality—where multiple distinct actions might be equally valid for a given state—is crucial. Traditional Reinforcement Learning (RL) often relies on Gaussian policy distributions, which tend to average these modes, leading to suboptimal or "blurry" behaviors. Generative diffusion models have recently solved this by learning to represent complex distributions through iterative denoising.

Despite their success in offline and off-policy settings, diffusion models have remained largely incompatible with on-policy RL. Algorithms like PPO require the exact probability (log-likelihood) of an action to compute policy gradients and maintain stability. Standard diffusion models are inherently "lossy" during their numerical integration steps, making exact log-likelihood calculation intractable. This gap prevents diffusion policies from leveraging the massive scalability and stability of modern on-policy simulators like NVIDIA’s IsaacLab. GenPO addresses this limitation, bridging the gap between generative modeling and on-policy optimization.

The GenPO Framework

GenPO introduces a mathematically rigorous approach to make diffusion processes perfectly reversible, allowing for exact likelihood estimation. The framework rests on three primary technical innovations:

1. Exact Diffusion Inversion

To calculate the log-likelihood of an action, the mapping between the initial noise and the final action must be bijective. GenPO utilizes a technique inspired by Exact Diffusion Inversion (EDICT). By ensuring that the forward (noise-adding) and reverse (denoising) trajectories are mathematically identical even after discretization, the model eliminates the "information loss" typically associated with diffusion steps.

2. Doubled Dummy Action Mechanism

To achieve perfect reversibility without sacrificing the expressive power of the network, GenPO employs a "doubled dummy action" mechanism. Instead of predicting a single action $a$, the policy operates on a pair of variables $(x, y)$. During the denoising process, the model updates $x$ while treating $y$ as a constant, then alternates. This structure ensures that the Jacobian of the transformation remains tractable and the process remains invertible. For execution on the physical or simulated robot, the final action is derived as the average: $a = (x + y) / 2$.

3. Change of Variables for Log-Likelihood

With a perfectly invertible process, GenPO can apply the change-of-variables formula—a technique common in Normalizing Flows. This allows the agent to compute the exact log-likelihood of any sampled action. Consequently, GenPO can utilize the full suite of PPO features, including KL-adaptive learning rates and unbiased entropy regularization, which are essential for maintaining exploration and preventing premature mode collapse.

Experimental Evaluation

The researchers evaluated GenPO against eight high-dimensional benchmarks within the IsaacLab simulator, focusing on tasks that require high degrees of coordination:

  • Locomotion: Ant, Humanoid, and quadrupedal robots (ANYbotics Anymal-D, Unitree Go2).
  • Humanoid Control: The Unitree H1 humanoid.
  • Manipulation: Franka Arm cube lifting and the Shadow Hand in-hand cube reorientation.
  • Aerial Control: Quadcopter navigation.

These environments represent the state-of-the-art in parallelized simulation, demanding algorithms that can scale across thousands of concurrent environments.

Key Results and Insights

GenPO demonstrated superior performance and stability compared to both traditional RL baselines (PPO, SAC) and specialized off-policy diffusion methods (DACER, QVPO).

  • Performance Breakthroughs: On the Shadow Hand task—widely considered one of the most difficult manipulation benchmarks—GenPO achieved a mean return of approximately 11,282, significantly outperforming standard Gaussian PPO, which plateaued at 8,402.
  • Stability and Convergence: Unlike off-policy diffusion methods that often suffer from distribution shift (where the agent is misled by stale data in a replay buffer), GenPO’s on-policy nature ensures that the training data is always fresh. This leads to more consistent convergence and higher final rewards.
  • The Role of Entropy: Because GenPO provides exact log-likelihoods, it can perform precise entropy estimation. This allows the policy to explicitly manage exploration, ensuring the diffusion model explores multiple solution modes before settling on the most efficient one.

Limitations and Future Work

While GenPO marks a significant step forward, it introduces new computational demands. The requirement to calculate Jacobian determinants and perform multiple denoising steps per update increases the computational overhead compared to simple Gaussian policies. Additionally, the doubled action space increases the GPU memory footprint.

Future research will focus on optimizing the efficiency of these Jacobian calculations and exploring "consistency model" architectures to reduce the number of required diffusion steps, aiming to bring the inference speed of GenPO closer to that of traditional neural network policies without losing its generative advantages.

Conclusion

GenPO successfully integrates the expressive power of generative diffusion with the robustness of on-policy reinforcement learning. By solving the log-likelihood intractability problem, it opens the door for diffusion-based agents to train at scale in the next generation of parallel simulators, setting a new standard for complex robotic control.

Summary updated

BibTeX
@inproceedings{ding2025genpo,
  author = {Shutong Ding and Ke Hu and Shan Zhong and Haoyang Luo and Weinan Zhang and Jingya Wang and Jun Wang and Ye Shi},
  title = {{GenPO: Generative Diffusion Models Meet On-Policy Reinforcement Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=BmRNz1TpCc},
}
Figure