Tight Bayesian Ambiguity Sets for Robust MDPs

Reazul Hasan Russel, Marek PetrikarXiv 2018

Abstract: Robustness is important for sequential decision making in a stochastic dynamic environment with uncertain probabilistic parameters. We address the problem of using robust MDPs (RMDPs) to compute policies with provable worst-case guarantees in reinforcement learning. The quality and robustness of an RMDP solution is determined by its ambiguity set. Existing methods construct ambiguity sets that lead to impractically conservative solutions. In this paper, we propose RSVF, which achieves less conservative solutions with the same worst-case guarantees by 1) leveraging a Bayesian prior, 2) optimizing the size and location of the ambiguity set, and, most importantly, 3) relaxing the requirement that the set is a confidence interval. Our theoretical analysis shows the safety of RSVF, and the empirical results demonstrate its practical promise.

Introduction

In Reinforcement Learning (RL), agents typically operate under the assumption that transition probabilities are known perfectly. However, in real-world applications, these parameters must be estimated from finite data, introducing significant uncertainty. Robust Markov Decision Processes (RMDPs) mitigate this by optimizing for the worst-case scenario within an "ambiguity set" of possible transition probabilities.

Traditional methods for constructing these sets often rely on distribution-free bounds, such as Hoeffding’s inequality. These approaches are frequently overly pessimistic, resulting in massive ambiguity sets that scale poorly with the state space. Consequently, the derived policies are excessively conservative, sacrificing average performance for extreme safety. Even Bayesian approaches typically mandate that the ambiguity set serve as a high-probability confidence interval, a condition that is sufficient but not strictly necessary for safety.

Methodology: RSVF

We introduce RSVF (Robustification with Sensible Value Functions), a Bayesian framework designed to produce tighter safety bounds by shifting the focus from transition probability errors to the structure of the value function.

RSVF incorporates three key innovations:

  1. Bayesian Prior Integration: By utilizing a Bayesian posterior, RSVF effectively handles small datasets and incorporates prior domain knowledge.
  2. Relaxed Safety Constraints: Unlike traditional methods that require the ambiguity set to contain the true transition probability with high probability, RSVF only requires that the expected return remains safe.
  3. Value-Function Awareness: RSVF recognizes that not all transition errors impact the final policy equally. It optimizes the shape and location of the ambiguity set based on the hyperplanes defined by "sensible" value functions—those that are reachable given the observed data.
Comparison of RSVF (blue) and BCI (green) ambiguity sets relative to the posterior distribution.

The RSVF algorithm iteratively refines the ambiguity set. It starts with a small set of value functions and expands the $L_1$ radius of the ambiguity set only when safety conditions are violated, ensuring the set is as tight as possible while maintaining robustness.

Empirical Evaluation

We evaluated RSVF against standard baselines, including Hoeffding-based RMDPs and Bayesian Confidence Intervals (BCI), using an invasive species management benchmark. This task involves managing population dynamics based on noisy observations, a classic ecological control problem.

Performance comparison showing return error (left) and safety violation rates (right) across varying sample sizes.

The results demonstrate that RSVF provides return estimates that are significantly less conservative than BCI—often by a factor of two—while maintaining a high degree of safety. In full MDP tests, RSVF matched the safety of much more pessimistic methods like Hoeffding-based RMDPs. In contrast, the "Mean Transition" method, which ignores uncertainty, frequently violates safety constraints, highlighting the necessity of the robust approach.

Conclusion

RSVF demonstrates that safety in RMDPs does not require the extreme conservatism of traditional confidence intervals. By focusing on the return directly and leveraging value-function structure, we can achieve policies that are both provably safe and practically performant. Future work will explore relaxing the s,a-rectangularity assumption and improving the theoretical convergence guarantees of the iterative refinement algorithm.

Summary updated

BibTeX
@misc{russel2018tight,
  author = {Reazul Hasan Russel and Marek Petrik},
  title = {{Tight Bayesian Ambiguity Sets for Robust MDPs}},
  year = {2018},
  eprint = {1811.06512},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1811.06512},
}
Figure