Proceedings

Not All FPRASs are Equal: Demystifying FPRASs for DNF-Counting (Extended Abstract)

Download BibTeX Cite

Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence. Best Sister Conferences. Pages 6211-6215.

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

Abstract

The problem of counting the number of solutions of a DNF formula, also called #DNF, is a fundamental problem in AI with wide-ranging applications. Owing to the intractability of the exact variant, efforts have focused on the design of approximate techniques. Consequently, several  Fully Polynomial Randomized Approximation Schemes (FPRASs) based on Monte Carlo techniques have been proposed. Recently, it was discovered that hashing-based techniques too lend themselves to FPRASs for #DNF. Despite significant improvements, the complexity of the hashing-based FPRAS is still worse than that of the best Monte Carlo FPRAS by polylog factors. Two questions were left unanswered in previous works: Can the complexity of the hashing-based techniques be improved? How do these approaches compare empirically? In this paper, we first propose a new search procedure for the hashing-based FPRAS that removes the polylog factors from its time complexity. We then present the first empirical study of runtime behavior of different FPRASs for #DNF, which produces a nuanced picture. We observe that there is no single best algorithm for all formulas and that the algorithm with one of the worst time complexities solves the largest number of benchmarks.

  1. [Babai, 1979] L. Babai. Monte-carlo algorithms in graph isomor- phism testing. Université tde Montréal Technical Report, DMS, pages 79-10, 1979.
  2. [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.
  3. [Biondi et al., 2018] F. Biondi, M. Enescu, A. Heuser, A. Legay, K. S. Meel, and J. Quilbeuf. Scalable approximation of quantita- tive information flow in programs. In Proc. of VMCAI, 1 2018.
  4. [Carter and Wegman, 1977] J. L. Carter and M. N. Wegman. Uni- versal classes of hash functions. In Proc. of STOC, pages 106- 112. ACM, 1977.
  5. [Chakraborty et al., 2016] S. Chakraborty, K. S. Meel, and M. Y. Vardi. Algorithmic improvements in approximate counting for probabilistic inference: From linear to logarithmic SAT calls. In Proc. of IJCAI, 2016. IJCAI
  6. [Dagum et al., 2000] P. Dagum, R. Karp, M. Luby, and S. Ross. An optimal algorithm for Monte Carlo estimation. SIAM Journal on Computing, 29(5):1484-1496, 2000.
  7. [Dalvi and Suciu, 2007] N. Dalvi and D. Suciu. Efficient query evaluation on probabilistic databases. The VLDB Journal, 16(4):523-544, 2007.
  8. [Dueñas-Osorio et al., 2017] L. Dueñas-Osorio, K. S. Meel, R. Paredes, and M. Y. Vardi. SAT-based connectivity reliability estimation for power transmission grids. Technical report, Rice University, 2017.
  9. [Ermon et al., 2013] S. Ermon, C. P. Gomes, A. Sabharwal, and B. Selman. Taming the curse of dimensionality: Discrete inte- gration by hashing and optimization. In Proc. of ICML, pages 334-342, 2013.
  10. [Karger, 2001] D. R. Karger. A Randomized Fully Polynomial Time Approximation Scheme for the All-Terminal Network Re- liability Problem. SIAM Review, 2001.
  11. [Karp and Luby, 1983] R.M. Karp and M. Luby. Monte Carlo algo- rithms for enumeration and reliability problems. Proc. of FOCS, 1983.
  12. [Karp et al., 1989] R.M. Karp, M. Luby, and N. Madras. Monte Carlo approximation algorithms for enumeration problems. Jour- nal of Algorithms, 10(3):429-448, 1989.
  13. [Meel et al., 2017] K. S. Meel, A. A. Shrotri, and M. Y. Vardi. On hashing-based approaches to approximate DNF-counting. In Proc. of FSTTCS, 12 2017.
  14. [Meel et al., 2018] Kuldeep S Meel, Aditya A Shrotri, and Moshe Y Vardi. Not all fprass are equal: demystifying fprass for dnf-counting. Constraints, pages 1-23, 2018.
  15. [Meel, 2018] Kuldeep S Meel. Constrained counting and sampling: Bridging the gap between theory and practice. arXiv preprint arXiv:1806.02239, 2018.
  16. [Motwani and Raghavan, 2010] R. Motwani and P. Raghavan. Ran- domized algorithms. 2010.
  17. [Valiant, 1979] L.G. Valiant. The complexity of enumeration and reliability problems. SIAM Journal on Computing, 8(3):410-421, 1979.
  18. [Vazirani, 2013] V. V. Vazirani. Approximation algorithms. Springer Science & Business Media, 2013.

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

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