Evaluating Compositionality in Sentence Embeddings

Ishita Dasgupta, Demi Guo, Andreas Stuhlmüller, Samuel J. Gershman, Noah D. Goodman
2/12/2018
cs.CLstat.ML

Official code: ishita-dg/ScrambleTests (17 stars, Jupyter Notebook, last commit 2020-07-18).

Abstract

An important challenge for human-like AI is compositional semantics. Recent research has attempted to address this by using deep neural networks to learn vector space embeddings of sentences, which then serve as input to other tasks.

Show full abstract

We present a new dataset for one such task, `natural language inference' (NLI), that cannot be solved using only word-level knowledge and requires some compositionality. We find that the performance of state of the art sentence embeddings (InferSent; Conneau et al., 2017) on our new dataset is poor. We analyze the decision rules learned by InferSent and find that they are consistent with simple heuristics that are ecologically valid in its training dataset. Further, we find that augmenting training with our dataset improves test performance on our dataset without loss of performance on the original training dataset. This highlights the importance of structured datasets in better understanding and improving AI systems.

View on arXivView PDF

Code Implementations(1)

Running compostionality tests on InferSent embedding on SNLI

176Jupyter Notebook, PythonAug 10, 20176 years ago
rnnscramble

Similar Papers

Cite this paper

@article{dasgupta2018evaluating,
  title  = {Evaluating Compositionality in Sentence Embeddings},
  author = {Ishita Dasgupta and Demi Guo and Andreas Stuhlmüller and Samuel J. Gershman and Noah D. Goodman},
  year   = {2018},
  eprint = {1802.04302},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1802.04302}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1802.04302.svg)](https://codeofpaper.com/paper/1802.04302)

Discussion