Learning logic programs by discovering higher-order abstractions

Céline Hocquette, Sebastijan Dumančić, Andrew Cropper
8/16/2023
cs.LGcs.AIcs.PL

No official code found. Best implementation: celinehocquette/ijcai24-stevie (2 stars, last commit 2024-09-05).

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 improve the learning performance of an inductive logic programming system, specifically improving predictive accuracies by 27% and reducing learning times by 47%. We also show that Stevie can discover abstractions that transfer to multiple domains.

View on arXivView PDF

Code Implementations(1)

Céline Hocquette , Sebastijan Dumančić, and Andrew Cropper, Learning logic programs by discovering higher-order abstractions, IJCAI 2024.

22Prolog, PythonSep 5, 20242 years ago
program-synthesis

Similar Papers

Cite this paper

@article{hocquette2023learning,
  title  = {Learning logic programs by discovering higher-order abstractions},
  author = {Céline Hocquette and Sebastijan Dumančić and Andrew Cropper},
  year   = {2023},
  eprint = {2308.08334},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.08334v2}
}

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/2308.08334.svg)](https://codeofpaper.com/paper/2308.08334)

Discussion