Answer Set Planning: A Survey

Tran Cao Son, Enrico Pontelli, Marcello Balduccini, Torsten Schaub

TL;DR

This survey provides a comprehensive look at "Answer Set Planning," an approach that uses Answer Set Programming (ASP) to solve complex automated planning problems. It highlights how ASP’s declarative nature allows for incredibly compact planners that can handle uncertainty, user preferences, and multi-agent coordination more elegantly than traditional imperative programming.

What Problem Does This Paper Address?

Automated planning—finding a sequence of actions to transform the world from an initial state to a goal—is a cornerstone of AI. However, traditional planners often struggle with "elaboration tolerance": the ability to easily incorporate new types of knowledge (like "don't go through Los Angeles during rush hour") without rewriting the entire system.

Furthermore, many real-world scenarios involve incomplete information (you don't know if a door is locked until you try it) or complex constraints that are difficult to model in standard planning languages like PDDL. This paper surveys how the logic-based paradigm of Answer Set Programming (ASP) has evolved over two and a half decades to address these challenges through a declarative, rule-based approach.

Methods

The paper outlines the evolution of ASP-based planning through several key technical frameworks:

  • Action Languages: Specifically Language $\mathcal{B}$, which provides a formal way to describe fluents (properties that change), actions, and causal laws (both dynamic and static).
  • Encodings: It compares "Direct Encodings" (where rules directly model state transitions) with "Meta-Encodings" (where the planning problem is treated as a set of facts processed by a domain-independent engine).
  • Conformant and Conditional Planning: The authors describe techniques for planning under uncertainty. This includes "conformant planning" (finding a plan that works regardless of unknown initial conditions) and "conditional planning" (plans with if-then-else structures based on sensing actions).
  • Heuristic Integration: A major advancement discussed is the ability to inject domain-specific heuristics directly into the ASP solver (e.g., using clingo’s #heuristic directive) to guide the search process without losing the benefits of a general-purpose solver.
  • Hybrid Systems: The paper explores the integration of ASP with Constraint Logic Programming (CLP) to handle large-scale numerical domains, such as scheduling and resource management.

Datasets

As a survey paper, it does not introduce a new dataset. Instead, it references and discusses performance on established benchmarks from the International Planning Competition (IPC) and the International Conference on Automated Planning and Scheduling (ICAPS). Notable examples discussed include:

  • The "Suitcase with Latches" domain (for static causal laws).
  • The "Bomb-In-The-Toilet" domain (a classic benchmark for conformant planning).
  • Multi-Agent Path Finding (MAPF) benchmarks.

Key Insights and Ideas

  • The Power of Brevity: One of the most striking insights is that a basic classical planner in ASP requires only about 10 rules, whereas a traditional implementation in an imperative language like C++ or Java might require thousands of lines of code.
  • Diagnosis as Planning: The paper highlights a beautiful symmetry: diagnostic reasoning (figuring out why a system failed) can be modeled as a planning problem where the "actions" are external faults or exogenous events.
  • Approximation Semantics: To deal with the high computational complexity of planning with incomplete information (which is PSPACE-complete), ASP researchers developed "approximation semantics." This reduces the problem to NP-complete, making it practically solvable for many real-world instances.
  • Simultaneous Knowledge Exploitation: ASP is uniquely capable of simultaneously exploiting three types of domain knowledge: temporal, hierarchical, and procedural.

Key Results

  • Performance: Experimental evaluations show that ASP-based planners are highly competitive with state-of-the-art specialized planners, particularly in domains involving complex constraints or static causal laws.
  • Speedups: The introduction of domain-specific heuristics into solvers like clingo has resulted in speedups of up to two orders of magnitude on satisfiable planning problems.
  • Real-World Impact: The survey cites successful applications in high-stakes environments, including decision support for the Space Shuttle, industrial printing scheduling, and routing for the Swiss Railway.

Limitations and Future Work

Despite its successes, the authors acknowledge several hurdles:

  • The Grounding Bottleneck: ASP typically requires "grounding" (turning variables into all possible constant combinations) before solving. In very large domains, this can lead to a memory explosion.
  • Numeric Constraints: While hybrid systems exist, handling continuous time and complex non-linear math remains more difficult in ASP than in specialized SMT (Satisfiability Modulo Theories) solvers.
  • Probabilistic Planning: Modeling Markov Decision Processes (MDPs) in ASP is still a nascent area compared to other frameworks.
  • Explainable AI (XAIP): A promising future direction is leveraging ASP’s logical foundations to provide "explanations" for why a specific plan was chosen or why a goal is unreachable, which is critical for human-robot collaboration.

Summary updated

BibTeX
@inproceedings{son2023answer,
  author = {Tran Cao Son and Enrico Pontelli and Marcello Balduccini and Torsten Schaub},
  title = {{Answer Set Planning: A Survey}},
  booktitle = {Theory Pract. Log. Program},
  year = {2023},
  url = {https://openreview.net/forum?id=aiBDum3jJnt},
}
Figure