Skip to main content
QUICK REVIEW

[Paper Review] Inference in Probabilistic Logic Programs using Weighted CNF's

Daan Fierens, Guy Van den Broeck|arXiv (Cornell University)|Feb 14, 2012
Bayesian Modeling and Causal InferenceComputer Science13 references69 citations
TL;DR

This paper proposes an efficient inference framework for probabilistic logic programs by compiling them into weighted CNF formulas, enabling the use of state-of-the-art weighted model counting techniques. The approach significantly improves performance on MAP inference and marginal probability computation compared to existing methods.

ABSTRACT

Probabilistic logic programs are logic programs in which some of the facts are annotated with probabilities. Several classical probabilistic inference tasks (such as MAP and computing marginals) have not yet received a lot of attention for this formalism. The contribution of this paper is that we develop efficient inference algorithms for these tasks. This is based on a conversion of the probabilistic logic program and the query and evidence to a weighted CNF formula. This allows us to reduce the inference tasks to well-studied tasks such as weighted model counting. To solve such tasks, we employ state-of-the-art methods. We consider multiple methods for the conversion of the programs as well as for inference on the weighted CNF. The resulting approach is evaluated experimentally and shown to improve upon the state-of-the-art in probabilistic logic programming.

Motivation & Objective

  • To address the lack of efficient inference algorithms for classical probabilistic tasks like MAP and marginal probability computation in probabilistic logic programs.
  • To bridge the gap between probabilistic logic programming and efficient knowledge representation techniques such as weighted model counting.
  • To develop a systematic compilation pipeline from probabilistic logic programs to weighted CNF formulas that preserves probabilistic semantics.
  • To evaluate and demonstrate the superiority of the proposed method over existing approaches in terms of scalability and accuracy.
  • To provide a unified framework that supports multiple inference tasks through a common, optimized representation.

Proposed method

  • Compile probabilistic logic programs and queries into weighted CNF formulas, where clauses represent logical constraints and weights encode probabilistic dependencies.
  • Use a grounding procedure to transform logic program clauses into propositional clauses, preserving probabilistic annotations as weights.
  • Apply state-of-the-art weighted model counting algorithms to compute marginals and MAP estimates efficiently.
  • Explore multiple compilation strategies to optimize the structure and size of the resulting weighted CNF for faster inference.
  • Leverage existing tools and optimizations from the knowledge representation and AI communities for efficient model counting.
  • Support both marginal probability estimation and maximum a posteriori (MAP) inference by adapting the weighted model counting interface.

Experimental results

Research questions

  • RQ1Can probabilistic logic programs be compiled into weighted CNF formulas to enable efficient inference using existing model counting techniques?
  • RQ2How does the performance of the proposed compilation-based inference compare to traditional approaches in probabilistic logic programming?
  • RQ3What are the most effective strategies for compiling logic programs into weighted CNFs while minimizing size and preserving semantics?
  • RQ4To what extent can state-of-the-art weighted model counting tools be leveraged to solve complex inference tasks in probabilistic logic programs?
  • RQ5Does the proposed framework scale effectively to real-world probabilistic logic programming workloads?

Key findings

  • The proposed method achieves significant speedups in inference performance compared to existing probabilistic logic programming systems.
  • The compilation to weighted CNF enables the use of highly optimized model counters, leading to improved scalability on large and complex problems.
  • The framework supports both marginal probability computation and MAP inference through a unified compilation pipeline.
  • Different compilation strategies yield varying performance trade-offs, with some configurations outperforming baseline methods by orders of magnitude on certain benchmarks.
  • Empirical evaluation confirms that the approach is competitive with or superior to the state of the art in probabilistic logic programming inference.
  • The method demonstrates robustness across diverse problem types, including those with high conditional independence structures.

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.