Lifted model checking for relational MDPs

Wen-Chi Yang, Jean-François Raskin, Luc De Raedt

TL;DR

This paper introduces pCTL-REBEL, the first "lifted" probabilistic model checker designed for Relational Markov Decision Processes (RMDPs). By reasoning about groups of objects rather than individual states, it bypasses the "state explosion problem," enabling the verification of systems with massive or even infinite domains that traditional tools like PRISM or STORM cannot handle.

What Problem Does This Paper Address?

Probabilistic model checking is a powerful tool for providing rigorous guarantees about stochastic systems (e.g., "What is the maximum probability that this robot crashes within 10 steps?"). However, standard tools operate on propositional models, where every possible configuration of the world is treated as a unique, atomic state.

In relational domains—like a "blocks world" or a logistics network—the number of states grows exponentially with the number of objects. For example, a blocks world with 5 blocks has 501 states, but 10 blocks result in over 58 million. To check these systems, traditional checkers must "ground" the model (enumerate every state), leading to the state explosion problem. This makes verifying complex, real-world planning problems computationally intractable.

Methods

The authors present pCTL-REBEL, which extends the existing REBEL (RElational BELlman) reinforcement learning operator into the realm of formal verification.

The core innovation is lifting. Instead of looking at specific objects (e.g., "Block A is on Block B"), the algorithm reasons about abstract states (e.g., "Some block is on some other block"). Key components include:

  • Relational pCTL: A variant of Probabilistic Computational Tree Logic that allows variables in its formulas, enabling properties to be defined at a high level of abstraction.
  • Logical Regression: A technique that searches backward from a goal to identify all "pre-states" that could reach it in one step, regardless of the specific objects involved.
  • The pCTL Relational Bellman Operator: A modified version of value iteration that computes state probabilities at the relational level.
  • Finite Abstractions for Infinite Domains: The authors prove that for a class of "state-bounded" infinite RMDPs (where the number of objects in any single state is limited, even if the total pool of objects is infinite), model checking is decidable. They use probabilistic bisimulation to show that checking a small, finite abstraction is equivalent to checking the infinite system.

Datasets

The approach was evaluated using two classic benchmarks from the International Probabilistic Planning Competition (IPPC):

  1. Blocks World: A domain focused on stacking and moving blocks.
  2. Box World: A logistics domain involving trucks, cities, and boxes, which includes complex constraints like road maps.

The authors compared pCTL-REBEL against state-of-the-art model checkers PRISM and STORM.

Key Insights and Ideas

  • Symmetry is the Secret Sauce: By exploiting relational symmetries, the algorithm treats all "identical" objects as a single class. This allows it to represent millions of ground states with just a handful of relational rules.
  • Infinite is Possible: One of the most striking "aha moments" is the proof that you can verify properties on a system with an infinite number of objects, provided the states themselves remain bounded in size. This is a major theoretical leap for probabilistic verification.
  • Lifting vs. Symbolic Checking: While symbolic model checkers (using BDDs) also group states, they still rely on a fixed, finite domain. pCTL-REBEL’s lifting is more fundamental, as it operates independently of the domain size.

Key Results

  • Superior Scalability: In the Blocks World, pCTL-REBEL successfully verified systems with 15 blocks (representing roughly $6.6 \times 10^{13}$ ground states). In contrast, PRISM and STORM reached their limits at 8 and 9 blocks, respectively.
  • Runtime Saturation: Interestingly, the runtime for pCTL-REBEL eventually "saturates." Once the domain is large enough to contain all possible relational structures, adding more objects doesn't increase the complexity of the lifted reasoning.
  • Efficiency: For certain bounded reachability tasks, pCTL-REBEL performed in seconds what previous relational techniques took minutes to achieve.

Limitations and Future Work

  • Indefinite Horizons: The current implementation struggles with "indefinite-horizon" properties (properties without a step limit). The runtime explodes because the algorithm performs redundant computations during the probability convergence phase.
  • Relational Complexity: The "lifting" benefit diminishes if the transition function is highly asymmetric. For example, adding a specific, non-symmetric road map to Box World forces the algorithm to distinguish between specific cities, reducing its ability to group objects and leading to runtime explosions.
  • Optimization: The current tool is an unoptimized research prototype written in Prolog. The authors suggest that integrating First-Order Decision Diagrams (FODDs) could further compress abstract states and improve efficiency.
  • Safe RL: A promising future direction is using pCTL-REBEL to provide safety shields for reinforcement learning agents operating in relational environments.

Summary updated

BibTeX
@article{yang2022lifted,
  author = {Wen-Chi Yang and Jean-François Raskin and Luc De Raedt},
  title = {{Lifted model checking for relational MDPs}},
  journal = {Machine Learning},
  year = {2022},
  doi = {10.1007/s10994-021-06102-7},
}
Figure