Skip to main content
QUICK REVIEW

[Paper Review] On the tractable counting of theory models and its application to belief revision and truth maintenance

Adnan Darwiche|ArXiv.org|Mar 9, 2000
Logic, Reasoning, and KnowledgeComputer Science13 references11 citations
TL;DR

This paper introduces a linear-time algorithm to convert Ordered Binary Decision Diagrams (OBDDs) into Deterministic Decomposable Negation Normal Form (d-DNNF), enabling efficient model counting under literal assertions, retractions, and flips. The key contribution is a two-pass traversal of d-DNNF that allows constant-time entailment and consistency checks, supporting linear-time complete truth maintenance and belief revision systems for propositional theories with bounded treewidth or small OBDD representations.

ABSTRACT

We introduced decomposable negation normal form (DNNF) recently as a tractable form of propositional theories, and provided a number of powerful logical operations that can be performed on it in polynomial time. We also presented an algorithm for compiling any conjunctive normal form (CNF) into DNNF and provided a structure-based guarantee on its space and time complexity. We present in this paper a linear-time algorithm for converting an ordered binary decision diagram (OBDD) representation of a propositional theory into an equivalent DNNF, showing that DNNFs scale as well as OBDDs. We also identify a subclass of DNNF which we call deterministic DNNF, d-DNNF, and show that the previous complexity guarantees on compiling DNNF continue to hold for this stricter subclass, which has stronger properties. In particular, we present a new operation on d-DNNF which allows us to count its models under the assertion, retraction and flipping of every literal by traversing the d-DNNF twice. That is, after such traversal, we can test in constant-time: the entailment of any literal by the d-DNNF, and the consistency of the d-DNNF under the retraction or flipping of any literal. We demonstrate the significance of these new operations by showing how they allow us to implement linear-time, complete truth maintenance systems and linear-time, complete belief revision systems for two important classes of propositional theories.

Motivation & Objective

  • To develop a scalable, tractable representation for propositional theories that supports efficient logical reasoning.
  • To enable linear-time belief revision and truth maintenance by extending DNNF with a new model-counting operation.
  • To show that d-DNNF preserves the complexity guarantees of DNNF while offering stronger structural properties.
  • To apply the new operations to model-based diagnosis, allowing prediction of faulty device behavior under minimal fault assumptions.
  • To establish that OBDDs and bounded-treewidth CNFs can be compiled into d-DNNF in linear time.

Proposed method

  • Convert OBDD representations of propositional theories into equivalent d-DNNF using a linear-time algorithm.
  • Define d-DNNF as a subclass of DNNF with decomposability and determinism, ensuring no shared variables across conjunctions and mutually exclusive disjuncts.
  • Assign cardinalities to nodes in d-DNNF: 0 for non-Σ literals, 1 for negative Σ-literals, min for disjunctions, sum for conjunctions.
  • Minimize d-DNNF by removing edges from or-nodes to children with higher cardinality than the parent.
  • Construct a counting graph with partial derivatives to compute model counts under literal operations via two traversals.
  • Use partial derivatives and Theorem 6 to compute model counts under assertion, retraction, and flipping of any literal in constant time after preprocessing.

Experimental results

Research questions

  • RQ1Can OBDD representations be compiled into d-DNNF in linear time, preserving scalability?
  • RQ2Can model counting under literal assertions, retractions, and flips be performed in linear time using d-DNNF?
  • RQ3Can the resulting operations be used to implement complete, linear-time truth maintenance and belief revision systems?
  • RQ4Can the model-counting mechanism predict the behavior of a broken device under minimal fault assumptions?
  • RQ5Do the complexity guarantees of DNNF extend to the stricter d-DNNF subclass?

Key findings

  • A linear-time algorithm converts any OBDD into an equivalent d-DNNF, showing that d-DNNF scales as well as OBDDs.
  • The model-counting operation on d-DNNF requires only two traversals and enables constant-time entailment and consistency checks after preprocessing.
  • The method supports linear-time complete truth maintenance and belief revision systems for propositional theories with bounded treewidth or small OBDDs.
  • The approach allows efficient prediction of device behavior in model-based diagnosis under minimal fault assumptions, in time linear in the size of the device description.
  • The cardinality minimization of d-DNNF reduces the number of models from eight to four in the example, preserving correctness and enabling efficient reasoning.
  • Partial derivatives computed on the counting graph allow exact model counts under literal operations, such as 3 models after flipping ¬A to A under observation S=¬A.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.