Solving Robust Markov Decision Processes: Generic, Reliable, Efficient

Tobias Meggendorfer, Maximilian Weininger, Patrick Wienhöft

Introduction

Markov Decision Processes (MDPs) are the standard mathematical framework for modeling decision-making in stochastic environments. However, a significant limitation of standard MDPs is the assumption that transition probabilities are known with absolute precision. In practice, these probabilities are often estimated from limited or noisy data, leading to models that may not perform well under real-world perturbations. Robust Markov Decision Processes (RMDPs) address this by incorporating uncertainty directly into the model. Instead of fixed transition probabilities, RMDPs utilize "uncertainty sets"—ranges or geometric shapes such as $L^p$-balls or polytopes—that represent the set of possible transition distributions.

A simple RMDP transition model where transition probabilities $p$ and $q$ are subject to uncertainty.

The RMDP Trilemma

Despite their theoretical appeal, existing RMDP solvers have historically struggled with a "trilemma" of competing requirements:

  1. Generality: Many solvers are restricted to specific types of uncertainty (e.g., interval uncertainty) or specific objectives (e.g., discounted rewards), failing to handle the diversity of real-world constraints.
  2. Reliability: Standard Value Iteration (VI) techniques often lack sound stopping criteria. They may terminate when values appear stable, but without provable bounds, the resulting solution may be significantly inaccurate.
  3. Efficiency: Previous attempts to bridge RMDPs and Stochastic Games (SGs) often involved explicit game construction. This leads to an exponential explosion in the state space, rendering the approach impractical for large-scale industrial models.

Technical Methodology

This research introduces a framework that overcomes these challenges through three primary innovations:

Implicit Bellman Updates

Rather than explicitly constructing a massive Stochastic Game where an adversarial environment chooses a distribution, the proposed algorithm performs an optimization step implicitly within each Bellman update. For a wide variety of uncertainty sets, including $L^p$-balls and polytopes, this optimization can be computed in polynomial time. This allows the solver to treat the RMDP as a game against an adversary without the memory overhead of explicit state expansion.

Bounded Value Iteration (BVI) and Convergence

To ensure reliability, the solver employs Bounded Value Iteration. By maintaining both a lower bound and an upper bound on the value of each state, the algorithm provides a rigorous stopping criterion. Execution continues until the gap between these bounds falls below a user-specified threshold $\epsilon$, guaranteeing the precision of the final result.

End Component Collapsing

A persistent challenge in BVI for models with cycles is the failure of upper bounds to converge. To address this, the framework adapts "end component collapsing" techniques from non-robust verification. By identifying and collapsing cyclic components where the agent can remain indefinitely, the solver forces the upper bounds to converge to the true value.

Illustration of end component collapsing, where cyclic states $p$ and $q$ are merged into a single state $pq$ to facilitate convergence.

The Constant-Support Assumption

The framework identifies the "Constant-Support Assumption" as a critical enabler for generality. This assumption posits that while the exact probabilities are unknown, the set of possible next states (the support) remains fixed. This allows the framework to handle non-polytopic uncertainty sets, such as $L^2$-balls, which were previously considered computationally prohibitive.

Experimental Evaluation

The framework was implemented in a Java-based prototype and evaluated against state-of-the-art tools across several benchmarks, including scaled versions of "contamination" models and robustified versions of standard MDP benchmarks from the Quantitative Verification Benchmark Set (e.g., firewire, lake_swarm).

The results demonstrate significant improvements in both performance and scalability:

  • Speed: On contamination models, the tool achieved solutions in under one second, whereas competing tools like RPPI required over 700 seconds.
  • Scalability: The solver successfully processed RMDPs with over one million states in less than a minute.
  • Memory Efficiency: While previous methods often encountered memory exhaustion (M/O) on models with as few as 100 states due to explicit game construction, this implicit approach handled the same models nearly instantaneously.
  • Precision: The tool provides mathematical guarantees that the error remains below a specified $\epsilon$ (e.g., $10^{-6}$), a level of reliability absent in many traditional VI-based tools.

Conclusion and Future Directions

This work demonstrates that RMDPs can be solved both reliably and efficiently without sacrificing generality. By utilizing implicit updates and BVI with component collapsing, the framework scales to industrial-sized problems. Future research will focus on relaxing the Constant-Support Assumption for a broader range of objectives and exploring multi-objective robust properties in non-adversarial environments.

Summary updated

BibTeX
@inproceedings{meggendorfer2025solving,
  author = {Tobias Meggendorfer and Maximilian Weininger and Patrick Wienhöft},
  title = {{Solving Robust Markov Decision Processes: Generic, Reliable, Efficient}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i25.34865},
}
Figure