Linear Algebraic Characterization of Logic Programs

This paper introduces a novel approach for computing logic programming semantics based on multilinear algebra. First, a propositional Herbrand base is represented in a vector space and if-then rules in a program are encoded in a matrix. Then we provide methods of computing the least model of a Horn logic program, minimal models of a disjunctive logic program, and stable models of a normal logic program by algebraic manipulation of higher-order tensors. The result of this paper exploits a new connection between linear algebraic computation and symbolic computation, which has potential to realize logical inference in huge scale of knowledge bases.

[1]  J. W. Lloyd,et al.  Foundations of logic programming; (2nd extended ed.) , 1987 .

[2]  Ilkka Niemelä,et al.  Answer Set Programming via Mixed Integer Programming , 2012, KR.

[3]  Tamara G. Kolda,et al.  Tensor Decompositions and Applications , 2009, SIAM Rev..

[4]  Jean H. Gallier,et al.  Linear-Time Algorithms for Testing the Satisfiability of Propositional Horn Formulae , 1984, J. Log. Program..

[5]  Jianfeng Gao,et al.  Embedding Entities and Relations for Learning and Inference in Knowledge Bases , 2014, ICLR.

[6]  Miroslaw Truszczynski,et al.  Answer Set Programming: An Introduction to the Special Issue , 2016, AI Mag..

[7]  Taisuke Sato,et al.  A linear algebraic approach to datalog evaluation , 2016, Theory and Practice of Logic Programming.

[8]  Robert A. Kowalski,et al.  The Semantics of Predicate Logic as a Programming Language , 1976, JACM.

[9]  Stefan Woltran,et al.  Special issue on answer set programming , 2011, AI Commun..

[10]  Timo Soininen,et al.  Extending and implementing the stable model semantics , 2000, Artif. Intell..

[11]  Jorge Lobo,et al.  Disjunctive LP+integrity constraints= stable model semantics , 2005, Annals of Mathematics and Artificial Intelligence.

[12]  Taisuke Sato Embedding Tarskian Semantics in Vector Spaces , 2017, AAAI Workshops.

[13]  Vladimir Lifschitz,et al.  Splitting a Logic Program , 1994, ICLP.

[14]  Evgeniy Gabrilovich,et al.  A Review of Relational Machine Learning for Knowledge Graphs , 2015, Proceedings of the IEEE.

[15]  Artur S. d'Avila Garcez,et al.  Learning and Reasoning with Logic Tensor Networks , 2016, AI*IA.

[16]  Sameer Singh,et al.  Low-Dimensional Embeddings of Logic , 2014, ACL 2014.

[17]  Edward Grefenstette,et al.  Towards a Formal Distributional Semantics: Simulating Logical Calculi with Tensors , 2013, *SEMEVAL.