Introduction
In reinforcement learning (RL), policy evaluation—the process of estimating the value of a specific strategy—is a critical component. However, practitioners often face a fundamental trade-off between learning efficiency and noise tolerance. Off-policy algorithms like Retrace utilize multi-stage lookahead to speed up learning but are notoriously sensitive to stochasticity in rewards or transitions. Conversely, using small learning rates can stabilize estimates in noisy environments but results in prohibitively slow convergence.
This paper introduces GRAPE (Gap-increasing RetrAce Policy Evaluation), a novel algorithm designed to provide the "best of both worlds." By integrating the off-policy efficiency of Retrace with the action-gap amplification of Advantage Learning, GRAPE achieves rapid convergence while remaining robust to environmental noise.
Methodology: The GRAPE Algorithm
GRAPE merges two distinct concepts to address the efficiency-noise dilemma:
- Retrace (Off-Policy Traces): This serves as the core engine, allowing the agent to learn efficiently from data generated by different policies (off-policy data) through multi-stage lookahead.
- Advantage Learning (Gap-Increasing): This acts as a stabilizer. It employs a "gap-increasing" operator that artificially widens the difference in value between the optimal action and suboptimal ones.
By stretching this "action gap," GRAPE makes the optimal policy more distinguishable for function approximators like neural networks. Even when value estimates are noisy, the amplified gap ensures that the correct action remains clearly superior to alternatives.
For complex, continuous-state problems, the authors developed AC-GRAPE, an actor-critic implementation that leverages neural networks to scale the algorithm's benefits to high-dimensional control tasks.
Theoretical Insights
The authors provide a theoretical foundation for GRAPE’s performance, proving that it converges at a rate of $O(\delta^K)$. This is significantly faster than the $O((1-\eta(1-\gamma))^K)$ rate typical of standard learning-rate-based methods.
Furthermore, the paper treats stochasticity as an approximation error in the update rule. The gap-increasing property effectively acts as a buffer, preventing these errors from causing policy degradation. The core insight is that high-precision value functions are not always necessary; rather, a value function that consistently distinguishes the best action from the rest is sufficient for optimal performance.
Empirical Results
GRAPE was evaluated across several benchmarks, including the 8x8 FrozenLake grid-world, a 20-state NChain environment, and OpenAI Gym control tasks (Pendulum and Acrobot) with added Gaussian white noise.
Key findings include:
- Superior Noise Tolerance: In FrozenLake, standard Retrace failed at high noise levels ($\sigma=0.8$), whereas GRAPE remained stable.
- Efficiency: In the NChain task, GRAPE achieved lower Normalized Root Mean Square Error (NRMSE) significantly faster than Retrace with low learning rates.
- Neural Network Robustness: AC-GRAPE consistently outperformed AC-Retrace in noisy versions of Pendulum and Acrobot, demonstrating higher mean rewards and lower variance across trials.
Conclusion
GRAPE offers a robust solution to the trade-off between speed and stability in RL policy evaluation. By prioritizing the amplification of action gaps, it ensures that optimal policies can be identified even in highly stochastic environments. Future work will focus on extending GRAPE to fully continuous action spaces and streamlining the tuning of the gap-increasing parameter ($\alpha$).
Summary updated