papers / td1988
Next task →
Research Papers/Reinforcement learning foundations/Learning to Predict by the Methods of Temporal Differences
Reinforcement learning foundations · #1 · foundational

Learning to Predict by the Methods of Temporal Differences

Richard S. Sutton · 1988 · Machine Learning

1. Research problem

Predicting future outcomes from incomplete sequences requires updating estimates before the final outcome is known.

2. Motivation

Sutton wanted a prediction method that uses differences between successive estimates, avoiding the need to wait for episode termination.

3. Previous approaches

Monte Carlo methods waited for complete returns; supervised learning of predictions assumed a fixed target available immediately.

4. Core contribution

Introduced temporal-difference learning and the TD(lambda) family with eligibility traces, showing that predictions can be learned from bootstrapped, sampled updates.

5. Mathematical formulation

V(s_t) <- V(s_t) + alpha*(V(s_{t+1}) - V(s_t)) for the one-step case (or a multi-step return with lambda traces) when predicting cumulative reward.

6. Methodology

Prove convergence for linear case and compare TD and Monte Carlo prediction empirically on random-walk and drive-like prediction tasks.

7. Architecture

Value-function approximator; no neural architecture requirement.

8. Experimental setup

Simple prediction tasks including a random walk and a simulated driving prediction problem.

9. Datasets

Synthetic sequences generated by the described prediction tasks.

10. Results

TD methods learned predictions faster than Monte Carlo on several tasks and provided the foundation for later RL algorithms.

11. Limitations

Bootstrapping can introduce bias with function approximation; convergence guarantees are limited to restricted settings.

12. Critical analysis

One of the core ideas of RL: combining sampling and bootstrapping, later used in Q-learning, SARSA, and actor-critic methods.

13. Implementation tasks

  • 1.Implement one-step TD and Monte Carlo prediction on a random walk and compare learning curves.
  • 2.Add eligibility traces and sweep lambda on the same task.
  • 3.Verify convergence of TD(0) for a small tabular MDP.

14. Follow-up work

  • 1.Q-learning (Watkins and Dayan, 1992)
  • 2.Policy Gradient Methods for Reinforcement Learning with Function Approximation (Sutton et al., 2000)

15. Open research questions

  • 1.When does bootstrapping hurt with nonlinear function approximation?
  • 2.How should lambda be chosen for a given task and data budget?
16. Reproduce it. Record the hypothesis, configuration, dataset, metrics and discrepancies in the Experiment Tracker. A reproduction is not complete until you have run the experiments, performed at least one ablation and documented the differences from the reported numbers.