[Paper Review] Predecessor Features
This paper introduces Predecessor Features, a bootstrapped temporal difference learning method that extends credit assignment beyond recent states by learning the expected sum of discounted past state features. By leveraging a successor representation to propagate TD errors to relevant predecessor states, it accelerates learning and improves value function approximation in both tabular and function approximation settings, outperforming standard TD(λ) and related methods in grid-world and deep reinforcement learning tasks.
Any reinforcement learning system must be able to identify which past events contributed to observed outcomes, a problem known as credit assignment. A common solution to this problem is to use an eligibility trace to assign credit to recency-weighted set of experienced events. However, in many realistic tasks, the set of recently experienced events are only one of the many possible action events that could have preceded the current outcome. This suggests that reinforcement learning can be made more efficient by allowing credit assignment to any viable preceding state, rather than only those most recently experienced. Accordingly, we examine ``Predecessor Features'', the fully bootstrapped version of van Hasselt's ``Expected Trace'', an algorithm that achieves this richer form of credit assignment. By maintaining a representation that approximates the expected sum of past occupancies, this algorithm allows temporal difference (TD) errors to be propagated accurately to a larger number of predecessor states than conventional methods, greatly improving learning speed. The algorithm can also be naturally extended from tabular state representation to feature representations allowing for increased performance on a wide range of environments. We demonstrate several use cases for Predecessor Features and compare its performance with other approaches.
Motivation & Objective
- To address the limitation of eligibility traces in standard TD learning, which only credit recent events, by enabling credit assignment to any viable preceding state.
- To formalize the relationship between successor representations and eligibility traces, leading to a richer credit assignment mechanism.
- To develop a fully bootstrapped algorithm—Predecessor Features—that learns the expected sum of discounted predecessor features directly.
- To demonstrate improved learning efficiency and accuracy in value function approximation across tabular and deep reinforcement learning environments.
- To establish Predecessor Features as a special case of van Hasselt’s Expected Trace algorithm, enabling broader applicability.
Proposed method
- The method uses a successor representation (SR) to compute the expected discounted occupancy of future states from any given state, enabling backward propagation of TD errors to relevant past states.
- It introduces a tabular algorithm, TD-PR, which maintains a matrix Ψ approximating the SR and uses it to propagate TD errors via eligibility traces over predecessor states.
- For function approximation, it proposes Linear TD-PF, which learns a feature-based representation of predecessor states through a separate weight matrix Ψ that is updated using gradient descent.
- The algorithm bootstraps updates by using the predicted predecessor features zθ(S_t) = Ψx(S_t) as eligibility traces, enabling error propagation to states that are not necessarily recent.
- It employs two learning rates: α for value function weights w and β for the predecessor feature matrix Ψ, allowing independent optimization of value and predecessor representations.
- The method is formally shown to be a special case of van Hasselt’s Expected Trace (ET) algorithm with η=1, making it fully bootstrapped and efficient.
Experimental results
Research questions
- RQ1Can credit assignment in temporal difference learning be improved by propagating TD errors to any viable preceding state, not just recent ones?
- RQ2How can the successor representation be adapted to represent the expected sum of discounted predecessor states for more effective credit assignment?
- RQ3What is the performance gain of using Predecessor Features over standard TD(λ) and Expected Trace methods in both tabular and deep reinforcement learning settings?
- RQ4How does the bootstrapped nature of Predecessor Features affect learning stability and convergence speed compared to non-bootstrapped alternatives?
- RQ5Can Predecessor Features be effectively implemented with function approximation, and does it maintain performance gains in high-dimensional state spaces?
Key findings
- TD-PR outperforms TD(λ) in convergence speed and accuracy on the Plinko (Pachinko) grid-world task across all tested hyperparameter settings, including when α-m is low.
- In the Cartpole environment with deep neural network function approximation, the Predecessor Features algorithm marginally outperforms the non-bootstrapped Expected Trace (ET) method, demonstrating improved sample efficiency.
- The Predecessor Features algorithm achieves faster convergence to the true value function than TD(λ), particularly when the learning rate for the SR matrix (α-m) is set to a moderate value (0.1).
- The method successfully learns the SR matrix in the tabular case, with the Ψ matrix approximating the true successor representation and enabling accurate credit assignment to predecessor states.
- The algorithm is formally equivalent to van Hasselt’s Expected Trace with η=1, confirming its theoretical grounding and extending its applicability to fully bootstrapped credit assignment.
- Predecessor Features reduce the variance of value function approximation compared to Monte Carlo methods while maintaining low-variance updates, leading to more stable learning.
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.