{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,15]],"date-time":"2026-10-15T13:22:52Z","timestamp":1792070572845,"version":"4.4.0"},"reference-count":29,"publisher":"Springer Science and Business Media LLC","issue":"1","license":[{"start":{"date-parts":[[2021,12,2]],"date-time":"2021-12-02T00:00:00Z","timestamp":1638403200000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2021,12,2]],"date-time":"2021-12-02T00:00:00Z","timestamp":1638403200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["New Gener. Comput."],"published-print":{"date-parts":[[2022,4]]},"abstract":"<jats:title>Abstract<\/jats:title><jats:p>Algebraic 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.<\/jats:p>","DOI":"10.1007\/s00354-021-00142-2","type":"journal-article","created":{"date-parts":[[2021,12,2]],"date-time":"2021-12-02T13:02:49Z","timestamp":1638450169000},"page":"225-254","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":9,"title":["Enhancing Linear Algebraic Computation of Logic Programs Using Sparse Representation"],"prefix":"10.1007","volume":"40","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-1754-9329","authenticated-orcid":false,"given":"Tuan Quoc","family":"Nguyen","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2717-9122","authenticated-orcid":false,"given":"Katsumi","family":"Inoue","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9966-3722","authenticated-orcid":false,"given":"Chiaki","family":"Sakama","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2021,12,2]]},"reference":[{"issue":"1\u20133","key":"142_CR1","doi-asserted-by":"publisher","first-page":"43","DOI":"10.1016\/S0743-1066(99)00065-5","volume":"45","author":"JJ Alferes","year":"2000","unstructured":"Alferes, J.J., Leite, J.A., Pereira, L.M., Przymusinska, H., Przymusinski, T.C.: Dynamic updates of non-monotonic knowledge bases. J. Logic Progr. 45(1\u20133), 43\u201370 (2000)","journal-title":"J. Logic Progr."},{"key":"142_CR2","unstructured":"Aspis, Y.: A Linear Algebraic Approach to Logic Programming. Master thesis at Imperial College London (2018)"},{"key":"142_CR3","unstructured":"Aspis, Y., Broda, K., Russo, A.: Tensor-based abduction in horn propositional programs. In: CEUR Workshop Proceedings, vol. 2206, pp. 68\u201375 (2018)"},{"key":"142_CR4","doi-asserted-by":"crossref","unstructured":"Aspis, Y., Broda, K., Russo, A., Lobo, J.: Stable and supported semantics in continuous vector spaces. In: Proceedings of the 17th International Conference on Principles of Knowledge Representation and Reasoning, KR 2020, Rhodes, Greece, pp. 59\u201368 (2020)","DOI":"10.24963\/kr.2020\/7"},{"key":"142_CR5","unstructured":"Bell, N., Garland, M.: Efficient sparse matrix-vector multiplication on cuda. Technical report, Citeseer (2008)"},{"key":"142_CR6","unstructured":"Bunch, J.R., Rose, D.J.: Sparse Matrix Computations. Academic Press (2014)"},{"key":"142_CR7","unstructured":"Cohen, W.W.: Tensorlog: A differentiable deductive database (2016). arXiv:1605.06523"},{"key":"142_CR8","doi-asserted-by":"crossref","unstructured":"D\u2019Asaro, F.A., Spezialetti, M., Raggioli, L., Rossi, S.: Towards an inductive logic programming approach for explaining black-box preference learning systems. In: Proceedings of the 17th International Conference on Principles of Knowledge Representation and Reasoning, pp. 855\u2013859 (2020)","DOI":"10.24963\/kr.2020\/88"},{"issue":"3","key":"142_CR9","doi-asserted-by":"publisher","first-page":"183","DOI":"10.1016\/0893-6080(89)90003-8","volume":"2","author":"K-I Funahashi","year":"1989","unstructured":"Funahashi, K.-I.: On the approximate realization of continuous mappings by neural networks. Neural Netw. 2(3), 183\u2013192 (1989)","journal-title":"Neural Netw."},{"key":"142_CR10","unstructured":"Gebser, M., Kaminski, R., Kaufmann, B., Ostrowski, M., Schaub, T., Wanko, P.: Theory solving made easy with clingo 5. In: OASIcs-OpenAccess Series in Informatics, vol. 52. Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik (2016)"},{"key":"142_CR11","unstructured":"Guennebaud, G., Jacob, B., et\u00a0al.: Eigen v3 (2010). http:\/\/eigen.tuxfamily.org"},{"issue":"3","key":"142_CR12","doi-asserted-by":"publisher","first-page":"250","DOI":"10.1145\/355791.355796","volume":"4","author":"FG Gustavson","year":"1978","unstructured":"Gustavson, F.G.: Two fast algorithms for sparse matrices: multiplication and permuted transposition. ACM Trans. Math. Softw. (TOMS) 4(3), 250\u2013269 (1978)","journal-title":"ACM Trans. Math. Softw. (TOMS)"},{"issue":"3","key":"142_CR13","doi-asserted-by":"publisher","first-page":"245","DOI":"10.1016\/j.jal.2004.03.002","volume":"2","author":"P Hitzler","year":"2004","unstructured":"Hitzler, P., H\u00f6lldobler, S., Seda, A.K.: Logic programs and connectionist networks. J. Appl. Logic 2(3), 245\u2013272 (2004)","journal-title":"J. Appl. Logic"},{"key":"142_CR14","volume-title":"Logic for Problem Solving","author":"R Kowalski","year":"1979","unstructured":"Kowalski, R.: Logic for Problem Solving. Elsevier, North Holland (1979)"},{"key":"142_CR15","doi-asserted-by":"crossref","unstructured":"Kunegis, J.: Konect: the Koblenz network collection. In: Proceedings of the 22nd International Conference on World Wide Web, pp. 1343\u20131350 (2013)","DOI":"10.1145\/2487788.2488173"},{"key":"142_CR16","doi-asserted-by":"crossref","unstructured":"Nguyen, H.D., Sakama, C., Sato, T., Inoue, K.: Computing logic programming semantics in linear algebra. In: Proceedings of the 12th International Conference on Multi-disciplinary Trends in Artificial Intelligence (MIWAI 2018), Lecture Notes in Artificial Intelligence, vol. 11248, pp. 32\u201348. Springer, Heidelberg (2018)","DOI":"10.1007\/978-3-030-03014-8_3"},{"issue":"5","key":"142_CR17","doi-asserted-by":"publisher","first-page":"1298","DOI":"10.1093\/logcom\/exab010","volume":"31","author":"HD Nguyen","year":"2021","unstructured":"Nguyen, H.D., Sakama, C., Sato, T., Inoue, K.: An efficient reasoning method on logic programming using partial evaluation in vector spaces. J. Log. Comput. 31(5), 1298\u20131316 (2021)","journal-title":"J. Log. Comput."},{"key":"142_CR18","doi-asserted-by":"crossref","unstructured":"Nguyen, T.Q., Inoue, K., Sakama, C.: Enhancing linear algebraic computation of logic programs using sparse representation. In: EPTCS Online Proceedings of ICLP (2020), vol. 325, pp. 192\u2013205 (2020)","DOI":"10.4204\/EPTCS.325.24"},{"key":"142_CR19","unstructured":"Nguyen, T.Q., Inoue, K., Sakama, C.: Linear algebraic computation of propositional horn abduction. In: 2021 IEEE 33rd International Conference on Tools with Artificial Intelligence (ICTAI) (2021)"},{"key":"142_CR20","doi-asserted-by":"crossref","unstructured":"Rockt\u00e4schel, T., Bosnjak, M., Singh, S., Riedel, S.: Low-dimensional embeddings of logic. In: Proceedings of the ACL 2014 Workshop on Semantic Parsing, pp. 45\u201349 (2014)","DOI":"10.3115\/v1\/W14-2409"},{"key":"142_CR21","doi-asserted-by":"crossref","unstructured":"Sakama, C., Inoue, K., Sato, T.: Linear algebraic characterization of logic programs. In: Proceedings of the 10th International Conference on Knowledge Science, Engineering and Management (KSEM 2017), Lecture Notes in Artificial Intelligence, vol. 10412, pp. 520\u2013533. Springer, Heidelberg (2017)","DOI":"10.1007\/978-3-319-63558-3_44"},{"key":"142_CR22","doi-asserted-by":"publisher","unstructured":"Sakama, C., Inoue, K., Sato, T.: Logic programming in tensor spaces. Ann. Math. Artif. Intell. (2021). https:\/\/doi.org\/10.1007\/s10472-021-09767-x","DOI":"10.1007\/s10472-021-09767-x"},{"key":"142_CR23","unstructured":"Sato, T.: Embedding Tarskian semantics in vector spaces. In: AAAI-17 Workshop on Symbolic Inference and Optimization (2017)"},{"issue":"3","key":"142_CR24","doi-asserted-by":"publisher","first-page":"244","DOI":"10.1017\/S1471068417000023","volume":"17","author":"T Sato","year":"2017","unstructured":"Sato, T.: A linear algebraic approach to datalog evaluation. Theory Pract. Logic Program. 17(3), 244\u2013265 (2017)","journal-title":"Theory Pract. Logic Program."},{"key":"142_CR25","doi-asserted-by":"crossref","unstructured":"Sato, T., Inoue, K., Sakama, C.: Abducing relations in continuous spaces. In: Proceedings of IJCAI-18, pp. 1956\u20131962 (2018)","DOI":"10.24963\/ijcai.2018\/270"},{"key":"142_CR26","unstructured":"Serafini, L., Garcez, A.D.: Logic tensor networks: deep learning and logical reasoning from data and knowledge (2016). arXiv:1606.04422"},{"issue":"5","key":"142_CR27","doi-asserted-by":"publisher","first-page":"656","DOI":"10.1017\/S1471068420000356","volume":"20","author":"F Shakerin","year":"2020","unstructured":"Shakerin, F., Gupta, G.: White-box induction from SVM models: explainable AI with logic programming. Theory Pract. Logic Progr. 20(5), 656\u2013670 (2020)","journal-title":"Theory Pract. Logic Progr."},{"issue":"4","key":"142_CR28","doi-asserted-by":"publisher","first-page":"733","DOI":"10.1145\/321978.321991","volume":"23","author":"MH Van Emden","year":"1976","unstructured":"Van Emden, M.H., Kowalski, R.A.: The semantics of predicate logic as a programming language. J. ACM (JACM) 23(4), 733\u2013742 (1976)","journal-title":"J. ACM (JACM)"},{"key":"142_CR29","unstructured":"Yang, B., Yih, W., He, X., Gao, J., Deng, L.: Embedding entities and relations for learning and inference in knowledge bases. In: 3rd International Conference on Learning Representations, ICLR 2015, Conference Track Proceedings (2015)"}],"container-title":["New Generation Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s00354-021-00142-2.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s00354-021-00142-2\/fulltext.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s00354-021-00142-2.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,8,26]],"date-time":"2022-08-26T16:46:13Z","timestamp":1661532373000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/s00354-021-00142-2"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,12,2]]},"references-count":29,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2022,4]]}},"alternative-id":["142"],"URL":"https:\/\/doi.org\/10.1007\/s00354-021-00142-2","relation":{},"ISSN":["0288-3635","1882-7055"],"issn-type":[{"value":"0288-3635","type":"print"},{"value":"1882-7055","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,12,2]]},"assertion":[{"value":"9 February 2021","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"29 October 2021","order":2,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"2 December 2021","order":3,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}}]}}