What is Monte Carlo tree search?
In Turkish: Monte Carlo ağaç araması · Topic: Math foundations
A search method that explores possible moves in a game or planning problem as a tree and uses random simulations to estimate which branches look most promising.
How does it work?
Starting from the current position, the algorithm repeats four steps. It first selects a branch that has done well so far, then adds a new move to it. Next, the game is played out to the end from that point, randomly or with simple rules. The result, win or loss, is passed back up along the path and the branch scores are updated. After thousands of repetitions, the move that was tried most and performed best is chosen. Because promising branches get more attention than weak ones, it copes with enormous trees.
Why does it matter?
In games like Go, where the number of possible positions is huge, calculating every move to the end is impossible. This method lets a program make sound decisions with limited computing power. Combined with neural networks, it brought a major leap in game-playing AI, and it is also used in planning and decision problems.
Example
DeepMind's AlphaGo combined the predictions of neural networks with Monte Carlo tree search when choosing its moves.
FAQ
Why is it called Monte Carlo?
The name comes from Monte Carlo methods, which rely on random sampling and are named after the casino district in Monaco. Here the randomness is used to estimate how moves will turn out.
Does it work for every game?
It works best in turn-based games with clear rules. In games with hidden information, or when simulations are expensive, the method has to be adapted.