Generalized Policy Improvement Algorithms With Theoretically Supported Sample Reuse

James Queeney, Ioannis Ch. Paschalidis, Christos G. Cassandras · DOI

TL;DR

This paper introduces Generalized Policy Improvement (GPI), a framework that allows reinforcement learning (RL) algorithms to reuse data from past policies while maintaining the rigorous performance guarantees typically reserved for on-policy methods. By deriving a "generalized trust region," the authors create versions of PPO, TRPO, and VMPO that learn significantly faster and perform better—especially in challenging tasks with sparse rewards.

What Problem Does This Paper Address?

In deep reinforcement learning, there is a classic tug-of-war between on-policy and off-policy methods:

  1. On-Policy (e.g., PPO, TRPO): These are stable and provide "trust region" guarantees—mathematical promises that the policy won't get worse during an update. However, they are "data-hungry" because they discard samples immediately after one use.
  2. Off-Policy (e.g., SAC, TD3): These are highly efficient because they reuse millions of past samples from a "replay buffer." The downside? They lack formal performance guarantees and can be unstable or difficult to tune for real-world, high-stakes control.

The authors tackle the challenge of theoretically supported sample reuse. They ask: Can we reuse data to improve efficiency without losing the worst-case performance guarantees that make on-policy RL reliable?

Methods

The core contribution is a Generalized Trust Region Update.

  • The Mixture Distribution ($\nu$): Instead of calculating updates based only on the current policy ($\pi_k$), the authors use a weighted mixture of data from the $M$ most recent policies.
  • Adaptive Trust Regions: Reusing older data introduces bias. To compensate, the authors prove that the "trust region" (the maximum allowed change to a policy) must be scaled based on how "old" the reused data is. They derive a specific parameter, $\epsilon_{GPI}$, that ensures the agent still achieves approximate policy improvement at every step.
  • Optimal Data Weighting: The authors formulate a convex optimization problem to find the best way to weight recent vs. older data. This maximizes the "effective sample size" while allowing for aggressive updates.
  • The "Ge" Family of Algorithms: They apply this framework to three industry standards, creating GePPO, GeTRPO, and GeVMPO. These "Generalized" versions require almost no extra memory or neural network parameters compared to their on-policy parents.

Datasets

The researchers evaluated their algorithms on the DeepMind Control Suite, a standard benchmark for continuous control.

  • Scope: 28 tasks ranging from simple "Cartpole" to complex "Humanoid" locomotion and goal-oriented manipulation.
  • Diversity: The tasks vary in dimensionality and reward sparsity (how often the agent actually receives a "good" signal).

Key Insights and Ideas

  • The Triangle Inequality for RL: The authors use the triangle inequality of Total Variation (TV) distance to bound the error that accumulates when using data from past policies. This provides the mathematical "safety rail" for sample reuse.
  • The Sparse Reward "Aha" Moment: On-policy methods struggle when rewards are rare (sparse) because they might discard the one "lucky" trajectory that found a reward before the policy can fully learn from it. GPI keeps these rare, successful samples around for several updates, allowing the agent to exploit them more effectively.
  • Efficiency without Complexity: Unlike off-policy methods that require complex "Value-trace" estimators or massive replay buffers, GPI achieves its gains by simply looking back at the last 3 or 4 policy iterations.

Key Results

The experimental results across the 28 DeepMind tasks were decisive:

  • Broad Superiority: GPI algorithms outperformed their on-policy counterparts in 19 out of the 21 tasks where learning occurred.
  • Significant Performance Boosts: 13 tasks saw a performance increase of over 10%, and 4 tasks saw improvements of over 50%.
  • The Sparse Reward King: In tasks with extreme sparsity (where a random policy finds a reward less than 1% of the time), GPI algorithms showed a staggering 108% average improvement over standard on-policy methods.

Limitations and Future Work

  • Recent History Only: The current theory supports reusing data from recent policies. It does not yet bridge the gap to "aggressive" off-policy reuse, where data from millions of steps ago (from a completely different policy) is used.
  • On-Policy Foundation: Because these are extensions of on-policy methods, they still require a certain amount of fresh data collection and cannot operate in a purely "offline" (data-only) setting.
  • Future Directions: The authors suggest extending these guarantees to the massive replay buffers used in algorithms like Soft Actor-Critic (SAC), which could potentially create a "best of both worlds" algorithm for real-world robotics.

Summary updated

BibTeX
@article{queeney2025generalized,
  author = {James Queeney and Ioannis Ch. Paschalidis and Christos G. Cassandras},
  title = {{Generalized Policy Improvement Algorithms With Theoretically Supported Sample Reuse}},
  journal = {IEEE Trans. Automatic Control},
  year = {2025},
  doi = {10.1109/tac.2024.3454011},
}
Figure