TL;DR
This paper provides the first systematic study of sample reuse in Proximal Policy Optimization (PPO), introducing two theoretically grounded variants: $\omega$PPO-U and $\omega$PPO-BH. The authors demonstrate that reusing data from a small window of recent iterations consistently improves PPO's performance and sample efficiency across continuous control tasks, provided the window size is carefully chosen to balance new information against the bias of "stale" advantages.
What Problem Does This Paper Address?
Proximal Policy Optimization (PPO) is the "gold standard" for on-policy reinforcement learning due to its stability and ease of use. However, it is notoriously sample-inefficient: it collects a batch of data, performs a few updates, and then throws that data away forever.
While off-policy methods (like SAC or DDPG) are much more efficient because they reuse data via a replay buffer, they are often unstable and require extensive hyperparameter tuning. Researchers have tried to create "hybrid" versions of PPO that reuse past data, but these often involve complex heuristics or expensive re-computations. This paper steps back to ask a fundamental question: When and how does simple data reuse actually help PPO?
Methods
The authors investigate sample reuse through the lens of Multiple Importance Weighting (MIW). They propose two variants that keep the core PPO mechanics intact but extend the dataset to include a window ($\omega$) of recent iterations:
- $\omega$PPO-U (Uniform): Reuses samples from the last $\omega$ iterations, weighting them all equally using standard importance weights.
- $\omega$PPO-BH (Balance Heuristic): Uses the "Balance Heuristic" to weight samples. Instead of comparing the current policy to a single past policy, it compares the current policy to the average (mixture) of all policies in the reuse window. This is theoretically known to reduce the variance of importance weights.
Crucially, to isolate the effect of data reuse, the authors do not re-evaluate advantages under the current critic. They use the "stale" advantages calculated when the data was first collected. They also derive new policy improvement lower bounds that account for these stale advantages, providing a mathematical "safety net" for why these algorithms should work.
Datasets
The methods were evaluated on six standard continuous control environments from the MuJoCo suite:
- Reacher-v5
- Walker2d-v5
- Hopper-v5
- HalfCheetah-v5
- Swimmer-v5
- Ant-v5
Key Insights and Ideas
- Data > Updates: The performance gains aren't just because the agent is doing more gradient steps. When the authors ran a baseline PPO with the same number of extra updates but without the extra data, it often became unstable or collapsed. The diversity of the past data acts as a stabilizer.
- The Goldilocks Window: There is a clear "sweet spot" for data reuse. Reusing data from the last 4 iterations ($\omega=4$) was generally optimal. Going up to $\omega=8$ often led to diminishing returns or even performance degradation (see the "Hopper-v5" case in Figure 1).
- BH is a Variance Buffer: $\omega$PPO-BH is more robust when dealing with older data. Because the importance weight denominator is a mixture of policies, the weights are naturally bounded by $\omega$. In contrast, $\omega$PPO-U's weights can explode as the current policy drifts further from very old behavioral policies.
- The Clipping Interaction: PPO’s clipping mechanism naturally handles stale data. If a past sample is too "far" from the current policy, the clip fraction increases, effectively ignoring that sample and preventing it from corrupting the gradient.
Key Results
The authors compared their variants against vanilla PPO in two main settings: Fixed B (where reuse variants do more updates) and Fixed $N_B$ (where the number of updates is matched).
- Performance Boost: In the Fixed $N_B$ setting (Figure 2), both reuse variants consistently outperformed vanilla PPO across almost all environments, proving that even with the same number of updates, more data is better.
- Stability: In Reacher-v5 and HalfCheetah-v5, $\omega$PPO variants achieved significantly higher final mean returns than standard PPO (see Table 1).
- Pathological Cases: In Hopper-v5, excessive reuse ($\omega=8$) caused training to degrade. The authors attribute this to the high number of updates (2560 per iteration) amplifying the bias from stale advantages.
Limitations and Future Work
- Stale Advantages: The biggest limitation is the reliance on advantages calculated by old critics. While this was a deliberate choice for this study, the authors acknowledge that re-evaluating advantages (e.g., via V-Trace) could potentially allow for even larger reuse windows.
- Hyperparameter Sensitivity: The optimal window size $\omega$ is environment-dependent.
- Scope: This study focused on PPO. The authors suggest that similar systematic investigations should be conducted for other popular on-policy methods like TRPO or GRPO.
Overall, the paper provides a strong argument for making simple data reuse a standard part of the PPO pipeline, especially when environment interactions are expensive.
Summary updated