Accelerating Proximal Policy Optimization Learning Using Task Prediction for Solving Environments with Delayed Rewards
Ahmad Ahmad, Mehdi Kermanshah, Kevin Leahy, Zachary Serlin, Ho Chit Siu, Makai Mann, Cristian-Ioan Vasile, Roberto Tron, Calin Belta
TL;DR
This work targets reinforcement learning in environments with delayed rewards by marrying an offline, demonstration-based policy with online PPO through a mixing framework that guarantees monotonic improvement and a bounded performance gap $\frac{2\varsigma\gamma\alpha^2}{(1-\gamma)^2}$. It further introduces a reward-shaping mechanism based on Time Window Temporal Logic (TWTL) that provides immediate, structured feedback via a predictor-driven robustness score while preserving the original optimal policy through potential-based shaping. The approach combines an LSTM-based task predictor with a mixed-policy objective, and provides formal convergence guarantees alongside an APPO algorithm, demonstrating improved learning speed and final performance on Lunar Lander and Inverted Pendulum, even when offline policies are suboptimal. Overall, the method offers a principled way to leverage expert data and temporal objectives to accelerate learning in tasks with long-horizon consequences and sparse credit assignment, with potential applicability to complex temporal tasks and adaptive mixing strategies.
Abstract
In this paper, we tackle the challenging problem of delayed rewards in reinforcement learning (RL). While Proximal Policy Optimization (PPO) has emerged as a leading Policy Gradient method, its performance can degrade under delayed rewards. We introduce two key enhancements to PPO: a hybrid policy architecture that combines an offline policy (trained on expert demonstrations) with an online PPO policy, and a reward shaping mechanism using Time Window Temporal Logic (TWTL). The hybrid architecture leverages offline data throughout training while maintaining PPO's theoretical guarantees. Building on the monotonic improvement framework of Trust Region Policy Optimization (TRPO), we prove that our approach ensures improvement over both the offline policy and previous iterations, with a bounded performance gap of $(2ςγα^2)/(1-γ)^2$, where $α$ is the mixing parameter, $γ$ is the discount factor, and $ς$ bounds the expected advantage. Additionally, we prove that our TWTL-based reward shaping preserves the optimal policy of the original problem. TWTL enables formal translation of temporal objectives into immediate feedback signals that guide learning. We demonstrate the effectiveness of our approach through extensive experiments on an inverted pendulum and a lunar lander environments, showing improvements in both learning speed and final performance compared to standard PPO and offline-only approaches.
