Sparse Hashing for Scalable Approximate Model Counting: Theory and Practice
Kuldeep S. Meel, S. Akshay
摘要
Given a CNF formula F on n variables, the problem of model counting, also referred to as #SAT , is to compute the number of models or satisfying assignments of F . Model counting is a fundamental but hard problem in computer science with varied applications. Recent years have witnessed a surge of effort towards developing efficient algorithmic techniques that combine the classical 2-universal hashing (from [34]) with the remarkable progress in SAT solving over the past decade. These techniques augment the CNF formula F with random XOR constraints and invoke an NP oracle repeatedly on the resultant CNF-XOR formulas. In practice, the NP oracle calls are replaced by calls to a SAT solver and it is observed that runtime performance of modern SAT solvers (based on conflict-driven clause learning) on CNF-XOR formulas is adversely affected by the size of XOR constraints. The standard construction of 2-universal hash functions chooses every variable with probability p = 1 2 leading to XOR constraints of size n 2 in expectation. Consequently, the main challenge is to design sparse hash functions, where variables can be chosen with smaller probability and lead to smaller sized XOR constraints, which can then replace 2-universal hash functions.
In this paper, our goal is to address this challenge both from a theoretical and a practical perspective. First, we formalize a relaxation of universal hashing, called concentrated hashing, a notion implicit in prior works to design sparse hash functions. We then establish a novel and beautiful connection between concentration measures of these hash functions and isoperimetric inequalities on boolean hypercubes. This allows us to obtain tight bounds on variance as well as the dispersion index and show that p = O( log 2 m m ) suffices for the design of sparse hash functions from 0, 1 n to 0, 1 m belonging to the concentrated hash family. Finally, we use sparse hash functions belonging to this concentrated hash family to develop new approximate counting algorithms. A comprehensive experimental evaluation of our algorithm on 1893 benchmarks demonstrates that the usage of sparse hash functions can lead to significant speedups. To the best of our knowledge, this work is the first study to demonstrate runtime improvement of approximate model counting algorithms through the usage of sparse hash functions, while still retaining strong theoretical guarantees (à la 2-universal hash functions).
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Rounding Meets Approximate Model Counting 引用了 Quantitative Verification of Neural Networks and Its Security Applications
- Towards Real-Time Approximate Counting 引用了 Quantitative Verification of Neural Networks and Its Security Applications
- Towards Real-Time Approximate Counting 引用了 Rounding Meets Approximate Model Counting
引用它的顶会 Paper6
- Learning Branching Heuristics for Propositional Model CountingPashootan Vaezipoor, Gil Lederman, Yuhuai Wu, Chris J. Maddison 等AAAI 2021 · 14 次引用
- Program analysis via efficient symbolic abstractionPeisen Yao, Qingkai Shi, Heqing Huang, Charles ZhangOOPSLA 2021 · 12 次引用
- Rounding Meets Approximate Model CountingJiong Yang, Kuldeep S. MeelCAV 2023 · 8 次引用
- A Scalable t-wise Coverage EstimatorEduard Baranov, Sourav Chakraborty, Axel Legay, Kuldeep S. Meel 等ICSE 2022 · 6 次引用
- Towards Real-Time Approximate CountingYash Pote, Kuldeep S. Meel, Jiong YangAAAI 2025 · 3 次引用
它引用的 Paper1
相关 Paper
- Tinted, Detached, and Lazy CNF-XOR Solving and Its Applications to Counting and SamplingMate Soos, Stephan Gocht, Kuldeep S. MeelCAV 2020 · 102 次引用
- Estimating the Density of States of Boolean Satisfiability Problems on Classical and Quantum Computing PlatformsTuhin Sahai, Anurag Mishra, Jose Miguel Pasini, Susmit JhaAAAI 2020 · 4 次引用
- Auditable Algorithms for Approximate Model CountingKuldeep S. Meel, Supratik Chakraborty, S. AkshayAAAI 2024 · 2 次引用
- Approximate Counting of Minimal Unsatisfiable SubsetsJaroslav Bendík, Kuldeep S. MeelCAV 2020 · 16 次引用
- Formally Certified Approximate Model CountingYong Kiam Tan, Jiong Yang, Mate Soos, Magnus O. Myreen 等CAV 2024 · 1 次引用
