Learning programs by learning from failures

Author:

Cropper AndrewORCID,Morel Rolf

Abstract

AbstractWe describe an inductive logic programming (ILP) approach called learning from failures. In this approach, an ILP system (the learner) decomposes the learning problem into three separate stages: generate, test, and constrain. In the generate stage, the learner generates a hypothesis (a logic program) that satisfies a set of hypothesis constraints (constraints on the syntactic form of hypotheses). In the test stage, the learner tests the hypothesis against training examples. A hypothesis fails when it does not entail all the positive examples or entails a negative example. If a hypothesis fails, then, in the constrain stage, the learner learns constraints from the failed hypothesis to prune the hypothesis space, i.e. to constrain subsequent hypothesis generation. For instance, if a hypothesis is too general (entails a negative example), the constraints prune generalisations of the hypothesis. If a hypothesis is too specific (does not entail all the positive examples), the constraints prune specialisations of the hypothesis. This loop repeats until either (i) the learner finds a hypothesis that entails all the positive and none of the negative examples, or (ii) there are no more hypotheses to test. We introduce Popper, an ILP system that implements this approach by combining answer set programming and Prolog. Popper supports infinite problem domains, reasoning about lists and numbers, learning textually minimal programs, and learning recursive programs. Our experimental results on three domains (toy game problems, robot strategies, and list transformations) show that (i) constraints drastically improve learning performance, and (ii) Popper can outperform existing ILP systems, both in terms of predictive accuracies and learning times.

Funder

University of Oxford

Publisher

Springer Science and Business Media LLC

Subject

Artificial Intelligence,Software

Reference67 articles.

1. Ahlgren, J., & Yuen, S. Y. (2013). Efficient program synthesis using constraint satisfaction in inductive logic programming. The Journal of Machine Learning Research, 14(1), 3649–3682.

2. Albarghouthi, A., Koutris, P., Naik, M., & Smith, C. (2017). Constraint-based synthesis of datalog programs. In J. Christopher Beck (Ed.), Principles and practice of constraint programming—23rd International Conference, CP 2017, Melbourne, VIC, Australia, August 28–September 1, 2017, Proceedings, volume 10416 of Lecture Notes in Computer Science (pp. 689–706). Springer.

3. Athakravi, D., Alrajeh, D., Broda, K., Russo, A., & Satoh, K. (2014). Inductive learning using constraint-driven bias. In J. Davis & J. Ramon (Eds.), Inductive Logic Programming—24th International Conference, ILP 2014, Nancy, France, September 14–16, 2014, Revised Selected Papers, volume 9046 of Lecture Notes in Computer Science (pp. 16–32). Springer.

4. Athakravi, D., Corapi, D., Broda, K., & Russo, A. (2013). Learning through hypothesis refinement using answer set programming. In G. Zaverucha, V. S. Costa, & A. Paes (Eds.), Inductive Logic Programming—23rd International Conference, ILP 2013, Rio de Janeiro, Brazil, August 28–30, 2013, Revised Selected Papers, volume 8812 of Lecture Notes in Computer Science (pp 31–46). Springer.

5. Badea, L. (2001). A refinement operator for theories. In C. Rouveirol & M. Sebag (Eds.), Inductive Logic Programming, 11th International Conference, ILP 2001, Strasbourg, France, September 9–11, 2001, Proceedings, volume 2157 of Lecture Notes in Computer Science (pp. 1–14). Springer.

Cited by 20 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. FormaT5: Abstention and Examples for Conditional Table Formatting with Natural Language;Proceedings of the VLDB Endowment;2023-11

2. EmFore: Online Learning of Email Folder Classification Rules;Proceedings of the 32nd ACM International Conference on Information and Knowledge Management;2023-10-21

3. Mobius: Synthesizing Relational Queries with Recursive and Invented Predicates;Proceedings of the ACM on Programming Languages;2023-10-16

4. Relational Query Synthesis ⋈ Decision Tree Learning;Proceedings of the VLDB Endowment;2023-10

5. Learning logic programs by explaining their failures;Machine Learning;2023-08-07

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3