MCTS
A game-tree search algorithm based on random sampling that estimates move win rates through large numbers of random simulated games. It uses the UCB formula to balance exploration and exploitation and requires no hand-crafted evaluation function. MCTS gained widespread recognition through its central role in AlphaGo.
Core Facts
AlphaGo combines deep learning with Monte Carlo Tree Search (MCTS), using two key neural networks: a policy network and a value network.
MCTS estimates the value of decision nodes by repeatedly simulating random rollouts, iterating through four phases—selection, expansion, simulation, and backpropagation—to concentrate computational resources on the most promising branches.
Monte Carlo Tree Search (MCTS) is one of the core algorithms for Go AI to search game positions, and was the mainstream technology in Go programs before AlphaGo.
Timeline (last 90 days)
For coding agents, the simulation phase of MCTS is usually carried out through LLM reasoning or lightweight execution, so each search step incurs additional model calls—this is the fundamental reason why search-augmented approaches cost significantly more than linear agents.
MCTS and ReAct are not mutually exclusive; MCTS can be seen as adding a lookahead evaluation layer to ReAct at the action-selection step, replacing a single greedy judgment with the statistical results of multiple simulations.
MCTS consists of four phases—selection, expansion, simulation and backpropagation—and uses simulation results to update in reverse the value estimates of each node in the search tree.
State snapshots and branch management for search-based agents require versioning the file system, command-execution side effects and conversation context separately—for example, isolating files with git branches or temporary worktrees, sandboxing command side effects, and trimming and replaying context per node.
Test-time scaling (TTS) refers to improving performance by investing more computation at the inference stage without updating model parameters, with common forms including best-of-N sampling followed by voting or reranking, extended chain-of-thought, multiple rounds of self-verification and revision, and tree search (such as MCTS).
Monte Carlo Tree Search (MCTS) is a decision-planning algorithm based on random simulation that was combined with neural networks in AlphaGo.
In games like Slay the Spire 2, MCTS faces two major challenges: random events make the tree's branching factor extremely large, and a single simulation requires fully simulating an entire combat, making computation costly.
AlphaZero further simplified this, reaching superhuman level using only self-play and MCTS, highlighting the generality of MCTS as a planning framework.
AlphaGo's success demonstrated the practicality of MCTS in a huge state space (Go's branching factor is about 250), but it also exposed its dependence on computational resources—a large number of GPUs/TPUs must be invoked during play.
The convergence speed of MCTS is closely related to the size of the state space and the branching factor, and for continuous action spaces or partially observable environments, the theoretical guarantees are weaker.
29 more timeline events
All Facts (20)
AlphaGo combines deep learning with Monte Carlo Tree Search (MCTS), using two key neural networks: a policy network and a value network.
90%VerifiedMCTS estimates the value of decision nodes by repeatedly simulating random rollouts, iterating through four phases—selection, expansion, simulation, and backpropagation—to concentrate computational resources on the most promising branches.
75%VerifiedMonte Carlo Tree Search (MCTS) is one of the core algorithms for Go AI to search game positions, and was the mainstream technology in Go programs before AlphaGo.
65%UnverifiedMonte Carlo tree search (MCTS) is an online planning method that estimates action values by repeatedly sampling in a decision tree.
70%UnverifiedHarness Router supports escalating to MCTS (Monte Carlo Tree Search) for complex multi-step decision scenarios.
60%UnverifiedMCTS is the planning core of systems such as AlphaGo and MuZero, and its core loop consists of four steps: selection, expansion, simulation, and backpropagation.
60%UnverifiedAlphaGo, released by DeepMind in 2016, uses a policy network to narrow search breadth and a value network to replace random simulations, improving MCTS efficiency by several orders of magnitude.
60%UnverifiedState snapshots and branch management for search-based agents require versioning the file system, command-execution side effects and conversation context separately—for example, isolating files with git branches or temporary worktrees, sandboxing command side effects, and trimming and replaying context per node.
50%UnverifiedMCTS consists of four phases—selection, expansion, simulation and backpropagation—and uses simulation results to update in reverse the value estimates of each node in the search tree.
50%UnverifiedFor coding agents, the simulation phase of MCTS is usually carried out through LLM reasoning or lightweight execution, so each search step incurs additional model calls—this is the fundamental reason why search-augmented approaches cost significantly more than linear agents.
50%UnverifiedMCTS and ReAct are not mutually exclusive; MCTS can be seen as adding a lookahead evaluation layer to ReAct at the action-selection step, replacing a single greedy judgment with the statistical results of multiple simulations.
50%UnverifiedTest-time scaling (TTS) refers to improving performance by investing more computation at the inference stage without updating model parameters, with common forms including best-of-N sampling followed by voting or reranking, extended chain-of-thought, multiple rounds of self-verification and revision, and tree search (such as MCTS).
50%UnverifiedMonte Carlo Tree Search (MCTS) is a decision-planning algorithm based on random simulation that was combined with neural networks in AlphaGo.
50%UnverifiedIn games like Slay the Spire 2, MCTS faces two major challenges: random events make the tree's branching factor extremely large, and a single simulation requires fully simulating an entire combat, making computation costly.
50%UnverifiedThe convergence speed of MCTS is closely related to the size of the state space and the branching factor, and for continuous action spaces or partially observable environments, the theoretical guarantees are weaker.
50%UnverifiedAlphaGo's success demonstrated the practicality of MCTS in a huge state space (Go's branching factor is about 250), but it also exposed its dependence on computational resources—a large number of GPUs/TPUs must be invoked during play.
50%UnverifiedMCTS is not a theoretically perfect algorithm; its convergence guarantees are conditional and its actual performance depends on engineering tuning; for online tasks requiring fast responses, it often needs to be combined with heuristic methods or learned policies.
50%UnverifiedThe convergence of MCTS is asymptotic and conditional, rather than reaching robust optimality within a finite number of steps; in practice the number of samples is finite, so only approximate solutions can be obtained.
50%UnverifiedAlphaZero further simplified this, reaching superhuman level using only self-play and MCTS, highlighting the generality of MCTS as a planning framework.
50%UnverifiedMCTS has proven its practical value in multiple domains, including game AI, robot path planning, resource scheduling, and automated testing scenarios.
50%