Proceedings of the AAAI Conference on Artificial Intelligence · 2019 · 95 citations · 16 references
ComputingComputer EngineeringComputer ScienceAlgorithmsTheory Of ComputationUncertainty QuantificationBoolean AlgebraBoolean OperationsHash FunctionsApproximate CountingHashingProbabilistic Reasoning
Model counting (#SAT) computes the number of solutions of a Boolean formula and is a fundamental AI problem with applications in probabilistic reasoning, decision making, and quantified information flow, prompting recent interest in hashing‑based approximate counting methods. The paper aims to design an efficient CNF‑XOR SAT solver that exploits hashing‑based algorithm structure to enable a faster approximate model counter. The authors introduce BIRD, an architecture for CNF‑XOR formulas, and build ApproxMC3, a hashing‑based approximate model counter that uses BIRD within CryptoMiniSat, evaluated on 1,896 benchmarks over 86,400 hours. ApproxMC3 outperforms ApproxMC2, solving 648 additional benchmarks and achieving a mean speedup of 284.40 on cases where both ran longer than one second.
Given a Boolean formula φ, the problem of model counting, also referred to as #SAT is to compute the number of solutions of φ. Model counting is a fundamental problem in artificial intelligence with a wide range of applications including probabilistic reasoning, decision making under uncertainty, quantified information flow, and the like. Motivated by the success of SAT solvers, there has been surge of interest in the design of hashing-based techniques for approximate model counting for the past decade. We profiled the state of the art approximate model counter ApproxMC2 and observed that over 99.99% of time is consumed by the underlying SAT solver, CryptoMiniSat. This observation motivated us to ask: Can we design an efficient underlying CNF-XOR SAT solver that can take advantage of the structure of hashing-based algorithms and would this lead to an efficient approximate model counter?
 The primary contribution of this paper is an affirmative answer to the above question. We present a novel architecture, called BIRD, to handle CNF-XOR formulas arising from hashingbased techniques. The resulting hashing-based approximate model counter, called ApproxMC3, employs the BIRD framework in its underlying SAT solver, CryptoMiniSat. To the best of our knowledge, we conducted the most comprehensive study of evaluation performance of counting algorithms involving 1896 benchmarks with computational effort totaling 86400 computational hours. Our experimental evaluation demonstrates significant runtime performance improvement for ApproxMC3 over ApproxMC2. In particular, we solve 648 benchmarks more than ApproxMC2, the state of the art approximate model counter and for all the formulas where both ApproxMC2 and ApproxMC3 did not timeout and took more than 1 seconds, the mean speedup is 284.40 – more than two orders of magnitude.
 Erratum: This research is supported in part by the National Research Foundation Singapore under its AI Singapore Programme (Award Number: [AISG-RP-2018-005])
16
The Complexity of Enumeration and Reliability Problems
Leslie G. Valiant · SIAM Journal on Computing · 1979 · 2.1K citations
On the computational power of PP and (+)P
Seinosuke Toda · 1989 · 236 citations
The complexity of approximate counting
Larry Stockmeyer · 1983 · 209 citations · Full text
Model counting: a new strategy for obtaining good bounds
Carla P. Gomes, Ashish Sabharwal, Bart Selman · 2006 · 138 citations
An Improved Decision-DNNF Compiler
Jean-Marie Lagniez, Pierre Marquis · 2017 · 100 citations · Full text