Learning Simple Algorithms from Examples
Wojciech Zaremba, Tomas Mikolov, Armand Joulin, Rob Fergus

TL;DR
This paper introduces a neural network-based framework for learning simple algorithms like addition and multiplication directly from examples, emphasizing the controller's capabilities in generalization.
Contribution
It proposes a novel approach combining interfaces and neural controllers trained with Q-learning to learn and generalize simple algorithms from data.
Findings
Controllers' capabilities limit generalization performance.
Neural controllers can learn algorithms from examples.
Q-learning with enhancements effectively trains controllers.
Abstract
We present an approach for learning simple algorithms such as copying, multi-digit addition and single digit multiplication directly from examples. Our framework consists of a set of interfaces, accessed by a controller. Typical interfaces are 1-D tapes or 2-D grids that hold the input and output data. For the controller, we explore a range of neural network-based models which vary in their ability to abstract the underlying algorithm from training instances and generalize to test examples with many thousands of digits. The controller is trained using -learning with several enhancements and we show that the bottleneck is in the capabilities of the controller rather than in the search incurred by -learning.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMachine Learning and Algorithms · Topic Modeling · Domain Adaptation and Few-Shot Learning
