Bayesian optimized monte carlo planning

John Michael Mern, Anil Yildiz, Zachary N Sunberg, Tapan Mukerji, Mykel Kochenderfer

Abstract

Bayesian Optimized Monte Carlo Planning (BOMCP) addresses the "curse of branching" in complex decision-making problems by replacing random action sampling with Bayesian Optimization. By utilizing Gaussian Processes to predict which actions are most promising, the algorithm builds deeper, more effective search trees, significantly outperforming state-of-the-art solvers in environments with massive or continuous action spaces.

Introduction

In AI planning, Partially Observable Markov Decision Processes (POMDPs) are the standard for modeling agents making decisions under uncertainty. Monte Carlo Tree Search (MCTS) is a common solution, simulating possible futures to determine the best immediate move. However, MCTS struggles when the action space is vast or continuous—a challenge known as the "curse of branching." In such cases, the search tree becomes wide and shallow, limiting the agent's foresight. While "progressive widening" helps by limiting explored actions, it typically relies on random selection. BOMCP addresses this inefficiency by intelligently choosing which actions to add to the search tree.

Methodology

BOMCP treats action selection as an optimization problem solved inside the search tree using Bayesian Optimization (BO).

Algorithm 3: Bayesian Optimization for action selection within the search tree.

The core components of the framework include:

  1. Gaussian Processes (GP): The algorithm maintains a probabilistic model of the action-value function ($Q$-function), estimating the value of unexplored actions based on previous simulations.
  2. Expected Improvement: Instead of random expansion, BOMCP finds the action likely to provide the maximum "Expected Improvement" (EI) over the current best-known action.
  3. Computational Efficiency: To mitigate the $O(n^3)$ cost of GPs, a $k$-nearest neighbor approach is used for inference, focusing on the most relevant data points.
  4. Experience Buffer: Knowledge about action values is carried over across planning cycles, providing a "warm start" for the GP and developing a global sense of action quality.

Experimental Evaluation

The authors evaluated BOMCP across three distinct environments: Partially Observable Lunar Lander (continuous actions), Wind Farm Planning (large discrete space), and Cyber Security (non-spatial discrete space).

Lunar Lander Performance

In the Lunar Lander task, BOMCP demonstrated exceptional sample efficiency. As shown in the results below, BOMCP with only 100 queries outperformed the state-of-the-art POMCPOW algorithm using 1,000 queries. While BOMCP requires more computation per query, its superior sample efficiency allows it to achieve better performance within similar wall-clock time constraints.

Performance comparison on the Lunar Lander task, showing BOMCP's superior sample efficiency compared to POMCPOW and expert baselines.

Broader Benchmarks

  • Wind Farm Planning: BOMCP achieved significantly higher scores than POMCPOW. Notably, POMCPOW's performance plateaued quickly, while BOMCP continued to improve as the query budget increased.
  • Cyber Security: BOMCP consistently outperformed both POMCPOW and expert-designed policies, proving its versatility in non-spatial domains where action "distance" is less intuitive.

Discussion and Key Insights

The primary innovation of BOMCP is using search data to shape the tree itself rather than just updating values. While Bayesian Optimization introduces computational overhead—accounting for roughly 30% of planning time in the Lunar Lander task—the resulting sample efficiency leads to superior outcomes.

Future work may address hyperparameter sensitivity in GP kernels and explore the scalability of the vectorization functions in extremely high-dimensional belief spaces. Additionally, the authors suggest that the GP's distribution over the $Q$-function could eventually be used to generalize search trees to unobserved trajectories in offline settings.

Summary updated

BibTeX
@inproceedings{mern2021bayesian,
  author = {John Michael Mern and Anil Yildiz and Zachary N Sunberg and Tapan Mukerji and Mykel Kochenderfer},
  title = {{Bayesian optimized monte carlo planning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i13.17411},
}
Figure