Memorize or generalize? Searching for a compositional RNN in a haystack
Adam Li\v{s}ka, Germ\'an Kruszewski, Marco Baroni

TL;DR
This paper investigates the ability of standard RNNs to learn compositional skills, demonstrating that some can achieve partial compositional solutions through training and model search, without special architectures.
Contribution
It introduces a simple domain to test RNN compositionality and shows that a subset of RNNs can learn compositional behavior without architectural modifications.
Findings
Some RNNs learn partial compositional solutions
Gradient descent and evolutionary strategies can promote compositionality
A small proportion of RNNs succeed without special constraints
Abstract
Neural networks are very powerful learning systems, but they do not readily generalize from one task to the other. This is partly due to the fact that they do not learn in a compositional way, that is, by discovering skills that are shared by different tasks, and recombining them to solve new problems. In this paper, we explore the compositional generalization capabilities of recurrent neural networks (RNNs). We first propose the lookup table composition domain as a simple setup to test compositional behaviour and show that it is theoretically possible for a standard RNN to learn to behave compositionally in this domain when trained with standard gradient descent and provided with additional supervision. We then remove this additional supervision and perform a search over a large number of model initializations to investigate the proportion of RNNs that can still converge to a…
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
TopicsReinforcement Learning in Robotics · Evolutionary Algorithms and Applications · Neural Networks and Applications
