Hostname: page-component-77c89778f8-gq7q9 Total loading time: 0 Render date: 2024-07-21T18:21:31.807Z Has data issue: false hasContentIssue false

Conflict-Driven Inductive Logic Programming

Published online by Cambridge University Press:  09 February 2022

MARK LAW*
Affiliation:
ILASP Limited, Grantham, UK (e-mail: mark@ilasp.com)

Abstract

The goal of inductive logic programming (ILP) is to learn a program that explains a set of examples. Until recently, most research on ILP targeted learning Prolog programs. The ILASP system instead learns answer set programs (ASP). Learning such expressive programs widens the applicability of ILP considerably; for example, enabling preference learning, learning common-sense knowledge, including defaults and exceptions, and learning non-deterministic theories. Early versions of ILASP can be considered meta-level ILP approaches, which encode a learning task as a logic program and delegate the search to an ASP solver. More recently, ILASP has shifted towards a new method, inspired by conflict-driven SAT and ASP solvers. The fundamental idea of the approach, called Conflict-driven ILP (CDILP), is to iteratively interleave the search for a hypothesis with the generation of constraints which explain why the current hypothesis does not cover a particular example. These coverage constraints allow ILASP to rule out not just the current hypothesis, but an entire class of hypotheses that do not satisfy the coverage constraint. This article formalises the CDILP approach and presents the ILASP3 and ILASP4 systems for CDILP, which are demonstrated to be more scalable than previous ILASP systems, particularly in the presence of noise.

Type
Original Article
Copyright
© The Author(s), 2022. Published by Cambridge University Press

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

References

Alviano, M., Dodaro, C., Faber, W., Leone, N., and Ricca, F. 2013. WASP: A native ASP solver based on constraint learning. In Logic Programming and Nonmonotonic Reasoning, 12th International Conference, LPNMR 2013, Corunna, Spain, September 15-19, 2013. Proceedings. Lecture Notes in Computer Science, vol. 8148. Springer, 5466.Google Scholar
Athakravi, D. 2015. Inductive logic programming using bounded hypothesis space. Ph.D. thesis, Imperial College London.Google Scholar
Athakravi, D., Corapi, D., Broda, K., and Russo, A. 2013. Learning through hypothesis refinement using answer set programming. In Inductive Logic Programming - 23rd International Conference, ILP 2013, Rio de Janeiro, Brazil, August 28-30, 2013, Revised Selected Papers. Lecture Notes in Computer Science, vol. 8812. Springer, 3146.Google Scholar
Bragaglia, S. and Ray, O. 2014. Nonmonotonic learning in large biological networks. In Inductive Logic Programming - 24th International Conference, ILP 2014, Nancy, France, September 14-16, 2014, Revised Selected Papers. Lecture Notes in Computer Science, vol. 9046. Springer, 3348.Google Scholar
Chabierski, P., Russo, A., Law, M., and Broda, K. 2017. Machine comprehension of text using combinatory categorial grammar and answer set programs. In Proceedings of the Thirteenth International Symposium on Commonsense Reasoning, COMMONSENSE 2017, London, UK, November 6-8, 2017. CEUR Workshop Proceedings, vol. 2052. CEUR-WS.Google Scholar
Corapi, D., Russo, A., and Lupu, E. 2010. Inductive logic programming as abductive search. In Technical Communications of the 26th International Conference on Logic Programming, ICLP 2010, July 16-19, 2010, Edinburgh, Scotland, UK. LIPIcs, vol. 7. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 5463.Google Scholar
Corapi, D., Russo, A., and Lupu, E. 2011. Inductive logic programming in answer set programming. In Inductive Logic Programming - 21st International Conference, ILP 2011, Windsor Great Park, UK, July 31 - August 3, 2011, Revised Selected Papers. Lecture Notes in Computer Science, vol. 7207. Springer, 9197.Google Scholar
Cropper, A., Evans, R., and Law, M. 2020. Inductive general game playing. Machine Learning 109, 7, 13931434.CrossRefGoogle Scholar
Cropper, A. and Morel, R. 2021. Learning programs by learning from failures. Machine Learning 110, 4, 801856.CrossRefGoogle Scholar
Cropper, A. and Muggleton, S. H. 2016. Metagol system. https://github.com/metagol/metagol. [Accessed on January 29, 2022].Google Scholar
Furelos-Blanco, D., Law, M., Jonsson, A., Broda, K., and Russo, A. 2021. Induction and exploitation of subgoal automata for reinforcement learning. Journal of Artificial Intelligence Research 70, 10311116.Google Scholar
Furelos-Blanco, D., Law, M., Russo, A., Broda, K., and Jonsson, A. 2020. Induction of subgoal automata for reinforcement learning. In The Thirty-Fourth AAAI Conference on Artificial Intelligence, AAAI 2020, New York, NY, USA, February 7-12, 2020. AAAI Press, 38903897.Google Scholar
Gebser, M., Kaminski, R., Kaufmann, B., Ostrowski, M., Schaub, T., and Schneider, M. 2011. Potassco: The Potsdam answer set solving collection. AI Communications 24, 2, 107124.CrossRefGoogle Scholar
Gebser, M., Kaminski, R., Kaufmann, B., Ostrowski, M., Schaub, T., and Wanko, P. 2016. Theory solving made easy with Clingo 5. In Technical Communications of the 32nd International Conference on Logic Programming, ICLP 2016 TCs, October 16-21, 2016, New York City, USA. OASICS, vol. 52. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2:1–2:15.Google Scholar
Gebser, M., Kaufmann, B., Neumann, A., and Schaub, T. 2007. Conflict-driven answer set solving. In IJCAI 2007, Proceedings of the 20th International Joint Conference on Artificial Intelligence, Hyderabad, India, January 6-12, 2007. 386.Google Scholar
Inoue, K. and Kudoh, Y. 1997. Learning extended logic programs. In Proceedings of the Fifteenth International Joint Conference on Artificial Intelligence, IJCAI 97, Nagoya, Japan, August 23-29, 1997, 2 Volumes. Morgan Kaufmann, 176181.Google Scholar
Kaminski, T., Eiter, T., and Inoue, K. 2019. Meta-interpretive learning using HEX-programs. In Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence, IJCAI 2019, Macao, China, August 10-16, 2019. ijcai.org, 61866190.Google Scholar
Katzouris, N., Artikis, A., and Paliouras, G. 2015. Incremental learning of event definitions with inductive logic programming. Machine Learning 100, 2-3, 555585.CrossRefGoogle Scholar
Kazmi, M., Schüller, P., and Saygn, Y. 2017. Improving scalability of inductive logic programming via pruning and best-effort optimisation. Expert Systems with Applications 87, 291303.Google Scholar
Law, M. 2018. Inductive learning of answer set programs. Ph.D. thesis, Imperial College London.Google Scholar
Law, M., Russo, A., Bertino, E., Broda, K., and Lobo, J. 2019. Representing and learning grammars in answer set programming. In The Thirty-Third AAAI Conference on Artificial Intelligence, AAAI 2019, Honolulu, Hawaii, USA, January 27–February 1, 2019. AAAI Press, 29192928.Google Scholar
Law, M., Russo, A., Bertino, E., Broda, K., and Lobo, J. 2020. Fastlas: Scalable inductive logic programming incorporating domain-specific optimisation criteria. In The Thirty-Fourth AAAI Conference on Artificial Intelligence, AAAI 2020, New York, NY, USA, February 7–12, 2020. AAAI Press, 28772885.Google Scholar
Law, M., Russo, A., and Broda, K. 2014. Inductive learning of answer set programs. In Logics in Artificial Intelligence – 14th European Conference, JELIA 2014, Funchal, Madeira, Portugal, September 24-26, 2014. Proceedings. Lecture Notes in Computer Science, vol. 8761. Springer, 311325.Google Scholar
Law, M., Russo, A., and Broda, K. 2015. Learning weak constraints in answer set programming. Theory and Practice of Logic Programming 15, 4-5, 511525.CrossRefGoogle Scholar
Law, M., Russo, A., and Broda, K. 2016. Iterative learning of answer set programs from context dependent examples. Theory and Practice of Logic Programming 16, 5-6, 834848.CrossRefGoogle Scholar
Law, M., Russo, A., and Broda, K. 2018a. The complexity and generality of learning answer set programs. Artificial Intelligence 259, 110146.Google Scholar
Law, M., Russo, A., and Broda, K. 2018b. Inductive learning of answer set programs from noisy examples. Advances in Cognitive Systems 7, 5776.Google Scholar
Law, M., Russo, A., and Broda, K. 2020. The ILASP system for inductive learning of answer set programs. The Association for Logic Programming Newsletter. https://www.cs.nmsu.edu/ALP/2020/04/the-ilasp-system-for-inductive-learning-of-answer-set-programs/. [Accessed on January 29, 2022].Google Scholar
Law, M., Russo, A., Broda, K., and Bertino, E. 2021. Scalable non-observational predicate learning in ASP. In Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence, IJCAI 2021, Virtual Event Montreal, Canada, 19-27 August 2021. 19361943.Google Scholar
Lynce, I. and Marques-Silva, J. 2003. The effect of nogood recording in DPLL-CBJ SAT algorithms. In Recent Advances in Constraints. Springer, 144158.Google Scholar
Muggleton, S. 1991. Inductive logic programming. New generation computing 8, 4, 295318.CrossRefGoogle Scholar
Muggleton, S. 1995. Inverse entailment and progol. New generation computing 13, 3-4, 245286.CrossRefGoogle Scholar
Oblak, A. and Bratko, I. 2010. Learning from noisy data using a non-covering ILP algorithm. In Inductive Logic Programming - 20th International Conference, ILP 2010, Florence, Italy, June 27-30, 2010. Revised Papers. Lecture Notes in Computer Science, vol. 6489. Springer, 190197.Google Scholar
Quinlan, J. R. 1990. Learning logical definitions from relations. Machine learning 5, 3, 239266.CrossRefGoogle Scholar
Ray, O. 2009. Nonmonotonic abductive inductive learning. Journal of Applied Logic 7, 3, 329340.CrossRefGoogle Scholar
Ray, O., Broda, K., and Russo, A. 2003. Hybrid abductive inductive learning: A generalisation of progol. In Inductive Logic Programming: 13th International Conference, ILP 2003, Szeged, Hungary, September 29-October 1, 2003, Proceedings. Lecture Notes in Computer Science, vol. 2835. Springer, 311328.Google Scholar
Sakama, C. 2000. Inverse entailment in nonmonotonic logic programs. In Inductive Logic Programming, 10th International Conference, ILP 2000, London, UK, July 24-27, 2000, Proceedings. Lecture Notes in Computer Science, vol. 1866. Springer, 209224.Google Scholar
Sakama, C. and Inoue, K. 2009. Brave induction: a logical framework for learning from incomplete information. Machine Learning 76, 1, 335.CrossRefGoogle Scholar
Seitzer, J., Buckley, J. P., and Pan, Y. 2000. Inded: A distributed knowledge-based learning system. IEEE Intelligent Systems and their Applications 15, 5, 3846.CrossRefGoogle Scholar
Srinivasan, A. 2001. The aleph manual. https://www.cs.ox.ac.uk/activities/programinduction/Aleph/aleph.html. [Accessed on January 29, 2022].Google Scholar
Wrobel, S. 1996. First order theory refinement. Advances in inductive logic programming 32, 1433.Google Scholar