Tractable Cover Compilations

IJCAI 1997

TL;DR

This paper introduces "tractable covers," a novel approach to compiling complex propositional knowledge bases (KBs) into simpler, equivalent forms. This compilation allows for much faster querying of the KB, offering significant speedups and space savings compared to existing methods, particularly for large and complex KBs.

What Problem Does This Paper Address?

Propositional logic, while powerful, can lead to computationally intractable problems when dealing with large knowledge bases (KBs). Specifically, answering queries (e.g., "Is statement X true given KB Y?") can become prohibitively slow. To overcome this, researchers have developed "compilation" techniques that pre-process the KB into a more manageable form. However, many existing compilation methods either restrict the expressiveness of the original KB (making them unsuitable for many real-world problems) or still result in representations that are too large or slow for practical use. This paper aims to bridge this gap by proposing a new compilation technique that preserves the full expressiveness of the original KB while achieving significant efficiency gains.

Methods

The core innovation is the concept of "tractable covers." Instead of compiling the entire KB into a single, potentially massive, tractable formula, a tractable cover breaks it down into a finite set of simpler, tractable formulas. These simpler formulas, when considered together (disjunctively), are equivalent to the original KB.

The paper presents two main ways to construct these tractable covers:

  1. Carver-Based Tractable Covers: This method uses "partial interpretations" (essentially, partial assignments of truth values to variables) to simplify the KB. The KB is "carved" by these partial interpretations, resulting in formulas that belong to tractable classes (like Horn or binary clauses). The key idea is that these partial interpretations help to represent large sets of models of the original KB concisely.
  2. Hyper-Implicant Covers: This approach leverages models of the KB. For each model, it constructs a "hyper-implicant" formula. These formulas are designed to be tractable and to capture a significant portion of the original KB's models. The paper shows that hyper-implicant covers can be significantly more space-efficient than traditional prime implicant covers.

The paper also details algorithms (like DPTC and DP*) for finding these covers, building upon existing Davis/Putnam-like procedures.

Datasets

The paper evaluates its methods on several types of KBs:

  • "Standard" structured problems from existing literature.
  • Random k-SAT problems, varying the ratio of clauses to variables to explore different difficulty regions.

The authors note that comprehensive benchmarks for knowledge compilation are scarce, and they aim to contribute to this area.

Key Insights and Ideas

  • Decomposition is Key: Breaking down a complex KB into a set of simpler, tractable formulas is more effective than trying to represent the entire KB with a single tractable formula.
  • Partial Interpretations as Compilers: Partial assignments of truth values can be surprisingly powerful tools for simplifying and representing complex logical structures.
  • Hyper-Implicants Offer Space Savings: The hyper-implicant approach provides a significant reduction in the size of the compiled representation compared to prime implicants, especially for KBs with large prime implicant sets.
  • Tractable Covers Generalize Prime Implicants: The proposed framework is a generalization of the prime implicant cover technique, offering more flexibility.

Key Results

Experimental results show that tractable covers (both carver-based and hyper-implicant) offer substantial improvements over prime implicant covers:

  • Query Answering Speedup: Significant time savings were observed in answering queries after compilation. The ratio of query time for compiled vs. uncompiled KBs (alpha, α) was consistently better than 1, indicating speedups.
  • Space Savings: The size of the compiled representations (measured in literals) was often much smaller for tractable covers, especially hyper-implicants, compared to prime implicant covers. For some KBs, prime implicant covers were impractically large, whereas tractable covers remained manageable.
  • Efficiency for Difficult KBs: Tractable covers proved particularly useful for KBs where prime implicant covers were too large to be computed or stored, demonstrating their ability to handle highly complex problems.

Limitations and Future Work

  • Determining Best Tractable Classes: The paper suggests that efficiently determining the most suitable tractable classes for a given KB is an important area for future research.
  • Extending Carver-Based Techniques: Exploring more expressive tractable classes within the carver-based framework could yield further improvements.
  • Generalizing Hyper-Implicants: Extending the hyper-implicant approach to other tractable classes (like q-Horn) is a promising direction.
  • Approximate Compilations: Fragments of tractable covers could potentially serve as useful approximate compilations (lower bounds) of KBs, a direction worth exploring.

Summary updated

BibTeX
@inproceedings{1997tractable,
  title = {{Tractable Cover Compilations}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1997},
}
Figure