Symbolic Dynamic Programming for Discrete and Continuous State MDPs

Scott Sanner, Karina Valdivia Delgado, Leliane Nunes de Barros · OpenReview

TL;DR

This paper introduces Symbolic Dynamic Programming (SDP) with an extended data structure called XADDs to solve complex Markov Decision Processes (MDPs) that involve both discrete and continuous state variables. This novel approach enables exact solutions for problems previously intractable due to their non-rectangular and nonlinear value functions, demonstrating significant advancements in decision-theoretic planning.

What Problem Does This Paper Address?

Many real-world problems, like resource management for a Mars rover, can be naturally modeled as Markov Decision Processes (MDPs) with both discrete (e.g., boolean flags) and continuous (e.g., battery level, time) state variables. However, existing methods for solving these "DC-MDPs" are limited to problems with simple, hyper-rectangular piecewise linear value functions. This severely restricts their applicability to more complex scenarios where optimal policies might have non-rectangular or even nonlinear value functions, such as the classic KNAPSACK problem or realistic rover planning. The core challenge is finding a way to represent and manipulate these complex value functions to compute optimal policies exactly.

Methods

The paper proposes extending Symbolic Dynamic Programming (SDP), a technique for solving MDPs with first-order logic representations, to handle DC-MDPs. The key innovations are:

  • Conditional Stochastic Equations (CSEs): A new way to represent transition functions for continuous variables, allowing for arbitrary functions and conditional logic, which is more expressive than previous methods.
  • Extended Algebraic Decision Diagrams (XADDs): An extension of Algebraic Decision Diagrams (ADDs) that can represent arbitrary piecewise functions, not just polynomials. Crucially, XADD decision nodes can involve inequalities, equalities, and disequalities, and leaf nodes can represent arbitrary functions. This allows for compact representation of complex value functions.
  • SDP with XADDs: The paper outlines a four-step SDP algorithm that leverages XADDs for value iteration. This involves symbolic manipulation of case statements and XADDs, including operations like substitution, integration (which becomes a substitution in this framework), discrete marginalization, and maximization.
  • Constraint-Based Pruning: For linear XADDs, they incorporate a technique using linear programming solvers to prune infeasible paths within the XADD, significantly reducing its size and improving efficiency.

Datasets

The paper evaluates their approach on three domains:

  • KNAPSACK: A classic combinatorial optimization problem used as a motivating example for non-rectangular value functions.
  • MARS ROVER LINEAR: A simplified version of the Mars rover problem with piecewise linear reward and transition functions.
  • MARS ROVER NONLINEAR: A more complex version with nonlinear reward and transition functions, representing more realistic scenarios.

These are not standard datasets but rather benchmark problems designed to test the capabilities of their proposed methods.

Key Insights and Ideas

  • The Power of Representation: The core insight is that the choice of data structure for representing value functions is critical. XADDs, with their ability to handle arbitrary piecewise functions and non-rectangular decision boundaries, unlock the ability to solve a much broader class of DC-MDPs.
  • Integration as Substitution: A clever mathematical insight is that the continuous integration step in value iteration, when dealing with Dirac delta functions in the transition model, simplifies to a symbolic substitution operation on the value function. This is a key enabler for exact symbolic computation.
  • Non-Rectangularity is the Norm: The paper demonstrates that even simple problems like KNAPSACK naturally lead to non-rectangular value functions, highlighting the limitations of prior work that assumed rectangularity.
  • Pruning is Essential for Scalability: While the SDP approach with XADDs can theoretically solve these problems, practical efficiency relies heavily on techniques like constraint-based pruning to manage the complexity of the XADDs.

Key Results

  • The paper presents the first exact analytical solutions for DC-MDPs with general linear and nonlinear piecewise value functions, including problems like KNAPSACK and realistic Mars rover scenarios.
  • Experiments show that the nonlinear variant of the Mars Rover problem is significantly harder for their SDP approach than the linear variant, largely due to the effectiveness of pruning in the linear case.
  • For the linear Mars Rover domain, they demonstrate that pruning XADDs leads to substantial reductions in both space (number of nodes) and time compared to the unpruned version.
  • The results indicate that space and time complexity can grow super-linearly with the number of pictures (problem size) in the Mars Rover domains, suggesting that while exact solutions are now possible, scalability remains a challenge for very large problems.
  • For the linear variant, time and space appear to grow linearly with the horizon length when pruning is applied.

Limitations and Future Work

  • Expressiveness of Transition Functions: The paper notes that while their CSE representation is more general, exploring further generalizations of transition functions that still permit closed-form exact solutions is an avenue for future research.
  • Scalability: While XADDs offer compact representations, the super-linear growth in complexity with problem size is a significant limitation for very large-scale problems.
  • Heuristic Search Integration: The authors suggest that heuristic search approaches like HAO* could be extended to leverage their SDP framework, potentially improving scalability.
  • Approximation Techniques: While the focus is on exact solutions, they acknowledge that approximation methods are promising and that their work on more expressive representations might inform better approximation techniques.
  • Generalizing Pruning: The current pruning technique is primarily effective for linear XADDs; extending it to handle more general nonlinear XADDs would be beneficial.

Summary updated

BibTeX
@misc{sanner2011symbolic,
  author = {Scott Sanner and Karina Valdivia Delgado and Leliane Nunes de Barros},
  title = {{Symbolic Dynamic Programming for Discrete and Continuous State MDPs}},
  year = {2011},
  eprint = {1202.3762},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1202.3762},
}
Figure