[Paper Review] A First Empirical Study of Emphatic Temporal Difference Learning
This paper presents the first empirical study of emphatic temporal difference learning (ETD), comparing it with conventional TD(0) in on-policy and off-policy settings using a modified Mountain Car environment. ETD achieves better asymptotic error performance than TD(0) in both settings, with no 'bounce' effect, though it converges more slowly in off-policy scenarios due to higher variance requiring smaller step sizes.
In this paper we present the first empirical study of the emphatic temporal-difference learning algorithm (ETD), comparing it with conventional temporal-difference learning, in particular, with linear TD(0), on on-policy and off-policy variations of the Mountain Car problem. The initial motivation for developing ETD was that it has good convergence properties under off-policy training (Sutton, Mahmood and White 2016), but it is also a new algorithm for the on-policy case. In both our on-policy and off-policy experiments, we found that each method converged to a characteristic asymptotic level of error, with ETD better than TD(0). TD(0) achieved a still lower error level temporarily before falling back to its higher asymptote, whereas ETD never showed this kind of "bounce". In the off-policy case (in which TD(0) is not guaranteed to converge), ETD was significantly slower.
Motivation & Objective
- To empirically evaluate the performance of emphatic temporal difference learning (ETD) in on-policy and off-policy reinforcement learning settings.
- To compare ETD with standard TD(0) in terms of convergence speed, asymptotic error, and stability under varying step sizes.
- To investigate whether ETD's theoretical convergence guarantees under off-policy training extend to practical on-policy learning.
- To examine the impact of step size selection and learning dynamics on error trajectories, particularly the absence of the 'bounce' phenomenon in ETD.
- To validate the theoretical counterexample showing TD(λ) can diverge under on-policy training with state-dependent λ, using empirical results.
Proposed method
- ETD uses a follow-on trace F_t to emphasize or de-emphasize updates based on state visitation frequency, computed as F_t = ρ_{t-1}F_{t-1} + 1 with F_0 = 1.
- The update rule is θ_{t+1} ← θ_t + αρ_t F_t (R_{t+1} + θ_t^T φ_{t+1} - θ_t^T φ_t) φ_t, where ρ_t = π(A_t|S_t)/μ(A_t|S_t).
- In on-policy settings, ρ_t = 1, but ETD still differs from TD(0) due to the F_t weighting, which stabilizes learning.
- In off-policy settings, μ ≠ π, and ETD maintains convergence despite the policy mismatch, unlike standard TD(0).
- The study uses a fixed-policy Mountain Car testbed with 500 sampled states to compute MSVE, a weighted mean squared error between estimated and true value functions.
- Learning curves are evaluated over 500,000 episodes, with MSVE averaged over the last 1% of episodes to assess asymptotic performance.
Experimental results
Research questions
- RQ1Does ETD outperform TD(0) in terms of asymptotic mean squared value error (MSVE) in on-policy reinforcement learning?
- RQ2How does the 'bounce' phenomenon—temporary error reduction followed by increase—manifest in TD(0) versus ETD across different step sizes?
- RQ3Can ETD achieve stable convergence in off-policy settings where TD(0) is not guaranteed to converge?
- RQ4What is the optimal range of step size α for ETD and TD(0) in both on-policy and off-policy scenarios?
- RQ5Does the theoretical counterexample of TD(λ) divergence under on-policy training with state-dependent λ hold in empirical results?
Key findings
- In on-policy settings, ETD consistently achieved lower asymptotic MSVE than TD(0), with no bounce effect observed across any step size.
- TD(0) exhibited a characteristic 'bounce'—a temporary drop in error followed by a rise to a higher asymptotic level—regardless of step size, with the duration increasing for smaller α.
- For α < 10^{-4}, TD(0) failed to converge within 500,000 episodes, while ETD maintained stable convergence with appropriately small α (e.g., ~10^{-7}).
- In off-policy settings, ETD achieved better asymptotic performance than TD(0), but converged significantly slower due to higher variance requiring very small step sizes.
- TD(0) converged faster than ETD in off-policy settings due to its ability to use larger step sizes, but at the cost of higher asymptotic error.
- The absence of the bounce in ETD across all experiments confirms its stability, even in the on-policy case where it differs from TD(0) due to the F_t weighting mechanism.
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.