Proceedings

Complementary Branching for #SAT: Bounded-Degree Bounds and Faster #3-SAT

Download BibTeX Cite

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

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

Abstract

We present complementary branching, a new branching approach for model counting based on the complement counting paradigm. Instead of branching on individual variables, complementary branching decomposes the counting problem for arbitrary CNF formulas into several subformulas, which naturally augments the classic DPLL branching. We show two novel results in which the main tool is complementary branching. First, we design new #SAT algorithms for sparse CNF formulas running in time O*(2^(alpha n)), for some constant alpha < 1. As a second application, we improve the best known deterministic upper bound for #3-SAT to O*(1.637^n) by using a version of clause learning based on complementary branching. These results demonstrate that complementary branching is a powerful tool for designing faster exact algorithms for propositional model counting.

  1. [Arvind and Schuler, 2003] Vikraman Arvind and Rainer Schuler. The quantum query complexity of 0-1 knapsack and associated claw problems. In Algorithms and Compu- tation, 14th International Symposium, ISAAC, pages 168- 177, 2003.
  2. [Bacchus et al., 2003] Fahiem Bacchus, Shannon Dalmao, and Toniann Pitassi. Algorithms and Complexity Results for #SAT and Bayesian Inference. In Proceedings of the 44th Annual IEEE Symposium on Foundations of Com- puter Science, FOCS, 2003.
  3. [Beck et al., 2020] Gabrielle Beck, Maximilian Zinkus, and Matthew Green. Automating the development of chosen ciphertext attacks. In 29th USENIX Security Symposium, pages 1821-1837, 2020.
  4. [Belle, 2017] Vaishak Belle. Open-universe weighted model counting. In Proceedings of the Thirty-First AAAI Conference on Artificial Intelligence, AAAI'17, page 3701-3708, 2017.
  5. [Calabro et al., 2006] Chris Calabro, Russell Impagliazzo, and Ramamohan Paturi. A duality between clause width and clause density for SAT. In 21st Annual IEEE Con- ference on Computational Complexity (CCC 2006), pages 252-260, 2006.
  6. [Calabro et al., 2009] Chris Calabro, Russell Impagliazzo, and Ramamohan Paturi. The complexity of satisfiability of small depth circuits. In Parameterized and Exact Compu- tation, 4th International Workshop, IWPEC 2009, volume 5917 of Lecture Notes in Computer Science, pages 75-85, 2009.
  7. [Chavira and Darwiche, 2008] Mark Chavira and Adnan Darwiche. On probabilistic inference by weighted model counting. Artif. Intell., 172(6-7):772-799, 2008.
  8. [Chen and Santhanam, 2015] Ruiwen Chen and Rahul San- thanam. Improved Algorithms for Sparse MAX-SAT and MAX-k-CSP. In Theory and Applications of Satisfiability Testing -SAT 2015, pages 33-45, 2015.
  9. [Cook, 1971] Stephen A Cook. The complexity of theorem- proving procedures. Proceedings of the third annual ACM symposium on Theory of computing, pages 151-158, 1971.
  10. [Dahllöf et al., 2005] Vilhelm Dahllöf, Peter Jonsson, and Magnus Wahlström. Counting models for 2SAT and 3SAT formulae. Theoretical Computer Science, 332(1):265- 291, 2005.
  11. [Dantsin and Wolpert, 2005] Evgeny Dantsin and Alexander Wolpert. An Improved Upper Bound for SAT. In Theory and Applications of Satisfiability Testing, pages 400-407, 2005.
  12. [Dantsin and Wolpert, 2006] Evgeny Dantsin and Alexander Wolpert. MAX-SAT for Formulas with Constant Clause Density Can Be Solved Faster Than in O(2 n ) Time. In Theory and Applications of Satisfiability Testing -SAT, volume 4121 of Lecture Notes in Computer Science, pages 266-276, 2006.
  13. [Dantsin et al., 2002] Evgeny Dantsin, Andreas Goerdt, Ed- ward A. Hirsch, Ravi Kannan, Jon Kleinberg, Christos Papadimitriou, Prabhakar Raghavan, and Uwe Schöning. A deterministic (2 -2/(k + 1)) n algorithm for k-SAT based on local search. Theoretical Computer Science, 289(1):69-83, 2002.
  14. [Darwiche and Marquis, 2002] Adnan Darwiche and Pierre Marquis. A knowledge compilation map. J. Artif. Int. Res., 17(1):229-264, 2002.
  15. [Fichte and Hecher, 2025] Johannes K. Fichte and Markus Hecher. The model counting competitions 2021-2023, 2025.
  16. [Fichte et al., 2021] Johannes K. Fichte, Markus Hecher, and Florim Hamiti. The model counting competition 2020. ACM J. Exp. Algorithmics, 26, 2021.
  17. [Fürer and Kasiviswanathan, 2007] Martin Fürer and Shiva Prasad Kasiviswanathan. Algorithms for counting 2-sat solutions and colorings with applications. In Algo- rithmic Aspects in Information and Management, pages 47-57, 2007.
  18. [Golovnev and Kutzkov, 2014] Alexander Golovnev and Konstantin Kutzkov. New exact algorithms for the 2-constraint satisfaction problem. Theoretical Computer Science, 526:18-27, 2014.
  19. [Graham et al., 1989] Ronald L. Graham, Donald E. Knuth, and Oren Patashnik. Concrete Mathematics: A Foundation for Computer Science. Addison-Wesley, 1989.
  20. [Kulikov and Kutzkov, 2007] Alexander S. Kulikov and Konstantin Kutzkov. New bounds for MAX-SAT by clause learning. In CSR 2007, volume 4649 of Lecture Notes in Computer Science, pages 194-204, 2007.
  21. [Kutzkov, 2007] Konstantin Kutzkov. New upper bound for the #3-SAT problem. Information Processing Letters, 105(1):1-5, 2007.
  22. [Laakkonen et al., 2024] Tuomas Laakkonen, Konstantinos Meichanetzidis, and John van de Wetering. A graphical #SAT algorithm for formulae with small clause density. In Proceedings of the 21st International Conference on Quan- tum Physics and Logic, volume 406 of Electronic Proceed- ings in Theoretical Computer Science, 2024.
  23. [Lozinskii, 1992] Eliezer L Lozinskii. Counting proposi- tional models. Information Processing Letters, 41(6):327- 332, 1992.
  24. [Manhaeve et al., 2021] Robin Manhaeve, Sebastijan Du- mancic, Angelika Kimmig, Thomas Demeester, and Luc De Raedt. Neural probabilistic logic programming in DeepProbLog. Artificial Intelligence, 298:103504, 2021.
  25. [Paturi et al., 1997] Ramamohan Paturi, Pavel Pudlák, and Francis Zane. Satisfiability coding lemma. In Proceed- ings 38th Annual Symposium on Foundations of Computer Science, pages 566-574. IEEE, 1997.
  26. [Peng and Xiao, 2023] Junqiang Peng and Mingyu Xiao. Fast Algorithms for SAT with Bounded Occurrences of Variables. In Proceedings of the Thirty-Second Interna- tional Joint Conference on Artificial Intelligence, IJCAI- 23, pages 2004-2012, 2023. IJCAI
  27. [Peng et al., 2025] Junqiang Peng, Zimo Sheng, and Mingyu Xiao. New algorithms for #2-SAT and #3-SAT. In Pro- ceedings of the Thirty-Fourth International Joint Confer- ence on Artificial Intelligence, IJCAI, pages 2666-2674, 2025. IJCAI
  28. [Sakai et al., 2017] Takayuki Sakai, Kazuhisa Seto, Suguru Tamaki, and Junichi Teruyama. Improved exact algorithms for mildly sparse instances of Max SAT. Theoretical Com- puter Science, 697:58-68, 2017.
  29. [Samer and Szeider, 2010] Marko Samer and Stefan Szeider. Algorithms for propositional model counting. Journal of Discrete Algorithms, 8(1):50-64, 2010.
  30. [Santhanam, 2010] Rahul Santhanam. Fighting Perebor: New and Improved Algorithms for Formula and QBF Sat- isfiability. In 51th Annual IEEE Symposium on Founda- tions of Computer Science, FOCS, pages 183-192, 2010.
  31. [Schmitt and Wanka, 2013] Manuel Schmitt and Rolf Wanka. Exploiting independent subformulas: A faster ap- proximation scheme for #k-SAT. Information Processing Letters, 113(9):337-344, 2013.
  32. [Schuler, 2005] Rainer Schuler. An algorithm for the satis- fiability problem of formulas in conjunctive normal form. Journal of Algorithms, 54(1):40-44, 2005.
  33. [Scott and Sorkin, 2007] Alexander D. Scott and Gregory B. Sorkin. Linear-programming design and analysis of fast algorithms for Max 2-CSP. Discrete Optimization, 4(3):260-287, 2007.
  34. [Speck et al., 2025] David Speck, Markus Hecher, Daniel Gnad, Johannes K. Fichte, and Augusto B. Corrêa. Counting and reasoning with plans. Proceedings of the AAAI Conference on Artificial Intelligence, 39(25):26688- 26696, 2025.
  35. [Thurley, 2012] Marc Thurley. An approximation algorithm for #k-SAT. In 29th International Symposium on Theo- retical Aspects of Computer Science (STACS 2012), pages 78-87, 2012.
  36. [Valiant, 1979] Leslie G Valiant. The complexity of com- puting the permanent. Theoretical Computer Science, 8(2):189-201, 1979.
  37. [Wahlström, 2005] Magnus Wahlström. An algorithm for the SAT problem for formulae of linear length. In Algorithms -ESA 2005, 13th Annual European Symposium, volume 3669 of Lecture Notes in Computer Science, pages 107- 118. Springer, 2005.
  38. [Wahlström, 2008] Magnus Wahlström. A tighter bound for counting max-weight solutions to 2-SAT instances. In Pa- rameterized and Exact Computation: Third International Workshop, IWPEC 2008, pages 202-213, 2008.
  39. [Zhang, 1996] Wenhui Zhang. Number of models and satis- fiability of sets of clauses. Theoretical Computer Science, 155(1):277-288, 1996.
  40. [Zhou et al., 2010] Junping Zhou, Minghao Yin, and Chun- guang Zhou. New worst-case upper bound for #2-SAT and #3-SAT with the number of clauses as the parameter. In Proceedings of the Twenty-Fourth AAAI Conference on Artificial Intelligence, pages 217-222, 2010.

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

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