Why did TD-Gammon Work?

Jordan B. Pollack, Alan D. BlairNeurIPS 1996

Introduction

In the early 1990s, Gerald Tesauro’s TD-Gammon was a bombshell in the AI community. By playing millions of games against itself using Temporal Difference (TD) learning and back-propagation, it reached world-class expertise in Backgammon. However, the "magic" didn't seem to translate; the same methods failed to produce similar breakthroughs in other complex games like Chess or Go.

Researchers Pollack and Blair set out to investigate whether TD-Gammon’s success was truly due to the power of reinforcement learning, or if there was something inherent to the game of Backgammon that made it uniquely "learnable" through self-play. They successfully replicated the expert-level performance of TD-Gammon using simple hill-climbing instead of complex reinforcement learning, suggesting that the game's unique co-evolutionary dynamics were the true engine of success.

Methods: Stripping Away the Complexity

The authors stripped away the complexity of TD-learning and back-propagation, replacing them with a "1+1" hill-climbing algorithm—essentially a form of artificial evolution.

  1. The Architecture: They used a feed-forward neural network nearly identical to Tesauro’s, featuring 197 input units (representing board positions) and 20 hidden units, totaling 3,980 weights.
  2. The Learning Process:
  3. Start with a "champion" network (initially all weights at zero).
  4. Create a "mutant" challenger by adding Gaussian noise to the champion's weights.
  5. Have the champion and mutant play against each other.
  6. If the mutant wins a significant majority of games, it becomes the new champion.
  7. Variance Reduction: To prevent a "lucky" novice from accidentally beating a superior champion, they implemented two clever tweaks:
  8. Paired Games: Every game was played twice with the same dice rolls but reversed colors to "wash out" the luck of the roll.
  9. Inertia: Instead of a total replacement, the new champion was a weighted average: 0.95 * old_champion + 0.05 * mutant.
  10. Annealing Schedule: As the player improved, the authors increased the "bar" for challengers, eventually requiring them to win 7 out of 8 games to take the throne.

Evaluation and Datasets

Because this is a self-play environment, there was no static training dataset. Instead, the "data" was generated dynamically through millions of game states. For evaluation, the authors used:

  • PUBEVAL: A strong, public-domain Backgammon benchmark trained by Tesauro using human expert preferences.
  • Benchmark Snapshots: They saved versions of their own network at 1,000, 10,000, and 100,000 generations to track internal progress.

Key Insights and Ideas

The Neighborhood Effect

Counter-intuitively, the authors found that as the player becomes more expert, it actually becomes easier to find a winning challenger in the immediate "neighborhood" of its weights.

Win rate of challengers at different training stages (1k, 10k, 100k generations) based on their distance from the champion.

In a high-dimensional space, once you are in a "good" region, small tweaks are more likely to find specialized improvements. As training progressed from 1k to 100k generations, challengers further away from the champion maintained a higher win percentage, demonstrating this effect.

Backgammon as the Perfect Teacher

The authors argue that Backgammon’s dynamics prevent the "mediocre stable states" that plague other games. In Chess, self-play often leads to "collusion" where players find a way to draw every game, halting learning. In Backgammon, draws are impossible, and the randomness of the dice forces the network to explore a vast portion of the state space, preventing it from getting stuck in a narrow, brittle strategy.

Co-evolution over Algorithm

The paper suggests that the "spiral" of co-evolution—where the environment (the opponent) gets harder exactly as the learner gets better—is the true engine of success, regardless of whether you use TD-learning or simple hill-climbing.

Key Results

Training progress over 100,000 generations, showing a steady decrease in loss.
  • Competitive Performance: After 100,000 generations, the hill-climbing bot won 45% of its games against PUBEVAL. This is roughly equivalent to the performance of the original 1992 TD-Gammon (before Tesauro added hand-crafted expert features).
  • Monotonic Improvement: The researchers tested the bot on the "bear-off" (the endgame where pieces are removed). The bot's efficiency improved steadily from 22 rolls down to 19 rolls over the course of training.
  • Proof of Concept: The study successfully demonstrated that expert-level Backgammon play can be evolved without gradients, reinforcement signals, or complex temporal credit assignment.

Limitations and Future Work

  • Domain Specificity: The authors are careful to note that 1+1 hill-climbing is not a superior general-purpose machine learning tool. It worked here specifically because Backgammon's dynamics (no draws, high volatility) are uniquely suited to it.
  • Scaling: While 45% against PUBEVAL is impressive, the authors acknowledge that reaching "World Master" levels (like the later versions of TD-Gammon) would likely require the hand-crafted features and more sophisticated architectures that Tesauro eventually employed.
  • Future Directions: The paper opens the door for research into identifying other domains that share Backgammon's "anti-collusive" properties, which might also be susceptible to simple co-evolutionary learning.

Summary updated

BibTeX
@inproceedings{pollack1996why,
  author = {Jordan B. Pollack and Alan D. Blair},
  title = {{Why did TD-Gammon Work?}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {1996},
}
Figure