Accelerating Monte Carlo Tree Search with Probability Tree State Abstraction

Yangqing Fu, Ming Sun, Buqing Nie, Yue Gao

Introduction

Monte Carlo Tree Search (MCTS) serves as the core decision-making engine for state-of-the-art AI systems like AlphaGo and MuZero. Despite its success, MCTS is computationally intensive; the search tree expands exponentially with depth, necessitating massive hardware resources to explore decision spaces effectively. While state abstraction—grouping similar states to reduce the search space—is a promising solution, it traditionally faces two hurdles: the NP-Hard complexity of finding optimal abstractions and the brittleness of deterministic rules against neural network noise.

Probability Tree State Abstraction (PTSA)

This paper introduces Probability Tree State Abstraction (PTSA), a novel framework designed to streamline MCTS by efficiently grouping search paths. The core innovation lies in the definition of path transitivity. The authors prove that if path transitivity holds, the problem of finding the minimum abstract state space becomes solvable in polynomial time, rather than being NP-Hard.

Figure 1: The PTSA framework integrates an Abstraction step into the standard MCTS cycle, utilizing path transitivity to aggregate similar search paths.

PTSA employs probabilistic aggregation instead of hard deterministic rules. By calculating the probability that two paths should be merged based on the value distributions of their children, the system becomes more robust. To compare these distributions, the authors utilize Jensen-Shannon (JS) divergence, which offers greater numerical stability than KL divergence, especially during the early stages of training when neural network predictions are noisy.

Experimental Evaluation

The researchers evaluated the integrated PTSAZero framework—which combines PTSA with Sampled and Gumbel MuZero—across several benchmarks:

  • Atari 100K: Nine classic games including Alien, Pong, and Tennis.
  • Gym Control Tasks: High-dimensional versions of CartPole and LunarLander.
  • Board Games: Gomoku on large 15x15 and 19x19 boards.

Key Results and Insights

The implementation of PTSA led to a significant reduction in branching factors, ranging from 10% to 45% across various tasks. This reduction allows the agent to use its fixed simulation budget to search deeper into the future. In the LunarLander environment, PTSAZero achieved a training speedup of 3.53x over standard MuZero.

Figure 4: Performance comparison of PTSAZero against baselines across multiple Atari games and normalized scores, showing superior sample efficiency.

Notably, PTSAZero with only 18 simulations (N=18) frequently outperformed or matched standard MuZero using 30 simulations (N=30), demonstrating superior computational efficiency. The probabilistic nature of the abstraction ensures that the agent avoids catastrophic merging errors during the learning process.

Conclusion and Future Work

PTSA effectively addresses the computational bottlenecks of MCTS by transforming an NP-Hard abstraction problem into a tractable one. While the current method requires manual hyperparameter tuning for the aggregation threshold, it sets a new standard for efficient search in reinforcement learning. Future research will focus on automating the selection of abstraction functions to better suit diverse environments, from physics simulations to complex board games.

Summary updated

BibTeX
@inproceedings{fu2023accelerating,
  author = {Yangqing Fu and Ming Sun and Buqing Nie and Yue Gao},
  title = {{Accelerating Monte Carlo Tree Search with Probability Tree State Abstraction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=0zeLTZAqaJ},
}
Figure