Relative Entropy Pathwise Policy Optimization

Claas A Voelcker, Axel Brunnbauer, Marcel Hussing, Michal Nauman, Pieter Abbeel, Radu Grosu, Eric Eaton, Amir-massoud Farahmand, Igor Gilitschenski

TL;DR

Relative Entropy Pathwise Policy Optimization (REPPO) is a novel on-policy reinforcement learning algorithm that bridges the gap between the stability of Q-based gradients and the simplicity of on-policy methods. By learning a highly accurate value function from on-policy data, REPPO enables the use of low-variance pathwise gradients—typically reserved for memory-heavy off-policy methods—resulting in superior sample efficiency and robustness across robotics and gaming benchmarks.

The Problem: Variance vs. Memory in Policy Gradients

In reinforcement learning, estimating policy gradients typically forces a choice between two imperfect approaches:

  1. Score-function estimators (used by popular algorithms like PPO and REINFORCE) are versatile but suffer from extremely high variance. This variance often leads to "jittery" training and instability, especially in high-dimensional continuous spaces like robotics.
  2. Pathwise estimators (used by off-policy methods like SAC or TD3) reduce variance by differentiating a learned state-action value function ($Q$) with respect to the action. However, these usually require massive replay buffers to store and reuse past data. Replay buffers are memory-intensive and can introduce their own instabilities when training on "stale" data.

The authors ask a fundamental question: Can we get the low-variance benefits of pathwise gradients in a purely on-policy setting without the massive memory footprint of a replay buffer?

Methods: Bringing Pathwise Gradients On-Policy

REPPO introduces a framework to train an accurate $Q$-function using only current on-policy trajectories.

Core algorithm components of REPPO, including Q-learning, policy gradients, and entropy/KL constraints.

Its core components include:

  • Pathwise Policy Gradients: Instead of the standard score-function, REPPO updates the policy by taking the derivative of the learned $Q$-function with respect to the actions.
  • On-Policy Q-Learning: It uses multi-step TD-$\lambda$ targets to provide low-bias value estimates. Crucially, it incorporates Maximum Entropy RL to encourage exploration.
  • Relative Entropy Constraints: To prevent the policy from changing too drastically and collapsing (a common issue when using biased value models), REPPO uses a KL-divergence constraint. It adaptively tunes both the entropy and KL multipliers during training.
  • Architectural Stabilizers: The authors found that standard Mean Squared Error (MSE) is too brittle for on-policy $Q$-learning. They instead use Categorical Q-learning (specifically the HL-Gauss loss) and Layer Normalization to stabilize the value function.

Evaluation Environments

The authors evaluated REPPO across a massive suite of over 30 tasks to ensure broad applicability:

Evaluation environments spanning locomotion, manipulation, and classic Atari games.
  • Mujoco Playground (DMC): 23 locomotion tasks (e.g., Cheetah, Humanoid).
  • ManiSkill: 8 complex manipulation tasks involving robotic arms.
  • Atari-10: A subset of classic games to test a discrete-action variant of the algorithm.
  • IsaacLab: Humanoid locomotion tasks to test performance in high-performance GPU simulators.

Key Insights and Results

  • Variance is the Enemy: Score-based methods produce noisy, erratic gradient paths. In contrast, pathwise gradients (even with a surrogate model) are remarkably smooth and direct, leading to faster convergence.
  • On-Policy Q-Learning is Possible: Common wisdom dictates that $Q$-functions need off-policy data to be robust. REPPO proves that with the right architectural choices (like HL-Gauss loss), an on-policy $Q$-function is "good enough" to provide a stable gradient direction.
  • The "Trust Region" Matters: By using a forward-mode KL constraint (Relative Entropy), the algorithm ensures that policy updates stay within the region where the current $Q$-function is actually accurate.
  • Superior Efficiency and Reliability: On the Mujoco Playground, REPPO achieved roughly 33% higher normalized returns than PPO within the same training time. It also reached high reliability much faster, avoiding the performance collapses common in PPO.
  • Memory Footprint: Because it avoids large replay buffers, REPPO uses significantly less memory than off-policy competitors, making it ideal for massive parallelization on a single GPU.
  • Hyperparameter Robustness: A single set of hyperparameters worked across 30+ diverse tasks, a rarity in deep RL.

Limitations and Future Work

  • Biased Models: Like all actor-critic methods using a learned $Q$-function, the gradient is biased. If the $Q$-function is inaccurate, the policy update will be misdirected.
  • Auxiliary Tasks: While the authors included an auxiliary self-prediction task to help representation learning, its impact was inconsistent—helping in some environments but slightly hurting in others.
  • Hybrid Potential: Future work could explore combining REPPO's on-policy stability with small amounts of off-policy data to further boost sample efficiency without the full memory overhead of a traditional replay buffer.

Summary updated

BibTeX
@inproceedings{voelcker2026relative,
  author = {Claas A Voelcker and Axel Brunnbauer and Marcel Hussing and Michal Nauman and Pieter Abbeel and Radu Grosu and Eric Eaton and Amir-massoud Farahmand and Igor Gilitschenski},
  title = {{Relative Entropy Pathwise Policy Optimization}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=4vmm8mlHkS},
}
Figure