Proceedings

Learning from Logical Constraints with Lower- and Upper-Bound Arithmetic Circuits

Download BibTeX Cite

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

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

Abstract

An important class of neuro-symbolic (NeSy) methods relies on knowledge compilation (KC) techniques to transform logical constraints into a differentiable exact arithmetic circuit (AC) that represents all models of a logical formula. However, given the complexity of KC, compiling such exact circuits can be infeasible. Previous works in such cases proposed to compile a circuit for a subset of models. In this work, we will show that gradients calculated on a subset of models can be very far from true gradients. We propose a new framework that calculates gradients based on compiling logical constraints partially in not only a lower-bound circuit but also an upper-bound circuit. We prove that from this pair of ACs, gradients that are within a bounded distance from true gradients can be calculated. Our experiments show that adding the upper-bound AC also helps the learning process in practice, allowing for similar or better generalisation than working solely with fully compiled ACs, even with less than 150 seconds of partial compilation.

  1. [Andreassen et al., 1987] Steen Andreassen, Marianne Woldbye, Bjørn Falck, and Stig K Andersen. Munin: A causal probabilistic network for interpretation of electromyographic findings. In Proceedings of the 10th international joint conference on Artificial intelligence- Volume 1, pages 366-372, 1987. IJCAI
  2. [Chavira and Darwiche, 2008] Mark Chavira and Adnan Darwiche. On probabilistic inference by weighted model counting. Artificial Intelligence, 172(6-7), 2008.
  3. [Darwiche and Marquis, 2002] Adnan Darwiche and Pierre Marquis. A knowledge compilation map. Journal of Arti- ficial Intelligence Research, 17:229-264, 2002.
  4. [Darwiche, 2001] Adnan Darwiche. On the tractable count- ing of theory models and its application to truth main- tenance and belief revision. Journal of Applied Non- Classical Logics, 11(1-2):11-34, 2001.
  5. [Darwiche, 2011] Adnan Darwiche. SDD: A new canoni- cal representation of propositional knowledge bases. In Twenty-Second International Joint Conference on Artifi- cial Intelligence, 2011. IJCAI
  6. [De Raedt et al., 2007] Luc De Raedt, Angelika Kimmig, and Hannu Toivonen. ProbLog: A Probabilistic Prolog and Its Application in Link Discovery. In IJCAI, volume 7. Hyderabad, 2007. IJCAI
  7. [Dierckx et al., 2024] Lucile Dierckx, Alexandre Dubray, and Siegfried Nijssen. Parameter learning using approx- imate model counting. In International Conference on Neural-Symbolic Learning and Reasoning, pages 80-88. Springer, 2024.
  8. [Dubray et al., 2023] Alexandre Dubray, Pierre Schaus, and Siegfried Nijssen. Probabilistic Inference by Projected Weighted Model Counting on Horn Clauses. In 29th In- ternational Conference on Principles and Practice of Con- straint Programming (CP 2023), 2023.
  9. [Dubray et al., 2024] Alexandre Dubray, Pierre Schaus, and Siegfried Nijssen. Anytime Weighted Model Counting with Approximation Guarantees for Probabilistic Infer- ence. In 30th International Conference on Principles and Practice of Constraint Programming (CP 2024), 2024.
  10. [Fierens et al., 2012] Daan Fierens, Guy Van den Broeck, Ingo Thon, Bernd Gutmann, and Luc De Raedt. Infer- ence in probabilistic logic programs using weighted cnf's. arXiv preprint arXiv:1202.3719, 2012.
  11. [Fierens et al., 2015] Daan Fierens, Guy Van den Broeck, Joris Renkens, Dimitar Shterionov, Bernd Gutmann, Ingo Thon, Gerda Janssens, and Luc De Raedt. Inference and learning in probabilistic logic programs using weighted Boolean formulas. Theory and Practice of Logic Program- ming, 15(3), 2015.
  12. [Garcez and Lamb, 2023] Artur d'Avila Garcez and Luis C Lamb. Neurosymbolic ai: The 3 rd wave. Artificial Intel- ligence Review, 56(11):12387-12406, 2023.
  13. [Giunchiglia et al., 2022] Eleonora Giunchiglia, Mi- haela Catalina Stoian, and Thomas Lukasiewicz. Deep learning with logical constraints. arXiv preprint arXiv:2205.00523, 2022. IJCAI
  14. [Gomes et al., 2007] Carla P. Gomes, Jörg Hoffmann, Ashish Sabharwal, and Bart Selman. From Sampling to Model Counting. In IJCAI, volume 2007, 2007. IJCAI
  15. [Harvey and Ginsberg, 1995] William D Harvey and Matthew L Ginsberg. Limited discrepancy search. In IJCAI (1), pages 607-615, 1995. IJCAI
  16. [Hitzler and Sarker, 2022] Pascal Hitzler and Md Kamruzza- man Sarker. Neuro-symbolic artificial intelligence: The state of the art. 2022.
  17. [Huang and Darwiche, 2007] Jinbo Huang and Adnan Dar- wiche. The language of search. Journal of Artificial Intel- ligence Research, 29:191-219, 2007.
  18. [Jensen et al., 1989] FV Jensen, U Kjærulff, KG Olesen, and J Pedersen. An expert system for control of waste water treatment-a pilot project. Technical report, Technical re- port, Judex Datasystemer A/S, Aalborg, 1989. In Danish, 1989.
  19. [Kisa et al., 2014] Doga Kisa, Guy Van den Broeck, Arthur Choi, and Adnan Darwiche. Probabilistic sentential deci- sion diagrams. In Fourteenth International Conference on the Principles of Knowledge Representation and Reason- ing, 2014.
  20. [Lagniez and Marquis, 2017] Jean-Marie Lagniez and Pierre Marquis. An Improved Decision-DNNF Compiler. In IJ- CAI, volume 17, 2017. IJCAI
  21. [Lai et al., 2021] Yong Lai, Kuldeep S Meel, and Roland HC Yap. The power of literal equivalence in model counting. In Proceedings of the AAAI Conference on Artificial Intel- ligence, volume 35, pages 3851-3859, 2021.
  22. [Lai et al., 2023] Yong Lai, Kuldeep S Meel, and Roland HC Yap. Fast converging anytime model counting. In Pro- ceedings of the AAAI Conference on Artificial Intelligence, volume 37, pages 4025-4034, 2023.
  23. [Maene et al., 2024] Jaron Maene, Vincent Derkinderen, and Luc De Raedt. On the hardness of probabilistic neurosym- bolic learning. arXiv preprint arXiv:2406.04472, 2024.
  24. [Manhaeve et al., 2018] Robin Manhaeve, Sebastijan Du- mancic, Angelika Kimmig, Thomas Demeester, and Luc De Raedt. Deepproblog: Neural probabilistic logic pro- gramming. advances in neural information processing sys- tems, 31, 2018.
  25. [Manhaeve et al., 2021] Robin Manhaeve, Giuseppe Marra, and Luc De Raedt. Approximate inference for neural prob- abilistic logic programming. In Proceedings of the 18th In- ternational Conference on Principles of Knowledge Rep- resentation and Reasoning, pages 475-486. IJCAI Orga- nization, 2021.
  26. [Muise et al., 2010] Christian Muise, Sheila McIlraith, J Christopher Beck, and Eric Hsu. Fast d-dnnf compi- lation with sharpsat. In Workshops at the twenty-fourth AAAI conference on artificial intelligence, 2010.
  27. [Oztok and Darwiche, 2015] Umut Oztok and Adnan Dar- wiche. A top-down compiler for sentential decision dia- grams. In Twenty-Fourth International Joint Conference on Artificial Intelligence, 2015. [Scutari, 2009] Marco Scutari. Learning bayesian net- works with the bnlearn r package. arXiv preprint arXiv:0908.3817, 2009.
  28. [Valiant, 1979] Leslie G Valiant. The complexity of com- puting the permanent. Theoretical computer science, 8(2):189-201, 1979.
  29. [van Krieken et al., 2023] Emile van Krieken, Thiviyan Thanapalasingam, Jakub Tomczak, Frank Van Harme- len, and Annette Ten Teije. A-nesi: A scalable ap- proximate method for probabilistic neurosymbolic infer- ence. Advances in Neural Information Processing Sys- tems, 36:24586-24609, 2023.
  30. [Vlasselaer et al., 2015] Jonas Vlasselaer, Guy Van den Broeck, Angelika Kimmig, Wannes Meert, and Luc De Raedt. Anytime inference in probabilistic logic pro- grams with tp-compilation. In Twenty-Fourth Interna- tional Joint Conference on Artificial Intelligence, 2015. IJCAI
  31. [Xu et al., 2018] Jingyi Xu, Zilu Zhang, Tal Friedman, Yitao Liang, and Guy Broeck. A semantic loss function for deep learning with symbolic knowledge. In International con- ference on machine learning, pages 5502-5511. PMLR, 2018.

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

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