Proceedings

Algorithmic Improvements in Approximate Counting for Probabilistic Inference: From Linear to Logarithmic SAT Calls

Download BibTeX Cite

Proceedings of the Twenty-Fifth International Joint Conference on Artificial Intelligence. Pages 3569-3575.

© 2016 International Joint Conferences on Artificial Intelligence

Abstract

Probabilistic inference via model counting has emerged as a scalable technique with strong formal guarantees, thanks to recent advances in hashing-based approximate counting. State-of-the-art hashing-based counting algorithms use an NP oracle, such that the number of oracle invocations grows linearly in the number of variables n in the input constraint. We present a new approach to hashing-based approximate model counting in which the number of oracle invocations grows logarithmically in n, while still providing strong theoretical guarantees. We use this technique to design an algorithm for #CNF with strongly probably approximately correct (SPAC) guarantees, i.e. PAC guarantee plus expected return value matching the exact model count. Our experiments show that this algorithm outperforms state-of-the-art techniques for approximate counting by 1-2 orders of magnitude in running time. We also show that our algorithm can be easily adapted to give a new fully polynomial randomized approximation scheme (FPRAS) for #DNF.

  1. [Bacchus et al., 2003] F. Bacchus, S. Dalmao, and T. Pitassi. Algo- rithms and complexity results for #SAT and Bayesian inference. In Proc. of FOCS, pages 340-351, 2003.
  2. [Belle et al., 2015] V. Belle, G. Van den Broeck, and A. Passerini. Hashing-based approximate probabilistic inference in hybrid do- mains. In Proc. of UAI, 2015.
  3. [Brooks et al., 2011] S. Brooks, A. Gelman, G. Jones, and X.-L. Meng. Handbook of Markov Chain Monte Carlo. Chapman & Hall/CRC, 2011.
  4. [Chakraborty et al., 2013a] S. Chakraborty, K. S. Meel, and M. Y. Vardi. A scalable and nearly uniform generator of SAT witnesses. In Proc. of CAV, pages 608-623, 2013.
  5. [Chakraborty et al., 2013b] S. Chakraborty, K. S. Meel, and M. Y. Vardi. A scalable approximate model counter. In Proc. of CP, pages 200-216, 2013.
  6. [Chakraborty et al., 2014a] S. Chakraborty, D. J. Fremont, K. S. Meel, S. A. Seshia, and M. Y. Vardi. Distribution-aware sam- pling and weighted model counting for SAT. In Proc. of AAAI, pages 1722-1730, 2014.
  7. [Chakraborty et al., 2014b] S. Chakraborty, K. S. Meel, and M. Y. Vardi. Balancing scalability and uniformity in SAT witness gen- erator. In Proc. of DAC, pages 1-6, 2014.
  8. [Chakraborty et al., 2015a] S. Chakraborty, D. J. Fremont, K. S. Meel, S. A. Seshia, and M. Y. Vardi. On parallel scalable uni- form sat witness generation. In Proc. of TACAS, pages 304-319, 2015.
  9. [Chakraborty et al., 2015b] S. Chakraborty, D. Fried, K. S. Meel, and M. Y. Vardi. From weighted to unweighted model counting. In Proceedings of AAAI, pages 689-695, 2015. IJCAI
  10. [Chakraborty et al., 2016a] S. Chakraborty, K. S. Meel, R. Mistry, and M. Y. Vardi. Approximate probabilistic inference via word- level counting. In Proc. of AAAI, 2016.
  11. [Chakraborty et al., 2016b] S. Chakraborty, K. S. Meel, and M. Y. Vardi. Algorithmic improvements in approximate counting for probabilistic inference: From linear to logarithmic SAT calls. Technical report, Department of Computer Science, Rice Uni- versity, 2016.
  12. [Chavira and Darwiche, 2008] M. Chavira and A. Darwiche. On probabilistic inference by weighted model counting. Artificial Intelligence, 172(6):772-799, 2008.
  13. [Cooper, 1990] G. F. Cooper. The computational complexity of probabilistic inference using bayesian belief networks. Artificial intelligence, 42(2):393-405, 1990.
  14. [Domshlak and Hoffmann, 2007] C. Domshlak and J. Hoffmann. Probabilistic planning via heuristic forward search and weighted model counting. Journal of Artificial Intelligence Research, 30(1):565-620, 2007.
  15. [Ermon et al., 2013a] S. Ermon, C. Gomes, A. Sabharwal, and B. Selman. Embed and project: Discrete sampling with universal hashing. In Proc. of NIPS, pages 2085-2093, 2013.
  16. [Ermon et al., 2013b] S. Ermon, C. P. Gomes, A. Sabharwal, and B. Selman. Optimization with parity constraints: From binary codes to discrete integration. In Proc. of UAI, 2013.
  17. [Ermon et al., 2014] S. Ermon, C. P. Gomes, A. Sabharwal, and B. Selman. Low-density parity constraints for hashing-based dis- crete integration. In Proc. of ICML, pages 271-279, 2014.
  18. [Gogate and Dechter, 2007] V. Gogate and R. Dechter. Approxi- mate counting by sampling the backtrack-free search space. In Proc. of the AAAI, volume 22, page 198, 2007.
  19. [Goldreich, 1999] O. Goldreich. The Counting Class #P. Lecture notes of course on "Introduction to Complexity Theory", Weiz- mann Institute of Science, 1999.
  20. [Gomes et al., 2007a] C. P. Gomes, J. Hoffmann, A. Sabharwal, and B. Selman. Short XORs for Model Counting; From Theory to Practice. In SAT, pages 100-106, 2007.
  21. [Gomes et al., 2007b] C. Gomes, A. Sabharwal, and B. Selman. Near-uniform sampling of combinatorial spaces using XOR con- straints. In Proc. of NIPS, pages 670-676, 2007.
  22. [Ivrii et al., 2015] A. Ivrii, S. Malik, K. S. Meel, and M. Y. Vardi. On computing minimal independent support and its applications to sampling and counting. Constraints, pages 1-18, 2015.
  23. [Jerrum and Sinclair, 1996] M. Jerrum and A. Sinclair. The Markov Chain Monte Carlo method: an approach to approximate count- ing and integration. Approximation algorithms for NP-hard prob- lems, pages 482-520, 1996.
  24. [Karp et al., 1989] R. Karp, M. Luby, and N. Madras. Monte-Carlo approximation algorithms for enumeration problems. Journal of Algorithms, 10(3):429-448, 1989.
  25. [Kitchen and Kuehlmann, 2007] N. Kitchen and A. Kuehlmann. Stimulus generation for constrained random simulation. In Proc. of ICCAD, pages 258-265, 2007.
  26. [Koller and Friedman, 2009] D. Koller and N. Friedman. Prob- abilistic Graphical Models: Principles and Techniques. MIT press, 2009.
  27. [Meel et al., 2016] K. S. Meel, M. Vardi, S. Chakraborty, D. J. Fre- mont, S. A. Seshia, D. Fried, A. Ivrii, and S. Malik. Constrained sampling and counting: Universal hashing meets sat solving. In Proc. of Beyond NP Workshop, 2016.
  28. [Meel, 2014] K. S. Meel. Sampling Techniques for Boolean Satisfi- ability. 2014. M.S. Thesis, Rice University.
  29. [Roth, 1996] D. Roth. On the hardness of approximate reasoning. Artificial Intelligence, 82(1):273-302, 1996. IJCAI
  30. [Sang et al., 2004] T. Sang, F. Bacchus, P. Beame, H. Kautz, and T. Pitassi. Combining component caching and clause learning for effective model counting. In Proc. of SAT, 2004.
  31. [Sipser, 1983] M. Sipser. A complexity theoretic approach to ran- domness. In Proc. of STOC, pages 330-335, 1983.
  32. [Soos et al., 2009] M. Soos, K. Nohl, and C. Castelluccia. Extend- ing SAT Solvers to Cryptographic Problems. In Proc. of SAT. Springer-Verlag, 2009.
  33. [Stockmeyer, 1983] L. Stockmeyer. The complexity of approxi- mate counting. In Proc. of STOC, pages 118-126, 1983.
  34. [Tessem, 1992] B. Tessem. Interval probability propagation. In- ternational Journal of Approximate Reasoning, 7(3-5):95-120, 1992.
  35. [Thurley, 2006] M. Thurley. SharpSAT: counting models with ad- vanced component caching and implicit BCP. In Proc. of SAT, pages 424-429, 2006.
  36. [Valiant, 1979] L. Valiant. The complexity of enumeration and re- liability problems. SIAM Journal on Computing, 8(3):410-421, 1979.
  37. [Wainwright and Jordan, 2008] M. J. Wainwright and M. I. Jordan. Graphical models, exponential families, and variational infer- ence. Found. Trends Machine Learning, 1(1-2):1-305, 2008.
  38. [Xue et al., 2012] Y. Xue, A. Choi, and A. Darwiche. Basing deci- sions on sentences in decision diagrams. In Proc. of AAAI, 2012.
  39. [Zhao et al., 2016] S. Zhao, S. Chaturapruek, A. Sabharwal, and S. Ermon. Closing the gap between short and long xors for model counting. In Proc. of AAAI (to appear), 2016.

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

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