Lune

CAV2024顶会

Formally Certified Approximate Model Counting

Yong Kiam Tan, Jiong Yang, Mate Soos, Magnus O. Myreen, Kuldeep S. Meel

摘要

Abstract Approximate model counting is the task of approximating the number of solutions to an input Boolean formula. The state-of-the-art approximate model counter for formulas in conjunctive normal form (CNF), ApproxMC\textsf{ApproxMC} ApproxMC , provides a scalable means of obtaining model counts with probably approximately correct (PAC)-style guarantees. Nevertheless, the validity of ApproxMC\textsf{ApproxMC} ApproxMC ’s approximation relies on a careful theoretical analysis of its randomized algorithm and the correctness of its highly optimized implementation, especially the latter’s stateful interactions with an incremental CNF satisfiability solver capable of natively handling parity (XOR) constraints. We present the first certification framework for approximate model counting with formally verified guarantees on the quality of its output approximation. Our approach combines: (i) a static, once-off, formal proof of the algorithm’s PAC guarantee in the Isabelle/HOL proof assistant; and (ii) dynamic, per-run, verification of ApproxMC\textsf{ApproxMC} ApproxMC ’s calls to an external CNF-XOR solver using proof certificates. We detail our general approach to establish a rigorous connection between these two parts of the verification, including our blueprint for turning the formalized, randomized algorithm into a verified proof checker, and our design of proof certificates for both ApproxMC\textsf{ApproxMC} ApproxMC and its internal CNF-XOR solving steps. Experimentally, we show that certificate generation adds little overhead to an approximate counter implementation, and that our certificate checker is able to fully certify 84.7%84.7\% 84.7 % of instances with generated certificates when given the same time and memory limits as the counter.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Tinted, Detached, and Lazy CNF-XOR Solving and Its Applications to Counting and Sampling 引用了 Quantitative Verification of Neural Networks and Its Security Applications
  • Certifying Parity Reasoning Efficiently Using Pseudo-Boolean Proofs 引用了 Tinted, Detached, and Lazy CNF-XOR Solving and Its Applications to Counting and Sampling
  • Sparse Hashing for Scalable Approximate Model Counting: Theory and Practice 引用了 Quantitative Verification of Neural Networks and Its Security Applications
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper10

  1. Quantitative Verification of Neural Networks and Its Security ApplicationsTeodora Baluta, Shiqi Shen, Shweta Shinde, Kuldeep S. Meel 等CCS 2019 · 115 次引用
  2. Tinted, Detached, and Lazy CNF-XOR Solving and Its Applications to Counting and SamplingMate Soos, Stephan Gocht, Kuldeep S. MeelCAV 2020 · 102 次引用
  3. Certifying Parity Reasoning Efficiently Using Pseudo-Boolean ProofsStephan Gocht, Jakob NordströmAAAI 2021 · 37 次引用
  4. Sparse Hashing for Scalable Approximate Model Counting: Theory and PracticeKuldeep S. Meel, S. AkshayLICS 2020 · 20 次引用
  5. CoqQFBV: A Scalable Certified SMT Quantifier-Free Bit-Vector SolverXiaomu Shi, Yu-Fu Fu, Jiaxiang Liu, Ming-Hsien Tsai 等CAV 2021 · 10 次引用

相关 Paper

  1. Towards Real-Time Approximate CountingYash Pote, Kuldeep S. Meel, Jiong YangAAAI 2025 · 3 次引用
  2. Auditable Algorithms for Approximate Model CountingKuldeep S. Meel, Supratik Chakraborty, S. AkshayAAAI 2024 · 2 次引用
  3. ApproxASP - a Scalable Approximate Answer Set CounterMohimenul Kabir, Flavio O. Everardo, Ankit K. Shukla, Markus Hecher 等AAAI 2022 · 21 次引用
  4. Rounding Meets Approximate Model CountingJiong Yang, Kuldeep S. MeelCAV 2023 · 8 次引用
  5. TestMC: Testing Model Counters using Differential and Metamorphic TestingMuhammad Usman, Wenxi Wang, Sarfraz KhurshidASE 2020 · 9 次引用
黄昏的海面,两侧是细线勾勒的悬崖