An Empirical Comparison of Cost Functions in Inductive Logic Programming

Céline Hocquette, Andrew Cropper
3/10/2025
cs.LG

No confident code implementation found for this paper.

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-based ILP system to learn optimal hypotheses for seven standard cost functions. We then empirically compare the generalisation error of optimal hypotheses induced under these standard cost functions. Our results on over 20 domains and 1000 tasks, including game playing, program synthesis, and image reasoning, show that, while no cost function consistently outperforms the others, minimising training error or description length has the best overall performance. Notably, our results indicate that minimising the size of hypotheses does not always reduce generalisation error.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hocquette2025empirical,
  title  = {An Empirical Comparison of Cost Functions in Inductive Logic Programming},
  author = {Céline Hocquette and Andrew Cropper},
  year   = {2025},
  eprint = {2503.07554},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.07554v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.07554.svg)](https://codeofpaper.com/paper/2503.07554)

Discussion