Abstract
Linear algebra is an ideal tool to redefine symbolic methods with the goal to achieve better scalability. In solving the abductive Horn propositional problem, the transpose of a program matrix has been exploited to develop an efficient exhaustive method. While it is competitive with other symbolic methods, there is much room for improvement in practice. In this paper, we propose to optimize the linear algebraic method for abduction using partial evaluation. This improvement considerably reduces the number of iterations in the main loop of the previous algorithm. Therefore, it improves practical performance especially with sparse representation in case there are multiple subgraphs of conjunctive conditions that can be computed in advance. The positive effect of partial evaluation has been confirmed using artificial benchmarks and real Failure Modes and Effects Analysis (FMEA)-based datasets.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
This behavior is unlike the behavior of the previous definition in [22] that we set 0 at the diagonal that will eliminate all values of Or-rule head atoms in \(v_0\).
- 2.
We excluded the unresolved problem .
- 3.
A PAR-2 score of a solver is defined as the sum of all runtimes for solved instances plus 2 times timeout for each unsolved instance.
- 4.
References
Apt, K.R., Bezem, M.: Acyclic programs. New Gener. Comput. 9, 335–364 (1991). https://doi.org/10.1007/BF03037168
Aspis, Y., Broda, K., Russo, A.: Tensor-based abduction in Horn propositional programs. In: ILP 2018, CEUR Workshop Proceedings, vol. 2206, pp. 68–75 (2018)
Beckman, L., Haraldson, A., Oskarsson, Ö., Sandewall, E.: A partial evaluator, and its use as a programming tool. Artif. Intell. 7(4), 319–357 (1976). https://doi.org/10.1016/0004-3702(76)90011-4
Boutilier, C., Beche, V.: Abduction as belief revision. Artif. Intell. 77(1), 43–94 (1995). https://doi.org/10.1016/0004-3702(94)00025-V
Console, L., Dupré, D.T., Torasso, P.: On the relationship between abduction and deduction. J. Logic Comput. 1(5), 661–690 (1991). https://doi.org/10.1093/logcom/1.5.661
Dai, W.Z., Xu, Q., Yu, Y., Zhou, Z.H.: Bridging machine learning and logical reasoning by abductive learning. In: Proceedings of the 33rd International Conference on Neural Information Processing Systems, Curran Associates Inc., Red Hook, NY, USA (2019)
Eiter, T., Gottlob, G.: The complexity of logic-based abduction. J. ACM (JACM) 42(1), 3–42 (1995). https://doi.org/10.1145/200836.200838
Eshghi, K.: Abductive planning with event calculus. In: ICLP/SLP, pp. 562–579 (1988)
Futamura, Y.: Partial evaluation of computation process-an approach to a compiler-compiler. High.-Order Symbolic Comput. 12(4), 381–391 (1999). https://doi.org/10.1023/A:1010095604496.This is an updated and revised version of the previous publication in “Systems, Computers, Control”, Volume 25, 1971, pages 45-50
Garey, M.R., Johnson, D.S.: Computers and Intractability: a guide to the theory of NP-completeness. Freeman, W.H. (1979). ISBN 0-7167-1044-7
Gelfond, M., Lifschitz, V.: The stable model semantics for logic programming. In: ICLP/SLP, vol. 88, pp. 1070–1080 (1988)
Heule, M.J., Järvisalo, M., Suda, M.: Sat competition 2018. J. Satisfiability Boolean Model. Comput. 11(1), 133–154 (2019)
Ignatiev, A., Morgado, A., Marques-Silva, J.: Propositional abduction with implicit hitting sets. In: ECAI 2016, Frontiers in Artificial Intelligence and Applications, vol. 285, pp. 1327–1335. IOS Press (2016). https://doi.org/10.3233/978-1-61499-672-9-1327
Ignatiev, A., Narodytska, N., Marques-Silva, J.: Abduction-based explanations for machine learning models. In: Proceedings of the AAAI Conference on Artificial Intelligence, vol. 33, pp. 1511–1519 (2019). https://doi.org/10.1609/aaai.v33i01.33011511
Josephson, J.R., Josephson, S.G.: Abductive Inference: Computation, Philosophy, Technology. Cambridge University Press, Cambridge (1996)
Koitz-Hristov, R., Wotawa, F.: Applying algorithm selection to abductive diagnostic reasoning. Appl. Intell. 48(11), 3976–3994 (2018). https://doi.org/10.1007/s10489-018-1171-9
Koitz-Hristov, R., Wotawa, F.: Faster horn diagnosis - a performance comparison of abductive reasoning algorithms. Appl. Intell. 50(5), 1558–1572 (2020). https://doi.org/10.1007/s10489-019-01575-5
Lamma, E., Mello, P.: A rationalisation of the ATMS in terms of partial evaluation. In: Lau, K.K., Clement, T.P., (eds) Logic Program Synthesis and Transformation, pp. 118–131. Springer, Cham (1993). https://doi.org/10.1007/978-1-4471-3560-9_9
Lloyd, J.W., Shepherdson, J.C.: Partial evaluation in logic programming. J. Logic Program. 11(3–4), 217–242 (1991). https://doi.org/10.1016/0743-1066(91)90027-M
Muggleton, S.: Inductive logic programming. New Gener. Comput. 8(4), 295–318 (1991). https://doi.org/10.1007/BF03037089
Nguyen, H.D., Sakama, C., Sato, T., Inoue, K.: An efficient reasoning method on logic programming using partial evaluation in vector spaces. J. Logic Comput. 31(5), 1298–1316 (2021). https://doi.org/10.1093/logcom/exab010
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), pp. 240–247. IEEE (2021). https://doi.org/10.1109/ICTAI52525.2021.00040
Nguyen, T.Q., Inoue, K., Sakama, C.: Enhancing linear algebraic computation of logic programs using sparse representation. New Gener. Comput. 40(5), 1–30 (2021). https://doi.org/10.1007/s00354-021-00142-2
Rocktäschel, T., Riedel, S.: End-to-end differentiable proving. In: Proceedings of the 31st International Conference on Neural Information Processing Systems, pp. 3791–3803, NIPS 2017, Curran Associates Inc., Red Hook, NY, USA (2017). ISBN 9781510860964
Saikko, P., Wallner, J.P., Järvisalo, M.: Implicit hitting set algorithms for reasoning beyond NP. In: KR, pp. 104–113 (2016)
Sakama, C., Inoue, K.: The effect of partial deduction in abductive reasoning. In: ICLP, pp. 383–397 (1995)
Sakama, C., Inoue, K., Sato, T.: Linear algebraic characterization of logic programs. In: Li, G., Ge, Y., Zhang, Z., Jin, Z., Blumenstein, M. (eds.) KSEM 2017. LNCS (LNAI), vol. 10412, pp. 520–533. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-63558-3_44
Sakama, C., Inoue, K., Sato, T.: Logic programming in tensor spaces. Ann. Math. Artif. Intell. 89(12), 1133–1153 (2021). https://doi.org/10.1007/s10472-021-09767-x
Sato, T.: Embedding Tarskian semantics in vector spaces. In: Workshops at the Thirty-First AAAI Conference on Artificial Intelligence (2017)
Sato, T., Inoue, K., Sakama, C.: Abducing relations in continuous spaces. In: IJCAI, pp. 1956–1962 (2018). https://doi.org/10.24963/ijcai.2018/270
Schüller, P.: Modeling variations of first-order Horn abduction in answer set programming. Fundam. Informaticae 149(1–2), 159–207 (2016). https://doi.org/10.3233/FI-2016-1446
Selman, B., Levesque, H.J.: Abductive and default reasoning: a computational core. In: AAAI, pp. 343–348 (1990)
Tamaki, H., Sato, T.: Unfold/fold transformation of logic programs. In: Proceedings of the Second International Conference on Logic Programming, pp. 127–138 (1984)
Vasileiou, S.L., Yeoh, W., Son, T.C., Kumar, A., Cashmore, M., Magazzeni, D.: A logic-based explanation generation framework for classical and hybrid planning problems. J. Artif. Intell. Res. 73, 1473–1534 (2022). https://doi.org/10.1613/jair.1.13431
Acknowledgements
This work has been supported by JSPS, KAKENHI Grant Numbers JP18H03288 and JP21H04905, and by JST, CREST Grant Number JPMJCR22D3, Japan.
Author information
Authors and Affiliations
Corresponding authors
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Nguyen, T., Inoue, K., Sakama, C. (2023). Linear Algebraic Abduction with Partial Evaluation. In: Hanus, M., Inclezan, D. (eds) Practical Aspects of Declarative Languages. PADL 2023. Lecture Notes in Computer Science, vol 13880. Springer, Cham. https://doi.org/10.1007/978-3-031-24841-2_13
Download citation
DOI: https://doi.org/10.1007/978-3-031-24841-2_13
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-24840-5
Online ISBN: 978-3-031-24841-2
eBook Packages: Computer ScienceComputer Science (R0)