Targeted Search Control in AlphaZero for Effective Policy Improvement

Alexandre Trudeau, Michael Bowling

TL;DR

AlphaZero’s sample inefficiency stems from always starting self-play matches at the very beginning of a game. This paper introduces Go-Exploit, a search control strategy that restarts self-play from an archive of "states of interest," enabling deeper exploration, more independent value targets, and faster policy improvement in games like Connect Four and 9x9 Go.

What Problem Does This Paper Address?

While AlphaZero achieved superhuman performance in games like Chess and Go, it is notoriously "sample hungry," requiring millions of games to reach peak performance. The authors identify three primary bottlenecks in the standard AlphaZero training loop:

  1. The Starting Line Bottleneck: Because every self-play game starts from the initial state ($s_0$), the agent often "dies" or reaches terminal states before it can effectively explore deep, complex positions.
  2. The Exploration Trade-off: To discover new states, AlphaZero injects noise (Dirichlet noise) and forces random moves early in the game. This means the agent is essentially training on a "weak, noisy" version of itself, which slows down the improvement of the core policy.
  3. Value Target Scarcity: A single long game produces only one final outcome (win/loss). This provides a sparse and noisy signal for the neural network’s value head.

The paper tackles these by rethinking Search Control—the process of choosing which states and actions to simulate to maximize learning.

Methods

The authors propose Go-Exploit, which modifies AlphaZero by maintaining an archive of previously encountered states.

  • The "Go" Step: Instead of always starting at $s_0$, the algorithm has a probability ($\lambda$) of starting a self-play trajectory from a state sampled uniformly from its archive.
  • The "Exploit" Step: Because the "Go" step already handles exploration by jumping to different parts of the game tree, the agent can use more exploitative settings (less noise, lower Softmax temperature) during the actual play.

The researchers tested two ways to define "states of interest" for the archive:

  • Go-Exploit Visited States (GEV): Archive contains states actually reached during self-play.
  • Go-Exploit Search States (GES): Archive contains states that the MCTS search considered but didn't necessarily play.

They further experimented with archive structures: Expanding (keep everything), Circular (keep the $N$ most recent), and Reservoir (probabilistic sampling to maintain a representative distribution).

Datasets

The algorithms were evaluated on two classic board games implemented via DeepMind’s OpenSpiel framework:

  • Connect Four: A smaller state space but with a high density of terminal states.
  • 9x9 Go: A much larger state space that tests the algorithm's ability to generalize and explore deep trees.

Performance was measured against MCTS-Solver, a strong reference opponent, at various difficulty levels (1x to 1000x search iterations).

Key Insights and Ideas

  • Shorter Paths, Better Signal: By starting deep in the game tree, Go-Exploit produces shorter trajectories. This results in more independent value targets (game outcomes) per training step, which significantly stabilizes and speeds up the training of the value function.
  • Search States > Visited States: In Connect Four, including states the agent thought about (search states) in the archive led to better performance than just using states it actually played. This suggests that "near-misses" or alternative paths are highly informative for learning.
  • Exploitation as Exploration: The most counter-intuitive finding is that by using a "Go" step to handle exploration, the agent can be more "selfish" (exploitative) during play. Training on these higher-quality, less-noisy policies actually accelerates the policy iteration process.
  • Synergy with KataGo: The authors compared Go-Exploit to KataGo (a highly optimized AlphaZero variant). They found that Go-Exploit’s search control was more effective than KataGo’s "branching" method and that Go-Exploit's benefits are additive when combined with KataGo’s other architectural innovations.

Key Results

  • Sample Efficiency: In 9x9 Go, Go-Exploit variants showed much steeper learning curves than standard AlphaZero, reaching high win rates against MCTS-Solver 10x significantly earlier.
  • Head-to-Head Dominance: In direct matches, Go-Exploit variants (particularly the Circular Archive versions) consistently outperformed standard AlphaZero. For example, at checkpoint 300 in 9x9 Go, the GEVC variant had a ~79.5% win rate against standard AlphaZero.
  • Lower Value Loss: Table 2 in the paper shows that Go-Exploit consistently achieves lower squared error in its value predictions compared to AlphaZero, proving it learns a more accurate and generalizable model of the game.

Limitations and Future Work

  • Uniform Sampling: Currently, the algorithm samples from the archive uniformly. The authors suggest that weighting states (e.g., by uncertainty or "interestingness") could further improve efficiency.
  • Archive Management: While circular archives worked well, the optimal size and management strategy for much larger games (like 19x19 Go) remains an open question.
  • Scope: The study focused on perfect-information, zero-sum games. Future work could explore how this "restart" strategy handles stochastic environments or games with imperfect information.
  • Integration: There is potential to combine Go-Exploit with "MuZero-style" learned models, where the agent plans without knowing the rules of the game.

Summary updated

BibTeX
@inproceedings{trudeau2023targeted,
  author = {Alexandre Trudeau and Michael Bowling},
  title = {{Targeted Search Control in AlphaZero for Effective Policy Improvement}},
  booktitle = {AAMAS},
  year = {2023},
}
Figure