Online Robust Planning Under Model Uncertainty: A Sample-Based Approach

Tamir Shazman, Idan Lev-Yehudi, Ron Benchetrit, Vadim Indelman

TL;DR

Robust Sparse Sampling (RSS) is the first online planning algorithm for Robust MDPs that provides finite-sample theoretical performance guarantees while remaining independent of the state-space size. By combining a dual formulation of robust value functions with Sample Average Approximation (SAA), RSS enables real-time decision-making that protects agents against simulator errors without sacrificing computational tractability.

What Problem Does This Paper Address?

Standard online planning algorithms, such as Monte Carlo Tree Search (MCTS) and Sparse Sampling, rely heavily on a generative model (a simulator) to look ahead and select optimal actions. However, in real-world scenarios, these simulators are typically estimated from limited data. This introduces approximation errors and discrepancies between the simulator and the real environment. If an agent blindly trusts an inaccurate simulator, it can make suboptimal or even catastrophic decisions.

Robust Markov Decision Processes (RMDPs) offer a framework to handle this by optimizing for the worst-case scenario within a set of plausible models. Unfortunately, solving RMDPs traditionally requires a computationally grueling min-max optimization over both policies and model perturbations. This overhead has made robust planning notoriously difficult to deploy in online, real-time settings, especially in continuous or infinite state spaces.

Methods

The authors introduce Robust Sparse Sampling (RSS) to bridge the gap between robustness and online tractability.

Instead of tackling the intractable min-max problem directly, RSS leverages a dual formulation of the robust Bellman equation. This reframes the problem into a one-dimensional minimization over a Lagrange multiplier ($\eta$), which balances the trade-off between expected rewards and worst-case outcomes.

To compute this online without knowing the true transition dynamics, RSS applies Sample Average Approximation (SAA). At each node in the lookahead tree, the algorithm draws a finite number of next-state samples ($C$) from its approximate simulator to construct an empirical objective function. Crucially, this empirical function is piecewise linear and convex. Its exact global minimum can be found efficiently by sorting the sample values and performing a linear scan, resulting in a per-node optimization complexity of just $O(C \log C)$.

Because the tree's complexity depends only on the action space, sample width, and planning horizon—and not the size of the state space—RSS scales seamlessly to continuous environments.

Illustration of the RSS algorithm lookahead tree and the piecewise-linear convex optimization curves for the dual form.

Datasets

The algorithm was evaluated on two classic reinforcement learning benchmarks, modified to introduce localized model uncertainty:

  1. FrozenLake (8x8): A discrete grid-world where transitions are stochastic. The authors introduced model uncertainty ($\rho$) exclusively in the cells adjacent to hazardous holes, simulating a scenario where dangerous, rarely visited regions lack sufficient data.
  2. CartPole: A continuous control environment where the agent must balance a pole on a cart. The authors introduced a narrow "hazard zone" along the cart's position axis where the true environment experiences high Gaussian noise, but the agent's planning model incorrectly assumes low, constant noise.

Key Insights and Ideas

  • Taming the Min-Max Monster: The paper demonstrates that the intimidating worst-case optimization of Robust MDPs can be reframed into a clean, one-dimensional minimization problem over a scalar variable ($\eta$).
  • Exploiting Convexity: Because the SAA-derived objective function is piecewise linear and convex, finding the optimal robust update doesn't require complex gradient descent or iterative solvers—it simply requires sorting the sample values.
  • Robustness is Cheap: The computational complexity of RSS adds only a minor logarithmic factor ($ \log C $) per node compared to standard, non-robust Sparse Sampling. In practice, the cost of generating samples from the simulator dominates the runtime, making the robust optimization overhead virtually negligible.

Key Results

  • Theoretical Guarantees: The authors prove that the value of the policy generated by RSS can be brought arbitrarily close to the true optimal robust value function given a large enough sample width $C$ and planning horizon $H$ (Theorem 1).
  • Empirical Performance: In the FrozenLake environment, RSS consistently achieved higher average discounted returns than standard Sparse Sampling (SS) across all tested uncertainty levels ($\rho$).
  • Resilience to Noise: In the CartPole environment, as unmodeled noise in the hazard zone increased, the performance of standard SS plummeted due to its reliance on an underestimated noise model. In contrast, RSS maintained stable, near-constant returns and significantly higher success rates by proactively anticipating adverse dynamics.
Average discounted return in CartPole under increasing noise variance in the hazard zone.

Limitations and Future Work

  • The Curse of Horizon: Like classical Sparse Sampling, RSS suffers from exponential computational complexity with respect to the planning horizon $H$ ($O((|A| \cdot C \log C)^H)$). This restricts its practical use to environments where short planning horizons are sufficient.
  • Prior Knowledge of Uncertainty: The algorithm assumes that the uncertainty budget parameter $\rho$ is known beforehand. Accurately estimating $\rho$ from data in non-stationary or partially observed environments remains an open challenge.
  • Over-Conservatism: RSS relies on the standard "rectangularity" assumption, meaning it treats model uncertainty at each state-action pair independently. This can sometimes lead to overly pessimistic behavior.

The authors note that extending this SAA-based robust framework to more scalable online architectures, such as heuristic-driven Monte Carlo Tree Search (MCTS) and Partially Observable MDPs (POMDPs), is a promising direction for future research.

Summary updated

BibTeX
@inproceedings{shazman2026online,
  author = {Tamir Shazman and Idan Lev-Yehudi and Ron Benchetrit and Vadim Indelman},
  title = {{Online Robust Planning Under Model Uncertainty: A Sample-Based Approach}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i43.40959},
}
Figure