arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1404.2984cs.AIcs.DS
收藏

SAT的分布感知抽样和加权模型计数

Distribution-Aware Sampling and Weighted Model Counting for SAT

Indian Institute of Technology, Bombay(印度理工学院孟买分校);University of California, Berkeley(加州大学伯克利分校);Rice University(莱斯大学)

Supratik Chakraborty, Daniel J. Fremont, Kuldeep S. Meel, Sanjit A. Seshia, Moshe Y. Vardi

摘要:

给定一个CNF公式和每个变量赋值的权重,两个自然的问题是加权模型计数和满意赋值的分布感知采样。这两个问题都有广泛的重要应用。由于问题的精确版本的固有复杂性,兴趣集中在近似地解决它们。以前在这方面的工作规模在实践中只有小的问题,或未能提供强有力的理论保证,或采用了计算昂贵的最大后验概率(MAP)的预言,假设先验知识的权重分布的分解表示。我们提出了一种新的方法,工作与黑盒甲骨文的权重分配,只需要一个{ \NP }-oracle(在实践中,SAT求解器)来解决计数和采样问题。我们的方法工作在温和的假设下的权重分配满意的任务,提供了强有力的理论保证,并涉及数千个变量的问题的规模。我们还表明,假设可以显着放宽,同时提高计算效率,如果一个因子表示的权重是已知的。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑