Making Neural Programming Architectures Generalize via Recursion
Jonathon Cai, Richard Shin, Dawn Song

TL;DR
This paper introduces recursion into neural programming architectures, significantly improving their ability to generalize and interpret complex programs across various tasks with limited training data.
Contribution
It demonstrates that incorporating recursion into neural models enhances generalizability and interpretability, providing a new approach to neural program learning.
Findings
Recursion improves neural models' generalization to complex inputs.
Neural models with recursion require less training data.
The approach offers better interpretability of learned programs.
Abstract
Empirically, neural networks that attempt to learn programs from data have exhibited poor generalizability. Moreover, it has traditionally been difficult to reason about the behavior of these models beyond a certain level of input complexity. In order to address these issues, we propose augmenting neural architectures with a key abstraction: recursion. As an application, we implement recursion in the Neural Programmer-Interpreter framework on four tasks: grade-school addition, bubble sort, topological sort, and quicksort. We demonstrate superior generalizability and interpretability with small amounts of training data. Recursion divides the problem into smaller pieces and drastically reduces the domain of each neural network component, making it tractable to prove guarantees about the overall system's behavior. Our experience suggests that in order for neural architectures to robustly…
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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Machine Learning in Materials Science · Machine Learning and Data Classification
MethodsInterpretability
