[Paper Review] Improving Policy Gradient by Exploring Under-appreciated Rewards
This paper introduces Under-appreciated Reward Exploration (UREX), a novel policy gradient method that enhances exploration by targeting action sequences whose rewards exceed the policy's expected value. UREX improves sample efficiency and robustness, enabling the first successful model-free reinforcement learning solution to multi-digit addition using only sparse reward feedback, with generalization to 2000-digit sequences in some cases.
This paper presents a novel form of policy gradient for model-free reinforcement learning (RL) with improved exploration properties. Current policy-based methods use entropy regularization to encourage undirected exploration of the reward landscape, which is ineffective in high dimensional spaces with sparse rewards. We propose a more directed exploration strategy that promotes exploration of under-appreciated reward regions. An action sequence is considered under-appreciated if its log-probability under the current policy under-estimates its resulting reward. The proposed exploration strategy is easy to implement, requiring small modifications to an implementation of the REINFORCE algorithm. We evaluate the approach on a set of algorithmic tasks that have long challenged RL methods. Our approach reduces hyper-parameter sensitivity and demonstrates significant improvements over baseline methods. Our algorithm successfully solves a benchmark multi-digit addition task and generalizes to long sequences. This is, to our knowledge, the first time that a pure RL method has solved addition using only reward feedback.
Motivation & Objective
- To address the challenge of sparse rewards in model-free reinforcement learning, especially for algorithmic tasks requiring long, precise action sequences.
- To overcome the limitations of undirected exploration strategies like entropy regularization and $ε$-greedy, which fail in high-dimensional, sparse-reward environments.
- To develop a method that actively explores action sequences that are under-appreciated by the current policy—i.e., those yielding higher-than-expected rewards.
- To enable pure reinforcement learning to solve complex algorithmic tasks without strong supervision, such as multi-digit addition.
- To improve hyper-parameter robustness and generalization in RL agents, especially on long-sequence generalization tasks.
Proposed method
- UREX modifies the REINFORCE policy gradient objective by incorporating a term that encourages exploration of action sequences where the actual reward exceeds the policy's predicted log-probability.
- It uses importance sampling to estimate the gradient of a combined objective: a standard REINFORCE term plus a mean-seeking term that corrects for miscalibration between log-probabilities and observed rewards.
- The method identifies under-appreciated sequences as those where the log-probability under the current policy is too low relative to the actual return, signaling potential for improvement.
- It normalizes importance sampling weights and subtracts the mean of the reward and normalized weights across trajectories to reduce variance.
- The approach is implemented with minimal changes to REINFORCE, requiring only modifications to the policy gradient update rule.
- A curriculum learning schedule is used, gradually increasing sequence length once the agent achieves high performance on shorter sequences.
Experimental results
Research questions
- RQ1Can a policy gradient method effectively explore under-appreciated action sequences—those with higher-than-expected rewards—without relying on entropy regularization or $ε$-greedy exploration?
- RQ2Does targeting under-appreciated regions lead to better sample efficiency and performance on sparse-reward algorithmic tasks such as multi-digit addition?
- RQ3Can UREX generalize to long sequences (e.g., 2000-digit addition) despite being trained only on shorter sequences (up to 33 digits)?
- RQ4How does UREX compare to value-based methods like one-step Q-learning with intermediate rewards in terms of performance and hyper-parameter sensitivity?
- RQ5Can UREX solve algorithmic tasks that have previously resisted pure RL approaches, such as multi-digit addition, using only episodic reward feedback?
Key findings
- UREX successfully solved the multi-digit addition task using only episodic reward feedback, marking the first time a pure model-free RL method has achieved this without supervision.
- In 2 out of 5 random restarts, UREX agents generalized perfectly to 2000-digit addition sequences, despite being trained only on sequences up to 33 digits.
- UREX demonstrated significantly better performance than entropy-regularized REINFORCE and one-step Q-learning, especially on the most challenging tasks like multi-digit addition.
- The method showed reduced hyper-parameter sensitivity, making it more robust and less reliant on extensive tuning compared to baseline methods.
- On the BinarySearch task, agents learned a hybrid of binary and linear search, indicating that while correctness was achieved, efficiency was not fully optimized.
- For the Copy and ReversedAddition tasks, UREX achieved strong generalization performance, with detailed results reported in Appendix C.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.