Learning programs by learning from failures
Not on the map. Why?
Abstract (arXiv)
We 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.
Key facts. Cited by 73 papers in the map (data through 7 Oct 2026). First posted on arXiv 5 May 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 14; 2022: 11; 2023: 9; 2024: 8; 2025: 20; 2026: 11.
73 papers.
Sort:
By area:
- 2021Inductive logic programming at 30cited by 46
- 2021Neuro-Symbolic Hierarchical Rule Inductioncited by 23
- 2022CrossBeam: Learning to Search in Bottom-Up Program Synthesiscited by 18
- 2024Imperative Learning: A Self-supervised Neuro-Symbolic Learning Framework for Robot Autonomycited by 16
- 2023Learning MDL logic programs from noisy datacited by 15
- 2021Learning Higher-Order Programs without Meta-Interpretive Learningcited by 14
- 2021Predicate Invention by Learning From Failurescited by 9
- 2021Interpretable Model-based Hierarchical Reinforcement Learning using Inductive Logic Programmingcited by 8
- 2023V-LoL: A Diagnostic Dataset for Visual Logical Learningcited by 8
- 2024LogiCity: Advancing Neuro-Symbolic AI with Abstract Urban Simulationcited by 8
- 2021Towards General Natural Language Understanding with Probabilistic Worldbuildingcited by 7
- 2021A Critical Review of Inductive Logic Programming Techniques for Explainable AIcited by 7
38 more
- 2022Learning logic programs by combining programscited by 7
- 2023Anti-unification and Generalization: A Surveycited by 7
- 2023FormaT5: Abstention and Examples for Conditional Table Formatting with Natural Languagecited by 7
- 2024Relational decomposition for program synthesiscited by 6
- 2021Learning Logic Programs From Noisy Failurescited by 5
- 2023Generalisation Through Negation and Predicate Inventioncited by 5
- 2024Towards Probabilistic Inductive Logic Programming with Neurosymbolic Inference and Relaxationcited by 5
- 2021Rule Induction in Knowledge Graphs Using Linear Programmingcited by 4
- 2022Learning logic programs by discovering where not to searchcited by 4
- 2022CORNET: Learning Table Formatting Rules By Examplecited by 4
- 2024Learning big logical rules by joining small rulescited by 4
- 2025Online inductive learning from answer sets for efficient reinforcement learning explorationcited by 4
- 2025Abductive Logical Rule Induction by Bridging Inductive Logic Programming and Multimodal Large Language Modelscited by 3
- 2021Meta-Interpretive Learning as Metarule Specialisationcited by 2
- 2022Efficient lifting of symmetry breaking constraints for complex combinatorial problemscited by 2
- 2022Learning programs with magic valuescited by 2
- 2022Relational program synthesis with numerical reasoningcited by 2
- 2025Inductive Learning of Robot Task Knowledge from Raw Data and Online Expert Feedbackcited by 2
- 2025Can AI expose tax loopholes? Towards a new generation of legal policy assistantscited by 2
- 2025Hypothesis Generation via LLM-Automated Language Bias for ILPcited by 2
- 2025Predicate Renaming via Large Language Modelscited by 2
- 2021Learning logic programs through divide, constrain, and conquercited by 1
- 2022Constraint-driven multi-task learningcited by 1
- 2022Rule Learning by Modularitycited by 1
- 2023Learning logic programs by discovering higher-order abstractionscited by 1
- 2023Symbolic Imitation Learning: From Black-Box to Explainable Driving Policiescited by 1
- 2023Efficient Open-world Reinforcement Learning via Knowledge Distillation and Autonomous Rule Discoverycited by 1
- 2025Modelling Program Spaces in Program Synthesis with Constraintscited by 1
- 2025Learning Logical Rules using Minimum Message Lengthcited by 1
- 2025GLIDR: Graph-Like Inductive Logic Programming with Differentiable Reasoningcited by 1
- 2026A Foundation Model for Zero-Shot Logical Rule Inductioncited by 1
- 2021Learning logic programs by explaining their failurescited by 0
- 2021Parallel Constraint-Driven Inductive Logic Programmingcited by 0
- 2021Preprocessing in Inductive Logic Programmingcited by 0
- 2022One-way Explainability Isn't The Messagecited by 0
- 2022Differentiable Inductive Logic Programming in High-Dimensional Spacecited by 0
- 2023Solving Witness-type Triangle Puzzles Faster with an Automatically Learned Human-Explainable Predicatecited by 0
- 2024Trust and ethical considerations in a multi-modal, explainable AI-driven chatbot tutoring system: The case of collaboratively solving Rubik's Cubecited by 0
50 most cited of 73 All 73 (JSON)
- 2026HyDI: A hybrid Deep Learning-Inductive Logic Programming ensemble for multi-label classification29 Sep 2026
- 2026DatalogBench: Evaluating Large Language Models on Text-to-Datalog Synthesis29 Sep 2026
- 2026Exactness at Inference: A Representational Criterion for Out-of-Distribution Generalization21 Sep 2026
- 2026Pretrain on Small Synthetic Data, Scale Large for Free: Symmetry-Aware Foundation Model for Logic Rule Induction1 Aug 2026
- 2026Reason Popper-ly: Patching In-Context Reasoning with Inductive Logic Programming25 Jul 2026
- 2026ADVENT: LLM-Driven Automatic Predicate Invention for ILP2 Jul 2026
- 2026SciR: A Controllable Benchmark for Scientific Reasoning in LLMs11 Jun 2026
- 2026A Foundation Model for Zero-Shot Logical Rule Induction6 May 2026
- 2026Weakly Supervised Concept Learning for Object-centric Visual Reasoning5 May 2026
- 2026ANDRE: An Attention-based Neuro-symbolic Differentiable Rule Extractor for Inductive Logic Programming5 May 2026
- 2026Continual learning and refinement of causal models through dynamic predicate invention19 Feb 2026
- 2025Satisfiability Modulo Theory Meets Inductive Logic Programming15 Dec 2025
38 more
- 2025Compressing Chemistry Reveals Functional Groups7 Nov 2025
- 2025Predicate Renaming via Large Language Models29 Oct 2025
- 2025Symbolic Snapshot Ensembles28 Oct 2025
- 2025RLIE: Rule Generation with Logistic Regression, Iterative Refinement, and Evaluation for Large Language Models22 Oct 2025
- 2025Abductive Logical Rule Induction by Bridging Inductive Logic Programming and Multimodal Large Language Models26 Sep 2025
- 2025Ultra Strong Machine Learning: LLM-Generated Explanations Do Not Yet Suffice for Teaching Humans Active Learning Strategy31 Aug 2025
- 2025GLIDR: Graph-Like Inductive Logic Programming with Differentiable Reasoning8 Aug 2025
- 2025Symmetry breaking for inductive logic programming8 Aug 2025
- 2025Learning Logical Rules using Minimum Message Length8 Aug 2025
- 2025Self-Supervised Inductive Logic Programming22 Jul 2025
- 2025Modelling Program Spaces in Program Synthesis with Constraints10 Jul 2025
- 2025Honey, I shrunk the hypothesis space (through logical preprocessing)7 Jun 2025
- 2025Hypothesis Generation via LLM-Automated Language Bias for ILP27 May 2025
- 2025Can AI expose tax loopholes? Towards a new generation of legal policy assistants21 Mar 2025
- 2025An Empirical Comparison of Cost Functions in Inductive Logic Programming10 Mar 2025
- 2025Neuro-Symbolic Contrastive Learning for Cross-domain Inference13 Feb 2025
- 2025Efficient rule induction by ignoring pointless rules3 Feb 2025
- 2025Inductive Learning of Robot Task Knowledge from Raw Data and Online Expert Feedback13 Jan 2025
- 2025Online inductive learning from answer sets for efficient reinforcement learning exploration13 Jan 2025
- 2024Learning Rules Explaining Interactive Theorem Proving Tactic Prediction2 Nov 2024
- 2024LogiCity: Advancing Neuro-Symbolic AI with Abstract Urban Simulation1 Nov 2024
- 2024Relational decomposition for program synthesis22 Aug 2024
- 2024Towards Probabilistic Inductive Logic Programming with Neurosymbolic Inference and Relaxation21 Aug 2024
- 2024Algebraic anti-unification22 Jul 2024
- 2024Imperative Learning: A Self-supervised Neuro-Symbolic Learning Framework for Robot Autonomy23 Jun 2024
- 2024Trust and ethical considerations in a multi-modal, explainable AI-driven chatbot tutoring system: The case of collaboratively solving Rubik's Cube30 Jan 2024
- 2024Learning big logical rules by joining small rules29 Jan 2024
- 2023Efficient Open-world Reinforcement Learning via Knowledge Distillation and Autonomous Rule Discovery24 Nov 2023
- 2023FormaT5: Abstention and Examples for Conditional Table Formatting with Natural Language26 Oct 2023
- 2023Symbolic Imitation Learning: From Black-Box to Explainable Driving Policies27 Sep 2023
- 2023Learning MDL logic programs from noisy data18 Aug 2023
- 2023Learning logic programs by discovering higher-order abstractions16 Aug 2023
- 2023Solving Witness-type Triangle Puzzles Faster with an Automatically Learned Human-Explainable Predicate4 Aug 2023
- 2023V-LoL: A Diagnostic Dataset for Visual Logical Learning13 Jun 2023
- 2023Anti-unification and Generalization: A Survey1 Feb 2023
- 2023Generalisation Through Negation and Predicate Invention18 Jan 2023
- 2022Rule Learning by Modularity23 Dec 2022
- 2022Relational program synthesis with numerical reasoning3 Oct 2022
50 newest of 73 All 73 (JSON)
- 2023V-LoL: A Diagnostic Dataset for Visual Logical Learningcited by 8
- 2024LogiCity: Advancing Neuro-Symbolic AI with Abstract Urban Simulationcited by 8
- 2026Weakly Supervised Concept Learning for Object-centric Visual Reasoningcited by 0
- 2026SciR: A Controllable Benchmark for Scientific Reasoning in LLMscited by 0
- 2026Reason Popper-ly: Patching In-Context Reasoning with Inductive Logic Programmingcited by 0
- 2026Reason Popper-ly: Patching In-Context Reasoning with Inductive Logic Programming25 Jul 2026
- 2026SciR: A Controllable Benchmark for Scientific Reasoning in LLMs11 Jun 2026
- 2026Weakly Supervised Concept Learning for Object-centric Visual Reasoning5 May 2026
- 2024LogiCity: Advancing Neuro-Symbolic AI with Abstract Urban Simulation1 Nov 2024
- 2023V-LoL: A Diagnostic Dataset for Visual Logical Learning13 Jun 2023
- 2021Inductive logic programming at 30cited by 46
- 2021Neuro-Symbolic Hierarchical Rule Inductioncited by 23
- 2022CrossBeam: Learning to Search in Bottom-Up Program Synthesiscited by 18
- 2023Learning MDL logic programs from noisy datacited by 15
- 2021Learning Higher-Order Programs without Meta-Interpretive Learningcited by 14
- 2021Predicate Invention by Learning From Failurescited by 9
- 2021Interpretable Model-based Hierarchical Reinforcement Learning using Inductive Logic Programmingcited by 8
- 2021Towards General Natural Language Understanding with Probabilistic Worldbuildingcited by 7
- 2021A Critical Review of Inductive Logic Programming Techniques for Explainable AIcited by 7
- 2022Learning logic programs by combining programscited by 7
- 2023Anti-unification and Generalization: A Surveycited by 7
- 2023FormaT5: Abstention and Examples for Conditional Table Formatting with Natural Languagecited by 7
12 most cited of 63 All 63 (JSON)
- 2026HyDI: A hybrid Deep Learning-Inductive Logic Programming ensemble for multi-label classification29 Sep 2026
- 2026DatalogBench: Evaluating Large Language Models on Text-to-Datalog Synthesis29 Sep 2026
- 2026Exactness at Inference: A Representational Criterion for Out-of-Distribution Generalization21 Sep 2026
- 2026ADVENT: LLM-Driven Automatic Predicate Invention for ILP2 Jul 2026
- 2026A Foundation Model for Zero-Shot Logical Rule Induction6 May 2026
- 2026ANDRE: An Attention-based Neuro-symbolic Differentiable Rule Extractor for Inductive Logic Programming5 May 2026
- 2025Satisfiability Modulo Theory Meets Inductive Logic Programming15 Dec 2025
- 2025Compressing Chemistry Reveals Functional Groups7 Nov 2025
- 2025Predicate Renaming via Large Language Models29 Oct 2025
- 2025Symbolic Snapshot Ensembles28 Oct 2025
- 2025RLIE: Rule Generation with Logistic Regression, Iterative Refinement, and Evaluation for Large Language Models22 Oct 2025
- 2025Ultra Strong Machine Learning: LLM-Generated Explanations Do Not Yet Suffice for Teaching Humans Active Learning Strategy31 Aug 2025
12 newest of 63 All 63 (JSON)