Compositional Generalization for Primitive Substitutions

By Yuanpeng Li, Liang Zhao, Joel Hestness. 2019

89 citations recorded by the source corpus.

Compositional generalization is a basic mechanism in human language learning, but current neural networks lack such ability. In this paper, we conduct fundamental research for encoding compositionality in neural networks. Conventional methods use a single representation for the input sentence, making it hard to apply prior knowledge of compositionality. In contrast, our approach leverages such knowledge with two representations, one generating attention maps, and the other mapping attended input words to output symbols. We reduce the entropy in each representation to improve generalization. Our experiments demonstrate significant improvements over the conventional methods in five NLP tasks including instruction learning and machine translation. In the SCAN domain, it boosts accuracies from 14.0% to 98.8% in Jump task, and from 92.0% to 99.7% in TurnLeft task. It also beats human performance on a few-shot learning task. We hope the proposed approach can help ease future research towards human-level compositional language learning.

Subfields: Natural Language Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Natural Language Processing

  1. Jonathan Berant
  2. Mohit Bansal
  3. Percy Liang
  4. Yoav Goldberg
  5. Luke S. Zettlemoyer
  6. Yejin Choi
  7. Hannaneh Hajishirzi
  8. Christopher D. Manning

Citations in the corpus