Proceedings

Learning First-Order Rules with Differentiable Logic Program Semantics

Video #1 Video #2 Download BibTeX Cite

Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence. Main Track. Pages 3008-3014.

https://doi.org/10.24963/ijcai.2022/417

Abstract

Learning first-order logic programs (LPs) from relational facts which yields intuitive insights into the data is a challenging topic in neuro-symbolic research. We introduce a novel differentiable inductive logic programming (ILP) model, called differentiable first-order rule learner (DFOL), which finds the correct LPs from relational facts by searching for the interpretable matrix representations of LPs. These interpretable matrices are deemed as trainable tensors in neural networks (NNs). The NNs are devised according to the differentiable semantics of LPs. Specifically, we first adopt a novel propositionalization method that transfers facts to NN-readable vector pairs representing interpretation pairs. We replace the immediate consequence operator with NN constraint functions consisting of algebraic operations and a sigmoid-like activation function. We map the symbolic forward-chained format of LPs into NN constraint functions consisting of operations between subsymbolic vector representations of atoms. By applying gradient descent, the trained well parameters of NNs can be decoded into precise symbolic LPs in forward-chained logic format. We demonstrate that DFOL can perform on several standard ILP datasets, knowledge bases, and probabilistic relation facts and outperform several well-known differentiable ILP models. Experimental results indicate that DFOL is a precise, robust, scalable, and computationally cheap differentiable ILP model.

  1. [Bordes et al., 2013] Antoine Bordes, Nicolas Usunier, Alberto García-Durán, Jason Weston, and Oksana Yakhnenko. Translating embeddings for modeling multi-relational data. In NeurIPS, pages 2787-2795, 2013.
  2. [Bouchard et al., 2015] Guillaume Bouchard, Sameer Singh, and Théo Trouillon. On approximate reasoning capabili- ties of low-rank vector spaces. In AAAI, 2015.
  3. [Cropper et al., 2020] Andrew Cropper, Sebastijan Duman- cic, and Stephen H. Muggleton. Turning 30: New ideas in inductive logic programming. In IJCAI, pages 4833-4839, 2020. IJCAI
  4. ['Avila Garcez and Zaverucha, 1999] Artur S. d'Avila Garcez and Gerson Zaverucha. The connectionist induc- tive learning and logic programming system. Appl. Intell., 11(1):59-77, 1999.
  5. ['Avila Garcez et al., 2001] Artur S. d'Avila Garcez, Krysia Broda, and Dov M. Gabbay. Symbolic knowl- edge extraction from trained neural networks: A sound approach. Artif. Intell., 125(1-2):155-207, 2001.
  6. [Dong et al., 2019] Honghua Dong, Jiayuan Mao, Tian Lin, Chong Wang, Lihong Li, and Denny Zhou. Neural logic machines. In ICLR, 2019.
  7. [Evans and Grefenstette, 2018] Richard Evans and Edward Grefenstette. Learning explanatory rules from noisy data. J. Artif. Intell. Res., 61:1-64, 2018.
  8. [Evans et al., 2021] Richard Evans, José Hernández-Orallo, Johannes Welbl, Pushmeet Kohli, and Marek J. Sergot. Making sense of sensory input. Artif. Intell., 293:103438, 2021.
  9. [Franc ¸a et al., 2014] Manoel V M Franc ¸a, Gerson Za- verucha, and Artur S d'Avila Garcez. Fast relational learn- ing using bottom clause propositionalization with artificial neural networks. Mach. Learn., 94(1):81-104, 2014.
  10. [Gao et al., 2021] Kun Gao, Hanpin Wang, Yongzhi Cao, and Katsumi Inoue. Learning from interpretation tran- sition using differentiable logic programming semantics. Mach. Learn., 2021.
  11. [Hájek, 1998] Petr Hájek. Metamathematics of fuzzy logic, volume 4 of Trends in Logic. Kluwer, 1998.
  12. [Hohenecker and Lukasiewicz, 2020] Patrick Hohenecker and Thomas Lukasiewicz. Ontology reasoning with deep neural networks. J. Artif. Intell. Res., 68:503-540, 2020.
  13. [Inoue et al., 2014] Katsumi Inoue, Tony Ribeiro, and Chi- aki Sakama. Learning from interpretation transition. Mach. Learn., 94(1):51-79, 2014.
  14. [Kaminski et al., 2018] Tobias Kaminski, Thomas Eiter, and Katsumi Inoue. Exploiting answer set programming with external sources for meta-interpretive learning. Theory Pract. Log. Program., 18(3-4):571-588, 2018.
  15. [Kaur et al., 2019] Navdeep Kaur, Gautam Kunapuli, Saket Joshi, Kristian Kersting, and Sriraam Natarajan. Neural networks for relational data. In ILP, volume 11770, pages 62-71, 2019.
  16. [Kingma and Ba, 2015] Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In ICLR, 2015.
  17. [Kok and Domingos, 2007] Stanley Kok and Pedro M. Domingos. Statistical predicate invention. In ICML, vol- ume 227, pages 433-440, 2007.
  18. [Kramer et al., 2001] Stefan Kramer, Nada Lavrač, and Pe- ter Flach. Propositionalization approaches to relational data mining, pages 262-291. Springer, Berlin: Heidel- berg, 2001.
  19. [Lehmann et al., 2010] Jens Lehmann, Sebastian Bader, and Pascal Hitzler. Extracting reduced logic programs from artificial neural networks. Appl. Intell., 32(3):249-266, 2010.
  20. [Muggleton et al., 2012] Stephen Muggleton, Luc De Raedt, David Poole, Ivan Bratko, Peter Flach, Katsumi Inoue, and Ashwin Srinivasan. ILP turns 20. Mach. Learn., 86(1):3- 23, 2012.
  21. [Muggleton et al., 2015] Stephen H Muggleton, Dianhuan Lin, and Alireza Tamaddoni-Nezhad. Meta-interpretive learning of higher-order dyadic datalog: Predicate inven- tion revisited. Mach. Learn., 100(1):49-73, 2015.
  22. [Muggleton, 1991] Stephen Muggleton. Inductive logic pro- gramming. New Gener. Comput., 8(4):295-318, 1991.
  23. [Qu et al., 2021] Meng Qu, Junkun Chen, Louis-Pascal Xhonneux, Yoshua Bengio, and Jian Tang. RNNLogic: Learning logic rules for reasoning on knowledge graphs. In ICLR, 2021.
  24. [Rocktäschel and Riedel, 2017] Tim Rocktäschel and Sebas- tian Riedel. End-to-end differentiable proving. In NeurIPS, pages 3788-3800, 2017.
  25. [Sakama et al., 2021] Chiaki Sakama, Katsumi Inoue, and Taisuke Sato. Logic programming in tensor spaces. Ann. Math. Artif. Intell., 89(12):1133-1153, 2021.
  26. [Serafini and d'Avila Garcez, 2016] Luciano Serafini and Artur S. d'Avila Garcez. Logic tensor networks: deep learning and logical reasoning from data and knowledge. In NeSy@HLAI, volume 1768, 2016.
  27. [Sourek et al., 2018] Gustav Sourek, Vojtech Aschenbren- ner, Filip Zelezný, Steven Schockaert, and Ondrej Kuzelka. Lifted relational neural networks: Efficient learning of latent relational structures. J. Artif. Intell. Res., 62:69-100, 2018.
  28. [Teru et al., 2020] Komal Teru, Etienne Denis, and Will Hamilton. Inductive relation prediction by subgraph rea- soning. In ICML, pages 9448-9457, 2020.
  29. [Van Emden and Kowalski, 1976] M. H. Van Emden and R. A. Kowalski. The semantics of predicate logic as a pro- gramming language. J. ACM, 23(4):733-742, 1976.
  30. [Yang et al., 2017] Fan Yang, Zhilin Yang, and William W. Cohen. Differentiable learning of logical rules for knowl- edge base reasoning. In NeurIPS, pages 2319-2328, 2017.

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

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