arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.12362cs.LOcs.AI
收藏

用于近似模型计数的可审计算法

Auditable Algorithms for Approximate Model Counting

University of Toronto(多伦多大学);Indian Institute of Technology Bombay(印度理工学院孟买分校)

Kuldeep S. Meel, Supratik Chakraborty, S. Akshay

AI总结:

针对近似模型计数的可审计需求,研究提出调用Σ₃^P预言机的确定性近似计数算法,将审计证书的变量数从n²log²n降至n log n,首次实现审计复杂度与计数复杂度的权衡。

摘要:

模型计数,即计算布尔公式的可满足赋值的数量,是一个具有广泛应用的基础问题。鉴于该问题属于#P难问题,开发近似计数算法是一个重要的研究领域。基于SAT求解器的实际成功,研究重点最近已从理论转向近似计数算法的实际实现。这也带来了新的挑战,例如可审计近似计数器的设计:这类计数器不仅能提供模型计数的近似值,还能生成一份证书,计算能力有限的验证者可利用该证书检查计数是否确实处于承诺的近似边界内。\n在生成证书方面,我们首先研究了最知名的确定性近似计数算法,该算法需要对Σ₂^P预言机进行多项式次数的调用。我们证明,该算法可通过Σ₂^P预言机进行审计,审计查询构建在n²log²n个变量之上,其中原始公式包含n个变量。由于n通常很大,我们提出疑问:能否减少证书中的变量数量——这是潜在实现中的关键问题。我们证明,通过在计数算法的复杂度上做出权衡,这确实是可行的。具体而言,我们开发了新的确定性近似计数算法,这些算法调用Σ₃^P预言机,但可使用Σ₂^P预言机进行认证,且证书所需的变量数量要少得多:我们的最终算法仅使用n log n个变量。我们的研究表明,如果允许计数算法访问功能稍强的预言机,就可以显著简化审计工作。这首次揭示了审计复杂度与近似计数复杂度之间的权衡关系。

英文摘要:

Model counting, or counting the satisfying assignments of a Boolean formula, is a fundamental problem with diverse applications. Given #P-hardness of the problem, developing algorithms for approximate counting is an important research area. Building on the practical success of SAT-solvers, the focus has recently shifted from theory to practical implementations of approximate counting algorithms. This has brought to focus new challenges, such as the design of auditable approximate counters that not only provide an approximation of the model count, but also a certificate that a verifier with limited computational power can use to check if the count is indeed within the promised bounds of approximation. Towards generating certificates, we start by examining the best-known deterministic approximate counting algorithm that uses polynomially many calls to a $Σ_2^P$ oracle. We show that this can be audited via a $Σ_2^P$ oracle with the query constructed over $n^2 \log^2 n$ variables, where the original formula has $n$ variables. Since $n$ is often large, we ask if the count of variables in the certificate can be reduced -- a crucial question for potential implementation. We show that this is indeed possible with a tradeoff in the counting algorithm's complexity. Specifically, we develop new deterministic approximate counting algorithms that invoke a $Σ_3^P$ oracle, but can be certified using a $Σ_2^P$ oracle using certificates on far fewer variables: our final algorithm uses only $n \log n$ variables. Our study demonstrates that one can simplify auditing significantly if we allow the counting algorithm to access a slightly more powerful oracle. This shows for the first time how audit complexity can be traded for complexity of approximate counting.

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

↑