[Paper Review] Compilation of Propositional Weighted Bases
This paper investigates knowledge compilation techniques for improving inference in propositional weighted bases, showing that while compilation into prime implicates, Horn cover, or renamable Horn cover classes does not reduce complexity, DNNF compilation enables tractable inference for clausal queries. The key contribution is a polynomial-time method to compute all preferred models and most probable diagnoses in model-based diagnosis using DNNF-compilation.
In this paper, we investigate the extent to which knowledge compilation can be used to improve inference from propositional weighted bases. We present a general notion of compilation of a weighted base that is parametrized by any equivalence--preserving compilation function. Both negative and positive results are presented. On the one hand, complexity results are identified, showing that the inference problem from a compiled weighted base is as difficult as in the general case, when the prime implicates, Horn cover or renamable Horn cover classes are targeted. On the other hand, we show that the inference problem becomes tractable whenever DNNF-compilations are used and clausal queries are considered. Moreover, we show that the set of all preferred models of a DNNF-compilation of a weighted base can be computed in time polynomial in the output size. Finally, we sketch how our results can be used in model-based diagnosis in order to compute the most probable diagnoses of a system.
Motivation & Objective
- To investigate whether knowledge compilation can improve inference efficiency from propositional weighted bases.
- To determine the computational complexity of inference after compilation into various target languages.
- To identify compilation targets that yield tractable inference for weighted bases.
- To demonstrate the application of DNNF compilation in model-based diagnosis for computing most probable diagnoses.
Proposed method
- Proposes a general framework for compiling weighted bases using any equivalence-preserving compilation function.
- Defines a weighted base as a set of formula-weight pairs, where the weight of a world is the sum of violated formula weights.
- Introduces DNNF compilation of the system description and observations to enable efficient inference.
- Uses logarithmic transformation of failure probabilities to encode diagnosis utility in the weighted base.
- Applies forgetting operations to eliminate OK variables and extract most probable diagnoses from the compiled formula.
- Leverages linear-time conditioning and polynomial-time model enumeration in smooth DNNF formulas for efficient diagnosis generation.
Experimental results
Research questions
- RQ1Can knowledge compilation reduce the complexity of inference from propositional weighted bases?
- RQ2Is inference tractable when a weighted base is compiled into prime implicates, Horn cover, or renamable Horn cover classes?
- RQ3Does DNNF compilation enable tractable inference for clausal queries from weighted bases?
- RQ4Can DNNF-compilation be used to compute the most probable diagnoses in model-based diagnosis efficiently?
- RQ5Can the most probable diagnoses be enumerated in output-polynomial time after a single DNNF compilation of the system description?
Key findings
- Inference from a compiled weighted base remains as hard as in the general case when targeting prime implicates, Horn cover, or renamable Horn cover classes.
- When using DNNF compilation, inference for clausal queries becomes tractable and can be performed in time polynomial in the output size.
- The set of all preferred models of a DNNF-compiled weighted base can be computed in time polynomial in the output size.
- The most probable diagnoses for a diagnostic problem can be enumerated in time polynomial in the size of the DNNF-compiled base.
- The DNNF compilation of the system description needs to be performed only once, and conditioning on observations can be done efficiently in linear time.
- The logarithmic transformation of failure probabilities preserves the preference ordering between diagnoses, enabling accurate probability-based selection.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.