Learning efficient logic programs
Open accessThe DOI matches its Crossref record; 46 of the 49 references it cites were found in a registry or an index.
Abstract
When machine learning programs from data, we ideally want to learn efficient rather than inefficient programs. However, existing inductive logic programming (ILP) techniques cannot distinguish between the efficiencies of programs, such as permutation sort (n!) and merge sort $$O(n\;log\;n)$$ . To address this limitation, we introduce Metaopt, an ILP system which iteratively learns lower cost logic programs, each time further restricting the hypothesis space. We prove that given sufficiently large numbers of examples, Metaopt converges on minimal cost programs, and our experiments show that in practice only small numbers of examples are needed. To learn minimal time-complexity programs, including non-deterministic programs, we introduce a cost function called tree cost which measures the size of the SLD-tree searched when a program is given a goal. Our experiments on programming puzzles, robot strategies, and real-world string transformation problems show that Metaopt learns minimal cost programs. To our knowledge, Metaopt is the first machine learning approach that, given sufficient numbers of training examples, is guaranteed to learn minimal cost logic programs, including minimal time-complexity programs.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“Because of the symbolic nature of logic programs, ILP can reason about hypotheses, which allows it to learn optimal programs, such as minimal time-complexity programs (Cropper & Muggleton, 2019) and secure access control policies (Law et al., 2020).”
From Inductive Logic Programming At 30: A New Introduction (2022) · cites this paper as Cropper & Muggleton, 2019
In the citing paper
“Metaopt maintains a cost during the hypothesis search and uses this cost to prune the hypothesis space.”
From Inductive Logic Programming At 30: A New Introduction (2022) · cites this paper as Cropper & Muggleton, 2019
In the citing paper
“To address this issue, Metaopt (Cropper & Muggleton, 2019) learns efficient programs.”
From Inductive Logic Programming At 30: A New Introduction (2022) · cites this paper as Cropper & Muggleton, 2019
In the citing paper
“To learn minimal time complexity logic programs, Metaopt minimises the number of resolution steps.”
From Inductive Logic Programming At 30: A New Introduction (2022) · cites this paper as Cropper & Muggleton, 2019
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Reinforcement Learning: An Introduction
(2005) · IEEE Transactions on Neural Networks · doi:10.1109/tnn.2004.842673 · Cited by 24,496
Artificial intelligence: a modern approach
(1995) · Choice Reviews Online · doi:10.5860/choice.33-1577 · Cited by 21,974
Markov decision processes: Discrete stochastic dynamic programming
Hazeghi, K., & Puterman, M. L. (1995) · Journal of the American Statistical Association · doi:10.2307/2291177 · Cited by 8,037
Introduction to Reinforcement Learning
Sutton, R. S., & Barto, A. G. (1998) · The MIT Press eBooks · Cited by 6,855
The FF Planning System: Fast Plan Generation Through Heuristic Search
Hoffmann, J., & Nebel, B. (2001) · Journal of Artificial Intelligence Research · doi:10.1613/jair.855 · Cited by 1,838
Muggleton, S. (1995) · New Generation Computing · doi:10.1007/bf03037227 · Cited by 1,411
Self-citationShapiro, E. Y. (1983) · doi:10.7551/mitpress/1192.001.0001 · Cited by 1,085
Frontiers in Artificial Intelligence and Applications
To, W., Tryfonas, T., & FARTHING, D. W. (2009) · IOS Press eBooks · Cited by 720
The Art of Prolog: Advanced Programming Techniques
Sterling, L., & Shapiro, E. Y. (1994) · Cited by 701
(1990) · Cited by 671
Self-citation
Cited by
AI Reasoning in Deep Learning Era: From Symbolic AI to Neural–Symbolic AI
Liang, B., Wang, Y., & Tong, C. (2025) · Mathematics · doi:10.3390/math13111707 · Cited by 134
Inductive Logic Programming At 30: A New Introduction
Cropper, A., & Dumančić, S. (2022) · Journal of Artificial Intelligence Research · doi:10.1613/jair.1.13507 · Cited by 186
“ILP systems that aim to induce algorithms and general-purpose programs (Shapiro, 1983; Cropper & Muggleton, 2019; Cropper & Morel, 2020) often induce definite programs, typically as Prolog programs.”
BackgroundInfluentialSelf-citationFastLAS: Scalable Inductive Logic Programming Incorporating Domain-Specific Optimisation Criteria
Law, M., Russo, A. M., Bertino, E., Broda, K. B., & Lobo, J. (2020) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v34i03.5678 · Cited by 82
Turning 30: New Ideas in Inductive Logic Programming
Cropper, A., Dumančić, S., & Muggleton, S. H. (2020) · Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2020/673 · Cited by 79
Self-citationInductive logic programming at 30
Cropper, A., Dumančić, S., Evans, R., & Muggleton, S. H. (2022) · Machine Learning · doi:10.1007/s10994-021-06089-1 · Cited by 61
Self-citationEvans, R., Hernández-Orallo, J., Welbl, J., Kohli, P., & Sergot, M. (2021) · Artificial Intelligence · doi:10.1016/j.artint.2020.103438 · Cited by 58
Evans, R., Hernandez-Orallo, J., Welbl, J., Kohli, P., & Sergot, M. (2019) · arXiv · doi:10.48550/arxiv.1910.02227 · Cited by 58
Abductive Knowledge Induction from Raw Data
Dai, W.-Z., & Muggleton, S. (2021) · Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2021/254 · Cited by 42
Self-citationBeneficial and harmful explanatory machine learning
Ai, L., Muggleton, S. H., Hocquette, C., Gromowski, M., & Schmid, U. (2021) · Machine Learning · doi:10.1007/s10994-020-05941-0 · Cited by 34
Self-citationPlaygol: Learning Programs Through Play
Cropper, A. (2019) · Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2019/841 · Cited by 30
Self-citationLogical reduction of metarules
Cropper, A., & Tourret, S. (2020) · Machine Learning · doi:10.1007/s10994-019-05834-x · Cited by 29
Self-citationLearning Relational Representations with Auto-encoding Logic Programs
Dumancic, S., Guns, T., Meert, W., & Blockeel, H. (2019) · Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2019/842 · Cited by 27
de la Puente, A. O., Fiérrez, J., Morales, A., Wang, Z., & Ribeiro, T. (2021) · IEEE/CVF Winter Conference on Applications of Computer Vision Workshops (WACVW) · doi:10.1109/wacvw52041.2021.00013 · Cited by 27
Inductive general game playing
Cropper, A., Evans, R., & Law, M. (2020) · Machine Learning · doi:10.1007/s10994-019-05843-w · Cited by 26
Self-citationLearning MDL Logic Programs from Noisy Data
Hocquette, C., Niskanen, A., Järvisalo, M., & Cropper, A. (2024) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v38i9.28925 · Cited by 23
Self-citationMeli, D., Sridharan, M., & Fiorini, P. (2021) · Machine Learning · doi:10.1007/s10994-021-06013-7 · Cited by 18
Symbolic AI for XAI: Evaluating LFIT Inductive Programming for Explaining Biases in Machine Learning
de la Puente, A. O., Fiérrez, J., Morales, A., Wang, Z., de la Cruz, M., Alonso, C. L., & Ribeiro, T. (2021) · Computers · doi:10.3390/computers10110154 · Cited by 16
Derivation Reduction of Metarules in Meta-interpretive Learning
Cropper, A., & Tourret, S. (2018) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-99960-9_1 · Cited by 15
Self-citationEfficiently learning efficient programs
Cropper, A. (2017) · Spiral (Imperial College London) · doi:10.25560/58488 · Cited by 15
Self-citationLearning hierarchical probabilistic logic programs
Fadja, A. N., Riguzzi, F., & Lamma, E. (2021) · Machine Learning · doi:10.1007/s10994-021-06016-4 · Cited by 14
Learning higher-order logic programs
Cropper, A., Morel, R., & Muggleton, S. (2020) · Machine Learning · doi:10.1007/s10994-019-05862-7 · Cited by 53
“For the Prolog experiments, to form the input, we select a random integer i from the interval [1,10] as the number of sublists.”
BackgroundMethodSelf-citationTyped Meta-interpretive Learning of Logic Programs
Morel, R., Cropper, A., & Ong, C.-H. L. (2019) · Lecture Notes in Computer Science · doi:10.1007/978-3-030-19570-0_13 · Cited by 11
Self-citationLearning Large Logic Programs By Going Beyond Entailment
Cropper, A., & Dumančic, S. (2020) · Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2020/287 · Cited by 11
Self-citationGeneralisation through Negation and Predicate Invention
Cerna, D. M., & Cropper, A. (2024) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v38i9.28915 · Cited by 11
Self-citationMeli, D., Fiorini, P., & Sridharan, M. (2020) · Procedia Computer Science · doi:10.1016/j.procs.2020.08.046 · Cited by 11
A Birds Eye View on Knowledge Graph Embeddings, Software Libraries, Applications and ChallengesPreprint
Garg, S., & Roy, D. (2022) · arXiv · doi:10.48550/arxiv.2205.09088 · Cited by 9
Inductive learning of robot task knowledge from raw data and online expert feedback
Meli, D., & Fiorini, P. (2025) · Machine Learning · doi:10.1007/s10994-024-06636-6 · Cited by 6
Machine Discovery of Comprehensible Strategies for Simple Games Using Meta-interpretive Learning
Muggleton, S., & Hocquette, C. (2019) · New Generation Computing · doi:10.1007/s00354-019-00054-2 · Cited by 5
Self-citationHow Much Can Experimental Cost Be Reduced in Active Learning of Agent Strategies?
Hocquette, C., & Muggleton, S. (2018) · Lecture notes in computer science · doi:10.1007/978-3-319-99960-9_3 · Cited by 5
Self-citationCan humans teach machines to code?Preprint
Hocquette, C., Langer, J., Cropper, A., & Schmid, U. (2024) · AAAI Publications (The Association for the Advancement of Artificial Intelligence (AAAI)) · doi:10.48550/arxiv.2404.19397 · Cited by 4
Self-citationAutomated Analysis of RFPs using Natural Language Processing (NLP) for the Technology Domain
Beason, S., Hinton, W., Salamah, Y. A., & Salsman, J. (2021) · SMU Data Science Review · Cited by 3
Structured Program Synthesis using LLMs: Results and Insights from the IPARC ChallengePreprint
Surana, S., Srinivasan, A., & Bain, M. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2506.13820 · Cited by 3
Infusing structured knowledge priors in neural models for sample-efficient symbolic reasoning
Atzeni, M. (2024) · Infoscience (Ecole Polytechnique Fédérale de Lausanne) · doi:10.5075/epfl-thesis-10642 · Cited by 2
Use of Propositional Logic in building AI Logic and Game Development
Arunakumari, B. N., Ravikumar, S., Jason, V., Sarika, T. A., Adnan, S., & Thippeswamy, G. (2023) · International Conference on Computing, Communication and Networking Technologies (ICCCNT) · doi:10.1109/icccnt56998.2023.10308203 · Cited by 2
Can Meta-Interpretive Learning outperform Deep Reinforcement Learning of Evaluable Game strategies?
Hocquette, C. (2019) · International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2019/909 · Cited by 1
Inductive Logic Programming Beyond Prolog: Solvers and OptimizationPreprint
Agun, H. V. (2025) · SSRN Electronic Journal · doi:10.2139/ssrn.5682668 · Cited by 1
The Automatic Computer Scientist
Cropper, A. (2023) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v37i13.26801 · Cited by 1
Self-citationThe scaling of mental computation in a sorting task
Haridi, S., Wu, C. M., Dasgupta, I., & Schulz, E. (2023) · Cognition · doi:10.1016/j.cognition.2023.105605 · Cited by 1
Constraint-driven multi-task learningPreprint
Cretu, B., & Cropper, A. (2022) · arXiv (Cornell University) · doi:10.48550/arxiv.2208.11656 · Cited by 1
Self-citationImplementation of Rule Based Testing for Digital Circuits Using Inductive Logic Programming
Varma, S. K., Agarwal, V. R., & Chandak, A. (2022) · Lecture notes in networks and systems · doi:10.1007/978-981-16-5529-6_10 · Cited by 1
Forgetting to Learn Logic Programs
Cropper, A. (2020) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v34i04.5776
Self-citationRefinement Type Directed Search for Meta-Interpretive-Learning of Higher-Order Logic ProgramsPreprint
Morel, R. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2102.12553
Inducing game rules from varying quality game playPreprint
Flynn, A. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2008.01664
Learning from interpreting transitions in explainable deep learning for biometrics
Wang, Z. (2020) · LA Referencia (Red Federada de Repositorios Institucionales de Publicaciones Científicas)
Het leren van latente symbolische representaties voor relationele data
Dumančić, S. (2018) · Lirias (KU Leuven)
Scalable Probabilistic Inductive Logic Programming for Big Data
NGUEMBANG FADJA, A. (2020) · Institutional Research Information System University of Ferrara (University of Ferrara)
Metadata
- Authors
- Cropper, A., & Muggleton, S. H.
- Venue
- Machine Learning
- Published
- 2018-04-23
- Volume
- 108
- Issue
- 7
- Pages
- 1063-1083
- ISSN
- 0885-6125 (ISSN-L)
- 1573-0565
- OpenAlex
- W2395903764
- Cited by
- 31
- References
- 49
- FWCI
- 3.11
- Type
- journal article
- Language
- en
- Open access
- hybrid
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.