scholarly journals Enhancing Linear Algebraic Computation of Logic Programs Using Sparse Representation

Author(s):  
Tuan Quoc Nguyen ◽  
Katsumi Inoue ◽  
Chiaki Sakama

AbstractAlgebraic characterization of logic programs has received increasing attention in recent years. Researchers attempt to exploit connections between linear algebraic computation and symbolic computation to perform logical inference in large-scale knowledge bases. In this paper, we analyze the complexity of the linear algebraic methods for logic programs and propose further improvement by using sparse matrices to embed logic programs in vector spaces. We show its great power of computation in reaching the fixed point of the immediate consequence operator. In particular, performance for computing the least models of definite programs is dramatically improved using the sparse matrix representation. 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 consequences of programs and depict the potential power of tensorized logic programs.

2017 ◽  
Vol 36 (5) ◽  
pp. 59-69 ◽  
Author(s):  
J. S. Mueller-Roemer ◽  
C. Altenhofen ◽  
A. Stork

2000 ◽  
Vol 32 (1) ◽  
pp. 29-49 ◽  
Author(s):  
Ji-Han Jiang ◽  
Chin-Chen Chang ◽  
Tung-Shou Chen

Processes ◽  
2021 ◽  
Vol 9 (4) ◽  
pp. 690
Author(s):  
Miguel Ángel Martínez-del-Amor ◽  
David Orellana-Martín ◽  
Ignacio Pérez-Hurtado ◽  
Francis George C. Cabarle ◽  
Henry N. Adorna

To date, parallel simulation algorithms for spiking neural P (SNP) systems are based on a matrix representation. This way, the simulation is implemented with linear algebra operations, which can be easily parallelized on high performance computing platforms such as GPUs. Although it has been convenient for the first generation of GPU-based simulators, such as CuSNP, there are some bottlenecks to sort out. For example, the proposed matrix representations of SNP systems lead to very sparse matrices, where the majority of values are zero. It is known that sparse matrices can compromise the performance of algorithms since they involve a waste of memory and time. This problem has been extensively studied in the literature of parallel computing. In this paper, we analyze some of these ideas and apply them to represent some variants of SNP systems. We also provide a new simulation algorithm based on a novel compressed representation for sparse matrices. We also conclude which SNP system variant better suits our new compressed matrix representation.


Sign in / Sign up

Export Citation Format

Share Document