Monte Carlo Permutation Search
This paper introduces Monte Carlo Permutation Search (MCPS), a general-purpose MCTS algorithm that outperforms the GRAVE algorithm in games like Hex and Go by incorporating path-wide playout statistics into the exploration term and deriving a new weighting formula that eliminates the need for GRAVE's bias hyperparameter.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are trying to solve a complex puzzle, like a game of Go or Hex, but you don't have a supercomputer or a trained AI to tell you the best move. Instead, you have to rely on "guessing and checking" by playing out thousands of random future scenarios in your head. This is how a computer program called Monte Carlo Tree Search (MCTS) works.
For a long time, the best way to do this guessing was an algorithm called GRAVE. It was good at looking at the past to predict the future, but the author of this paper, Tristan Cazenave, thought, "We can do better."
He created a new algorithm called MCPS (Monte Carlo Permutation Search). Here is how it works, explained simply:
The Three Ways to Look at the Past
To decide which move to make next, MCPS looks at its history of random games (called "playouts") in three different ways. Think of these as three different lenses on a camera:
The "Exact Path" Lens (Standard View):
This looks at games where the player made the exact same sequence of moves to get to the current spot, and then made the specific move we are testing.- Analogy: "I walked down Main Street, turned left, and then bought a coffee. How did that go?"
The "Order Doesn't Matter" Lens (The GRAVE Upgrade):
This looks at games where the player made the same moves to get to the spot, but the order was slightly different, and the specific move we are testing appeared later in the game.- Analogy: "I bought a coffee, then walked down Main Street, then turned left. It's the same ingredients, just a different recipe order. Did it still taste good?"
- Why it helps: In many games, the order you place your pieces doesn't change the final board state. So, this lens lets the computer learn from more games, not just the ones that matched the exact order.
The "Permutation" Lens (The New MCPS Secret Sauce):
This is the new addition. It looks at any game where the player used the exact same set of moves (the path to the current spot + the new move), regardless of the order they happened in.- Analogy: "I used a hammer, a screwdriver, and a nail to build a shelf. It doesn't matter if I hammered first or screwed first; if I used those three tools, the shelf got built. How did that combination work out?"
- The Catch: In some games (like AtariGo), the order does matter because the game can end early (like capturing a stone). MCPS handles this by being smart about how it groups these moves.
The "Magic Formula"
The paper explains that MCPS doesn't just pick one of these views; it mixes them together. The author did some math to figure out the perfect way to blend these three sources of information.
Think of it like making a smoothie. You have three fruits (the three statistics). GRAVE used a fixed recipe that sometimes tasted off. MCPS uses a mathematically perfect recipe that automatically adjusts the amounts based on how much data it has for each fruit. The best part? It doesn't need a "taste test" (a human setting a bias parameter) to get it right; the math does it automatically.
How It Performed in the Real World
The author tested MCPS against the old champion (GRAVE) on five different types of games:
- Hex (The Perfect Match): In this game, the order of moves never changes the final board. MCPS was a huge winner here, especially on larger boards. It was like having a map that showed every possible path, not just the one you took.
- Go (The Deep Thinker): On small boards, they were about equal. But on large boards, as the computer was given more time to think, MCPS pulled ahead. It was better at using that extra time to dig deeper into the most promising lines of play, whereas the old method got stuck exploring shallow options.
- AtariGo (The Fast Finisher): This is a game where the first capture wins. Here, the order does matter. Surprisingly, MCPS still won, but its advantage was biggest on small boards where the game ends quickly. On big boards, the game gets too long for the "order doesn't matter" trick to help as much.
- NoGo (The Consistent Winner): This is a game where you lose if you capture. MCPS won almost everywhere, consistently beating the old method by a solid margin.
- Wargame (The Speed Demon): In this custom strategy game, MCPS didn't just play better; it played faster. It simulated games that ended sooner and found the winning strategy more quickly, allowing it to run more simulations in the same amount of time.
The Bottom Line
The paper claims that MCPS is a smarter, more efficient way for computers to play games without needing deep learning or massive training.
It works by realizing that in many games, the set of moves you make is more important than the order you make them in. By counting all the times a specific set of moves appeared in random games, MCPS builds a better "intuition" about which moves are good. It's like a detective who realizes that even if the suspects arrived in a different order, the fact that they were all at the scene is the real clue.
The result is a general-purpose tool that beats the previous best method in almost every scenario tested, making it a powerful new standard for game-playing AI when you don't have a supercomputer at your disposal.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.