Proceedings

GANAK: A Scalable Probabilistic Exact Model Counter

Download BibTeX Cite

Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence. Main track. Pages 1169-1176.

https://doi.org/10.24963/ijcai.2019/163

Abstract

Given a Boolean formula F, the problem of model counting, also referred to as #SAT, seeks to compute the number of solutions of F. Model counting is a fundamental problem with a wide variety of applications ranging from planning, quantified information flow to probabilistic reasoning and the like. The modern #SAT solvers tend to be either based on static decomposition, dynamic decomposition, or a hybrid of the two. Despite dynamic decomposition based #SAT solvers sharing much of their architecture with SAT solvers, the core design and heuristics of dynamic decomposition-based #SAT solvers has remained constant for over a decade.

In this paper, we revisit the architecture of the state-of-the-art dynamic decomposition-based #SAT tool, sharpSAT, and demonstrate that by introducing a new notion of probabilistic component caching and the usage of universal hashing for exact model counting along with the development of several new heuristics can lead to significant performance improvement over state-of-the-art model-counters. In particular, we develop GANAK, a new scalable probabilistic exact model counter that outperforms state-of-the-art exact and approximate model counters sharpSAT and ApproxMC3 respectively, both in terms of PAR-2 score and the number of instances solved. Furthermore, in our experiments, the model count returned by GANAK was equal to the exact model count for all the benchmarks. Finally, we observe that recently proposed preprocessing techniques for model counting benefit exact model counters while hurting the performance of approximate model counters.

  1. [Bacchus et al., 2003] Fahiem Bacchus, Shannon Dalmao, and To- niann Pitassi. Algorithms and complexity results for #SAT and Bayesian inference. In Proc. of FOCS, pages 340-351, 2003.
  2. [Bayardo and Pehoushek, 2000] Roberto J. Bayardo, Jr. and Joseph Daniel Pehoushek. Counting Models Using Connected Components. In Proc. of AAAI, pages 157-162, 2000.
  3. [Biondi et al., 2018] Fabrizio Biondi, Michael Enescu, Annelie Heuser, Axel Legay, Kuldeep S. Meel, and Jean Quilbeuf. Scal- able approximation of quantitative information flow in programs. In Proc. of VMCAI, pages 71-93, 2018.
  4. [Birnbaum and Lozinskii, 1999] Elazar Birnbaum and Eliezer L. Lozinskii. The Good Old Davis-Putnam Procedure Helps Count- ing Models. J. Artif. Int. Res., pages 457-477, 1999.
  5. [Brglez et al., 1989] Franc Brglez, David Bryan, and Krzysztof Kozminski. Combinational profiles of sequential benchmark cir- cuits. In Proc. of ISCAS, pages 1929-1934, 1989.
  6. [Chakraborty et al., 2013] Supratik Chakraborty, Kuldeep S. Meel, and Moshe Y. Vardi. A Scalable Approximate Model Counter. In Proc. of CP, pages 200-216, 2013.
  7. [Chakraborty et al., 2014] Supratik Chakraborty, Kuldeep S. Meel, and Moshe Y. Vardi. Balancing scalability and uniformity in SAT witness generator. In Proc. of DAC, pages 1-6, 2014.
  8. [Chakraborty et al., 2016] Supratik Chakraborty, Kuldeep S. Meel, and Moshe Y. Vardi. Algorithmic Improvements in Approximate Counting for Probabilistic Inference: From Linear to Logarith- mic SAT Calls. In Proc. of IJCAI, pages 3569-3576, 2016.
  9. [Chakraborty et al., 2019] Supratik Chakraborty, Kuldeep S. Meel, and Moshe Y. Vardi. On the Hardness of Probabilistic Inference Relaxations. In Proc. of AAAI, 2019.
  10. [Darwiche, 2004] Adnan Darwiche. New Advances in Compiling CNF to Decomposable Negation Normal Form. In Proc. of ECAI, pages 318-322, 2004.
  11. [Davis and Putnam, 1960] Martin Davis and Hilary Putnam. A computing procedure for quantification theory. J. ACM, pages 201-215, 1960.
  12. [Domshlak and Hoffmann, 2007] Carmel Domshlak and Jörg Hoff- mann. Probabilistic planning via heuristic forward search and weighted model counting. JAIR, pages 565-620, 2007.
  13. [Dueñas-Osorio et al., 2017] Leonardo Dueñas-Osorio, Kuldeep S. Meel, Roger Paredes, and Moshe Y. Vardi. Counting-based relia- bility estimation for power-transmission grids. In Proc. of AAAI, 2017.
  14. [Eén and Sörensson, 2004] Niklas Eén and Niklas Sörensson. An Extensible SAT-solver. In Proc. of SAT, pages 502-518, 2004.
  15. [Gomes et al., 1998] Carla P. Gomes, Bart Selman, and Henry Kautz. Boosting Combinatorial Search Through Randomization. In Proc. of AAAI, pages 431-437, 1998.
  16. [Gomes et al., 2007] Carla P. Gomes, Ashish Sabharwal, and Bart Selman. Near-Uniform sampling of combinatorial spaces using XOR constraints. In Proc. of NIPS, pages 481-488, 2007.
  17. [Gupta et al., 2019] Rahul Gupta, Shubham Sharma, Subhajit Roy, and Kuldeep S. Meel. WAPS: Weighted and Projected Sampling. In Proc. of TACAS, pages 59-76, 2019.
  18. [Ivrii et al., 2015] Alexander Ivrii, Sharad Malik, Kuldeep S. Meel, and Moshe Y. Vardi. On computing minimal independent support and its applications to sampling and counting. Constraints, 2015.
  19. [Lagniez and Marquis, 2014] Jean-Marie Lagniez and Pierre Mar- quis. Preprocessing for propositional model counting. In Proc of AAAI, pages 2688-2694, 2014.
  20. [Lagniez and Marquis, 2017] Jean-Marie Lagniez and Pierre Mar- quis. An Improved Decision-DNNF Compiler. In Proc. of IJCAI, pages 667-673, 2017.
  21. [Lagniez et al., 2016] Jean-Marie Lagniez, Emmanue Lonca, and Pierre Marquis. Improving Model Counting by Leveraging De- finability. In Proc. of IJCAI, pages 751-757, 2016.
  22. [Lemire and Kaser, 2016] Daniel Lemire and Owen Kaser. Faster 64-bit universal hashing using carry-less multiplications. Journal of Cryptographic Engineering, pages 171-185, 2016.
  23. [Marques-Silva and Sakallah, 1999] J. P. Marques-Silva and K. A. Sakallah. GRASP: a search algorithm for propositional satisfia- bility. IEEE Transactions on Computers, pages 506-521, 1999.
  24. [Meel et al., 2016] Kuldeep S. Meel, Moshe Y. Vardi, Supratik Chakraborty, Daniel J Fremont, Sanjit A Seshia, Dror Fried, Alexander Ivrii, and Sharad Malik. Constrained Sampling and Counting: Universal Hashing Meets SAT Solving. In Proc. of Beyond NP Workshop, 2016.
  25. [Minato, 1993] S. Minato. Zero-Suppressed BDDs for Set Manip- ulation in Combinatorial Problems. In Proc. of DAC, pages 272- 277, 1993.
  26. [Moskewicz et al., 2001] Matthew W Moskewicz, Conor F Madi- gan, Ying Zhao, Lintao Zhang, and Sharad Malik. Chaff: Engi- neering an efficient SAT solver. In Proc. of DAC, pages 530-535, 2001.
  27. [Muise et al., 2012] Christian Muise, Sheila A. McIlraith, J. Christopher Beck, and Eric I. Hsu. Dsharp: Fast d-DNNF Compilation with sharpSAT. In Proc. of CAI, pages 356-361, 2012.
  28. [Pipatsrisawat and Darwiche, 2007] Knot Pipatsrisawat and Adnan Darwiche. A Lightweight Component Caching Scheme for Sat- isfiability Solvers. In Proc. of SAT, pages 294-299, 2007.
  29. [Roth, 1996] Dan Roth. On the hardness of approximate reasoning. Artificial Intelligence, pages 273-302, 1996.
  30. [Samer and Szeider, 2007] Marko Samer and Stefan Szeider. Al- gorithms for Propositional Model Counting. In Proc. of LPAR, pages 484-498, 2007.
  31. [Sang et al., 2004] Tian Sang, Fahiem Bacchus, Paul Beame, Henry A Kautz, and Toniann Pitassi. Combining component caching and clause learning for effective model counting. In Proc. of SAT, 2004.
  32. [Sang et al., 2005a] Tian Sang, Paul Beame, and Henry Kautz. Heuristics for Fast Exact Model Counting. In Proc. of SAT, pages 226-240, 2005.
  33. [Sang et al., 2005b] Tian Sang, Paul Beame, and Henry Kautz. Per- forming Bayesian inference by weighted model counting. In Prof. of AAAI, pages 475-481, 2005.
  34. [SAT, 2017] Proc. of SAT Competition 2017: Solver and Bench- mark Descriptions. University of Helsinki, Department of Com- puter Science, 2017.
  35. [Sharma et al., 2018] Shubham Sharma, Rahul Gupta, Subhajit Roy, and Kuldeep S. Meel. Knowledge Compilation meets Uni- form Sampling. In Proc. of LPAR, pages 620-636, 2018.
  36. [Soos and Meel, 2019] Mate Soos and Kuldeep S. Meel. BIRD: Engineering an Efficient CNF-XOR SAT Solver and its Appli- cations to Approximate Model Counting. In Proc of AAAI, 2019.
  37. [Stockmeyer, 1983] Larry Stockmeyer. The complexity of approx- imate counting. In Proc. of STOC, pages 118-126, 1983.
  38. [Thurley, 2006] Marc Thurley. SharpSAT: counting models with advanced component caching and implicit BCP. In Proc. of SAT, pages 424-429, 2006.
  39. [Toda, 1989] Seinosuke Toda. On the computational power of PP and (+)P. In Proc. of FOCS, pages 514-519, 1989.
  40. [Valiant, 1979] Leslie G. Valiant. The Complexity of Enumera- tion and Reliability Problems. SIAM J. Comput., pages 410-421, 1979.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards