Proceedings

Engineering an Efficient Approximate DNF-Counter

Download BibTeX Cite

Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence. Main Track. Pages 2031-2038.

https://doi.org/10.24963/ijcai.2023/226

Abstract

Model counting is a fundamental problem with many practical applications, including query evaluation in probabilistic databases and failure-probability estimation of networks. In this work, we focus on a variant of this problem where the underlying

formula is expressed in Disjunctive Normal Form (DNF), also known as #DNF. This problem has been shown to be #P-complete, making it intractable to solve exactly. Much research has therefore been focused on obtaining approximate solutions, particularly in the form of (epsilon, delta) approximations.

The primary contribution of this paper is a new approach, called pepin, to approximate #DNF counting that achieves (nearly) optimal time complexity and outperforms

existing FPRAS. Our approach is based on the recent breakthrough in the context of union of

sets in streaming. We demonstrate the effectiveness of our approach through extensive experiments and show that it provides an affirmative answer to the challenge of efficiently computing #DNF.

  1. [Chakraborty et al., 2016] Supratik Chakraborty, Kuldeep S. Meel, and Moshe Y. Vardi. Algorithmic improvements in approximate counting for probabilistic inference: From linear to logarithmic SAT calls. In Proc. of IJCAI, 2016. IJCAI
  2. [Dagum et al., 2000] Paul Dagum, Richard Karp, Michael Luby, and Sheldon Ross. An optimal algorithm for monte carlo estimation. SIAM Journal on computing, 29(5):1484-1496, 2000.
  3. [Dalvi and Suciu, 2007] Nilesh N. Dalvi and Dan Suciu. Ef- ficient query evaluation on probabilistic databases. VLDB J., 16(4):523-544, 2007.
  4. [Fink and Olteanu, 2011] Robert Fink and Dan Olteanu. On the optimal approximation of queries using tractable propositional languages. In ICDT, pages 174-185, 2011.
  5. [Gatterbauer and Suciu, 2014] Wolfgang Gatterbauer and Dan Suciu. Oblivious bounds on the probability of boolean functions. ACM Trans. Database Syst., 39(1):5:1-5:34, 2014.
  6. [Gopalan et al., 2013] Parikshit Gopalan, Raghu Meka, and Omer Reingold. DNF sparsification and a faster determin- istic counting algorithm. Comput. Complex., 22(2):275- 310, 2013.
  7. [Granlund and the GMP development team, 2020] Torbjörn Granlund and the GMP development team. The GNU multiple precision arithmetic library. Website, Nov 2020. https://gmplib.org/gmp-man-6.2.1.pdf. Link
  8. [Karger, 2001] David R Karger. A Randomized Fully Poly- nomial Time Approximation Scheme for the All-Terminal Network Reliability Problem. SIAM Review, 43(3):499- 522, 2001.
  9. [Karp and Luby, 1983] R.M. Karp and M. Luby. Monte- carlo algorithms for enumeration and reliability problems. Proc. of FOCS, 1983.
  10. [Karp et al., 1989] Richard M Karp, Michael Luby, and Neal Madras. Monte-carlo approximation algorithms for enu- meration problems. Journal of Algorithms, 10(3):429 - 448, 1989.
  11. [Le Cam, 1960] Lucien Le Cam. An approximation theorem for the poisson binomial distribution. Pacific Journal of Mathematics, 10(4):1181-1197, 1960.
  12. [Luby and Velickovic, 1996] Michael Luby and Boban Velickovic. On deterministic approximation of DNF. Algorithmica, 16(4/5):415-433, 1996.
  13. [Meel et al., 2017] Kuldeep S. Meel, Aditya A. Shrotri, and Moshe Y. Vardi. On hashing-based approaches to approx- imate DNF-counting. In Proc. of FSTTCS, volume 93, pages 41:1-41:14, 2017.
  14. [Meel et al., 2019] Kuldeep S. Meel, Aditya A. Shrotri, and Moshe Y. Vardi. Not all FPRASs are equal: demystifying FPRASs for DNF-counting. Constraints An Int. J., 24(3- 4):211-233, 2019.
  15. [Meel et al., 2021] Kuldeep S. Meel, N. V. Vinodchandran, and Sourav Chakraborty. Estimating the size of union of sets in streaming models. In PODS, pages 126-137, 2021.
  16. [Olteanu et al., 2010] Dan Olteanu, Jiewen Huang, and Christoph Koch. Approximate confidence computation in probabilistic databases. In ICDE, pages 145-156, 2010.
  17. [Sipser, 1983] Michael Sipser. A complexity theoretic ap- proach to randomness. In STOC, pages 330-335, 1983.
  18. [Stockmeyer, 1983] Larry J. Stockmeyer. The complexity of approximate counting (preliminary version). In STOC, pages 118-126, 1983.
  19. [Tao et al., 2004] Qingping Tao, Stephen Donald Scott, N. V. Vinodchandran, and Thomas Takeo Osugi. Svm-based generalized multiple-instance learning via approximate box counting. In ICML, volume 69 of ACM International Conference Proceeding Series. ACM, 2004.
  20. [Trevisan, 2004] Luca Trevisan. A note on approximate counting for k-DNF. In APPROX, volume 3122, pages 417-426, 2004.
  21. [Valiant, 1979] Leslie G. Valiant. The complexity of enu- meration and reliability problems. SIAM Journal on Com- puting, 8(3):410-421, 1979.
  22. [Vazirani, 2001] Vijay V. Vazirani. Approximation algo- rithms. Springer, 2001.

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

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