Proceedings

Grounding Methods for Neural-Symbolic AI

Download BibTeX Cite

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

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

Abstract

A large class of Neural-Symbolic (NeSy) methods employs a machine learner to process the input entities, while relying on a reasoner based on First-Order Logic to represent and process more complex relationships among the entities. A fundamental role for these methods is played by the process of logic grounding, which determines the relevant substitutions for the logic rules using a (sub)set of entities.

Some NeSy methods use an exhaustive derivation of all possible substitutions, preserving the full expressive power of the logic knowledge, but leading to a combinatorial explosion of the number of ground formulas to consider and, therefore, strongly limiting their scalability. Other methods rely on heuristic-based selective derivations, which are generally more computationally efficient, but lack a justification and provide no guarantees of preserving the information provided to and returned by the reasoner.

Taking inspiration from multi-hop symbolic reasoning, this paper proposes a parametrized family of grounding methods generalizing classic Backward Chaining. Different selections within this family allow to obtain commonly employed grounding methods as special cases, and to control the trade-off between expressiveness and scalability of the reasoner.

The experimental results show that the selection of the grounding criterion is often as important as the NeSy method itself.

  1. Model Grounder MRR Hits@1 Hits@3 Hits@10 Train Time(s) Test Time(s) Kinship DCR BC0,1 90.1 84.1 95.9 97.0 16479.6 7658.7 BC1,2 90.1 84.1 95.9 97.0 16295.2 7517.4 R2N BC0,1 94.0 92.1 95.6 96.5 9573.3 6616.2 BC1,2 91.8 87.1 96.4 97.4 48808.8 28249.2 SBR BC0,1 86.9 78.0 95.6 97.1 9066.8 6208.7 BC1,2 87.7 79.1 96.0 97.3 43354.7 27447.9 ComplEx - 85.9 79.2 92.2 94.5 773.3 284.9 WN18RR DCR BC0,1 44.2 42.2 44.8 47.6 26133.3 2337.9 BC1,2 45.6 42.9 47.1 50.2 74626.7 6944.2 R2N BC0,1 44.2 42.3 44.6 47.3 20613.7 2183.4 BC1,2 44.1 41.4 45.4 48.1 72213.3 7353.4 SBR BC0,1 44.0 42.3 44.2 46.6 21940.5 1909.8 BC1,2 44.7 42.5 45.2 48.2 67851.6 6666.0 ComplEx - 42.7 40.8 42.9 45.9 1079.2 138.7
  2. [Al-Ajlan, 2015] Ajlan Al-Ajlan. The comparison between forward and backward chaining. International Journal of Machine Learning and Computing, 5(2):106, 2015.
  3. [Badreddine et al., 2022] Samy Badreddine, Artur d'Avila Garcez, Luciano Serafini, and Michael Spranger. Logic tensor networks. Artificial Intelligence, 303:103649, 2022.
  4. [Barbiero et al., 2023] Pietro Barbiero, Gabriele Ciravegna, Francesco Giannini, Mateo Espinosa Zarlenga, Lu- cie Charlotte Magister, Alberto Tonda, Pietro Lió, Fred- eric Precioso, Mateja Jamnik, and Giuseppe Marra. In- terpretable neural-symbolic concept reasoning. In ICML, pages 1801-1825, 2023.
  5. [Barbiero et al., 2024] Pietro Barbiero, Francesco Gian- nini, Gabriele Ciravegna, Michelangelo Diligenti, and Giuseppe Marra. Relational concept bottleneck mod- els. Advances in Neural Information Processing Systems, 37:77663-77685, 2024.
  6. [Barwise, 1977] Jon Barwise. An introduction to first-order logic. In Studies in Logic and the Foundations of Mathe- matics, volume 90, pages 5-46. Elsevier, 1977.
  7. [Bouchard et al., 2015] Guillaume Bouchard, S. Singh, and Theo Trouillon. On approximate reasoning capabilities of low-rank vector spaces. In AAAI Spring Symposia, 2015.
  8. [Cheng et al., 2021] Kewei Cheng, Ziqing Yang, Ming Zhang, and Yizhou Sun. Uniker: A unified framework for combining embedding and definite horn rule reasoning for knowledge graph inference. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 9753-9771, 2021.
  9. [Clocksin and Mellish, 2012] William F Clocksin and Christopher S Mellish. Programming in Prolog: Using the ISO standard. Springer Science & Business Media, 2012.
  10. [Dettmers et al., 2018] Tim Dettmers, Pasquale Minervini, Pontus Stenetorp, and Sebastian Riedel. Convolutional 2d knowledge graph embeddings. In Proceedings of the AAAI conference, 2018. [Diligenti et al., 2017] Michelangelo Diligenti, Marco Gori, and Claudio Sacca. Semantic-based regularization for learning and inference. Artificial Intelligence, 244:143- 165, 2017.
  11. [Dou et al., 2021] Jiaheng Dou, Bing Tian, Yong Zhang, and Chunxiao Xing. A novel embedding model for knowl- edge graph completion based on multi-task learning. In Database Systems for Advanced Applications: 26th In- ternational Conference, DASFAA 2021, Taipei, Taiwan, April 11-14, 2021, Proceedings, Part I 26, pages 240-255. Springer, 2021.
  12. ['Avila Garcez et al., 2009] Artur S d'Avila Garcez, Luís C Lamb, and Dov M Gabbay. Neural-symbolic learning sys- tems. Springer, 2009.
  13. [Gilmer et al., 2017] Justin Gilmer, Samuel S Schoenholz, Patrick F Riley, Oriol Vinyals, and George E Dahl. Neu- ral message passing for quantum chemistry. In Proceed- ingsICML. PMLR, 2017.
  14. [Guo et al., 2016] Shu Guo, Quan Wang, Lihong Wang, Bin Wang, and Li Guo. Jointly embedding knowledge graphs and logical rules. In Proceedings of the 2016 confer- ence on empirical methods in natural language process- ing, pages 192-202, 2016.
  15. [Guo et al., 2018] Shu Guo, Quan Wang, Lihong Wang, Bin Wang, and Li Guo. Knowledge graph embedding with iter- ative guidance from soft rules. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 32, 2018.
  16. [Kapoor and Bahl, 2016] Namarta Kapoor and Nischay Bahl. Comparative study of forward and backward chaining in artificial intelligence. International journal of engineering and computer science, 5(4):16239-16242, 2016.
  17. [Kok and Domingos, 2007] Stanley Kok and Pedro Domin- gos. Statistical predicate invention. In ICML, 2007.
  18. [Loveland, 2016] Donald W Loveland. Automated theorem proving: A logical basis. Elsevier, 2016.
  19. [Manhaeve et al., 2018] Robin Manhaeve, Sebastijan Du- mancic, Angelika Kimmig, Thomas Demeester, and Luc De Raedt. Deepproblog: neural probabilistic logic pro- gramming. In NeurIPS, 2018.
  20. [Manhaeve et al., 2021] Robin Manhaeve, Giuseppe Marra, and Luc De Raedt. Approximate inference for neural prob- abilistic logic programming. In KR, pages 475-486, 2021.
  21. [Marra et al., 2020] Giuseppe Marra, Michelangelo Dili- genti, Francesco Giannini, Marco Gori, and Marco Mag- gini. Relational neural machines. In ECAI, pages 1340- 1347. IOS Press, 2020.
  22. [Marra et al., 2024] Giuseppe Marra, Sebastijan Dumančić, Robin Manhaeve, and Luc De Raedt. From statistical re- lational to neurosymbolic artificial intelligence. Artificial Intelligence, page 104062, 2024.
  23. [Marra et al., 2025] Giuseppe Marra, Michelangelo Dili- genti, and Francesco Giannini. Relational reasoning net- works. Knowledge-Based Systems, page 112822, 2025.
  24. [Mumick and Pirahesh, 1994] Inderpal Singh Mumick and Hamid Pirahesh. Implementation of magic-sets in a relational database system. ACM SIGMOD Record, 23(2):103-114, 1994.
  25. [Niepert, 2016] Mathias Niepert. Discriminative gaifman models. In NeurIPS, 2016.
  26. [Qu et al., 2020] Meng Qu, Junkun Chen, Louis-Pascal Xhonneux, Yoshua Bengio, and Jian Tang. Rnnlogic: Learning logic rules for reasoning on knowledge graphs. arXiv preprint arXiv:2010.04029, 2020.
  27. [Richardson and Domingos, 2006] Matthew Richardson and Pedro Domingos. Markov logic networks. Machine learn- ing, 62(1):107-136, 2006.
  28. [Scarselli et al., 2018] Franco Scarselli, Ah Chung Tsoi, and Markus Hagenbuchner. The vapnik-chervonenkis dimen- sion of graph and recursive neural networks. Neural Net- works, 108:248-259, 2018.
  29. [Shakarian et al., 2023] Paulo Shakarian, Chitta Baral, Ger- ardo I Simari, Bowen Xi, and Lahari Pokala. Neurasp. In Neuro Symbolic Reasoning and Learning, pages 63-74. Springer, 2023.
  30. [Sourek et al., 2018] Gustav Sourek, Vojtech Aschenbren- ner, Filip Zelezny, Steven Schockaert, and Ondrej Kuzelka. Lifted relational neural networks: Efficient learning of latent relational structures. Journal of Artifi- cial Intelligence Research, 62:69-100, 2018.
  31. [Trouillon et al., 2016] Théo Trouillon, Johannes Welbl, Se- bastian Riedel, Éric Gaussier, and Guillaume Bouchard. Complex embeddings for simple link prediction. In ICML, pages 2071-2080, 2016.
  32. [Wang et al., 2017] Quan Wang, Zhendong Mao, Bin Wang, and Li Guo. Knowledge graph embedding: A survey of approaches and applications. IEEE TKDE, 29(12):2724- 2743, 2017.
  33. [Winters et al., 2022] Thomas Winters, Giuseppe Marra, Robin Manhaeve, and Luc De Raedt. Deepstochlog: Neu- ral stochastic logic programming. In Proceedings of the AAAI Conference, 2022.
  34. [Yang et al., 2015] Bishan Yang, W. Yih, X. He, J. Gao, and Li Deng. Embedding entities and relations for learning and inference in knowledge bases. In ICLR, 2015.
  35. [Zhang et al., 2020] Yuyu Zhang, Xinshi Chen, Yuan Yang, Arun Ramamurthy, Bo Li, Yuan Qi, and Le Song. Efficient probabilistic logic reasoning with graph neural networks. In ICLR, 2020.

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

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