English

Distribution-Aware Sampling and Weighted Model Counting for SAT

Artificial Intelligence 2014-04-14 v1 Data Structures and Algorithms

Abstract

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 {\NP}-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.

Keywords

Cite

@article{arxiv.1404.2984,
  title  = {Distribution-Aware Sampling and Weighted Model Counting for SAT},
  author = {Supratik Chakraborty and Daniel J. Fremont and Kuldeep S. Meel and Sanjit A. Seshia and Moshe Y. Vardi},
  journal= {arXiv preprint arXiv:1404.2984},
  year   = {2014}
}

Comments

This is a full version of AAAI 2014 paper

R2 v1 2026-06-22T03:48:26.541Z