Structured Reachability Analysis for Markov Decision Processes

Craig Boutilier, Ronen I. Brafman, Christopher W. GeibUAI 1998

TL;DR

This paper introduces a novel algorithm, REACHABLEK, for analyzing which states are reachable in Markov Decision Processes (MDPs) when starting from a known initial state. By leveraging structured representations like dynamic Bayes nets (DBNs) and generalizing the GRAPHPLAN algorithm, REACHABLEK efficiently prunes unreachable states, enabling more tractable MDP solutions and abstractions, especially for complex, real-world problems.

What Problem Does This Paper Address?

Markov Decision Processes (MDPs) are powerful tools for decision-theoretic planning (DTP), but their practical application is often hindered by the "curse of dimensionality" – the state space grows exponentially with the number of variables. Traditional methods like value iteration require explicit state space enumeration, making them computationally infeasible for large problems. While abstraction techniques can reduce MDP size, they often don't fully exploit knowledge of the initial state. This paper addresses the challenge of integrating initial state information with structured MDP representations to perform reachability analysis. The goal is to identify and eliminate states that can never be reached, thereby creating smaller, more manageable MDPs for planning and policy construction.

Methods

The core contribution is the REACHABLEK algorithm, which extends the GRAPHPLAN algorithm for classical planning to the domain of MDPs. Key aspects include:

  • Structured Representation: MDPs are represented using dynamic Bayes nets (DBNs), which capture state transitions and action effects in a structured, compact way.
  • GRAPHPLAN Generalization: REACHABLEK adapts the graph-building phase of GRAPHPLAN, which iteratively constructs propositional and action levels.
  • Propositional Levels: Represent reachable variable values and their exclusion constraints (n-ary constraints, where n < K).
  • Action Levels: Identify actions that can be executed given the current propositional level and their potential effects.
  • Handling DBN Specifics: The algorithm is adapted to handle:
  • Conditional Effects: Actions can have different effects depending on the state.
  • Distributed Action Effects: Action effects on different variables are represented independently in DBNs.
  • Correlated Effects: The algorithm can handle (or be adapted to handle) situations where an action's effect on one variable influences its effect on another. This is achieved either by creating compound variables or by carefully constructing implication sets.
  • K-ary Constraints: A key innovation is the use of n-ary exclusion constraints (up to K), allowing for more sophisticated pruning than the binary constraints in standard GRAPHPLAN. The parameter K controls the trade-off between completeness and computational complexity.
  • Soundness Guarantee: The algorithm is proven to be sound, meaning that any state identified as reachable is indeed reachable. This ensures that the reduced MDP is a valid representation of the reachable states.
  • Completeness Trade-off: While REACHABLEN (where N is the number of variables) is complete, smaller K values lead to incomplete analysis (overestimating reachable states) but are computationally more efficient.

Datasets

Not discussed in the paper. The authors use a "small manufacturing domain" for empirical evaluation, described as having 31 binary propositions and 30 actions, but this is a custom benchmark, not a publicly released dataset.

Key Insights and Ideas

  • Initial State as a Powerful Pruning Tool: Knowledge of the initial state is not just a starting point but a critical piece of information that can drastically reduce the effective size of an MDP, especially when combined with structured representations.
  • Generalizing Classical Planning for MDPs: The paper demonstrates that successful techniques from classical planning, like GRAPHPLAN's graph-building phase, can be effectively adapted and extended to the probabilistic and decision-theoretic setting of MDPs.
  • The Power of N-ary Constraints: Moving beyond binary exclusion constraints to n-ary ones (controlled by parameter K) allows for a more precise identification of unreachable states, leading to potentially much smaller and more accurate reduced MDPs.
  • Soundness vs. Completeness Trade-off: The algorithm offers a tunable knob (K) to balance the computational cost of analysis with the accuracy of the reachability estimation. This is crucial for "anytime" algorithms where solutions need to be found within a given time budget.
  • Structured Reachability for Structured Abstraction: The output of REACHABLEK (structured descriptions of reachable states) is directly compatible with existing structured abstraction algorithms for MDPs, creating a synergistic approach to solving complex DTP problems.

Key Results

  • Significant MDP Size Reduction: Empirical results on a manufacturing domain show substantial reductions in the size of the "effective MDP" (the reduced MDP after reachability analysis) compared to using abstraction alone. For instance, at one initial state (s4), using REACHABLE3 reduced the effective MDP size by a factor of roughly 5000 compared to REACHABLE2.
  • Scalability with K: As the complexity parameter K increases (from 1 to 3), the estimated reachable MDP size decreases, indicating a more complete reachability analysis.
  • Computational Cost: The time required for REACHABLEK increases significantly with K and the complexity of the reachable MDP. REACHABLE3, for example, took up to 2 hours for some problems.
  • Soundness Demonstrated: The algorithm is theoretically guaranteed to be sound, meaning it never incorrectly prunes reachable states.

Limitations and Future Work

  • Computational Cost of High K: While increasing K improves completeness, it leads to a dramatic increase in computation time, making REACHABLEN (full completeness) computationally infeasible for most practical problems.
  • Handling Correlated Effects: The current implementation uses compound variables to handle correlated action effects, which can lead to an exponential blow-up in variable domain sizes. The authors are exploring a version that deals directly with correlations in the graph construction phase.
  • Approximate Reachability: The paper mentions exploring approximate reachability analysis, focusing on the most probable or impactful reachable states, which could offer a better balance between computation and accuracy.
  • Application to Classical Planning: Extending these ideas to classical planning settings, as generalizations of GRAPHPLAN, is suggested.
  • Anytime Algorithms: The flexibility of the k-ary constraint approach and the possibility of incomplete search suggest potential for anytime algorithms that can provide increasingly refined reachability estimates as time permits.
  • Ergodic MDPs: The authors acknowledge that reachability analysis might not play a substantial role in all MDPs, particularly ergodic ones where most states are eventually reachable.

Summary updated

BibTeX
@inproceedings{boutilier1998structured,
  author = {Craig Boutilier and Ronen I. Brafman and Christopher W. Geib},
  title = {{Structured Reachability Analysis for Markov Decision Processes}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {1998},
  url = {https://openreview.net/forum?id=9I_ix8lX30},
}
Figure