Complexity of Nested Circumscription and Nested Abnormality Theories

Marco Cadoli, Thomas Eiter, Georg GottlobarXiv 2002

Abstract

This research provides a rigorous computational map for formalisms that allow "nested" logic in nonmonotonic reasoning. By examining Nested Abnormality Theories (NATs) and the broader language $L_{CIRC}$, the study demonstrates that while nesting allows for elegant, modular AI knowledge bases, it significantly increases computational complexity. General reasoning in these frameworks is shown to be PSPACE-complete, though specific "Horn" fragments remain efficiently solvable, providing a path for practical implementation in logic programming.

Introduction

In classical logic, the addition of new information never invalidates previous conclusions—a property known as monotonicity. However, human "common-sense" reasoning is often nonmonotonic; we frequently make assumptions that are retracted in the face of new evidence (e.g., assuming a bird flies until learning it is a penguin). Circumscription was developed to formalize this by minimizing "abnormalities."

Standard circumscription is typically "flat," applying a single layer of minimization. In 1995, Vladimir Lifschitz introduced Nested Abnormality Theories (NATs) to allow for modularity and hierarchy, enabling researchers to nest these abnormality rules within one another. While NATs became popular for describing complex actions and narratives, their computational cost remained a mystery. This paper addresses the fundamental question: How much harder does reasoning become when we start nesting these theories?

Methodology

The authors approach the problem through the lens of computational complexity theory, employing several key strategies:

  1. Defining $L_{CIRC}$: They propose a new, more general language that allows for propositional combinations (AND, OR, NOT) of circumscriptive theories, providing a broader framework for analysis.
  2. Logical Embedding: The researchers demonstrate that NATs can be mathematically mapped into $L_{CIRC}$, proving that they share the same expressive power and complexity bounds.
  3. Complexity Reductions: To establish upper and lower bounds, the authors use reductions to Quantified Boolean Formulas (QBFs). Nesting in logic mirrors the alternating quantifiers ($\forall, \exists$) found in QBFs, making this a natural fit for proving PSPACE-completeness.
  4. Syntactic Analysis: They isolate "Horn NATs"—theories restricted to Horn clauses (rules with at most one positive literal)—to determine if specific structural constraints can mitigate the complexity of nesting.

Key Insights and Complexity Results

Nesting as the Complexity Engine

The study reveals that the primary source of complexity is not the boolean combinations of theories, but the depth of the nesting itself. Each additional layer of nesting essentially climbs one rung higher on the Polynomial Hierarchy. If the nesting depth is unlimited, the problem becomes PSPACE-complete, placing general nested circumscription in the same complexity class as complex planning problems or games like Sokoban.

The "Horn" Fragment and Tractability

A significant discovery is the identification of a tractable boundary. The researchers found that if a theory is restricted to Horn clauses and avoids "fixed letters" (variables that are not permitted to change during minimization), the nesting can be "flattened" in linear time.

  • Horn NATs (No Fixed Letters): Both model checking and inference can be performed in polynomial time, a vital result for the logic programming community.
  • Horn NATs (With Fixed Letters): Model checking remains polynomial, but inference becomes coNP-complete.

Succinctness vs. Efficiency

Nesting allows researchers to write very compact (succinct) descriptions of a world. However, this succinctness is a double-edged sword. The paper demonstrates that the more the logic is compressed through nesting, the harder the computational task of "unpacking" the consequences becomes. For a fixed nesting depth $k$, the complexity is complete for the $\Pi^P_{k+1}$ level of the Polynomial Hierarchy.

Discussion and Future Work

While the paper establishes the theoretical boundaries of nested circumscription, it also highlights several areas for further exploration. Most results focus on propositional logic; in the first-order case, the logic becomes highly undecidable without strict constraints like domain closure.

Furthermore, while the paper suggests that QBF solvers could theoretically handle these theories, it does not implement or benchmark such a system. Future work could also explore knowledge compilation—the process of pre-processing a nested theory into a simpler "flat" version to speed up real-time reasoning—though the authors suspect this might lead to an exponential explosion in the size of the formula. Ultimately, this research provides the necessary theoretical foundation for building more modular and expressive nonmonotonic reasoning systems while remaining mindful of the inherent computational trade-offs.

Summary updated

BibTeX
@misc{cadoli2002complexity,
  author = {Marco Cadoli and Thomas Eiter and Georg Gottlob},
  title = {{Complexity of Nested Circumscription and Nested Abnormality Theories}},
  year = {2002},
  eprint = {cs/0207072},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/cs/0207072},
}
Figure