Learning Simple Algorithms from Examples
Not on the map. Why?
Abstract (arXiv)
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 Q-learning with several enhancements and we show that the bottleneck is in the capabilities of the controller rather than in the search incurred by Q-learning.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). First posted on arXiv 23 Nov 2015.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 5; 2022: 2; 2023: 2; 2024: 3.
12 papers.
- 2022Neural Networks and the Chomsky Hierarchycited by 217
- 2021Linear algebra with transformerscited by 63
- 2023Learning the greatest common divisor: explaining transformer predictionscited by 33
- 2022How to Reuse and Compose Knowledge for a Lifetime of Tasks: A Survey on Continual Learning and Functional Compositioncited by 27
- 2021UnweaveNet: Unweaving Activity Storiescited by 14
- 2021pix2rule: End-to-end Neuro-symbolic Rule Learningcited by 9
- 2023Hierarchical Neural Program Synthesiscited by 7
- 2024Salsa Fresca: Angular Embeddings and Pre-Training for ML Attacks on Learning With Errorscited by 7
- 2021Evolutionary Training and Abstraction Yields Algorithmic Generalization of Neural Computerscited by 5
- 2024Learning Program Behavioral Models from Synthesized Input-Output Pairscited by 4
- 2021Learning compositional programs with arguments and samplingcited by 2
- 2024Primitive Agentic First-Order Optimizationcited by 0
- 2024Learning Program Behavioral Models from Synthesized Input-Output Pairs11 Jul 2024
- 2024Primitive Agentic First-Order Optimization7 Jun 2024
- 2024Salsa Fresca: Angular Embeddings and Pre-Training for ML Attacks on Learning With Errors2 Feb 2024
- 2023Learning the greatest common divisor: explaining transformer predictions29 Aug 2023
- 2023Hierarchical Neural Program Synthesis9 Mar 2023
- 2022How to Reuse and Compose Knowledge for a Lifetime of Tasks: A Survey on Continual Learning and Functional Composition15 Jul 2022
- 2022Neural Networks and the Chomsky Hierarchy5 Jul 2022
- 2021UnweaveNet: Unweaving Activity Stories19 Dec 2021
- 2021Linear algebra with transformers3 Dec 2021
- 2021Learning compositional programs with arguments and sampling1 Sep 2021
- 2021pix2rule: End-to-end Neuro-symbolic Rule Learning14 Jun 2021
- 2021Evolutionary Training and Abstraction Yields Algorithmic Generalization of Neural Computers17 May 2021