A Bayesian Approach to Online Planning
Nir Greshler, David Ben Eli, Carmel Rabinovitz, Gabi Guetta, Liran Gispan, Guy Zohar, Aviv Tamar
TL;DR
The paper tackles online planning under neural network uncertainty by formulating Bayesian tree search with a prior over complete trees and a posterior update from leaf observations. It introduces practical algorithms (Thompson sampling tree search and Bayes-UCB tree search) and demonstrates a finite-time Bayesian regret bound that scales with the prior entropy, connecting prior certainty to planning performance. The authors integrate neural network uncertainty estimation (MLE and ensembles) within a self-play, AlphaZero–style loop to learn posterior value distributions and target planning outcomes. Empirically, uncertainty-aware planning yields substantial gains when uncertainty estimates are accurate (especially with ground-truth uncertainty) but reveals that current learned uncertainty methods may be insufficient in some ProcGen tasks, highlighting the need for better uncertainty estimation in planning pipelines.
Abstract
The combination of Monte Carlo tree search and neural networks has revolutionized online planning. As neural network approximations are often imperfect, we ask whether uncertainty estimates about the network outputs could be used to improve planning. We develop a Bayesian planning approach that facilitates such uncertainty quantification, inspired by classical ideas from the meta-reasoning literature. We propose a Thompson sampling based algorithm for searching the tree of possible actions, for which we prove the first (to our knowledge) finite time Bayesian regret bound, and propose an efficient implementation for a restricted family of posterior distributions. In addition we propose a variant of the Bayes-UCB method applied to trees. Empirically, we demonstrate that on the ProcGen Maze and Leaper environments, when the uncertainty estimates are accurate but the neural network output is inaccurate, our Bayesian approach searches the tree much more effectively. In addition, we investigate whether popular uncertainty estimation methods are accurate enough to yield significant gains in planning. Our code is available at: https://github.com/nirgreshler/bayesian-online-planning.
