DreamCoder: Growing generalizable, interpretable knowledge with wake-sleep Bayesian program learning

Kevin Ellis, Catherine Wong, Maxwell Nye, Mathias Sable-Meyer, Luc Cary +4 more
6/15/2020
cs.AIcs.LG

Official code: lio-wong/dreamcoder (78 stars, last commit 2022-02-17).

Abstract

Expert problem-solving is driven by powerful languages for thinking about problems and their solutions. Acquiring expertise means learning these languages -- systems of concepts, alongside the skills to use them. We present DreamCoder, a system that learns to solve problems by writing programs. It builds expertise by creating programming languages for expressing domain concepts, together with neural networks to guide the search for programs within these languages. A ``wake-sleep'' learning algorithm alternately extends the language with new symbolic abstractions and trains the neural network on imagined and replayed problems. DreamCoder solves both classic inductive programming tasks and creative tasks such as drawing pictures and building scenes. It rediscovers the basics of modern functional programming, vector algebra and classical physics, including Newton's and Coulomb's laws. Concepts are built compositionally from those learned earlier, yielding multi-layered symbolic representations that are interpretable and transferrable to new tasks, while still growing scalably and flexibly with experience.

View on arXivView PDF

Code Implementations(1)

7816OCaml, PythonJun 17, 20214 years ago

Similar Papers

Cite this paper

@article{ellis2020dreamcoder,
  title  = {DreamCoder: Growing generalizable, interpretable knowledge with wake-sleep Bayesian program learning},
  author = {Kevin Ellis and Catherine Wong and Maxwell Nye and Mathias Sable-Meyer and Luc Cary and Lucas Morales and Luke Hewitt and Armando Solar-Lezama and Joshua B. Tenenbaum},
  year   = {2020},
  eprint = {2006.08381},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.08381}
}

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

Discussion