Memorize or generalize? Searching for a compositional RNN in a haystack

By Adam Liska, Germán Kruszewski, Marco Baroni. 2018

82 citations recorded by the source corpus.

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 compositional solution. We discover that a small but non-negligible proportion of RNNs do reach partial compositional solutions even without special architectural constraints. This suggests that a combination of gradient descent and evolutionary strategies directly favouring the minority models that developed more compositional approaches might suffice to lead standard RNNs towards compositional solutions.

Subfields: Artificial Intelligence, Natural Language Processing, Representation & Self-Supervised Learning

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. Tal Linzen
  2. Yonatan Belinkov
  3. R. Thomas McCoy
  4. Dieuwke Hupkes
  5. Junghyun Min
  6. Elia Bruni
  7. Germán Kruszewski
  8. Verna Dankers

In Natural Language Processing

  1. Tal Linzen
  2. R. Thomas McCoy
  3. Yonatan Belinkov
  4. Dieuwke Hupkes
  5. Junghyun Min
  6. Elia Bruni
  7. Germán Kruszewski
  8. Verna Dankers

In Representation & Self-Supervised Learning

  1. Tal Linzen
  2. Elia Bruni
  3. Dieuwke Hupkes
  4. R. Thomas McCoy
  5. Mathijs Mul
  6. Germán Kruszewski
  7. Yann Dubois
  8. Verna Dankers

Citations in the corpus