Learning programs with magic values

Céline Hocquette, Andrew Cropper
8/5/2022
4 citations
cs.LG

Official code: celinehocquette/magicpopper (18 stars, Prolog, last commit 2022-10-05).

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.

Show full abstract

To overcome this limitation, we introduce an inductive logic programming approach to efficiently learn programs with magic values. Our experiments on diverse domains, including program synthesis, drug design, and game playing, show that our approach can (i) outperform existing approaches in terms of predictive accuracies and learning times, (ii) learn magic values from infinite domains, such as the value of pi, and (iii) scale to domains with millions of constant symbols.

View on arXivView PDF

Code Implementations(1)

C. Hocquette and A. Cropper, Learning programs with magic values.

181Prolog, PerlAug 23, 20224 years ago
inductive-logic-programmingprogram-synthesis

Similar Papers

Cite this paper

@article{hocquette2022learning,
  title  = {Learning programs with magic values},
  author = {Céline Hocquette and Andrew Cropper},
  year   = {2022},
  eprint = {2208.03238},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.03238}
}

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

Discussion