arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1907.05121cs.LOcs.DS
收藏

近似模型计数、稀疏 XOR 约束与最小距离

Approximate Model Counting, Sparse XOR Constraints and Minimum Distance

Michele Boreale, Daniele Gorla

AI总结:

本文研究近似模型计数中短稀疏 XOR 约束的可用界限,证明其与模型集几何及最小 Hamming 距离相关,并通过实验讨论改进方向。

摘要:

对给定布尔公式的模型数量进行计数的问题具有众多应用,包括在定量信息流中计算确定性程序的泄漏。模型计数是一个困难的 #P 完全问题。因此,过去十年中人们开发了许多近似计数器,它们提供关于置信度和准确性的形式化保证。一种流行方法基于这样的思想:使用随机 XOR 约束,大致连续地将解集二等分,直到不存在任何模型;这一点通过调用 SAT 求解器来检查。该过程的有效性取决于 SAT 求解器处理 XOR 约束的能力,而这又关键地取决于此类约束的长度。我们研究在保持正确性保证的情况下,能够在多大程度上采用稀疏因而较短的约束。我们表明,所得界限与模型集合的几何性质密切相关,尤其是模型之间的最小 Hamming 距离。我们在若干具体公式上评估了理论结果。基于这些发现,我们最后讨论了改进近似模型计数当前最优技术水平的可能方向。

英文摘要:

The problem of counting the number of models of a given Boolean formula has numerous applications, including computing the leakage of deterministic programs in Quantitative Information Flow. Model counting is a hard, #P-complete problem. For this reason, many approximate counters have been developed in the last decade, offering formal guarantees of confidence and accuracy. A popular approach is based on the idea of using random XOR constraints to, roughly, successively halving the solution set until no model is left: this is checked by invocations to a SAT solver. The effectiveness of this procedure hinges on the ability of the SAT solver to deal with XOR constraints, which in turn crucially depends on the length of such constraints. We study to what extent one can employ sparse, hence short, constraints, keeping guarantees of correctness. We show that the resulting bounds are closely related to the geometry of the set of models, in particular to the minimum Hamming distance between models. We evaluate our theoretical results on a few concrete formulae. Based on our findings, we finally discuss possible directions for improvements of the current state of the art in approximate model counting.

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

↑