Proceedings

Scalable Algorithms for Approximate DNF Model Counting

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 2191-2198.

https://doi.org/10.24963/ijcai.2026/244

Abstract

Model counting of Disjunctive Normal Form (DNF) formulas is a critical problem in applications such as probabilistic inference and network reliability.

For example, it is often used for query evaluation in probabilistic databases. Due to the computational intractability of exact DNF counting, there has been a

line of research into a variety of approximation algorithms.

We develop a new Monte Carlo approach with an adaptive stopping rule and short-circuit formula evaluation. We prove it achieves Probably Approximately Correct (PAC) learning bounds and has

asymptotically improved time and randomness complexity compared to previous methods. We also show experimentally that it out-performs prior algorithms by at least three orders of magnitude in running time and scalability.

  1. [Abboud et al., 2020] Ralph Abboud, İsmail İ Ceylan, and Thomas Lukasiewicz. Learning to reason: Leveraging neural networks for approximate DNF counting. In Proc. of AAAI, 2020.
  2. [Bacchus et al., 2003] Fahiem Bacchus, Shannon Dalmao, and Toniann Pitassi. Algorithms and complexity results for #SAT and bayesian inference. In Proc. of FOCS, 2003.
  3. [Bellare and Rogaway, 2004] Mihir Bellare and Phillip Rog- away. Code-based game-playing proofs and the security of triple encryption. Cryptology ePrint, 2004.
  4. [Borgwardt et al., 2017] Stefan Borgwardt, Ismail Ceylan, and Thomas Lukasiewicz. Ontology-mediated queries for probabilistic databases. In Proc. of AAAI, 2017.
  5. [Bringmann and Larsen, 2013] Karl Bringmann and Kasper G Larsen. Succinct sampling from discrete distributions. In Proc. of ACM Symposium on Theory of Computing, 2013.
  6. [Chakraborty et al., 2016] Supratik Chakraborty, Kuldeep S Meel, and Moshe Vardi. Algorithmic improvements in approximate counting for probabilistic inference: From linear to logarithmic SAT calls. In Proc. of IJCAI, 2016. IJCAI
  7. [Dagum et al., 2000] Paul Dagum, Richard Karp, Michael Luby, and Sheldon Ross. An optimal algorithm for monte carlo estimation. SIAM Journal of Computing, 2000.
  8. [Dalvi and Suciu, 2007] Nilesh Dalvi and Dan Suciu. Effi- cient query evaluation on probabilistic databases. In Proc. of VDLB, 2007.
  9. [De Raedt et al., 2007] Luc De Raedt, Angelika Kimmig, and Hannu Toivonen. Problog: A probabilistic prolog and its application in link discovery. In Proc. of IJCAI, 2007. IJCAI
  10. [Draper and Saad, 2026] Thomas L Draper and Feras A Saad. Efficient online random sampling via randomness recycling. In Proc. of ACM-SIAM Symposium on Discrete Algorithms (SODA), pp 2473-2511, 2026.
  11. [Dudek et al., 2020] Jeffrey Dudek, Vu Phan, and Moshe Vardi. ADDMC: Weighted model counting with algebraic decision diagrams. In Proc. of AAAI, 2020.
  12. [Duenas Osorio et al., 2017] Leonardo Duenas Osorio, Kuldeep S Meel, Roger Paredes, and Moshe Vardi. SAT-based connectivity reliability estimation for power transmission grids. Tech Report, 2017.
  13. [Harris and Srinivasan, 2018] David G Harris and Aravind Srinivasan. Improved bounds and algorithms for graph cuts and network reliability. Random Structures & Algorithms, 2018.
  14. [Karger and Stein, 1996] David R Karger and Clifford Stein. A new approach to the minimum cut problem. Journal of the ACM, 1996.
  15. [Karger, 2001] David R Karger. A randomized fully poly- nomial time approximation scheme for the all-terminal network reliability problem. SIAM Review, 2001.
  16. [Karp and Luby, 1983] Richard Karp and Michael Luby. Monte-carlo algorithms for enumeration and reliability problems. In Proc. of SFCS, 1983.
  17. [Karp et al., 1989] Richard Karp, Michael Luby, and Neal Madras. Monte-carlo approximation algorithms for enu- meration problems. Algorithms, 1989.
  18. [Kimmig et al., 2011] Angelika Kimmig, Guy Van den Broeck, and Luc De Raedt. An algebraic prolo for rea- soning about possible worlds. In Proc. of AAAI, 2011.
  19. [Meel et al., 2017] Kuldeep Meel, Aditya Shrotri, and Moshe Vardi. On hashing-based approaches to approximate DNF- counting. In Proc. of FSTTCS, 2017.
  20. [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, 2019.
  21. [Meel et al., 2021] Kuldeep S Meel, N.V. Vinodchandran, and Sourav Chakraborty. Estimating the size of union of sets in streaming models. In Proc. of PODS, 2021.
  22. [Narodytska et al., 2019] Nina Narodytska, Aditya Shrotri, Kuldeep S Meel, Alexey Ignatiev, and Joao Marques-Silva. Assessing heuristic machine learning explanations with model counting. In Proc. of SAT, 2019.
  23. [Naveh et al., 2007] Yehuda Naveh, Michael Rimon, Itai Jaeger, Yoav Katz, Michael Vinov, Eitan Marcu, and Gil Shurek. Constraint-based random stimuli generation for hardware verification. AI Magazine, 2007.
  24. [Pote et al., 2025] Yash Pote, Kuldeep S Meel, and Jiong Yang. Towards real-time approximate counting. In Proc. of AAAI, 2025.
  25. [Sang et al., 2005] Tian Sang, Paul Beame, and Henry A Kautz. Performing bayesian inference by weighted model counting. In Proc. of AAAI, 2005.
  26. [Sly, 2010] Allan Sly. Computational transition at the unique- ness threshold. In Proc. of FOCS, 2010.
  27. [Soos and Meel, 2019] Mate Soos and Kuldeep Meel. Bird: Engineering an efficient cnf-xor sat solver and its applica- tions to approximate model counting. In Proc. of AAAI, 2019.
  28. [Soos et al., 2023] Mate Soos, Aggarwal Divesh, Sourav Chakraborty, Kuldeep S Meel, and Maciej Obremski. En- gineering an efficient approximate dnf-counter. In Proc. of IJCAI, 2023. IJCAI
  29. [Valiant, 1979] Leslie G Valiant. The complexity of enumera- tion and reliability problems. SIAM Journal on Computing, 1979.
  30. [Valiant, 2008] Leslie G Valiant. On probabilistic inference by weighted model counting. Artificial Intelligence, 2008.
  31. [Wald, 1945] Abraham Wald. Some generalizations of the theory of cumulative sums of random variables. The Annals of Mathematical Statistics, 1945.

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

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