Solving #SAT and Bayesian Inference with Backtracking Search

01/15/2014
by   Fahiem Bacchus, et al.
0

Inference in Bayes Nets (BAYES) is an important problem with numerous applications in probabilistic reasoning. Counting the number of satisfying assignments of a propositional formula (#SAT) is a closely related problem of fundamental theoretical importance. Both these problems, and others, are members of the class of sum-of-products (SUMPROD) problems. In this paper we show that standard backtracking search when augmented with a simple memoization scheme (caching) can solve any sum-of-products problem with time complexity that is at least as good any other state-of-the-art exact algorithm, and that it can also achieve the best known time-space tradeoff. Furthermore, backtracking's ability to utilize more flexible variable orderings allows us to prove that it can achieve an exponential speedup over other standard algorithms for SUMPROD on some instances. The ideas presented here have been utilized in a number of solvers that have been applied to various types of sum-of-product problems. These system's have exploited the fact that backtracking can naturally exploit more of the problem's structure to achieve improved performance on a range of probleminstances. Empirical evidence of this performance gain has appeared in published works describing these solvers, and we provide references to these works.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/19/2012

Value Elimination: Bayesian Inference via Backtracking Search

Backtracking search is a powerful algorithmic paradigm that can be used ...
research
07/06/2021

MAJORITY-3SAT (and Related Problems) in Polynomial Time

Majority-SAT is the problem of determining whether an input n-variable f...
research
07/07/2020

Learning Branching Heuristics for Propositional Model Counting

Propositional model counting or #SAT is the problem of computing the num...
research
11/03/2020

The Long, the Short and the Random

We furnish solid evidence, both theoretical and empirical, towards the e...
research
11/24/2018

Streamlining Variational Inference for Constraint Satisfaction Problems

Several algorithms for solving constraint satisfaction problems are base...

Please sign up or login with your details

Forgot password? Click here to reset