Proceedings

Circuit-Aware d-DNNF Compilation

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 4454-4462.

https://doi.org/10.24963/ijcai.2025/496

Abstract

Boolean circuits in d-DNNF (determinstic Decomposable Negation Normal Form) enable tractable probabilistic inference, motivating research into compilers that transform arbitrary Boolean circuit into this form. However, d-DNNF compilers commonly require the input to be in conjunctive normal form (CNF), which means that a user must first convert their Boolean circuit into CNF. In this work, we argue that d-DNNF compilation would substantially benefit from reasoning over the original input circuit's structure, rather than solely relying on its CNF representation. To this end, we adapt an existing compiler and implement an optimisation that becomes more readily available once we reason over the input circuit: the identification and elimination of don't care variables. We empirically demonstrate the effectiveness of this approach, achieving a significant improvement in both the number of solved instances and the size of the resulting circuits.

  1. [Bacchus et al., 2003] Fahiem Bacchus, Shannon Dalmao, and Toniann Pitassi. DPLL with caching: A new algo- rithm for #sat and Bayesian inference. Electron. Collo- quium Comput. Complex., TR03-003, 2003.
  2. [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.
  3. [Chavira and Darwiche, 2008] Mark Chavira and Adnan Darwiche. On probabilistic inference by weighted model counting. Artif. Intell., 172(6-7):772-799, 2008.
  4. [Darwiche and Marquis, 2002] Adnan Darwiche and Pierre Marquis. A knowledge compilation map. J. Artif. Intell. Res., 17:229-264, 2002.
  5. [Darwiche, 2002] Adnan Darwiche. A compiler for deter- ministic, decomposable negation normal form. In Rina Dechter, Michael J. Kearns, and Richard S. Sutton, edi- tors, Proceedings of the Eighteenth National Conference on Artificial Intelligence and Fourteenth Conference on Innovative Applications of Artificial Intelligence, July 28 -August 1, 2002, Edmonton, Alberta, Canada, pages 627- 634. AAAI Press / The MIT Press, 2002.
  6. [Darwiche, 2011] Adnan Darwiche. SDD: A new canonical representation of propositional knowledge bases. In IJCAI, pages 819-826. IJCAI/AAAI, 2011. IJCAI
  7. [Derkinderen and Lagniez, 2025] Vincent Derkinderen and Jean-Marie Lagniez. Source data and code for 'circuit- aware d-dnnf compilation', 2025.
  8. [Derkinderen et al., 2024] Vincent Derkinderen, Robin Manhaeve, Pedro Zuidberg Dos Martires, and Luc De Raedt. Semirings for probabilistic and neuro-symbolic logic programming. Int. J. Approx. Reason., 171:109130, 2024.
  9. [Derkinderen, 2024] Vincent Derkinderen. Pruning Boolean d-DNNF circuits through Tseitin-awareness. In ICTAI, pages 663-670. IEEE, 2024.
  10. [Drechsler et al., 2009] Rolf Drechsler, Tommi A. Junttila, and Ilkka Niemelä. Non-clausal SAT and ATPG. In Hand- book of Satisfiability, volume 185 of Frontiers in Artificial Intelligence and Applications, pages 655-693. IOS Press, 2009. Dubray et al., 2023] Alexandre Dubray, Pierre Schaus, and Siegfried Nijssen. Probabilistic Inference by Projected Weighted Model Counting on Horn Clauses. In CP, vol- ume 280 of LIPIcs, pages 15:1-15:17, 2023.
  11. [Eiter et al., 2021] Thomas Eiter, Markus Hecher, and Rafael Kiesel. Treewidth-Aware Cycle Breaking for Alge- braic Answer Set Counting. In KR, pages 269-279, 2021.
  12. [Fichte et al., 2023] Johannes Klaus Fichte, Markus Hecher, Michael Morak, Patrick Thier, and Stefan Woltran. Solv- ing projected model counting by utilizing treewidth and its limits. Artif. Intell., 314:103810, 2023.
  13. [Ganai et al., 2002] Malay K. Ganai, Pranav Ashar, Aarti Gupta, Lintao Zhang, and Sharad Malik. Combining strengths of circuit-based and cnf-based algorithms for a high-performance SAT solver. In DAC, pages 747-750. ACM, 2002.
  14. [Hagberg et al., 2008] Aric Hagberg, Pieter J Swart, and Daniel A Schult. Exploring network structure, dynam- ics, and function using networkx. Technical report, Los Alamos National Laboratory (LANL), Los Alamos, NM (United States), 2008.
  15. [Hu and Chu, 2023] Kunmei Hu and Zhufei Chu. An effi- cient circuit-based SAT solver and its application in logic equivalence checking. Microelectron. J., 142:106005, 2023.
  16. [Huang and Darwiche, 2005] Jinbo Huang and Adnan Dar- wiche. DPLL with a trace: From SAT to knowledge compilation. In IJCAI, pages 156-162. Professional Book Center, 2005. IJCAI
  17. [Janhunen and Niemelä, 2011] Tomi Janhunen and Ilkka Niemelä. Compact translations of non-disjunctive an- swer set programs to propositional clauses. In Logic Programming, Knowledge Representation, and Nonmono- tonic Reasoning, volume 6565 of Lecture Notes in Com- puter Science, pages 111-130. Springer, 2011.
  18. [Kiesel and Eiter, 2023] Rafael Kiesel and Thomas Eiter. Knowledge Compilation and More with SharpSAT-TD. In KR, pages 406-416, 2023.
  19. [Korhonen and Järvisalo, 2023] Tuukka Korhonen and Matti Järvisalo. SharpSAT-TD in Model Counting Competitions 2021-2023. CoRR, abs/2308.15819, 2023.
  20. [Lagniez and Marquis, 2017a] Jean-Marie Lagniez and Pierre Marquis. An Improved Decision-DNNF Compiler. In Carles Sierra, editor, IJCAI, pages 667-673, 2017. IJCAI
  21. [Lagniez and Marquis, 2017b] Jean-Marie Lagniez and Pierre Marquis. On preprocessing techniques and their impact on propositional model counting. J. Autom. Reason., 58(4):413-481, 2017.
  22. [Lagniez and Marquis, 2019] Jean-Marie Lagniez and Pierre Marquis. A Recursive Algorithm for Projected Model Counting. In AAAI, pages 1536-1543. AAAI Press, 2019.
  23. [Lagniez et al., 2020] Jean-Marie Lagniez, Emmanuel Lonca, and Pierre Marquis. Definability for model counting. Artif. Intell., 281:103229, 2020.
  24. [Lagniez et al., 2024] Jean-Marie Lagniez, Pierre Marquis, and Armin Biere. Dynamic blocked clause elimination for projected model counting, 2024.
  25. [Latour et al., 2019] Anna Louise D. Latour, Behrouz Babaki, and Siegfried Nijssen. Stochastic constraint prop- agation for mining probabilistic networks. In IJCAI, 2019. IJCAI
  26. [Lu et al., 2003] Feng Lu, Li-C. Wang, Kwang-Ting Cheng, and Ric C.-Y. Huang. A circuit SAT solver with signal cor- relation guided learning. In DATE, pages 10892-10897. IEEE Computer Society, 2003.
  27. [Maene and De Raedt, 2023] Jaron Maene and Luc De Raedt. Soft-unification in deep probabilistic logic. In NeurIPS, 2023.
  28. [Moskewicz et al., 2001] Matthew W. Moskewicz, Conor F. Madigan, Ying Zhao, Lintao Zhang, and Sharad Malik. Chaff: Engineering an efficient SAT solver. In Proceed- ings of the 38th Design Automation Conference, DAC 2001, Las Vegas, NV, USA, June 18-22, 2001, pages 530- 535. ACM, 2001.
  29. [Scutari, 2023] Marco Scutari. The bnlearn Bayesian net- work repository. https://www.bnlearn.com/bnrepository/, 2023. Link
  30. [Silva and Guerra e Silva, 1999] João P. Marques Silva and L. Guerra e Silva. Solving satisfiability in combinational circuits with backtrack search and recursive learning. In Proceedings. XII Symposium on Integrated Circuits and Systems Design (Cat. No.PR00387), pages 192-195, 1999.
  31. [Silva and Sakallah, 1996] João P. Marques Silva and Karem A. Sakallah. GRASP -a new search algorithm for satisfiability. In ICCAD, pages 220-227. IEEE Computer Society / ACM, 1996.
  32. [Sweeney, 2020] Joseph Sweeney. Github ver- ilog benchmark circuits. https://github.com/jpsety/ verilog benchmark circuits Accessed: 2024-07-15., 2020. Link
  33. [Thiffault et al., 2004] Christian Thiffault, Fahiem Bacchus, and Toby Walsh. Solving non-clausal formulas with DPLL search. In CP, volume 3258 of Lecture Notes in Computer Science, pages 663-678. Springer, 2004.
  34. [Tseitin, 1983] G. S. Tseitin. On the Complexity of Deriva- tion in Propositional Calculus, pages 466-483. Springer Berlin Heidelberg, Berlin, Heidelberg, 1983.
  35. [Wiegmans, 2016] Bart Wiegmans. GridKit: European and North-American extracts. doi: 10.5281/zenodo.47317, 2016. DOI
  36. [Wu et al., 2007] Chi-An Wu, Ting-Hao Lin, Chih-Chun Lee, and Chung-Yang Huang. Qutesat: a robust circuit- based SAT solver for complex circuit structure. In DATE, pages 1313-1318.
  37. EDA Consortium, San Jose, CA, USA, 2007.
  38. [Zhang et al., 2021] He-Teng Zhang, Jie-Hong R. Jiang, and Alan Mishchenko. A circuit-based SAT solver for logic synthesis. In ICCAD, pages 1-6. IEEE, 2021.

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

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