HackerPapers

arXiv:1511.06279cs.LG

Neural Programmer-Interpreters

Scott Reed, Nando de Freitas

Abstract

We propose the neural programmer-interpreter (NPI): a recurrent and compositional neural network that learns to represent and execute programs. NPI has three learnable components: a task-agnostic recurrent core, a persistent key-value program memory, and domain-specific encoders that enable a single NPI to operate in multiple perceptually diverse environments with distinct affordances. By learning to compose lower-level programs to express higher-level programs, NPI reduces sample complexity and increases generalization ability compared to sequence-to-sequence LSTMs. The program memory allows efficient learning of additional tasks by building on existing programs. NPI can also harness the environment (e.g. a scratch pad with read-write pointers) to cache intermediate results of computation, lessening the long-term memory burden on recurrent hidden units. In this work we train the NPI with fully-supervised execution traces; each program has example sequences of calls to the immediate subprograms conditioned on the input. Rather than training on a huge number of relatively weak labels, NPI learns from a small number of rich examples. We demonstrate the capability of our model to learn several types of compositional programs: addition, sorting, and canonicalizing 3D models. Furthermore, a single NPI learns to execute these programs and all 21 associated subprograms.

arXiv comments
ICLR 2016 conference submission
Journal reference
DOI
Subjects
cs.LGMachine Learning cs.NENeural and Evolutionary Computing

On Hacker News

Linked by 2 identifiable commenters in 2 comments across 2 threads, from Jul 2017 to Aug 2018. Found in 1 HN submission from Nov 2015 to Nov 2015. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments2 threads

    • Another thing I like is NPI - https://arxiv.org/pdf/1511.06279.pdf. At the end, you can find NPI vs Seq2Seq charts

      naynameView on HNParent context

    • After some considerable digging I came out with these papers: Differentiable Programs with Neural Libraries - https://www.microsoft.com/en-us/research/wp-content/uploads/... Making Neural Programming Architectures Generalize via Recursion…

      visargaView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.