Bilevel MCTS for Amortized O(1) Node Selection in Classical Planning

Masataro Asai
8/11/2025
cs.AIcs.CL

No official code found. Best implementation: asai-research-presentation/2026-aaai26-O1MCTS (0 stars, Apache-2.0, last commit 2026-01-22).

Abstract

We study an efficient implementation of Multi-Armed Bandit (MAB)-based Monte-Carlo Tree Search (MCTS) for classical planning. One weakness of MCTS is that it spends a significant time deciding which node to expand next. While selecting a node from an OPEN list with $N$ nodes has $O(1)$ runtime complexity with traditional array-based priority-queues for dense integer keys, the tree-based OPEN list used by MCTS requires $O(\log N)$, which roughly corresponds to the search depth $d$. In classical planning, $d$ is arbitrarily large (e.g., $2^k-1$ in $k$-disk Tower-of-Hanoi) and the runtime for node selection is significant, unlike in game tree search, where the cost is negligible compared to the node evaluation (rollouts) because $d$ is inherently limited by the game (e.g., $d\leq 361$ in Go). To improve this bottleneck, we propose a bilevel modification to MCTS that runs a best-first search from each selected leaf node with an expansion budget proportional to $d$, which achieves amortized $O(1)$ runtime for node selection, equivalent to the traditional queue-based OPEN list. In addition, we introduce Tree Collapsing, an enhancement that reduces action selection steps and further improves the performance.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Slide repo for "Bilevel MCTS for Amortized O(1) Node Selection in Classical Planning" https://arxiv.org/abs/2508.08385

00CSS, HTMLDec 26, 20259 months agoApache-2.0

Similar Papers

Cite this paper

@article{asai2025bilevel,
  title  = {Bilevel MCTS for Amortized O(1) Node Selection in Classical Planning},
  author = {Masataro Asai},
  year   = {2025},
  eprint = {2508.08385},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.08385v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.08385.svg)](https://codeofpaper.com/paper/2508.08385)

Discussion