Abstract
Automated planning in stochastic environments often requires balancing multiple, sometimes conflicting, temporal goals. This paper presents P4, a framework for preference planning in Markov Decision Processes (MDPs). P4 utilizes a probabilistic preference logic to express ranked temporal constraints and employs a solver, P4Solver, that reduces the planning problem to a series of quadratic programming tasks handled by the Z3 SMT solver. Experimental results on benchmark domains demonstrate the framework's ability to handle complex spatial-temporal constraints and provide optimal policies based on a hierarchy of preferences.
Introduction
In automated planning, the journey often matters as much as the destination. While classical planning often assumes a deterministic world, real-world systems are inherently stochastic. Markov Decision Processes (MDPs) are the standard model for this uncertainty, but traditional solvers typically focus on maximizing a simple numerical reward. This approach often fails to capture complex human desires, such as "eventually pick up all boxes, but prefer picking up box A before box B." This paper addresses the gap in temporal preference planning for probabilistic systems.
Methodology
The authors bridge the gap between stochastic modeling and complex preferences using three key innovations:
- Probabilistic Preference Logic: An extension of Linear Temporal Logic (LTL) that includes probability intervals, allowing users to define goals like $P_{\geq 0.95}(F(goal))$ alongside a hierarchy of preferences.
- Formula Progression: To manage the "state explosion" problem, the solver updates the logic formula "on the fly" as the agent moves, reflecting what has occurred and what remains to be achieved.
- Reduction to SMT: The P4Solver translates the MDP and logical preferences into a set of quadratic equations representing transition probabilities. These are solved using Z3, a powerful Satisfiability Modulo Theories (SMT) solver, to find a policy satisfying the highest-ranked preference possible.
Experimental Setup
The researchers evaluated P4Solver on two primary case studies. The first is the Rail Robot, a custom benchmark where a robot moves along a ring rail to sort boxes. Movement is stochastic; for instance, a "long jump" might land the robot across a range of spaces with varying probabilities. This domain tests the solver's ability to handle complex spatial and temporal constraints under uncertainty.
The second domain is the Dinner Domain, an adaptation of a standard AI planning benchmark used to compare performance across non-probabilistic and probabilistic versions of the same problem.
Results and Discussion
The P4Solver successfully identified optimal policies for both domains. In the Rail Robot task, the solver handled models with over 4,000 nodes and 4,600 variables, with solving times ranging from a fraction of a second to approximately 10 seconds for the most complex configurations.
A key advantage of the SMT-based approach is the ability to definitively prove when a preference is impossible to satisfy. This allows the planner to systematically "fall back" to the next best preference in the hierarchy. Furthermore, the on-the-fly construction of equations ensures efficiency even as the state space grows.
Conclusion
While P4 provides a robust framework for preference planning, challenges remain regarding the double-exponential time complexity relative to logic formula size. Future work will focus on scaling the approach to industrial-sized MDPs with millions of states and exploring infinite-horizon problems without relying on fixed step bounds.
Summary updated