Back to Search Start Over

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

Authors :
Ellis K
Wong L
Nye M
Sablé-Meyer M
Cary L
Anaya Pozo L
Hewitt L
Solar-Lezama A
Tenenbaum JB
Source :
Philosophical transactions. Series A, Mathematical, physical, and engineering sciences [Philos Trans A Math Phys Eng Sci] 2023 Jul 24; Vol. 381 (2251), pp. 20220050. Date of Electronic Publication: 2023 Jun 05.
Publication Year :
2023

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 domain-specific 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 multilayered symbolic representations that are interpretable and transferrable to new tasks, while still growing scalably and flexibly with experience. This article is part of a discussion meeting issue 'Cognitive artificial intelligence'.

Details

Language :
English
ISSN :
1471-2962
Volume :
381
Issue :
2251
Database :
MEDLINE
Journal :
Philosophical transactions. Series A, Mathematical, physical, and engineering sciences
Publication Type :
Academic Journal
Accession number :
37271169
Full Text :
https://doi.org/10.1098/rsta.2022.0050