A logic programming approach to knowledge-state planning: Semantics and complexity

Thomas Eiter, Wolfgang Faber, Nicola Leone, Gerald Pfeifer, Axel Polleres

TL;DR

This paper introduces "K," a novel logic programming-based language for AI planning that explicitly models transitions between states of knowledge rather than just states of the world. This allows for more natural and efficient planning under uncertainty and incomplete information, a common challenge in real-world AI systems.

What Problem Does This Paper Address?

Traditional AI planning systems often assume complete knowledge of the environment. However, in many real-world scenarios, agents operate with incomplete information – they might not know the exact state of every relevant aspect of their environment. This uncertainty makes it difficult to plan effectively, as an action that seems optimal based on incomplete knowledge might lead to failure if the true state of the world is different. The paper addresses this by proposing a planning framework that can reason about and plan with this uncertainty, focusing on transitions between "knowledge states" where fluents (properties of the world) can be true, false, or unknown.

Methods

The core contribution is the introduction of language K, a declarative planning language built on logic programming principles. Key features include:

  • Knowledge States: K models transitions between states of knowledge, allowing fluents to have an "unknown" value, which is crucial for planning under uncertainty.
  • Default Negation: K leverages nonmonotonic (default) negation, similar to logic programming, to naturally represent default assumptions and incomplete information.
  • Flexibility: K can represent both knowledge-state transitions and, as a special case, world-state transitions (complete knowledge).
  • Declarative Semantics: The paper provides a formal, model-theoretic semantics for K.
  • Complexity Analysis: A thorough analysis of the computational complexity of planning problems in K is presented, considering optimistic and secure planning under various restrictions.

Datasets

Not discussed in the paper. The paper focuses on formal language design and theoretical analysis, using well-known planning problems (like the Blocks World and Bomb in Toilet) as examples for encoding and illustration.

Key Insights and Ideas

  • Knowledge States are Powerful: Explicitly modeling "unknown" states for fluents leads to more natural and compact problem representations compared to traditional world-state planning, especially when dealing with incomplete information.
  • Default Negation is Key: The ability to use default negation in K simplifies reasoning about defaults and incomplete knowledge, making it more intuitive for certain types of problems.
  • Secure Planning is Hard: The paper highlights that secure planning (ensuring a goal is met regardless of uncertainty) is computationally more demanding than optimistic planning (finding a plan that works if everything goes as expected). This complexity difference is significant and has implications for system design.
  • Encoding Matters: The choice of representation (knowledge states vs. world states) can significantly impact the perceived complexity and efficiency of solving a planning problem, even for problems that are inherently simple.

Key Results

  • Language K: A novel declarative planning language K is formally defined, supporting knowledge-state planning with default negation.
  • Complexity Bounds: The paper provides a detailed complexity analysis for various planning problems in K. For propositional cases:
  • Optimistic Planning: NP-complete (fixed plan length), PSPACE-complete (arbitrary plan length).
  • Secure Planning: $\Sigma_2^P$-complete (fixed plan length), NEXPTIME-complete (arbitrary plan length).
  • Theoretical Basis for DLVK: The results form the theoretical foundation for the DLVK system, which implements K on top of the DLV logic programming system.
  • Experimental Validation (Mentioned): While not detailed in this theoretical paper, the companion paper [12] reports that knowledge-state encodings in K often outperform world-state encodings in practice.

Limitations and Future Work

  • Complexity of Secure Planning: Secure planning, especially with arbitrary plan lengths, is shown to be computationally very expensive (NEXPTIME-complete). This suggests that for practical applications, restrictions or heuristics might be necessary.
  • Automated Relevance Determination: The paper notes that determining which fluents are relevant for a given goal is challenging and would require sophisticated analysis. Developing automated support for this is an interesting research topic.
  • Optimal Planning: The paper briefly mentions exploring optimal plans (minimizing execution cost) as a future direction.
  • Sensing Operators: Extensions to the language, such as sensing operators, are part of future work.
  • Implementation: While the DLVK system is mentioned, further work on efficient algorithms for secure planning is ongoing.

Summary updated

BibTeX
@article{eiter2004logic,
  author = {Thomas Eiter and Wolfgang Faber and Nicola Leone and Gerald Pfeifer and Axel Polleres},
  title = {{A logic programming approach to knowledge-state planning: Semantics and complexity}},
  journal = {ACM Trans. Comput. Log.},
  year = {2004},
  url = {https://openreview.net/forum?id=uiUMnDeHUTP},
}
Figure