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
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-citationToward a mathematical theory of inductive inference
Blum, L., & Blum, M. (1975) · Information and Control · doi:10.1016/s0019-9958(75)90261-2 · Cited by 670
Reinforcement Learning and Markov Decision Processes
van Otterlo, M., & Wiering, M. (2012) · Adaptation, Learning, and Optimization · doi:10.1007/978-3-642-27645-3_1 · Cited by 628
Markov Decision Processes: Discrete Stochastic Dynamic Programming
Puterman, M. L. (2005) · Cited by 588
Automating string processing in spreadsheets using input-output examples
Gulwani, S. (2011) · ACM SIGPLAN Notices · doi:10.1145/1925844.1926423 · Cited by 581
A Deductive Approach to Program Synthesis
Manna, Z., & Waldinger, R. (1980) · ACM Transactions on Programming Languages and Systems · doi:10.1145/357084.357090 · Cited by 573
Foundations of Inductive Logic Programming
Nienhuys-Cheng, S.-H., & Wolf, R. (1997) · Lecture Notes in Computer Science · doi:10.1007/3-540-62927-0 · Cited by 471
Automating string processing in spreadsheets using input-output examples
Gulwani, S. (2011) · Proceedings of the 38th annual ACM SIGPLAN-SIGACT symposium on Principles of programming languages · doi:10.1145/1926385.1926423 · Cited by 446
WIELEMAKER, J., SCHRIJVERS, T., TRISKA, M., & LAGER, T. (2012) · Theory and Practice of Logic Programming · doi:10.1017/s1471068411000494 · Cited by 385
Teleo-Reactive Programs for Agent Control
Nilsson, N. (1994) · Journal of Artificial Intelligence Research · doi:10.1613/jair.30 · Cited by 366
Extending the Soar Cognitive Architecture
Laird, J. E. (2007) · doi:10.21236/ada473738 · Cited by 364
Randomness conservation inequalities; information and independence in mathematical theories
Levin, L. A. (1984) · Information and Control · doi:10.1016/s0019-9958(84)80060-1 · Cited by 256
A Methodology for LISP Program Construction from Examples
Summers, P. D. (1977) · Journal of the ACM · doi:10.1145/321992.322002 · Cited by 219
Transformation of logic programs: Foundations and techniques
Pettorossi, A., & Proietti, M. (1994) · The Journal of Logic Programming · doi:10.1016/0743-1066(94)90028-0 · Cited by 197
Meta-interpretive learning of higher-order dyadic datalog: predicate invention revisited
Muggleton, S. H., Lin, D., & Tamaddoni-Nezhad, A. (2015) · Machine Learning · doi:10.1007/s10994-014-5471-y · Cited by 184
Self-citationInduction of concepts in the predicate calculus
Vere, S. A. (1975) · International Joint Conference on Artificial Intelligence · Cited by 149
Meta-interpretive learning: application to grammatical inference
Muggleton, S. H., Lin, D., Pahlavi, N., & Tamaddoni-Nezhad, A. (2014) · Machine Learning · doi:10.1007/s10994-013-5358-3 · Cited by 144 · cited 1×
“Since the hypothesis space is exponential in the length of the hypothesis [Lin et al., 2014], the hypothesis H 1 is the most tractable to learn.”
BackgroundSelf-citationInductive programming meets the real world
Gulwani, S., Hernández-Orallo, J., Kitzelmann, E., Muggleton, S. H., Schmid, U., & Zorn, B. (2015) · Communications of the ACM · doi:10.1145/2736282 · Cited by 136
Self-citationInductive Learning of Answer Set Programs
Law, M., Russo, A., & Broda, K. (2014) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-11558-0_22 · Cited by 133 · cited 1×
“However, existing ILP systems cannot distinguish between the efficiencies of programs, and typically rely on an Occamist bias to learn textually simple programs, such as those using the fewest literals (Law et al. 2014) or fewest clauses (Muggleton et al.”
Lower Bound Cost Estimation for Logic Programs
Debray, S., López-García, P., Hermenegildo, M. V., Hermenegildo, G. M., & Lin, N.-W. (1997) · The MIT Press eBooks · doi:10.7551/mitpress/4283.003.0035 · Cited by 87
Lower Bound Cost Estimation for Logic Programs
Maluszy¿ski, J. (1997) · Cited by 72
Kilby, P., Slaney, J., Thiébaux, S., & Walsh, T. (2006) · ANU Open Research (Australian National University) · Cited by 70
Compression, Significance and Accuracy
Muggleton, S., Srinivasan, A., & Bain, M. (1992) · Elsevier eBooks · doi:10.1016/b978-1-55860-247-2.50048-6 · Cited by 63
Self-citationAnswer Set Planning Under Action Costs
Eiter, T., Faber, W., Leone, N., Pfeifer, G., & Polleres, A. (2003) · Journal of Artificial Intelligence Research · doi:10.1613/jair.1148 · Cited by 60
A Deductive Approach to Program Synthesis
Manna, Z., & Waldinger, R. J. (1981) · Elsevier eBooks · doi:10.1016/b978-0-934613-03-3.50015-5 · Cited by 57
Bias reformulation for one-shot function induction
Dianhuan, L., Eyal, D., Kevin, E., Joshua, T., & Stephen, M. (2014) · Frontiers in Artificial Intelligence and Applications · doi:10.3233/978-1-61499-419-0-525 · Cited by 53
Self-citationLearning higher-order logic programs through abstraction and invention
Cropper, A., & Muggleton, S. (2016) · Oxford University Research Archive (ORA) (University of Oxford) · Cited by 52
Self-citationOn the efficient synthesis of efficient programs
Kant, E. (1983) · Artificial Intelligence · doi:10.1016/0004-3702(83)90009-7 · Cited by 52
Combining FOIL and EBG To Speed-up Logic Programs
Zelle, J. M., & Mooney, R. J. (1993) · International Joint Conference on Artificial Intelligence · Cited by 50
Learning programs in the event calculus
Moyle, S., & Muggleton, S. (1997) · Lecture notes in computer science · doi:10.1007/3540635149_49 · Cited by 45
Self-citationMeta-Interpretive Learning from noisy images
Muggleton, S., Dai, W.-Z., Sammut, C., Tamaddoni‐Nezhad, A., Wen, J. A., & Zhou, Z. (2018) · Machine Learning · doi:10.1007/s10994-018-5710-8 · Cited by 36
Self-citation(2015) · International Conference on Artificial Intelligence · Cited by 25
Self-citationAlgorithmic Complexity of Logic Programs.
Kaplan, S. (1988) · Cited by 20
Induction of the Indirect Effects of Actions by Monotonic Methods
Otero, R. P. (2005) · Lecture notes in computer science · doi:10.1007/11536314_17 · Cited by 18
Planning in answer set programming while learning action costs for mobile robots
Yang, F., Khandelwal, P., Leonetti, M., & Stone, P. (2014) · White Rose Research Online (University of Leeds, The University of Sheffield, University of York) · Cited by 18
(2013) · Journal of Machine Learning Research · Cited by 17
Optimal STRIPS planning by maximum satisfiability and accumulative learning
Xing, Z., Chen, Y., & Zhang, W. (2006) · International Conference on Automated Planning and Scheduling · Cited by 13
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 136
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 83
“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-citation
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.