Enhancing Linear Algebraic Computation of Logic Programs Using Sparse Representation
Tuan Nguyen Quoc (National Institute of Informatics), Katsumi Inoue, (National Institute of Informatics), Chiaki Sakama (Wakayama University)

TL;DR
This paper introduces a sparse matrix approach to enhance linear algebraic methods for logic program inference, significantly improving performance in computing models and consequences, especially for large-scale knowledge bases.
Contribution
The paper presents a novel use of sparse matrices to embed logic programs in vector spaces, boosting the efficiency of fixpoint computations and stable model calculations.
Findings
Dramatic performance improvement in computing least models of definite programs
Effective computation of stable models with small negation using initial matrices
Potential for tensorized logic programs to handle large-scale inference tasks
Abstract
Algebraic characterization of logic programs has received increasing attention in recent years. Researchers attempt to exploit connections between linear algebraic computation and symbolic computation in order to perform logical inference in large scale knowledge bases. This paper proposes further improvement by using sparse matrices to embed logic programs in vector spaces. We show its great power of computation in reaching the fixpoint of the immediate consequence operator from the initial vector. In particular, performance for computing the least models of definite programs is dramatically improved in this way. We also apply the method to the computation of stable models of normal programs, in which the guesses are associated with initial matrices, and verify its effect when there are small numbers of negation. These results show good enhancement in terms of performance for computing…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
