TL;DR
This paper introduces $\mathcal{PP}$, a powerful declarative language for specifying complex user preferences in AI planning. By integrating these preferences into the Answer Set Programming (ASP) framework, the authors provide a way to not just find any plan that reaches a goal, but to identify the "most preferred" plan based on multi-dimensional criteria like cost, time, and comfort.
What Problem Does This Paper Address?
In classical AI planning, the objective is binary: find a sequence of actions that transforms an initial state into a goal state. However, in real-world scenarios—like booking a trip—there are often thousands of valid plans. Some are fast but expensive; others are cheap but exhausting.
The challenge is that these "soft constraints" (preferences) are distinct from "hard constraints" (the goal). If you hard-code a preference (e.g., "I must take a taxi") into the goal, the planner will fail if no taxi is available, even if a bus was a perfectly valid alternative. This paper addresses the need for a high-level, formal way to express these nuances so that a planner can prioritize better solutions without sacrificing the ability to find a solution at all.
Methods
The authors propose a hierarchical language called $\mathcal{PP}$ and a methodology to implement it using Logic Programming.
- The $\mathcal{PP}$ Language Hierarchy:
- Basic Desires: These use temporal logic operators (like
always,eventually,until, andnext) to describe properties of a plan's trajectory. For example, "Eventually buy coffee" or "Always avoid driving." - Atomic Preferences: These rank basic desires in a simple priority list (e.g., "I prefer walking over driving, and driving over taking the bus").
- Basic Desires: These use temporal logic operators (like
- General Preferences: These allow for complex, multi-dimensional combinations using operators like
&(must satisfy both),|(satisfy at least one), and!(reverse the preference). - Answer Set Programming (ASP) Implementation:
- The planning domain (actions and fluents) is translated into a logic program.
- The $\mathcal{PP}$ formulas are translated into additional logic rules that "check" if a trajectory satisfies a preference.
- Admissible Weight Functions:
- To find the best plan, the authors develop a mathematical way to assign numerical weights to plans based on their preferences. They prove that a plan with the "maximal weight" in the logic program is guaranteed to be a "most preferred" trajectory.
Datasets
The paper does not use large-scale external datasets. Instead, it utilizes several illustrative benchmarks common in the planning community:
- The Travel Domain: A custom domain where an agent must move between locations (home, school, airport) using various methods (walk, drive, taxi, bus) with conflicting preferences regarding cost and time.
- Monkey-and-Banana: A classic AI problem used to demonstrate how $\mathcal{PP}$ can simulate other preference frameworks (like those proposed by Delgrande et al.).
Key Insights and Ideas
- Qualitative to Quantitative Mapping: One of the "aha moments" is the proof that complex, qualitative preferences (which are easier for humans to write) can be systematically mapped to quantitative weights for a computer to optimize.
- Trajectory-Based vs. State-Based: The authors emphasize that preferences aren't just about the final state (being at the airport), but about the journey (how you got there). Using temporal operators allows the language to capture the "flow" of a plan.
- Soft Constraint Flexibility: The system is designed so that if a high-priority preference cannot be met, the planner doesn't crash; it simply moves down the priority list to find the next best available option.
Key Results
- Formal Semantics: The paper provides a rigorous mathematical definition for what it means for one plan to be "preferred" over another across all levels of the $\mathcal{PP}$ language.
- Soundness of Implementation: The authors prove that their ASP encoding is sound—meaning if the ASP solver finds a plan with the maximum weight, it is indeed one of the most preferred plans according to the user's $\mathcal{PP}$ specification.
- Expressiveness: The authors demonstrate that $\mathcal{PP}$ can represent shortest-path preferences and cheapest-plan preferences more elegantly than previous action-cost-based methods.
Limitations and Future Work
- Computational Complexity: Calculating weights for very deep hierarchies of general preferences can lead to large numbers, which might challenge some ASP solvers.
- Completeness: The current implementation focuses on finding one of the most preferred plans (soundness). The authors express interest in developing systems that can return all equally preferred optimal trajectories.
- Native "Maxim" Support: The authors suggest future work to natively include "maxim" preferences—where the goal is to satisfy the maximum number of desires from a set, rather than following a strict priority list.
- User Interface: While the language is declarative, it still requires logic programming knowledge. The authors suggest future work on tools to help non-experts define these preferences.
Summary updated