Distribution-Aware Sampling and Weighted Model Counting for SAT

04/11/2014
by   Supratik Chakraborty, et al.
0

Given a CNF formula and a weight for each assignment of values to variables, two natural problems are weighted model counting and distribution-aware sampling of satisfying assignments. Both problems have a wide variety of important applications. Due to the inherent complexity of the exact versions of the problems, interest has focused on solving them approximately. Prior work in this area scaled only to small problems in practice, or failed to provide strong theoretical guarantees, or employed a computationally-expensive maximum a posteriori probability (MAP) oracle that assumes prior knowledge of a factored representation of the weight distribution. We present a novel approach that works with a black-box oracle for weights of assignments and requires only an -oracle (in practice, a SAT-solver) to solve both the counting and sampling problems. Our approach works under mild assumptions on the distribution of weights of satisfying assignments, provides strong theoretical guarantees, and scales to problems involving several thousand variables. We also show that the assumptions can be significantly relaxed while improving computational efficiency if a factored representation of the weights is known.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/17/2023

Approximate Model Counting: Is SAT Oracle More Powerful than NP Oracle?

Given a Boolean formula ϕ over n variables, the problem of model countin...
research
01/10/2018

Deterministic search for CNF satisfying assignments in almost polynomial time

We consider the fundamental derandomization problem of deterministically...
research
06/19/2023

INC: A Scalable Incremental Weighted Sampler

The fundamental problem of weighted sampling involves sampling of satisf...
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
10/24/2020

On Testing of Samplers

Given a set of items ℱ and a weight function 𝚠𝚝: ℱ↦ (0,1), the problem o...
research
10/22/2019

Quantum Weighted Model Counting

In Weighted Model Counting (WMC) we assign weights to Boolean literals a...
research
12/21/2015

Constrained Sampling and Counting: Universal Hashing Meets SAT Solving

Constrained sampling and counting are two fundamental problems in artifi...

Please sign up or login with your details

Forgot password? Click here to reset