An Analysis of Approximate Knowledge Compilation

IJCAI 1995

TL;DR

This paper delves into knowledge compilation, a process that transforms complex logical theories into simpler, equivalent ones for efficient reasoning. The authors generalize previous work on "approximate" theories, providing a more robust framework for arbitrary target languages and proving the correctness of a key algorithm, "Generate-LUB," under weaker conditions than previously thought. This work expands the applicability of knowledge compilation to a wider range of AI problems.

What Problem Does This Paper Address?

In artificial intelligence, many problems are represented by large, complex logical theories. While these theories accurately capture the problem's nuances, performing inference (e.g., answering queries) on them can be computationally intractable, often requiring exponential time. Knowledge compilation aims to address this by transforming the original theory into one or more "approximate" theories that are easier to reason with, while still providing accurate answers to a significant portion of queries.

Specifically, this paper focuses on "approximate" theories known as Lower Upper Bounds (LUBs) and Upper Lower Bounds (GLBs). The core challenge is to define and compute these approximations for arbitrary target languages, going beyond the previously studied "Horn" approximations. The authors aim to:

  1. Generalize existing frameworks: Extend the concepts of LUBs and GLBs to arbitrary clausal target languages.
  2. Analyze and prove correctness: Rigorously analyze the "Generate-LUB" algorithm, which is crucial for computing these approximations, and prove its correctness under more general conditions.
  3. Explore computational aspects: Investigate the efficiency and complexity of these compilation methods.

Methods

The paper introduces and analyzes several key concepts and procedures:

  • LUB and GLB Definitions: Formal definitions of Lower Upper Bounds (LUB) and Greatest Lower Bounds (GLB) are provided. A LUB of a theory $\Sigma$ in a target language $L_T$ is the strongest theory in $L_T$ that is entailed by $\Sigma$. A GLB is the weakest theory in $L_T$ that entails $\Sigma$.
  • Characterizations of LUB: Two novel characterizations of the $L_T$-LUB are presented:
  • Completeness for $L_T$ queries: A theory is the $L_T$-LUB of $\Sigma$ if and only if it is equivalent to $\Sigma$ with respect to queries expressible in $L_T$.
  • Prime $L_T$-implicates: For target languages closed under subsumption, the $L_T$-LUB is equivalent to the set of prime implicates of $\Sigma$ that are also in $L_T$.
  • $L_T$-weakening: A new notion, $L_T$-weakening, is introduced to generalize prime implicates for languages not closed under subsumption.
  • Generate-$L_T$-LUB Algorithm: The paper analyzes and proves the correctness of a procedure called "Generate-$L_T$-LUB." This algorithm, originally proposed for Horn approximations, is shown to be correct for any target language closed under subsumption, a weaker condition than previously assumed. A modification is also proposed for languages not closed under subsumption.
  • Complexity Analysis: The paper examines the computational complexity of the Generate-$L_T$-LUB algorithm, highlighting potential exponential space and time requirements.

Datasets

Not discussed in the paper. The paper focuses on theoretical analysis and algorithmic properties rather than empirical evaluation on specific datasets.

Key Insights and Ideas

  • Broader Applicability of LUB: The core insight is that the "Generate-LUB" algorithm is more broadly applicable than previously thought. It works correctly for any target language closed under subsumption, not just Horn clauses. This significantly expands the set of languages that can be used for knowledge compilation.
  • Completeness as a Guiding Principle: The characterization of LUBs in terms of completeness for target language queries offers a new perspective on knowledge compilation. It suggests that the choice of a target language can be driven by the desire for completeness on specific types of queries, even if the original theory is more complex.
  • Prime Implicates and Weakening: The connection between LUBs and prime implicates (and the generalized notion of $L_T$-weakening) provides a deeper theoretical understanding of what constitutes the "best" approximation.
  • Trade-offs in Compilation: The paper highlights that while knowledge compilation can make inference tractable, the process of compilation itself can be computationally expensive (exponential time/space), even if the resulting compiled theory is small or empty.

Key Results

  • General Correctness of Generate-LUB: The paper proves that the Generate-LUB algorithm correctly computes the $L_T$-LUB for any clausal target language $L_T$ closed under subsumption. This is a significant generalization of prior results.
  • Handling Non-Subsumption-Closed Languages: A new algorithm is presented that computes the $L_T$-LUB for arbitrary clausal target languages, preserving the efficiency of avoiding resolutions between clauses within $L_T$.
  • Complexity Concerns: The paper demonstrates that the Generate-LUB algorithm can require exponential space and time, even when the output (the compiled theory) is empty. This suggests that knowledge compilation is not a universally "cheap" preprocessing step.
  • Quality of Horn Approximations: Examples are provided to illustrate that Horn approximations can sometimes be inadequate, failing to answer an exponential number of queries or introducing an exponential number of models compared to the original theory.

Limitations and Future Work

  • Computational Cost: The most significant limitation discussed is the potentially exponential time and space complexity of the Generate-LUB algorithm, even for cases where the output is simple. This suggests that for some problems, compilation might not be feasible.
  • Quality of Approximations: The paper shows that Horn approximations can be poor for certain types of theories (e.g., non-parity theories, CSP encodings). This raises questions about when Horn approximations are truly useful and for what kinds of problems.
  • Future Work: The authors suggest that their results have implications for other knowledge compilation approaches. They also hint at the possibility of further compiling the LUB into a tractable form in a second pass. The analysis of the quality of approximations could be extended to other target languages beyond Horn. The paper also notes that the results can be generalized to first-order logic, though the focus here is on propositional languages.

Summary updated

BibTeX
@inproceedings{1995analysis,
  title = {{An Analysis of Approximate Knowledge Compilation}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1995},
}

Loading related content...

Figure