This paper, titled "Planning with Incomplete Information in Quantified Answer Set Programming," was published in Theory and Practice of Logic Programming in 2021. It introduces a powerful extension to Answer Set Programming (ASP) designed to tackle complex planning scenarios that involve uncertainty and sensing.
TL;DR
The authors introduce Quantified Answer Set Programming (QASP), which extends standard ASP with existential and universal quantifiers to reach PSPACE expressiveness. This allows for a uniform framework to solve conformant and conditional planning problems by translating them into Quantified Boolean Formulas (QBF), outperforming specialized incomplete planners on several benchmarks.
What Problem Does This Paper Address?
In classical AI planning, we usually assume the robot has a perfect map and knows exactly what state it is in. However, real-world scenarios involve incomplete information:
- Conformant Planning: The robot doesn't know the initial state (e.g., "Is the room already clean?") but must find a single sequence of actions that works regardless of the starting conditions.
- Conditional Planning: The robot can perform "sensing actions" (e.g., "Check if the room is occupied") and branch its plan based on the result.
- Assumption-based Planning: The robot makes "best guesses" about the world to find a plan that works if those guesses hold true.
While standard ASP is excellent for NP-complete problems, it lacks the expressiveness to handle conditional planning, which is PSPACE-complete. Previous ASP-based approaches often relied on approximations that could fail to find valid plans. This paper seeks a general, exact, and uniform way to represent and solve these diverse planning paradigms.
Methods
The researchers propose a two-pronged approach: a new language and a new solver.
- Quantified Answer Set Programming (QASP): This is the core innovation. Much like Quantified Boolean Formulas (QBF) extend propositional logic, QASP adds $\exists$ (there exists) and $\forall$ (for all) quantifiers over atoms in an ASP program. This allows a programmer to say, for example, "Does there exist a plan such that for all possible initial states, the goal is reached?"
- Uniform Planning Framework: They show that the logic of the world (how actions change states) can stay the same across different planning types. Only the "prefix" (the sequence of quantifiers) changes to switch from classical to conformant or conditional planning.
- The
qasp2qbfSolver: Since QBF solvers are highly optimized, the authors built a tool that translates QASP programs into QBF. It uses standard ASP tools (lp2normal,lp2sat) to convert the logic program into a format QBF solvers (like CAQE or DepQBF) can digest. - The "Alpha" Atom Trick: A technical challenge in QASP is that universal quantification can pick "irrelevant" states (like those that violate initial assumptions), making the whole program unsatisfiable. The authors introduced a clever "alpha" atom mechanism to "deactivate" these irrelevant branches, ensuring the solver focuses only on valid scenarios.
Datasets
The authors evaluated their system on several classic and modified planning benchmarks:
- Conformant Domains: Six variants of "Bomb in the Toilet" (a classic, if oddly named, uncertainty benchmark), Domino, and Ring. They introduced Ringu, a harder version of the Ring domain where the robot's starting position is unknown.
- Conditional Domains: Sensing-enabled versions of "Bomb in the Toilet," Medical Problem, Ring, and Sick.
- Comparison: They compared their results against CPasp, a well-known ASP-based planner that uses approximations.
Key Insights and Ideas
- Quantification as a Query: Instead of viewing a logic program as just a way to find a model, QASP treats the program as a set of possible worlds and the quantifiers as a high-level query over those worlds.
- Uniformity is Power: By separating the domain logic (transition functions) from the planning type (quantification), they created a framework where a single model can solve multiple types of problems just by changing the header.
- Exactness over Approximation: Unlike previous planners that used "approximations" to stay within NP complexity, QASP embraces PSPACE complexity to provide exact solutions, allowing it to solve problems (like Ringu) that other planners simply cannot.
Key Results
- Competitive Performance: The
qasp2qbfsolver (specifically when paired with the CAQE solver) was competitive with specialized planners and often faster on complex conformant problems. - Solving the "Unsolvable": In the Ringu domain, the approximation-based
CPaspfailed to find any plans because the problem was too "wide" for its internal logic. QASP solved it successfully. - Solver Sensitivity: The choice of the underlying QBF solver and preprocessor (like
bloqqer) was critical. For instance, using theqratpre+preprocessor reduced timeouts in conformant planning from 18 down to 6. - Conditional Success: In conditional planning, the QASP approach was particularly effective for the "Bomb in the Toilet" variants, significantly outperforming the ASP-based baseline in finding optimal plans.
Limitations and Future Work
- Plan Output: Currently, for conditional planning, the solver only returns the first action of the plan tree. While this proves a plan exists, it doesn't yet output the full decision tree for the robot to follow.
- Translation Overhead: The current system relies on a multi-step translation to QBF. A "native" QASP solver that understands ASP structures directly might be significantly faster.
- Scaling: While it handles PSPACE, very large state spaces still pose a challenge for current QBF solvers. The authors suggest that as QBF technology improves, QASP will naturally become more powerful.
Summary updated