Programming with a Differentiable Forth Interpreter

By Matko Bosnjak, Tim Rocktaschel, Jason Naradowsky, Sebastian Riedel. 2016

157 citations recorded by the source corpus.

Given that in practice training data is scarce for all but a small set of problems, a core question is how to incorporate prior knowledge into a model. In this paper, we consider the case of prior procedural knowledge for neural networks, such as knowing how a program should traverse a sequence, but not what local actions should be performed at each step. To this end, we present an end-to-end differentiable interpreter for the programming language Forth which enables programmers to write program sketches with slots that can be filled with behaviour trained from program input-output data. We can optimise this behaviour directly through gradient descent techniques on user-specified objectives, and also integrate the program into any larger neural computation graph. We show empirically that our interpreter is able to effectively leverage different levels of prior program structure and learn complex behaviours such as sequence sorting and addition. When connected to outputs of an LSTM and trained jointly, our interpreter achieves state-of-the-art accuracy for end-to-end reasoning about quantities expressed in natural language stories.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Natural Language Processing, Model Architectures

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Sergey Levine
  2. Mohit Bansal
  3. Yoshua Bengio
  4. Jianfeng Gao
  5. Quoc V. Le
  6. Ruslan Salakhutdinov
  7. Percy Liang
  8. Luke S. Zettlemoyer

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Trevor Darrell
  4. Jitendra Malik
  5. Xiaogang Wang
  6. Andrew Zisserman
  7. Ming-Hsuan Yang
  8. Li Fei-Fei

In Natural Language Processing

  1. Rishabh Singh
  2. Mohit Bansal
  3. Charles Sutton
  4. Luke S. Zettlemoyer
  5. Sebastian Riedel
  6. Percy Liang
  7. Jason Aaron Edward Weston
  8. Graham Neubig

In Model Architectures

  1. Yoshua Bengio
  2. J. Urgen Schmidhuber
  3. Lior Wolf
  4. Quoc V. Le
  5. Armand Joulin
  6. Sergey Levine
  7. Sebastian Riedel
  8. Arthur Szlam

Citations in the corpus