Robustness in Markov Decision Problems with Uncertain Transition Matrices

Arnab Nilim, Laurent El GhaouiNeurIPS 2003

Introduction

Markov Decision Processes (MDPs) are foundational to sequential decision-making, but they are notoriously sensitive to errors in transition probabilities. In real-world applications, these probabilities are rarely known perfectly; instead, they are estimated from noisy, limited data. This paper introduces a "Robust Dynamic Programming" algorithm designed to guarantee performance even when transition matrices are uncertain. By utilizing Kullback-Leibler (KL) divergence to model statistical errors, the authors provide a robust solution that, remarkably, comes at almost no extra computational cost compared to standard MDP solvers.

The Challenge: The Optimizer's Curse

In a standard MDP, the optimal policy relies on the assumption that the system's transition dynamics—how likely it is to move from state $A$ to state $B$ given a specific action—are known exactly. When these probabilities are estimated from limited observations, slight inaccuracies can cause the derived "optimal" policy to perform poorly in practice. This phenomenon is often referred to as the "optimizer's curse."

Historically, addressing this uncertainty has been fraught with practical challenges:

  • Bayesian approaches require exact prior distributions of the transition matrices, which are rarely available in practice.
  • Polytopic models, which assume transitions lie within a fixed set of linear bounds, are computationally expensive to solve and frequently yield overly conservative policies that sacrifice too much performance for the sake of safety.

The authors seek a middle ground: a statistically sound method to represent uncertainty that remains computationally tractable.

Methodology: Robust Dynamic Programming

To tackle this, the authors frame the robust MDP as a zero-sum game between a controller (aiming to minimize cost) and "nature" (an adversary choosing the worst-case transition probabilities from a defined uncertainty set).

The core technical contributions include:

  • Robust Bellman Recursion: The classic Bellman equation is extended to include a "support function" that explicitly accounts for the worst-case transition scenario.
  • KL Divergence Uncertainty Sets: Instead of relying on arbitrary geometric bounds like boxes or polytopes, the authors use Kullback-Leibler (KL) divergence (relative entropy) to define the uncertainty region around the estimated transition probabilities. This choice is statistically motivated, as KL divergence naturally arises when dealing with maximum likelihood estimates, providing a rigorous representation of confidence intervals.
  • Efficient Bisection Algorithm: The authors demonstrate that when uncertainty is modeled via KL divergence, the "inner problem" of finding the worst-case transition reduces to a simple one-dimensional convex optimization. This can be solved exceptionally quickly using a bisection method.

Key Insights and Theoretical Results

This paper is primarily theoretical and algorithmic, providing mathematical proofs and complexity analyses rather than empirical evaluations on specific datasets. Its most significant insights include:

  • Robustness for "Free": The most striking finding is that the worst-case complexity of the robust algorithm is nearly identical to the standard Bellman recursion. Adding robustness only introduces a logarithmic factor, $O(\log(1/\epsilon))$, to the computation. This makes the robust approach highly viable for real-time applications.
  • Perfect Duality: The authors prove that "perfect duality" holds for the time-varying uncertainty model. This implies that the order of play—whether the controller chooses an action first or nature chooses the worst-case transition first—does not change the outcome.
  • Stationary vs. Time-Varying Uncertainty: While nature might be stationary (the "true" probabilities remain constant over time), treating nature as time-varying (allowing it to pick a different worst-case transition at every step) provides a computationally tractable upper bound. The authors show that this bound converges to the stationary case as the time horizon increases.

Computational Complexity

The efficiency of the algorithm is backed by rigorous complexity bounds:

  • For a finite-horizon MDP with $n$ states and $m$ actions over $N$ steps, the robust algorithm runs in $O(nmN \log(N/\epsilon))$ floating-point operations (flops).
  • For discounted infinite-horizon problems, the algorithm finds an $\epsilon$-suboptimal robust policy in $O(nm \log(1/\epsilon)^2)$ flops.
  • The paper also demonstrates that several classes of uncertainty models (Likelihood, Maximum A-Posteriori, and Relative Entropy models) all seamlessly lead to the same efficient bisection-based solution.

Limitations and Future Directions

While the proposed algorithm is highly efficient, it is not without limitations:

  • Model Assumptions: The approach assumes that the size of the uncertainty sets (the radius of the KL divergence ball) is known or can be accurately pre-calculated. Selecting an uncertainty level that is too large will still lead to overly conservative policies.
  • Curse of Dimensionality: Although efficient relative to standard MDPs, the algorithm still suffers from the state-space scaling issues inherent in all discrete MDPs as the number of states ($n$) grows.
  • Approximation Gap: Using a time-varying uncertainty model to approximate a stationary one works well over long horizons, but for very short-horizon problems, the approximation might be more conservative than strictly necessary.

The authors suggest that these robust methods lay the groundwork for future extensions into large-scale problems using function approximation, paving the way for Robust Reinforcement Learning.

Summary updated

BibTeX
@inproceedings{nilim2003robustness,
  author = {Arnab Nilim and Laurent El Ghaoui},
  title = {{Robustness in Markov Decision Problems with Uncertain Transition Matrices}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2003},
  url = {https://openreview.net/forum?id=H1V2Mw-d-S},
}
Figure