Learning Compositional Rules via Neural Program Synthesis

Maxwell I. Nye, Armando Solar-Lezama, Joshua B. Tenenbaum, Brenden M. Lake
3/12/2020
cs.AIcs.LG

Official code: mtensor/rulesynthesis (60 stars, Python, last commit 2020-12-07).

Abstract

Many aspects of human reasoning, including language, require learning rules from very little data. Humans can do this, often learning systematic rules from very few examples, and combining these rules to form compositional rule-based systems.

Show full abstract

Current neural architectures, on the other hand, often fail to generalize in a compositional manner, especially when evaluated in ways that vary systematically from training. In this work, we present a neuro-symbolic model which learns entire rule systems from a small set of examples. Instead of directly predicting outputs from inputs, we train our model to induce the explicit system of rules governing a set of previously seen examples, drawing upon techniques from the neural program synthesis literature. Our rule-synthesis approach outperforms neural meta-learning techniques in three domains: an artificial instruction-learning domain used to evaluate human learning, the SCAN challenge datasets, and learning rule-based translations of number words into integers for a wide range of human languages.

View on arXivView PDF

Code Implementations(1)

Code for "Learning Compositional Rules via Neural Program Synthesis"

6017Python, ShellMar 11, 20205 years ago

Similar Papers

Cite this paper

@article{nye2020learning,
  title  = {Learning Compositional Rules via Neural Program Synthesis},
  author = {Maxwell I. Nye and Armando Solar-Lezama and Joshua B. Tenenbaum and Brenden M. Lake},
  year   = {2020},
  eprint = {2003.05562},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2003.05562}
}

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

Discussion