Bayes Adaptive Monte Carlo Tree Search for Offline Model-based Reinforcement Learning

Le Xu, Jiayu Chen, Wentse Chen, Jeff Schneider · DOI

Introduction

Offline Reinforcement Learning (RL) involves learning optimal policies from static datasets without environment interaction. Model-based approaches (MBRL) typically learn a "world model" to simulate trajectories. However, static datasets often allow for multiple models that fit the data but diverge in unseen regions, leading to "model exploitation" where agents over-optimize on simulator inaccuracies.

To address this, the authors introduce BA-MCTS, a framework that treats offline MBRL as a Bayesian inference problem. By integrating a novel continuous-space Monte Carlo Tree Search (MCTS) with an ensemble of world models, the agent dynamically adapts its belief about model reliability during rollouts, significantly mitigating exploitation.

Methodology: Bayes Adaptive Planning

The core of BA-MCTS is the formulation of the problem as a Bayes Adaptive Markov Decision Process (BAMDP). In this setting, the state space is augmented with the agent's belief—a probability distribution over the ensemble of learned world models.

Continuous BAMCP and P-BAMDP

The authors extended the Bayes Adaptive Monte Carlo Planning (BAMCP) algorithm to continuous action and state spaces using Double Progressive Widening (DPW). This technique manages the search tree's complexity by incrementally adding new nodes. To ensure safety, they introduced Pessimistic BAMDP (P-BAMDP), which incorporates a reward penalty based on the variance of Q-value predictions across the model ensemble. This "pessimism" discourages the agent from entering regions where models disagree.

Comparison of prediction errors between adaptive and uniform belief models across various environments and data types.

As shown in the table above, the adaptive belief mechanism consistently reduces prediction errors compared to a uniform model averaging approach, particularly in complex environments like Walker2d and Hopper across various data types.

Key Insights

  • Real-time Calibration: Bayesian adaptation acts as a dynamic calibration tool. During a simulated trajectory, the agent updates its belief based on the likelihood of observed transitions under each model, allowing it to pivot toward the most accurate models mid-rollout.
  • Search-Enhanced Policy: Unlike standard offline RL methods that rely solely on gradient updates, BA-MCTS uses MCTS for "deep lookahead." This search process identifies superior action sequences which are then distilled into a neural network actor and critic for efficient deployment.

Experimental Results

The framework was evaluated on the D4RL MuJoCo benchmark and high-stakes nuclear fusion (Tokamak) control tasks.

D4RL Benchmarks

BA-MCTS achieved state-of-the-art (SOTA) performance across twelve D4RL tasks, outperforming 19 competitive baselines including CQL, MOPO, and MOBILE.

Performance of BA-MCTS compared to state-of-the-art baselines on the D4RL MuJoCo benchmark.

Nuclear Fusion Control

In Tokamak control tasks (Ion Rotation, Electron Temperature, and $\beta_n$ tracking), BA-MCTS significantly outperformed model-free methods. For instance, it reduced tracking errors in highly stochastic 28-dimensional state spaces, achieving an average return of -20.61 compared to -60.49 for CQL.

Conclusion and Limitations

BA-MCTS demonstrates that combining Bayesian belief adaptation with MCTS provides a robust solution to model exploitation in offline RL. While the training phase is computationally intensive due to the thousands of required MCTS simulations, the resulting distilled policy allows for real-time execution. Future work may explore more sophisticated belief update mechanisms and applications in non-stationary environments.

Reference: Chen, J., Le, X., Chen, W., & Schneider, J. (2024). Bayes Adaptive Monte Carlo Tree Search for Offline Model-based Reinforcement Learning. arXiv:2410.11234v4.

Summary updated

BibTeX
@inproceedings{xu2026bayes,
  author = {Le Xu and Jiayu Chen and Wentse Chen and Jeff Schneider},
  title = {{Bayes Adaptive Monte Carlo Tree Search for Offline Model-based Reinforcement Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=UmCzGf4qNh},
}
Figure