PLANS: Robust Program Learning from Neurally Inferred Specifications

Raphaël Dang-Nhu
6/5/2020
cs.LGcs.AIstat.ML

Official code: rdang-nhu/PLANS (8 stars, Python, Apache-2.0, last commit 2021-03-29).

Abstract

Recent years have seen the rise of statistical program learning based on neural models as an alternative to traditional rule-based systems for programming by example. Rule-based approaches offer correctness guarantees in an unsupervised way as they inherently capture logical rules, while neural models are more realistically scalable to raw, high-dimensional input, and provide resistance to noisy I/O specifications.

Show full abstract

We introduce PLANS (Program LeArning from Neurally inferred Specifications), a hybrid model for program synthesis from visual observations that gets the best of both worlds, relying on (i) a neural architecture trained to extract abstract, high-level information from each raw individual input (ii) a rule-based system using the extracted information as I/O specifications to synthesize a program capturing the different observations. In order to address the key challenge of making PLANS resistant to noise in the network's output, we introduce a filtering heuristic for I/O specifications based on selective classification techniques. We obtain state-of-the-art performance at program synthesis from diverse demonstration videos in the Karel and ViZDoom environments, while requiring no ground-truth program for training. We make our implementation available at github.com/rdang-nhu/PLANS.

View on arXivView PDF

Code Implementations(1)

rdang-nhu/PLANSOfficial100%
Apache-2.0
81Python, RacketJun 5, 20205 years agoApache-2.0

Similar Papers

Cite this paper

@article{dangnhu2020plans,
  title  = {PLANS: Robust Program Learning from Neurally Inferred Specifications},
  author = {Raphaël Dang-Nhu},
  year   = {2020},
  eprint = {2006.03312},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.03312}
}

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

Discussion