Engineering an Efficient Probabilistic Exact Model Counter
Mate Soos, Kuldeep S. Meel
Abstract
Given a formula F , the problem of model counting, also known as #SAT, is to compute the number of satisfying assignments of F . While model counting has emerged as a crucial primitive in diverse domains from quantitative information flow analysis to neural network verification, scalability remains a fundamental challenge despite advances in both exact and approximate counting techniques. We present Ganak2, a novel framework that achieves substantial performance improvements through three key technical innovations: (1) refined residual formula processing incorporating SAT-specific techniques while maintaining seamless state transitions, (2) dual independent set framework maintaining distinct SAT-eligibility and decision sets, and (3) chronological backtracking specifically adapted to model counting. Our empirical evaluation on 1600 previous model counting competition instances demonstrates that Ganak2 successfully computes counts for 1121 instances within the one hour time limit, compared to 1032 instances by the prior state of the art approach, representing an 8.7% improvement. This progress is especially remarkable considering the extensive development and refinement of model counting tools over the years, driven by yearly competitive evaluation in the field.
‡ Note that the respective authors chose to capitalize sharpSAT and SharpSAT-TD differently.
‖ Note that AND gates are OR gates, with all inputs and the output negated. See De Morgan's laws [23]. Since we deal with literals, OR gates are sufficient to extract.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 1334ad1d-520f-4154-8282-0cb693308e24Cited by top-tier papers3
- Quantifying Sensitivity for Tree Ensembles: A Symbolic and Compositional ApproachAjinkya Naik, Chaitanya Garg, S. Akshay, Ashutosh Gupta et al.CAV 2026
- Navigating AND-OR Graph Modifications to Debug Failing Proof SearchJustin Lubin, Marlena Preigh, Max Willsey, Sarah E. ChasinsPLDI 2026
- Quokka#: Quantum Computing with #SATJingyi Mei, Dekel Zak, Muhammad Osama, Tim Coopmans et al.CAV 2026
Builds on1
Related papers
- Engineering an Efficient Preprocessor for Model CountingMate Soos, Kuldeep S. MeelDAC 2024 · 2 citations
- Symmetric Component Caching for Model Counting on Combinatorial InstancesTimothy van Bremen, Vincent Derkinderen, Shubham Sharma, Subhajit Roy et al.AAAI 2021 · 6 citations
- Rounding Meets Approximate Model CountingJiong Yang, Kuldeep S. MeelCAV 2023 · 8 citations
- The Power of Literal Equivalence in Model CountingYong Lai, Kuldeep S. Meel, Roland H. C. YapAAAI 2021 · 19 citations
- Exact ASP Counting with Compact EncodingsMohimenul Kabir, Supratik Chakraborty, Kuldeep S. MeelAAAI 2024 · 10 citations
