Planning with Incomplete Information in Quantified Answer Set Programming

Jorge Fandinno, François Laferrière, Javier Romero, Torsten Schaub, Tran Cao Son

Abstract: We present a general approach to planning with incomplete information in Answer Set Programming (ASP). More precisely, we consider the problems of conformant and conditional planning with sensing actions and assumptions. We represent planning problems using a simple formalism where logic programs describe the transition function between states, the initial states and the goal states. For solving planning problems, we use Quantified Answer Set Programming (QASP), an extension of ASP with existential and universal quantifiers over atoms that is analogous to Quantified Boolean Formulas (QBFs). We define the language of quantified logic programs and use it to represent the solutions to different variants of conformant and conditional planning. On the practical side, we present a translation-based QASP solver that converts quantified logic programs into QBFs and then executes a QBF solver, and we evaluate experimentally the approach on conformant and conditional planning benchmarks.

Introduction

In classical AI planning, agents typically operate under the assumption of perfect information: the initial state is known, and the effects of actions are deterministic and fully observable. However, real-world environments are rarely so predictable. Agents often face incomplete information, requiring strategies that can handle uncertainty.

This research addresses three specific planning challenges:

  1. Conformant Planning: Finding a single sequence of actions that achieves the goal regardless of which possible initial state is the true one.
  2. Conditional Planning: Generating a plan that includes sensing actions, allowing the agent to branch its strategy based on observations made during execution.
  3. Assumption-based Planning: Formulating plans based on "best guesses" about the environment, which remain valid as long as those assumptions hold.

While standard Answer Set Programming (ASP) is a powerful tool for solving NP-complete problems, it lacks the expressiveness required for conditional planning, which is PSPACE-complete. This paper introduces Quantified Answer Set Programming (QASP) to bridge this gap, providing a uniform and exact framework for planning under uncertainty.

Quantified Answer Set Programming (QASP)

The core innovation of this work is the extension of standard ASP with existential ($\exists$) and universal ($\forall$) quantifiers over atoms. Much like Quantified Boolean Formulas (QBF) extend propositional logic, QASP allows for the expression of complex queries over the set of stable models of a logic program.

In this framework, a planning problem is viewed as a query: "Does there exist ($\exists$) a sequence of actions such that for all ($\forall$) possible initial states, the goal is reached?" By separating the domain logic (the transition functions and state descriptions) from the quantification prefix, the researchers created a system where the same model can solve different types of planning problems simply by altering the header.

The qasp2qbf Solver

To make QASP practically applicable, the authors developed qasp2qbf, a translation-based solver. Since QBF solvers are highly optimized, the tool converts QASP programs into QBFs by leveraging standard ASP tools such as lp2normal and lp2sat.

A significant technical hurdle in this translation is that universal quantification can inadvertently include "irrelevant" states—such as those that violate initial assumptions—rendering the entire program unsatisfiable. To solve this, the authors introduced the "Alpha" atom mechanism. This technique "deactivates" irrelevant branches of the search tree, ensuring the solver focuses exclusively on valid scenarios and maintains the integrity of the planning logic.

Experimental Evaluation

The effectiveness of the QASP approach was evaluated using several classic and modified planning benchmarks, including variants of the "Bomb in the Toilet" domain, Domino, and Ring.

The Ringu Challenge

A key highlight of the evaluation was the Ringu domain, a more difficult version of the Ring domain where the robot's starting position is unknown. The researchers compared their results against CPasp, a well-known ASP-based planner that utilizes approximations to maintain lower computational complexity. While CPasp failed to find plans in the Ringu domain due to the "width" of the uncertainty, the QASP approach successfully found exact solutions by embracing the full PSPACE complexity of the problem.

Solver Sensitivity and Performance

The performance of the system was found to be highly sensitive to the underlying QBF solver and preprocessor. For example, using the qratpre+ preprocessor significantly reduced timeouts in conformant planning benchmarks. In conditional planning scenarios, the QASP approach was particularly effective, outperforming baseline ASP-based planners in finding optimal plans for sensing-enabled problems.

Conclusion and Future Work

QASP provides a robust, uniform framework for addressing planning with incomplete information. By moving beyond approximations and utilizing the power of QBF solvers, it offers an exact method for solving PSPACE-complete planning problems.

Currently, the solver is optimized for existence proofs; in conditional planning, it returns the first action of a plan tree rather than the full decision tree. Future work aims to develop "native" QASP solvers that can bypass the translation to QBF, potentially offering significant speedups and more comprehensive plan outputs. As QBF technology continues to mature, the QASP framework is positioned to become an increasingly vital tool for complex automated reasoning.

Summary updated

Abstract

We present a general approach to planning with incomplete information in Answer Set Programming (ASP). More precisely, we consider the problems of conformant and conditional planning with sensing actions and assumptions. We represent planning problems using a simple formalism where logic programs describe the transition function between states, the initial states and the goal states. For solving planning problems, we use Quantified Answer Set Programming (QASP), an extension of ASP with existential and universal quantifiers over atoms that is analogous to Quantified Boolean Formulas (QBFs). We define the language of quantified logic programs and use it to represent the solutions to different variants of conformant and conditional planning. On the practical side, we present a translation-based QASP solver that converts quantified logic programs into QBFs and then executes a QBF solver, and we evaluate experimentally the approach on conformant and conditional planning benchmarks. Under consideration for acceptance in TPLP.
BibTeX
@inproceedings{fandinno2021planning,
  author = {Jorge Fandinno and François Laferrière and Javier Romero and Torsten Schaub and Tran Cao Son},
  title = {{Planning with Incomplete Information in Quantified Answer Set Programming}},
  booktitle = {Theory Pract. Log. Program},
  year = {2021},
  url = {https://openreview.net/forum?id=E8ZZN0LmTxn},
}
Figure