Learning Program Synthesis for Integer Sequences from Scratch

Thibault Gauthier, Josef Urban
2/24/2022
14 citations
cs.AIcs.SC

Official code: barakeel/oeis-synthesis (25 stars, Standard ML, GPL-3.0, last commit 2026-04-06). 1 more implementation below.

Abstract

We present a self-learning approach for synthesizing programs from integer sequences. Our method relies on a tree search guided by a learned policy.

Show full abstract

Our system is tested on the On-Line Encyclopedia of Integer Sequences. There, it discovers, on its own, solutions for 27987 sequences starting from basic operators and without human-written training examples.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
barakeel/oeis-synthesisOfficial25Standard MLGPL-3.02026-04-06
AnonUser4213/oeis-synthesisOfficial1Standard MLGPL-3.02022-08-01
GPL-3.0
252Standard ML, CFeb 17, 20227 months agoGPL-3.0
GPL-3.0
11Standard ML, CMay 19, 20224 years agoGPL-3.0

Similar Papers

Cite this paper

@article{gauthier2022learning,
  title  = {Learning Program Synthesis for Integer Sequences from Scratch},
  author = {Thibault Gauthier and Josef Urban},
  year   = {2022},
  eprint = {2202.11908},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.11908}
}

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

Discussion