Proceedings

gDMC: A Generic Distributed Model Counting Framework via Work-Stealing

Download BibTeX Cite

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

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

Abstract

Propositional Model Counting (#SAT) is essential for probabilistic reasoning but faces scalability limits on single cores. Existing distributed approaches struggle with high initialization overheads (static decomposition) or rigid architecture. We propose a novel, generic framework for distributed exact model counting. Leveraging C++ templates, our architecture decouples parallel orchestration from solving logic, enabling state-of-the-art solvers to be parallelized with minimal modification. We implement an adaptive work-stealing strategy that ensures effective load balancing. Experiments on competition benchmarks show that our approach achieves near-linear scalability and significantly outperforms existing distributed solvers.

  1. [Audemard et al., 2013] Gilles Audemard, Jean-Marie Lagniez, and Laurent Simon. Improving glucose for in- cremental SAT solving with assumptions: Application to MUS extraction. In Matti Järvisalo and Allen Van Gelder, editors, Theory and Applications of Satisfiability Testing -SAT 2013 -16th International Conference, Helsinki, Finland, July 8-12, 2013. Proceedings, volume 7962 of Lecture Notes in Computer Science, pages 309-317.
  2. [Baluta et al., 2019] Teodora Baluta, Shiqi Shen, Shweta Shinde, Kuldeep S. Meel, and Prateek Saxena. Quantita- tive verification of neural networks and its security appli- cations. In Lorenzo Cavallaro, Johannes Kinder, XiaoFeng Wang, and Jonathan Katz, editors, Proceedings of the 2019 ACM SIGSAC Conference on Computer and Communica- tions Security, CCS 2019, London, UK, November 11-15, 2019, pages 1249-1264. ACM, 2019.
  3. [Burchard et al., 2015] Jan Burchard, Tobias Schubert, and Bernd Becker. Laissez-faire caching for parallel #sat solv- ing. In Marijn Heule and Sean A. Weaver, editors, Theory and Applications of Satisfiability Testing -SAT 2015 -18th International Conference, Austin, TX, USA, September 24- 27, 2015, Proceedings, volume 9340 of Lecture Notes in Computer Science, pages 46-61. Springer, 2015.
  4. [Burchard et al., 2016] Jan Burchard, Tobias Schubert, and Bernd Becker. Distributed parallel #sat solving. In 2016 IEEE International Conference on Cluster Computing, CLUSTER 2016, Taipei, Taiwan, September 12-16, 2016, pages 326-335. IEEE Computer Society, 2016.
  5. [Chavira and Darwiche, 2008] Mark Chavira and Adnan Darwiche. On probabilistic inference by weighted model counting. Artif. Intell., 172(6-7):772-799, 2008.
  6. [Domshlak and Hoffmann, 2006] Carmel Domshlak and Jörg Hoffmann. Fast probabilistic planning through weighted model counting. In Derek Long, Stephen F. Smith, Daniel Borrajo, and Lee McCluskey, editors, Proceedings of the Sixteenth International Conference on Automated Planning and Scheduling, ICAPS 2006, Cumbria, UK, June 6-10, 2006, pages 243-252. AAAI, 2006.
  7. [Dueñas-Osorio et al., 2017] Leonardo Dueñas-Osorio, Kuldeep S. Meel, Roger Paredes, and Moshe Y. Vardi. Counting-based reliability estimation for power- transmission grids. In Satinder Singh and Shaul Markovitch, editors, Proceedings of the Thirty-First AAAI Conference on Artificial Intelligence, February 4-9, 2017, San Francisco, California, USA, pages 4488-4494. AAAI Press, 2017.
  8. [Feiten et al., 2012] Linus Feiten, Matthias Sauer, Tobias Schubert, Alexander Czutro, Eberhard Böhl, Ilia Polian, and Bernd Becker. #sat-based vulnerability analysis of security components -A case study. In 2012 IEEE In- ternational Symposium on Defect and Fault Tolerance in VLSI and Nanotechnology Systems, DFT 2012, Austin, TX, USA, October 3-5, 2012, pages 49-54. IEEE Computer Society, 2012. [Fichte and Hecher, 2025]
  9. Johannes K. Fichte and Markus Hecher. The model counting competitions 2021-2023, 2025.
  10. [Fichte et al., 2021] Johannes Klaus Fichte, Markus Hecher, and Valentin Roland. Parallel model counting with CUDA: algorithm engineering for efficient hardware utilization. In Laurent D. Michel, editor, 27th International Conference on Principles and Practice of Constraint Programming, CP 2021, Montpellier, France (Virtual Conference), Octo- ber 25-29, 2021, volume 210 of LIPIcs, pages 24:1-24:20. Schloss Dagstuhl -Leibniz-Zentrum für Informatik, 2021.
  11. [Girol et al., 2021] Guillaume Girol, Benjamin Farinier, and Sébastien Bardin. Not all bugs are created equal, but ro- bust reachability can tell the difference. In Alexandra Silva and K. Rustan M. Leino, editors, Computer Aided Veri- fication -33rd International Conference, CAV 2021, Vir- tual Event, July 20-23, 2021, Proceedings, Part I, volume 12759 of Lecture Notes in Computer Science, pages 669- 693. Springer, 2021.
  12. [Hamann and Strasser, 2018] Michael Hamann and Ben Strasser. Graph bisection with pareto optimization. ACM J. Exp. Algorithmics, 23, 2018.
  13. [Korhonen and Järvisalo, 2021] Tuukka Korhonen and Matti Järvisalo. Integrating tree decompositions into decision heuristics of propositional model counters (short paper).
  14. In Laurent D. Michel, editor, 27th International Confer- ence on Principles and Practice of Constraint Program- ming, CP 2021, Montpellier, France (Virtual Conference), October 25-29, 2021, volume 210 of LIPIcs, pages 8:1- 8:11. Schloss Dagstuhl -Leibniz-Zentrum für Informatik, 2021.
  15. [Lagniez and Marquis, 2017] Jean-Marie Lagniez and Pierre Marquis. An improved decision-dnnf compiler. In Car- les Sierra, editor, Proceedings of the Twenty-Sixth Inter- national Joint Conference on Artificial Intelligence, IJCAI 2017, Melbourne, Australia, August 19-25, 2017, pages 667-673. ijcai.org, 2017. IJCAI
  16. [Lagniez and Marquis, 2019] Jean-Marie Lagniez and Pierre Marquis. A recursive algorithm for projected model count- ing. In The Thirty-Third AAAI Conference on Artificial In- telligence, AAAI 2019, The Thirty-First Innovative Appli- cations of Artificial Intelligence Conference, IAAI 2019, The Ninth AAAI Symposium on Educational Advances in Artificial Intelligence, EAAI 2019, Honolulu, Hawaii, USA, January 27 -February 1, 2019, pages 1536-1543. AAAI Press, 2019.
  17. [Lagniez et al., 2016] Jean-Marie Lagniez, Emmanuel Lonca, and Pierre Marquis. Improving model counting by leveraging definability. In Subbarao Kambhampati, editor, Proceedings of the Twenty-Fifth International Joint Conference on Artificial Intelligence, IJCAI 2016, New York, NY, USA, 9-15 July 2016, pages 751-757. IJCAI/AAAI Press, 2016.
  18. [Lagniez et al., 2018] Jean-Marie Lagniez, Pierre Marquis, and Nicolas Szczepanski. DMC: A distributed model counter. In Jérôme Lang, editor, Proceedings of the Twenty-Seventh International Joint Conference on Artifi- cial Intelligence, IJCAI 2018, July 13-19, 2018, Stock- holm, Sweden, pages 1331-1338. ijcai.org, 2018. IJCAI
  19. [Mei et al., 2024] Jingyi Mei, Marcello M. Bonsangue, and Alfons Laarman. Simulating quantum circuits by model counting. In Arie Gurfinkel and Vijay Ganesh, editors, Computer Aided Verification -36th International Confer- ence, CAV 2024, Montreal, QC, Canada, July 24-27, 2024, Proceedings, Part III, volume 14683 of Lecture Notes in Computer Science, pages 555-578. Springer, 2024.
  20. [Nadel and Ryvchin, 2012] Alexander Nadel and Vadim Ryvchin. Efficient SAT solving under assumptions. In Alessandro Cimatti and Roberto Sebastiani, editors, The- ory and Applications of Satisfiability Testing -SAT 2012 -15th International Conference, Trento, Italy, June 17-20, 2012. Proceedings, volume 7317 of Lecture Notes in Com- puter Science, pages 242-255. Springer, 2012.
  21. [Reis and Stroustrup, 2006] Gabriel Dos Reis and Bjarne Stroustrup. Specifying C++ concepts. In J. Gregory Mor- risett and Simon L. Peyton Jones, editors, Proceedings of the 33rd ACM SIGPLAN-SIGACT Symposium on Princi- ples of Programming Languages, POPL 2006, Charleston, South Carolina, USA, January 11-13, 2006, pages 295- 308. ACM, 2006.
  22. [Robertson and Seymour, 1986] Neil Robertson and Paul D. Seymour. Graph minors. II. algorithmic aspects of tree- width. J. Algorithms, 7(3):309-322, 1986.
  23. [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 SAT 2004 -The Seventh International Confer- ence on Theory and Applications of Satisfiability Testing, 10-13 May 2004, Vancouver, BC, Canada, Online Pro- ceedings, 2004.
  24. [Sang et al., 2005] Tian Sang, Paul Beame, and Henry A. Kautz. Performing bayesian inference by weighted model counting. In Manuela M. Veloso and Subbarao Kambham- pati, editors, Proceedings, The Twentieth National Confer- ence on Artificial Intelligence and the Seventeenth Innova- tive Applications of Artificial Intelligence Conference, July 9-13, 2005, Pittsburgh, Pennsylvania, USA, pages 475- 482. AAAI Press / The MIT Press, 2005.
  25. [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, Pro- ceedings of the Twenty-Eighth International Joint Confer- ence on Artificial Intelligence, IJCAI 2019, Macao, China, August 10-16, 2019, pages 1169-1176. ijcai.org, 2019. IJCAI
  26. [Teuber and Weigl, 2021] Samuel Teuber and Alexander Weigl. Quantifying software reliability via model- counting. In Alessandro Abate and Andrea Marin, edi- tors, Quantitative Evaluation of Systems -18th Interna- tional Conference, QEST 2021, Paris, France, August 23- 27, 2021, Proceedings, volume 12846 of Lecture Notes in Computer Science, pages 59-79. Springer, 2021.
  27. [Toda, 1991] Seinosuke Toda. PP is as hard as the polynomial-time hierarchy. SIAM J. Comput., 20(5):865- 877, 1991.
  28. [Xu et al., 2025] Zhenghang Xu, Minghao Yin, and Jean- Marie Lagniez. An embarrassingly parallel model counter. In Proceedings of the 22nd International Conference on Principles of Knowledge Representation and Reasoning, KR 2025, Melbourne, Australia. November 11-17, 2025, 2025.

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

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