Gerald Tesauro’s seminal work demonstrates that Temporal Difference (TD) learning can master the complex, stochastic game of backgammon through self-play alone. By surpassing networks trained on human expert data, this research proved that reinforcement learning could not only scale to "real-world" complexity but also discover sophisticated features without human intervention.
The Challenge of Scaling TD Learning
In the early 1990s, Temporal Difference learning—specifically the TD($\lambda$) algorithm—was mathematically well-understood primarily for simple "look-up table" problems where every possible state could be visited and evaluated. There was a significant gap between this foundational theory and "real-world" applications, which typically involve massive, continuous, or non-linear state spaces.
The author tackled several open questions regarding the practical application of TD learning:
- Scaling: Can TD-learning handle the high dimensionality and sequence length of a complex stochastic game?
- Representation: Does the algorithm strictly require hand-crafted features, or can a neural network discover them autonomously?
- Convergence: In a "prediction-control" loop (where the network's own predictions determine its moves), will the system converge to a high level of play, or will it get stuck in a sub-optimal cycle?
Methodology: TD-Gammon
To explore these questions, the paper introduces TD-Gammon, a system that combines the TD($\lambda$) algorithm with a multi-layer perceptron (neural network).
- Self-Play vs. Supervised Learning: Unlike traditional supervised learning, the primary TD network learns by playing hundreds of thousands of games against itself. It uses its current "win probability" estimate ($P_t$) as an evaluation function to select the best move. For comparison, the author also trained a supervised network using a massive database of 15,000 human expert positions (Expert Preferences, or EP).
- Weight Updates: The system uses a gradient-descent method to adjust network weights based on the difference between successive predictions during self-play.
- Knowledge-Free vs. Feature-Based: The author tested two versions of the network. One used a "raw" board description (simply the number of checkers on each point), while the other incorporated hand-crafted features (similar to earlier "Neurogammon" features) to see if domain knowledge provided a necessary boost.
- Parameters: Through empirical tuning, the author settled on a learning rate of $\alpha = 0.1$ and a trace decay parameter of $\lambda = 0.7$.
Results and Insights
Performance was evaluated against Gammontool (a standard commercial program of the era) and in a 31-game match against Bill Robertie, a two-time World Champion.
The "Expert" Trap and Scaling
Surprisingly, the TD-network trained via self-play significantly outperformed the network trained on human expert data as the network's capacity increased.
As illustrated above, a "knowledge-free" TD network with 40 hidden units achieved a 66.2% win rate against Gammontool. In contrast, the expert-trained (EP) network plateaued at a 59.4% win rate. Tesauro suggests that by strictly imitating experts, a supervised learner might inherit human biases or find itself lost in complex situations it doesn't truly understand. Self-play ensures the learner can robustly handle any situation its own strategy creates.
World-Class Performance
When hand-crafted features were added to the TD network (using 80 hidden units), the win rate against Gammontool rose to an impressive 73%. In a rigorous match against World Champion Bill Robertie, the TD-net won 13 out of 31 games. Robertie characterized the network's play as equivalent to a "good human tournament player," marking a historic milestone for AI in complex games.
Automated Feature Discovery
By examining the hidden units of the "knowledge-free" network, Tesauro found they had organized themselves into recognizable, sophisticated game concepts—such as "attack-oriented" or "race-oriented" detectors. This demonstrated that the network could mechanically discover features, solving a long-standing goal in artificial intelligence.
Inductive Bias over Temporal Distance
Contrary to intuition, the network played better in the early stages of the game than in the endgame. This suggests that the network's architecture and representation (its inductive bias) are more critical to its success than the temporal proximity to the final reward signal.
Limitations and Future Work
While groundbreaking, TD-Gammon had notable limitations that paved the way for future research:
- Endgame Weakness: The network struggled with the late phases of the game, likely due to the specific raw representation used, which made exact counting difficult.
- Search Depth: The impressive results were achieved using only "one-ply" lookahead (evaluating the immediate next state). The author noted that moving to two-ply search or using more sophisticated features could push the system to a true world-class level.
- Theoretical Guarantees: The paper acknowledges that while the results are empirically strong, there is still no formal mathematical proof that this combined prediction-control system will always converge to a global optimum in non-linear cases.
Ultimately, TD-Gammon proved that reinforcement learning could scale gracefully to complex domains, laying the groundwork for decades of future advancements in AI.
Summary updated