On the tractable counting of theory models and its application to belief revision and truth maintenance

Adnan DarwichearXiv 2000

Abstract

This foundational work by Adnan Darwiche introduces deterministic Decomposable Negation Normal Form (d-DNNF), a target language for knowledge compilation that supports linear-time model counting and belief revision. By combining decomposability and determinism, d-DNNF provides a more flexible and often more compact representation than Ordered Binary Decision Diagrams (OBDDs), enabling efficient truth maintenance systems and probabilistic reasoning engines.

Introduction

In artificial intelligence, representing and reasoning with propositional logic is a core challenge. While logic provides a robust framework for knowledge representation, general reasoning tasks—such as checking consistency or counting satisfying assignments (model counting)—are NP-hard. Knowledge Compilation addresses this by partitioning the reasoning process into two phases: an expensive, one-time offline phase where a logical theory is compiled into a tractable target language, and an efficient online phase where queries are answered in polynomial time.

Historically, Ordered Binary Decision Diagrams (OBDDs) were the primary target for such compilation. However, OBDDs can suffer from exponential size explosions for certain theories. This paper proposes d-DNNF as a more versatile alternative.

The d-DNNF Representation

The author focuses on Decomposable Negation Normal Form (DNNF) and introduces a stricter subclass called d-DNNF. The power of this representation stems from two key properties:

  1. Decomposability: A conjunction (AND node) is decomposable if its children do not share any variables. This property allows for the independent solution of sub-problems.
  2. Determinism: A disjunction (OR node) is deterministic if its children are mutually exclusive—that is, no two children can be true simultaneously.

Determinism is the critical addition that enables efficient model counting. When these properties are combined, the logical theory can be treated as a computational graph where counting becomes a simple recursive summation.

Comparison between an OBDD and its equivalent d-DNNF representation.

As shown in the comparison above, d-DNNF can represent the same logical structure as an OBDD but offers a different structural paradigm that often leads to more efficient querying for specific tasks like model counting.

Compiling and Querying Theories

The paper provides algorithms for converting existing representations, such as OBDDs and Free Binary Decision Diagrams (FBDDs), into d-DNNF in linear time. More importantly, it introduces the cnf2ddnnf algorithm for compiling standard Conjunctive Normal Form (CNF) theories into d-DNNF using a decomposition tree.

The cnf2ddnnf algorithm for compiling CNF theories into d-DNNF.

Once compiled, the d-DNNF supports several operations in time linear to the size of the graph:

  • Model Counting: Determining the number of satisfying assignments.
  • Satisfiability (SAT): Deciding if the theory is consistent.
  • Partial Differentiation: A novel technique where the model count is treated as a function of literals. By computing partial derivatives, the system can determine how the total model count changes when evidence is asserted or retracted, facilitating rapid belief updates.

Applications: Truth Maintenance and Belief Revision

The tractability of d-DNNF has significant implications for Truth Maintenance Systems (TMS) and Belief Revision. Traditional TMS were often either fast but incomplete, or complete but prohibitively slow. A d-DNNF-based TMS is both fast and exhaustive, providing a "complete" engine for logical inference.

Furthermore, the paper demonstrates a framework for minimum-cardinality belief revision. When new, contradictory evidence is received, the system can find the most plausible (simplest) update to the current belief state in linear time relative to the d-DNNF size. This is achieved by leveraging the deterministic and decomposable nature of the graph to find models that minimize the number of flipped literals.

Conclusion

Adnan Darwiche's work on d-DNNF established a new frontier in knowledge compilation. By identifying the specific structural properties required for tractable counting, this paper provided the theoretical foundation for high-performance reasoning engines. These concepts eventually evolved into Arithmetic Circuits, which remain a cornerstone of modern tractable probabilistic modeling and automated reasoning.

Summary updated

BibTeX
@misc{darwiche2000tractable,
  author = {Adnan Darwiche},
  title = {{On the tractable counting of theory models and its application to belief revision and truth maintenance}},
  year = {2000},
  eprint = {cs/0003044},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/cs/0003044},
}
Figure