Proceedings

A Top-Down Tree Model Counter for Quantified Boolean Formulas

Download BibTeX Cite

Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence. Main Track. Pages 1853-1861.

https://doi.org/10.24963/ijcai.2024/205

Abstract

This paper addresses the challenge of solution counting for Quantified Boolean Formulas (QBFs), a task distinct from the well-established model counting problem for SAT (\#SAT). Unlike SAT, where models are straightforward assignments to Boolean variables, QBF solution counting involves tree models that capture dependencies among variables within different quantifier blocks. We present a comprehensive top-down tree model counter capable of handling diverse satisfiable QBF formulas. Emphasizing the critical role of the branching heuristic, which must consider variables in the correct order according to quantification blocks, we further demonstrate the importance of addressing connected components, free variables, and caching. Experimental results indicate that our proposed approach for counting tree models of QBF formulas is highly efficient in practice, surpassing existing state-of-the-art methods designed for this specific purpose.

  1. [Audemard et al., 2022] Gilles Audemard, Jean-Marie Lagniez, and Marie Miceli. A new exact solver for (weighted) max#sat. In 25th International Conference on Theory and Applications of Satisfiability Testing, SAT 2022, volume 236 of LIPIcs, pages 28:1-28:20. Schloss Dagstuhl -Leibniz-Zentrum für Informatik, 2022.
  2. [Aziz et al., 2015] Rehan Abdul Aziz, Geoffrey Chu, Chris- tian J. Muise, and Peter J. Stuckey. #∃sat: Projected model counting. In Theory and Applications of Satisfiability Test- ing -SAT 2015 -18th International Conference, volume 9340 of Lecture Notes in Computer Science, pages 121- 137. Springer, 2015.
  3. [Balabanov and Jiang, 2012] Valeriy Balabanov and Jie- Hong R. Jiang. Unified QBF certification and its appli- cations. Formal Methods Syst. Des., 41(1):45-65, 2012.
  4. [Balabanov et al., 2015] Valeriy Balabanov, Jie- Hong Roland Jiang, Mikolas Janota, and Magdalena Widl. Efficient extraction of QBF (counter)models from long-distance resolution proofs. In Proc. of the 29th AAAI Conf. on Artificial Intelligence (AAAI), pages 3694-3701. AAAI Press, 2015.
  5. [Bart et al., 2014] Anicet Bart, Frédéric Koriche, Jean-Marie Lagniez, and Pierre Marquis. Symmetry-driven decision diagrams for knowledge compilation. In Proc. of 21st Eu- rop. Conf. on Artificial Intelligence (ECAI), volume 263 of Frontiers in Artificial Intelligence and Applications, pages 51-56. IOS Press, 2014.
  6. [Bauland et al., 2005] Michael Bauland, Elmar Böhler, Na- dia Creignou, Steffen Reith, Henning Schnoor, and Herib- ert Vollmer. Quantified constraints: The complexity of decision and counting for bounded alternation. Electron. Colloquium Comput. Complex., TR05-024, 2005.
  7. [Becker et al., 2012] Bernd Becker, Rüdiger Ehlers, Matthew Lewis, and Paolo Marin. ALLQBF Solving by Computational Learning. In Proc. of the 10th Int. Conf. on Automated Technology for Verification and Analysis (ATVA), volume 7561 of LNCS, pages 370-384. Springer, 2012.
  8. [Beyersdorff et al., 2014] Olaf Beyersdorff, Leroy Chew, and Mikolas Janota. On unification of QBF resolution- based calculi. In Proc. of the 39th Int. Symp. on Math- ematical Foundations of Computer Science (MFCS), vol- ume 8635 of LNCS, pages 81-93. Springer, 2014.
  9. [Beyersdorff et al., 2021] Olaf Beyersdorff, Janota Mikolás, Florian Lonsing, and Martina Seidl. Quantified Boolean Formulas. In Handbook of Satisfiability, volume 336 of Frontiers in Artificial Intelligence and Applications, pages 1177-1221. IOS Press, 2021.
  10. [Birnbaum and Lozinskii, 1999] Elazar Birnbaum and Eliezer L. Lozinskii. The good old Davis-Putnam procedure helps counting models. J. Artif. Intell. Res., 10:457-477, 1999.
  11. [Cheng and Jiang, 2023] Che Cheng and Jie-Hong R. Jiang. Lifting (D)QBF preprocessing and solving techniques to (D)SSAT. In Proc. of the 37th AAAI Conf. on Artificial Intelligence (AAAI), 35th Conf. on Innovative Applications of Artificial Intelligence (IAAI), pages 3906-3914. AAAI Press, 2023.
  12. [Chew and Slivovsky, 2022] Leroy Chew and Friedrich Slivovsky. Towards uniform certification in QBF. In Proc. of the 39th Int. Symp. on Theoretical Aspects of Computer Science (STACS), volume 219 of LIPIcs, pages 22:1-22:23. Schloss Dagstuhl -Leibniz-Zentrum für Informatik, 2022.
  13. [Dubois, 1991] Olivier Dubois. Counting the number of so- lutions for instances of satisfiability. Theor. Comput. Sci., 81(1):49-64, 1991.
  14. [Fremont et al., 2017] Daniel J. Fremont, Markus N. Rabe, and Sanjit A. Seshia. Maximum model counting. In Pro- ceedings of the Thirty-First AAAI Conference on Artificial Intelligence, pages 3885-3892. AAAI Press, 2017.
  15. [Giunchiglia et al., 2021] Enrico Giunchiglia, Paolo Marin, and Massimo Narizzano. Reasoning with quantified boolean formulas. In Handbook of Satisfiability -Second Edition, volume 336 of Frontiers in Artificial Intelligence and Applications, pages 1157-1176. IOS Press, 2021.
  16. [Goultiaeva et al., 2011] Alexandra Goultiaeva, Allen Van Gelder, and Fahiem Bacchus. A uniform approach for gen- erating proofs and strategies for both true and false QBF formulas. In Proc. of the 22nd Int. Joint Conf. on Artificial Intelligence (IJCAI), pages 546-553. IJCAI/AAAI, 2011. IJCAI
  17. [Heisinger and Seidl, 2023] Simone Heisinger and Martina Seidl. True crafted formula families for benchmarking quantified satisfiability solvers. In Proc. of the 16th Int. Conf. on Intelligent Computer Mathematics (CICM), vol- ume 14101 of LNCS, pages 291-296. Springer, 2023.
  18. [Hemaspaandra and Vollmer, 1995] Lane A. Hemaspaandra and Heribert Vollmer. The satanic notations: count- ing classes beyond #P and other definitional adventures. SIGACT News, 26(1):2-13, 1995.
  19. [Heule et al., 2015] Marijn Heule, Matti Järvisalo, Florian Lonsing, Martina Seidl, and Armin Biere. Clause elimina- tion for SAT and QSAT. J. Artif. Intell. Res., 53:127-168, 2015.
  20. [Kleine Büning and Bubeck, 2021] Hans Kleine Büning and Uwe Bubeck. Theory of quantified boolean formulas. In Handbook of Satisfiability -Second Edition, volume 336 of Frontiers in Artificial Intelligence and Applications, pages 1131-1156. IOS Press, 2021.
  21. [Kleine Büning et al., 1995] Hans Kleine Büning, Marek Karpinski, and Andreas Flögel. Resolution for quantified boolean formulas. Inf. Comput., 117(1):12-18, 1995.
  22. [Ladner, 1989] Richard E. Ladner. Polynomial space count- ing problems. SIAM J. Comput., 18(6):1087-1097, 1989.
  23. [Lagniez and Marquis, 2017] Jean-Marie Lagniez and Pierre Marquis. On preprocessing techniques and their impact on propositional model counting. J. Autom. Reason., 58(4):413-481, 2017.
  24. [Lagniez and Marquis, 2019] Jean-Marie Lagniez and Pierre Marquis. A recursive algorithm for projected model count- ing. In Proc. of the 33rd Conf. on Artificial Intelligence (AAAI), 31st Innovative Applications of Artificial Intelli- gence Conf. (IAAI), pages 1536-1543. AAAI Press, 2019.
  25. [Lagniez and Marquis, 2021] Jean-Marie Lagniez and Pierre Marquis. About caching in d4 2.0. In Workshop on Count- ing and Sampling 2021, 2021.
  26. [Lagniez et al., 2020] Jean-Marie Lagniez, Emmanuel Lonca, and Pierre Marquis. Definability for model counting. Artif. Intell., 281:103229, 2020.
  27. [Littman et al., 1998] Michael L. Littman, Judy Goldsmith, and Martin Mundhenk. The computational complexity of probabilistic planning. J. Artif. Intell. Res., 9:1-36, 1998.
  28. [Lonsing and Egly, 2017] Florian Lonsing and Uwe Egly. Depqbf 6.0: A search-based QBF solver beyond tradi- tional QCDCL. In Proc. of the 26th Int. Conf. on Auto- mated Deduction (CADE), volume 10395 of LNCS, pages 371-384. Springer, 2017.
  29. [Lonsing and Egly, 2018] Florian Lonsing and Uwe Egly. QRAT+: generalizing QRAT by a more powerful QBF re- dundancy property. In Proc. of the 9th Int. Conf. on Auto- mated Reasoning (IJCAR), volume 10900 of LNCS, pages 161-177. Springer, 2018.
  30. [Majercik, 2009] Stephen M. Majercik. Stochastic boolean satisfiability. In Armin Biere, Marijn Heule, Hans van Maaren, and Toby Walsh, editors, Handbook of Satisfiabil- ity, volume 185 of Frontiers in Artificial Intelligence and Applications, pages 887-925. IOS Press, 2009.
  31. [Plank et al., 2023] Andreas Plank, Sibylle Möhle, and Mar- tina Seidl. Enumerative level-2 solution counting for quan- tified boolean formulas (short paper). In Proc. of the 29th Int. Conf. on Principles and Practice of Constraint (CP), volume 280 of LIPIcs, pages 49:1-49:10. Schloss Dagstuhl -Leibniz-Zentrum für Informatik, 2023.
  32. [Rabe and Tentrup, 2015] Markus N. Rabe and Leander Ten- trup. CAQE: A certifying QBF solver. In Proc. of the Int. Conf. on Formal Methods in Computer-Aided Design (FMCAD), pages 136-143. IEEE, 2015.
  33. [Sang et al., 2004] Tian Sang, Fahiem Bacchus, Paul Beame, Henry A. Kautz, and Toniann Pitassi. Combining com- ponent caching and clause learning for effective model counting. In Proc. of the 7th Int. Conf. on Theory and Ap- plications of Satisfiability Testing (SAT), Online Proceed- ings, 2004.
  34. [Sang et al., 2005] Tian Sang, Paul Beame, and Henry A. Kautz. Heuristics for fast exact model counting. In Proc. of the 8th Int. Conf. on Theory and Applications of Satis- fiability Testing (SAT), volume 3569 of LNCS, pages 226- 240. Springer, 2005.
  35. [Sharma et al., 2019] Shubham Sharma, Subhajit Roy, Mate Soos, and Kuldeep S. Meel. GANAK: A scalable proba- bilistic exact model counter. In Sarit Kraus, editor, Proc. of the 28 Int. Joint Conf. on Artificial Intelligence (IJCAI), pages 1169-1176. ijcai.org, 2019. IJCAI
  36. [Shaw et al., 2024] Arijit Shaw, Brendan Juba, and Kuldeep S. Meel. An approximate skolem function counter, 2024.
  37. [Shukla et al., 2019] Ankit Shukla, Armin Biere, Luca Pulina, and Martina Seidl. A survey on applications of quantified Boolean formulas. In Proc. of the Int. Conf. on Tools with Artificial Intelligence (ICTAI), pages 78-84. IEEE, 2019.
  38. [Shukla et al., 2022] Ankit Shukla, Sibylle Möhle, Manuel Kauers, and Martina Seidl. Outercount: A first-level solution-counter for quantified boolean formulas. In Proc. of the 15th Int. Conf on Intelligent Computer Mathe- matics (CICM), volume 13467 of LNCS, pages 272-284. Springer, 2022.
  39. [Stockmeyer, 1976] Larry J. Stockmeyer. The polynomial- time hierarchy. Theor. Comput. Sci., 3(1):1-22, 1976.
  40. [van Bremen et al., 2021] Timothy van Bremen, Vincent Derkinderen, Shubham Sharma, Subhajit Roy, and Kuldeep S. Meel. Symmetric component caching for model counting on combinatorial instances. In Proc. of Thirty-Fifth AAAI Conf. on Artificial Intelligence, pages 3922-3930. AAAI Press, 2021.
  41. [Wimmer et al., 2019] Ralf Wimmer, Christoph Scholl, and Bernd Becker. The (D)QBF preprocessor HQSpre -un- derlying theory and its implementation. J. Satisf. Boolean Model. Comput., 11(1):3-52, 2019.

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

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