Skip to main content

Showing 1–32 of 32 results for author: Cropper, A

.
  1. arXiv:2506.06739  [pdf, ps, other

    cs.AI cs.LG

    Honey, I shrunk the hypothesis space (through logical preprocessing)

    Authors: Andrew Cropper, Filipe Gouveia, David M. Cerna

    Abstract: Inductive logic programming (ILP) is a form of logical machine learning. The goal is to search a hypothesis space for a hypothesis that generalises training examples and background knowledge. We introduce an approach that 'shrinks' the hypothesis space before an ILP system searches it. Our approach uses background knowledge to find rules that cannot be in an optimal hypothesis regardless of the tr… ▽ More

    Submitted 7 June, 2025; originally announced June 2025.

    Comments: Submitted to JAIR

  2. arXiv:2503.07554  [pdf, other

    cs.LG

    An Empirical Comparison of Cost Functions in Inductive Logic Programming

    Authors: Céline Hocquette, Andrew Cropper

    Abstract: Recent inductive logic programming (ILP) approaches learn optimal hypotheses. An optimal hypothesis minimises a given cost function on the training data. There are many cost functions, such as minimising training error, textual complexity, or the description length of hypotheses. However, selecting an appropriate cost function remains a key question. To address this gap, we extend a constraint-bas… ▽ More

    Submitted 10 March, 2025; originally announced March 2025.

  3. arXiv:2502.01232  [pdf, other

    cs.AI

    Efficient rule induction by ignoring pointless rules

    Authors: Andrew Cropper, David M. Cerna

    Abstract: The goal of inductive logic programming (ILP) is to find a set of logical rules that generalises training examples and background knowledge. We introduce an ILP approach that identifies pointless rules. A rule is pointless if it contains a redundant literal or cannot discriminate against negative examples. We show that ignoring pointless rules allows an ILP system to soundly prune the hypothesis s… ▽ More

    Submitted 3 February, 2025; originally announced February 2025.

    Comments: Under review for a conference

  4. arXiv:2408.12212  [pdf

    cs.AI cs.LG

    Relational decomposition for program synthesis

    Authors: Céline Hocquette, Andrew Cropper

    Abstract: We introduce a relational approach to program synthesis. The key idea is to decompose synthesis tasks into simpler relational synthesis subtasks. Specifically, our representation decomposes a training input-output example into sets of input and output facts respectively. We then learn relations between the input and output facts. We demonstrate our approach using an off-the-shelf inductive logic p… ▽ More

    Submitted 10 June, 2025; v1 submitted 22 August, 2024; originally announced August 2024.

  5. Scalable Knowledge Refactoring using Constrained Optimisation

    Authors: Minghao Liu, David M. Cerna, Filipe Gouveia, Andrew Cropper

    Abstract: Knowledge refactoring compresses a logic program by introducing new rules. Current approaches struggle to scale to large programs. To overcome this limitation, we introduce a constrained optimisation refactoring approach. Our first key idea is to encode the problem with decision variables based on literals rather than rules. Our second key idea is to focus on linear invented rules. Our empirical r… ▽ More

    Submitted 21 August, 2024; originally announced August 2024.

  6. arXiv:2404.19397  [pdf, other

    cs.HC cs.LG

    Can humans teach machines to code?

    Authors: Céline Hocquette, Johannes Langer, Andrew Cropper, Ute Schmid

    Abstract: The goal of inductive program synthesis is for a machine to automatically generate a program from user-supplied examples. A key underlying assumption is that humans can provide sufficient examples to teach a concept to a machine. To evaluate the validity of this assumption, we conduct a study where human participants provide examples for six programming concepts, such as finding the maximum elemen… ▽ More

    Submitted 17 February, 2025; v1 submitted 30 April, 2024; originally announced April 2024.

  7. arXiv:2401.16383  [pdf, ps, other

    cs.LG cs.LO

    Learning logic programs by finding minimal unsatisfiable subprograms

    Authors: Andrew Cropper, Céline Hocquette

    Abstract: The goal of inductive logic programming (ILP) is to search for a logic program that generalises training examples and background knowledge. We introduce an ILP approach that identifies minimal unsatisfiable subprograms (MUSPs). We show that finding MUSPs allows us to efficiently and soundly prune the search space. Our experiments on multiple domains, including program synthesis and game playing, s… ▽ More

    Submitted 29 January, 2024; originally announced January 2024.

  8. arXiv:2401.16215  [pdf, other

    cs.LG cs.AI cs.LO

    Learning big logical rules by joining small rules

    Authors: Céline Hocquette, Andreas Niskanen, Rolf Morel, Matti Järvisalo, Andrew Cropper

    Abstract: A major challenge in inductive logic programming is learning big rules. To address this challenge, we introduce an approach where we join small rules to learn big rules. We implement our approach in a constraint-driven system and use constraint solvers to efficiently join rules. Our experiments on many domains, including game playing and drug design, show that our approach can (i) learn rules with… ▽ More

    Submitted 29 January, 2024; originally announced January 2024.

  9. arXiv:2308.09393  [pdf, ps, other

    cs.LG cs.LO

    Learning MDL logic programs from noisy data

    Authors: Céline Hocquette, Andreas Niskanen, Matti Järvisalo, Andrew Cropper

    Abstract: Many inductive logic programming approaches struggle to learn programs from noisy data. To overcome this limitation, we introduce an approach that learns minimal description length programs from noisy data, including recursive programs. Our experiments on several domains, including drug design, game playing, and program synthesis, show that our approach can outperform existing approaches in terms… ▽ More

    Submitted 18 August, 2023; originally announced August 2023.

    Comments: arXiv admin note: text overlap with arXiv:2206.01614

  10. arXiv:2308.08334  [pdf, ps, other

    cs.LG cs.AI cs.PL

    Learning logic programs by discovering higher-order abstractions

    Authors: Céline Hocquette, Sebastijan Dumančić, Andrew Cropper

    Abstract: We introduce the higher-order refactoring problem, where the goal is to compress a logic program by discovering higher-order abstractions, such as map, filter, and fold. We implement our approach in Stevie, which formulates the refactoring problem as a constraint optimisation problem. Our experiments on multiple domains, including program synthesis and visual reasoning, show that refactoring can i… ▽ More

    Submitted 29 January, 2024; v1 submitted 16 August, 2023; originally announced August 2023.

  11. Generalisation Through Negation and Predicate Invention

    Authors: David M. Cerna, Andrew Cropper

    Abstract: The ability to generalise from a small number of examples is a fundamental challenge in machine learning. To tackle this challenge, we introduce an inductive logic programming (ILP) approach that combines negation and predicate invention. Combining these two features allows an ILP system to generalise better by learning rules with universally quantified body-only variables. We implement our idea i… ▽ More

    Submitted 27 December, 2023; v1 submitted 18 January, 2023; originally announced January 2023.

    Comments: Accepted at AAAI-24

  12. arXiv:2210.00764  [pdf, other

    cs.LG cs.PL

    Relational program synthesis with numerical reasoning

    Authors: Céline Hocquette, Andrew Cropper

    Abstract: Program synthesis approaches struggle to learn programs with numerical values. An especially difficult problem is learning continuous values over multiple examples, such as intervals. To overcome this limitation, we introduce an inductive logic programming approach which combines relational learning with numerical reasoning. Our approach, which we call NUMSYNTH, uses satisfiability modulo theories… ▽ More

    Submitted 4 October, 2022; v1 submitted 3 October, 2022; originally announced October 2022.

  13. arXiv:2208.11656  [pdf, other

    cs.LG cs.AI

    Constraint-driven multi-task learning

    Authors: Bogdan Cretu, Andrew Cropper

    Abstract: Inductive logic programming is a form of machine learning based on mathematical logic that generates logic programs from given examples and background knowledge. In this project, we extend the Popper ILP system to make use of multi-task learning. We implement the state-of-the-art approach and several new strategies to improve search performance. Furthermore, we introduce constraint preservation,… ▽ More

    Submitted 24 August, 2022; originally announced August 2022.

    Comments: 4th year undergraduate project at the University of Oxford

  14. arXiv:2208.03238  [pdf, ps, other

    cs.LG

    Learning programs with magic values

    Authors: Céline Hocquette, Andrew Cropper

    Abstract: A magic value in a program is a constant symbol that is essential for the execution of the program but has no clear explanation for its choice. Learning programs with magic values is difficult for existing program synthesis approaches. To overcome this limitation, we introduce an inductive logic programming approach to efficiently learn programs with magic values. Our experiments on diverse domain… ▽ More

    Submitted 1 October, 2022; v1 submitted 5 August, 2022; originally announced August 2022.

  15. arXiv:2206.01614  [pdf, ps, other

    cs.LG cs.AI cs.LO

    Learning logic programs by combining programs

    Authors: Andrew Cropper, Céline Hocquette

    Abstract: The goal of inductive logic programming is to induce a logic program (a set of logical rules) that generalises training examples. Inducing programs with many rules and literals is a major challenge. To tackle this challenge, we introduce an approach where we learn small non-separable programs and combine them. We implement our approach in a constraint-driven ILP system. Our approach can learn opti… ▽ More

    Submitted 17 August, 2023; v1 submitted 1 June, 2022; originally announced June 2022.

  16. arXiv:2202.09806  [pdf, ps, other

    cs.LG cs.AI cs.LO

    Learning logic programs by discovering where not to search

    Authors: Andrew Cropper, Céline Hocquette

    Abstract: The goal of inductive logic programming (ILP) is to search for a hypothesis that generalises training examples and background knowledge (BK). To improve performance, we introduce an approach that, before searching for a hypothesis, first discovers where not to search. We use given BK to discover constraints on hypotheses, such as that a number cannot be both even and odd. We use the constraints to… ▽ More

    Submitted 5 December, 2022; v1 submitted 20 February, 2022; originally announced February 2022.

    Comments: Preprint for AAAI23

  17. arXiv:2109.07818  [pdf, ps, other

    cs.AI cs.LG

    Learning logic programs through divide, constrain, and conquer

    Authors: Andrew Cropper

    Abstract: We introduce an inductive logic programming approach that combines classical divide-and-conquer search with modern constraint-driven search. Our anytime approach can learn optimal, recursive, and large programs and supports predicate invention. Our experiments on three domains (classification, inductive general game playing, and program synthesis) show that our approach can increase predictive acc… ▽ More

    Submitted 7 December, 2021; v1 submitted 16 September, 2021; originally announced September 2021.

    Comments: Accepted for AAAI2022

  18. arXiv:2109.07132  [pdf, ps, other

    cs.AI cs.LG

    Parallel Constraint-Driven Inductive Logic Programming

    Authors: Andrew Cropper, Oghenejokpeme Orhobor, Cristian Dinu, Rolf Morel

    Abstract: Multi-core machines are ubiquitous. However, most inductive logic programming (ILP) approaches use only a single core, which severely limits their scalability. To address this limitation, we introduce parallel techniques based on constraint-driven ILP where the goal is to accumulate constraints to restrict the hypothesis space. Our experiments on two domains (program synthesis and inductive genera… ▽ More

    Submitted 15 September, 2021; originally announced September 2021.

    Comments: Paper under review

  19. arXiv:2104.14426  [pdf, ps, other

    cs.AI

    Predicate Invention by Learning From Failures

    Authors: Andrew Cropper, Rolf Morel

    Abstract: Discovering novel high-level concepts is one of the most important steps needed for human-level AI. In inductive logic programming (ILP), discovering novel high-level concepts is known as predicate invention (PI). Although seen as crucial since the founding of ILP, PI is notoriously difficult and most ILP systems do not support it. In this paper, we introduce POPPI, an ILP system that formulates t… ▽ More

    Submitted 29 April, 2021; originally announced April 2021.

    Comments: Rejected manuscript for IJCAI21

  20. arXiv:2102.12551  [pdf, other

    cs.AI cs.LO

    Learning logic programs by explaining their failures

    Authors: Rolf Morel, Andrew Cropper

    Abstract: Scientists form hypotheses and experimentally test them. If a hypothesis fails (is refuted), scientists try to explain the failure to eliminate other hypotheses. The more precise the failure analysis the more hypotheses can be eliminated. Thus inspired, we introduce failure explanation techniques for inductive logic programming. Given a hypothesis represented as a logic program, we test it on exam… ▽ More

    Submitted 24 May, 2023; v1 submitted 18 February, 2021; originally announced February 2021.

    Comments: 26 pages; under review at the Machine Learning journal since February 2022

  21. arXiv:2102.10556  [pdf, other

    cs.AI cs.LG

    Inductive logic programming at 30

    Authors: Andrew Cropper, Sebastijan Dumančić, Richard Evans, Stephen H. Muggleton

    Abstract: Inductive logic programming (ILP) is a form of logic-based machine learning. The goal is to induce a hypothesis (a logic program) that generalises given training examples. As ILP turns 30, we review the last decade of research. We focus on (i) new meta-level search methods, (ii) techniques for learning recursive programs, (iii) new approaches for predicate invention, and (iv) the use of different… ▽ More

    Submitted 22 September, 2021; v1 submitted 21 February, 2021; originally announced February 2021.

    Comments: Extension of IJCAI20 survey paper. Accepted for the MLJ. arXiv admin note: substantial text overlap with arXiv:2002.11002, arXiv:2008.07912

  22. arXiv:2008.07912  [pdf, ps, other

    cs.AI cs.LG

    Inductive logic programming at 30: a new introduction

    Authors: Andrew Cropper, Sebastijan Dumančić

    Abstract: Inductive logic programming (ILP) is a form of machine learning. The goal of ILP is to induce a hypothesis (a set of logical rules) that generalises training examples. As ILP turns 30, we provide a new introduction to the field. We introduce the necessary logical notation and the main learning settings; describe the building blocks of an ILP system; compare several systems on several dimensions; d… ▽ More

    Submitted 22 March, 2022; v1 submitted 18 August, 2020; originally announced August 2020.

    Comments: Preprint of a paper accepted for JAIR

  23. arXiv:2005.02259  [pdf, ps, other

    cs.AI cs.LG

    Learning programs by learning from failures

    Authors: Andrew Cropper, Rolf Morel

    Abstract: 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).… ▽ More

    Submitted 25 November, 2020; v1 submitted 5 May, 2020; originally announced May 2020.

    Comments: Accepted for the machine learning journal

  24. arXiv:2004.09931  [pdf, other

    cs.AI cs.LG stat.ML

    Knowledge Refactoring for Inductive Program Synthesis

    Authors: Sebastijan Dumancic, Tias Guns, Andrew Cropper

    Abstract: Humans constantly restructure knowledge to use it more efficiently. Our goal is to give a machine learning system similar abilities so that it can learn more efficiently. We introduce the \textit{knowledge refactoring} problem, where the goal is to restructure a learner's knowledge base to reduce its size and to minimise redundancy in it. We focus on inductive logic programming, where the knowledg… ▽ More

    Submitted 24 November, 2020; v1 submitted 21 April, 2020; originally announced April 2020.

    Comments: 7 pages, 6 figures

  25. arXiv:2004.09855  [pdf, ps, other

    cs.AI cs.LG

    Learning large logic programs by going beyond entailment

    Authors: Andrew Cropper, Sebastijan Dumančić

    Abstract: A major challenge in inductive logic programming (ILP) is learning large programs. We argue that a key limitation of existing systems is that they use entailment to guide the hypothesis search. This approach is limited because entailment is a binary decision: a hypothesis either entails an example or does not, and there is no intermediate position. To address this limitation, we go beyond entailme… ▽ More

    Submitted 22 April, 2020; v1 submitted 21 April, 2020; originally announced April 2020.

    Comments: IJCAI2020 paper

  26. arXiv:2002.11002  [pdf, ps, other

    cs.AI cs.LG

    Turning 30: New Ideas in Inductive Logic Programming

    Authors: Andrew Cropper, Sebastijan Dumančić, Stephen H. Muggleton

    Abstract: Common criticisms of state-of-the-art machine learning include poor generalisation, a lack of interpretability, and a need for large amounts of training data. We survey recent work in inductive logic programming (ILP), a form of machine learning that induces logic programs from data, which has shown promise at addressing these limitations. We focus on new methods for learning recursive programs th… ▽ More

    Submitted 22 April, 2020; v1 submitted 25 February, 2020; originally announced February 2020.

    Comments: IJCAI2020 survey paper

  27. arXiv:1911.06643  [pdf, ps, other

    cs.LG cs.AI cs.LO

    Forgetting to learn logic programs

    Authors: Andrew Cropper

    Abstract: Most program induction approaches require predefined, often hand-engineered, background knowledge (BK). To overcome this limitation, we explore methods to automatically acquire BK through multi-task learning. In this approach, a learner adds learned programs to its BK so that they can be reused to help learn other programs. To improve learning performance, we explore the idea of forgetting, where… ▽ More

    Submitted 15 November, 2019; originally announced November 2019.

    Comments: AAAI20

  28. arXiv:1907.10953  [pdf, other

    cs.LG cs.AI stat.ML

    Learning higher-order logic programs

    Authors: Andrew Cropper, Rolf Morel, Stephen H. Muggleton

    Abstract: A key feature of inductive logic programming (ILP) is its ability to learn first-order programs, which are intrinsically more expressive than propositional programs. In this paper, we introduce techniques to learn higher-order programs. Specifically, we extend meta-interpretive learning (MIL) to support learning higher-order programs by allowing for \emph{higher-order definitions} to be used as ba… ▽ More

    Submitted 25 July, 2019; originally announced July 2019.

    Comments: Submitted to the MLJ

  29. arXiv:1907.10952  [pdf, ps, other

    cs.LG cs.AI

    Logical reduction of metarules

    Authors: Andrew Cropper, Sophie Tourret

    Abstract: Many forms of inductive logic programming (ILP) use \emph{metarules}, second-order Horn clauses, to define the structure of learnable programs and thus the hypothesis space. Deciding which metarules to use for a given learning task is a major open problem and is a trade-off between efficiency and expressivity: the hypothesis space grows given more metarules, so we wish to use fewer metarules, but… ▽ More

    Submitted 25 July, 2019; originally announced July 2019.

    Comments: MLJ submission

  30. arXiv:1906.09627  [pdf, other

    cs.AI cs.LG

    Inductive general game playing

    Authors: Andrew Cropper, Richard Evans, Mark Law

    Abstract: General game playing (GGP) is a framework for evaluating an agent's general intelligence across a wide range of tasks. In the GGP competition, an agent is given the rules of a game (described as a logic program) that it has never seen before. The task is for the agent to play the game, thus generating game traces. The winner of the GGP competition is the agent that gets the best total score over a… ▽ More

    Submitted 23 June, 2019; originally announced June 2019.

    Comments: Accepted for the Machine Learning journal

  31. arXiv:1904.08993  [pdf, ps, other

    cs.LG cs.AI

    Playgol: learning programs through play

    Authors: Andrew Cropper

    Abstract: Children learn though play. We introduce the analogous idea of learning programs through play. In this approach, a program induction system (the learner) is given a set of tasks and initial background knowledge. Before solving the tasks, the learner enters an unsupervised playing stage where it creates its own tasks to solve, tries to solve them, and saves any solutions (programs) to the backgroun… ▽ More

    Submitted 20 May, 2019; v1 submitted 18 April, 2019; originally announced April 2019.

    Comments: IJCAI 2019

  32. arXiv:1902.09900  [pdf, other

    cs.LO

    SLD-Resolution Reduction of Second-Order Horn Fragments -- technical report --

    Authors: Sophie Tourret, Andrew Cropper

    Abstract: We present the derivation reduction problem for SLD-resolution, the undecidable problem of finding a finite subset of a set of clauses from which the whole set can be derived using SLD-resolution. We study the reducibility of various fragments of second-order Horn logic with particular applications in Inductive Logic Programming. We also discuss how these results extend to standard resolution.

    Submitted 26 February, 2019; originally announced February 2019.

    Comments: technical report, extends a conference paper accepted at JELIA 2019 with detailed proofs