Parallelizing Tree Search with Twice Sequential Monte Carlo

Yaniv Oren, Joery A. de Vries, Pascal R. van der Vaart, Matthijs T. J. Spaan, Wendelin Böhmer · OpenReview

Abstract

Model-based reinforcement learning (RL) methods that leverage search are responsible for many milestone breakthroughs in RL. Sequential Monte Carlo (SMC) recently emerged as an alternative to the Monte Carlo Tree Search (MCTS) algorithm which drove these breakthroughs. SMC is easier to parallelize and more suitable to GPU acceleration. However, it also suffers from large variance and path degeneracy which prevent it from scaling well with increased search depth, i.e., increased sequential compute. To address these problems, we introduce Twice Sequential Monte Carlo Tree Search (TSMCTS). Across discrete and continuous environments TSMCTS outperforms the SMC baseline as well as a popular modern version of MCTS as a policy improvement operator, scales favorably with sequential compute, reduces estimator variance and mitigates the effects of path degeneracy while retaining the properties that make SMC natural to parallelize.

Introduction

In modern Reinforcement Learning (RL), search algorithms like Monte Carlo Tree Search (MCTS) are essential for high performance. However, MCTS is notoriously difficult to parallelize and accelerate on GPUs because it is inherently sequential and requires maintaining a complex tree structure in memory.

Sequential Monte Carlo (SMC) emerged as a GPU-friendly alternative, using a population of "particles" to explore environments in parallel. While efficient, SMC has two fatal flaws as search depth increases:

  1. High Variance: Estimation error grows exponentially with depth.
  2. Path Degeneracy: Particles tend to collapse onto a single path, losing the diversity at the root necessary for effective learning.

This paper introduces Twice Sequential Monte Carlo Tree Search (TSMCTS), which combines the parallelizability of SMC with the robust scaling of MCTS by reframing search as a value-estimation problem.

Methods

The proposed TSMCTS algorithm evolves from the standard SMC framework through two key innovations:

Instead of estimating full trajectories, SMCTS focuses on estimating action values ($Q$-values) at the root. It introduces a "backpropagation" mechanism where returns from different search depths are averaged. This allows the algorithm to continue learning even after particles have converged to a specific action, mitigating the immediate effects of path degeneracy.

TSMCTS treats root action selection as a "best-arm identification" problem using Sequential Halving (SH). The search is split into log-scale iterations where the algorithm:

  • Discards the bottom half of performing actions in each iteration.
  • Redistributes the particle budget to surviving actions, doubling precision for promising candidates.
  • Maintains static computation shapes, making it ideal for JAX and GPU acceleration.

Experimental Setup

The researchers evaluated TSMCTS across diverse environments:

  • Discrete (Jumanji): Snake (sparse reward) and Rubik’s Cube (complex state space).
  • Continuous (Brax): High-dimensional control tasks including Ant, Halfcheetah, and Humanoid.

Results and Discussion

TSMCTS demonstrates significant improvements over baselines in scaling, variance, and overall performance.

TSMCTS demonstrates superior scaling with search depth, lower variance, and higher path diversity compared to SMC baselines.

Scaling and Variance

As shown in the figure above, TSMCTS is the only SMC variant that improves consistently as search depth increases. While baseline SMC performance deteriorates after a depth of 6 due to variance, TSMCTS continues to scale. Empirical tests in the Snake environment confirmed that TSMCTS reduces the variance of the root value estimator by orders of magnitude.

Comparative Performance

TSMCTS consistently outperformed the SMC baseline, GumbelMCTS (a modern MCTS variant), and TRT SMC across almost all tested environments.

Performance comparison across discrete (Snake, Rubik's Cube) and continuous (Humanoid, Ant, Halfcheetah) environments.

The "aha moment" of this research is the shift from estimating trajectories to estimating action values. By using information from previous search steps to stabilize current estimates, TSMCTS overcomes the limitations of standard particle-based search. Furthermore, Sequential Halving provides a more stationary evaluation of actions compared to the shifting values often seen in MCTS selection rules.

Conclusion

TSMCTS provides a scalable, parallelizable search operator that bridges the gap between SMC and MCTS. While it introduces a new hyperparameter ($m_1$, initial actions), performance remains stable across a range of values. Future work may involve integrating advanced MCTS techniques like TD-$\lambda$ backpropagation to further enhance value estimates in long-horizon planning problems.

Summary updated

BibTeX
@inproceedings{oren2026parallelizing,
  author = {Yaniv Oren and Joery A. de Vries and Pascal R. van der Vaart and Matthijs T. J. Spaan and Wendelin Böhmer},
  title = {{Parallelizing Tree Search with Twice Sequential Monte Carlo}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=rmWRfKECEC},
}
Figure