Beyond Expected Values: Risk-Sensitive Planning with Distributional Monte-Carlo Tree Search

Quynh Trinh, Trung Nguyen, Nam Nguyen, Tuan Quang DamNeurIPS 2026

TL;DR

Standard Monte-Carlo Tree Search (MCTS)—the engine behind systems like AlphaGo—evaluates choices using simple averages, making it dangerously blind to rare, catastrophic outcomes. This paper introduces CATSO and PATSO, two distributional MCTS algorithms that track the full shape of possible outcomes at action branches without bogging down the search tree in heavy math. By planning around worst-case scenarios rather than just expected averages, these planners avoid disasters while preserving the mathematical convergence speed of classical MCTS.

What Problem Does This Paper Address?

Imagine standing at a crossroads. Path A guarantees a modest reward of 5. Path B gives you a 50/50 shot at 10 or 0. To a standard MCTS planner, both paths have an expected value of 5—they look identical.

In board games, playing the averages is fine. In safety-critical domains like autonomous driving, medical treatment, or finance, getting a "0" might mean a car crash or bankruptcy. To protect against poor outcomes, planners optimize for Conditional Value-at-Risk (CVaR)—essentially, the average of the worst $\tau$-fraction of outcomes (say, the worst 5% of scenarios).

Classical MCTS fails here because compressing outcomes into scalar averages erases tail-risk information. Meanwhile, existing distributional MCTS methods usually rely on parametric assumptions (like assuming returns follow a neat Gaussian bell curve), which easily miss the messy, skewed, or multimodal realities of true tail risk.

Methods

To capture tail risk without making the tree search computationally explosive, the authors split how nodes in the search tree store information:

  • Distributional Q-edges (state-action pairs): Instead of a single average, action edges maintain non-parametric, empirical distributions of backed-up returns.
  • Scalar V-nodes (states): State nodes remain simple single numbers! They back up a visit-weighted average of their child edges' CVaR scores, completely avoiding expensive distributional convolutions up the tree.

They introduce two variations for representing those Q-edge distributions:

  1. CATSO (Categorical Thompson Sampling with Optimism): Snaps observed return samples onto a fixed, ordered grid of "atoms" and tracks probabilities using a Dirichlet distribution.
  2. PATSO (Particle Thompson Sampling with Optimism): Uses adaptive weighted particles that grow dynamically as new returns are observed. To cap memory at $U$ particles, it merges the closest adjacent particles while preserving their mean.

Action Selection: Both algorithms explore by drawing a Thompson-sampled distribution from each Q-edge, computing its CVaR, and adding a polynomial optimism bonus (a standard MCTS trick from finite-sample bandit theory). That bonus is crucial: because values deeper in the tree are constantly shifting as the tree grows, pure Thompson sampling might prematurely give up on an action before its true downstream value settles.

Datasets

Because this is an online planning paper rather than a supervised learning one, there are no static training datasets. Instead, the authors evaluate their planners on five stochastic reinforcement learning benchmarks specifically chosen because their mean-optimal and risk-sensitive paths diverge:

  • Autonomous Vehicle: A road gridworld where fast highways have low average cost but risk rare, severe crash penalties.
  • Betting Game: Repeated fractional wagering where aggressive bets maximize expected wealth growth but risk bankruptcy.
  • Guarded Maze: A short path past a high-penalty guard versus a longer, completely safe detour.
  • Two-Level Risky Treasure & Risky Shortcut Gridworld: Custom stochastic environments contrasting guaranteed safe routes against windy cliffs or high-variance gambles.

Key Insights and Ideas

  • You don't need distributions everywhere: Keeping state (V) nodes scalar while making state-action (Q) edges distributional is the "aha" architectural choice. It preserves the exact lower-tail information needed to make safe choices while dodging heavy distributional math during value propagation.
  • Bandit math meets shifting targets: Stationary bandit algorithms break in MCTS because downstream estimates drift as the tree expands. Pairing Dirichlet Thompson sampling with a polynomial exploration bonus tames this non-stationarity, allowing the authors to prove an $O(n^{-1/2})$ convergence rate.
  • Grid vs. Particles is a clean trade-off: CATSO offers predictable $O(N)$ memory and speed per edge, but blurs sharp multi-modal distributions due to grid rounding. PATSO adapts naturally to weird, sparse return distributions, trading memory cap $U$ against a tunable Wasserstein compression bias.

Key Results

  • Theoretical Guarantee: Both algorithms achieve an $O(n^{-1/2})$ bound on the root value error after $n$ rollouts—matching the convergence rate of risk-neutral MCTS, up to grid discretization bias $O(\Delta_N/\tau)$ for CATSO or particle compression bias $O(\varepsilon_U/\tau)$ for capped PATSO.
  • Empirical Safety: Across simulation budgets from $10^2$ to $10^5$, scalar baselines (UCT, MaxUCT, PowerUCT) consistently fall into the "high-mean, bad-tail" trap. For example, in Two-Level Risky Treasure, scalar baselines hit ~120 catastrophic events with a CVaR return around -10, whereas CATSO and PATSO drop catastrophic events to 0 and achieve a CVaR return near +2.
  • Consistent Tail Gains: In Autonomous Vehicle and Risky Shortcut Gridworld, CATSO and PATSO steadily shrink the root CVaR value gap toward zero as budgets increase, while cutting catastrophic cliff-falls and crashes down to near zero at $10^5$ rollouts.

Limitations and Future Work

  • Nested vs. Static CVaR: The theoretical guarantees apply to nested (step-by-step, time-consistent) CVaR rather than static CVaR over the entire infinite-horizon trajectory—an important mathematical distinction in risk-sensitive planning.
  • Representation Biases: CATSO relies on a pre-chosen grid, introducing discretization bias, while memory-capped PATSO introduces particle-merging bias.
  • Future Directions: The authors suggest exploring fully distributional V-nodes, dynamically adapting the risk tolerance $\tau$ during search, integrating learned world models (MuZero-style), and extending the framework to continuous-action or partially observable (POMDP) settings.

Summary updated

Abstract

Monte-Carlo Tree Search (MCTS) typically stores only scalar mean estimates, which makes it poorly suited for tail-risk objectives such as conditional value-at-risk (CVaR). We introduce **Categorical Thompson Sampling with Optimism (CATSO)** and **Particle Thompson Sampling with Optimism (PATSO)**, two distributional MCTS algorithms that maintain finite-support empirical backup laws at Q-edges. CATSO represents Q-edge laws with categorical atoms and Dirichlet Thompson sampling, while PATSO represents them with adaptive particles. Both algorithms select actions using the CVaR of a Thompson-sampled Q-edge law plus a polynomial optimism bonus, and propagate scalar continuation values through visit-weighted averages of child Q-edge CVaR scores. For the finite-depth nested CVaR planning target, we prove an $O(n^{-1/2})$ bound on the root value error after $n$ rollouts, which upper-bounds the risk-sensitive simple regret. CATSO adds a fixed-grid discretization bias, while capped PATSO adds a tunable Wasserstein compression bias. Experiments on stochastic planning benchmarks show that distributional Q-edges improve lower-tail return and reduce catastrophic outcomes when mean-optimal and risk-sensitive behavior differ.
BibTeX
@inproceedings{trinh2026beyond,
  author = {Quynh Trinh and Trung Nguyen and Nam Nguyen and Tuan Quang Dam},
  title = {{Beyond Expected Values: Risk-Sensitive Planning with Distributional Monte-Carlo Tree Search}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=qKB3gDxeBz},
}
Figure