# Best-Effort Inductive Logic Programming via Fine-grained Cost-based Hypothesis Generation

arXiv: https://arxiv.org/abs/1707.02729 · HTML: https://mlsanity.com/paper/1707.02729/

## Key facts

- Cited by 11 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 10 Jul 2017.

## Built on by (most cited first, 11 of 11)

- [Inductive logic programming at 30](https://mlsanity.com/paper/2102.10556/) (2021)
- [Predicate Invention by Learning From Failures](https://mlsanity.com/paper/2104.14426/) (2021)
- [Learning logic programs by combining programs](https://mlsanity.com/paper/2206.01614/) (2022)
- [Principled and Efficient Motif Finding for Structure Learning of Lifted Graphical Models](https://mlsanity.com/paper/2302.04599/) (2023)
- [Relational program synthesis with numerical reasoning](https://mlsanity.com/paper/2210.00764/) (2022)
- [Inductive Learning of Robot Task Knowledge from Raw Data and Online Expert Feedback](https://mlsanity.com/paper/2501.07507/) (2025)
- [Efficiently Learning Probabilistic Logical Models by Cheaply Ranking Mined Rules](https://mlsanity.com/paper/2409.16238/) (2024)
- [Learning logic programs by explaining their failures](https://mlsanity.com/paper/2102.12551/) (2021)
- [Efficient rule induction by ignoring pointless rules](https://mlsanity.com/paper/2502.01232/) (2025)
- [MPRM: A Markov Path-based Rule Miner for Efficient and Interpretable Knowledge Graph Reasoning](https://mlsanity.com/paper/2505.12329/) (2025)
- [Honey, I shrunk the hypothesis space (through logical preprocessing)](https://mlsanity.com/paper/2506.06739/) (2025)

## Abstract (arXiv)

We describe the Inspire system which participated in the first competition on Inductive Logic Programming (ILP). Inspire is based on Answer Set Programming (ASP). The distinguishing feature of Inspire is an ASP encoding for hypothesis space generation: given a set of facts representing the mode bias, and a set of cost configuration parameters, each answer set of this encoding represents a single rule that is considered for finding a hypothesis that entails the given examples. Compared with state-of-the-art methods that use the length of the rule body as a metric for rule complexity, our approach permits a much more fine-grained specification of the shape of hypothesis candidate rules. The Inspire system iteratively increases the rule cost limit and thereby increases the search space until it finds a suitable hypothesis. The system searches for a hypothesis that entails a single example at a time, utilizing an ASP encoding derived from the encoding used in XHAIL. We perform experiments with the development and test set of the ILP competition. For comparison we also adapted the ILASP system to process competition instances. Experimental results show that the cost parameters for the hypothesis search space are an important factor for finding hypotheses to competition instances within tight resource bounds.
