Evaluating Compositionality in Sentence Embeddings

By Ishita Dasgupta, Demi Guo, Andreas Stuhlmüller, Samuel J. Gershman, Noah D. Goodman. 2018

129 citations recorded by the source corpus.

An important frontier in the quest for human-like AI is compositional semantics: how do we design systems that understand an infinite number of expressions built from a finite vocabulary? Recent research has attempted to solve this problem by using deep neural networks to learn vector space embeddings of sentences, which then serve as input to supervised learning problems like paraphrase detection and sentiment analysis. Here we focus on 'natural language inference' (NLI) as a critical test of a system's capacity for semantic compositionality. In the NLI task, sentence pairs are assigned one of three categories: entailment, contradiction, or neutral. We present a new set of NLI sentence pairs that cannot be solved using only word-level knowledge and instead require some degree of compositionality. We use state of the art sentence embeddings trained on NLI (InferSent, Conneau et al. (2017)), and find that performance on our new dataset is poor, indicating that the representations learned by this model fail to capture the needed compositionality. We analyze some of the decision rules learned by InferSent and find that they are largely driven by simple heuristics at the word level that are ecologically valid in the SNLI dataset on which InferSent is trained. Further, we find that augmenting the training dataset with our new dataset improves performance on a held-out test set without loss of performance on the SNLI test set. This highlights the importance of structured datasets in better understanding, as well as improving the performance of, AI systems.

Subfields: Artificial Intelligence, General Social Sciences, 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. Mohit Bansal
  2. Yonatan Belinkov
  3. Yejin Choi
  4. Samuel R. Bowman
  5. Luke S. Zettlemoyer
  6. Douwe Kiela
  7. Percy Liang
  8. Noah A. Smith

In General Social Sciences

  1. Noah A. Smith
  2. Ellie Pavlick
  3. Yonatan Belinkov
  4. Tal Linzen
  5. Kawin Ethayarajh
  6. Dipanjan Das
  7. Mohit Bansal
  8. Heng Ji

In Representation & Self-Supervised Learning

  1. Yonatan Belinkov
  2. Hinrich Schütze
  3. Samuel R. Bowman
  4. Mohit Bansal
  5. Douwe Kiela
  6. Tal Linzen
  7. Noah A. Smith
  8. Kawin Ethayarajh

Citations in the corpus