Fine-grained Analysis of Sentence Embeddings Using Auxiliary Prediction Tasks

By Yossi Adi, Einat Kermany, Yonatan Belinkov, Ofer Lavi, Yoav Goldberg. 2016

583 citations recorded by the source corpus.

There is a lot of research interest in encoding variable length sentences into fixed length vectors, in a way that preserves the sentence meanings. Two common methods include representations based on averaging word vectors, and representations based on the hidden states of recurrent neural networks such as LSTMs. The sentence vectors are used as features for subsequent machine learning tasks or for pre-training in the context of deep learning. However, not much is known about the properties that are encoded in these sentence representations and about the language information they capture. We propose a framework that facilitates better understanding of the encoded representations. We define prediction tasks around isolated aspects of sentence structure (namely sentence length, word content, and word order), and score representations by the ability to train a classifier to solve each prediction task when using the representation as input. We demonstrate the potential contribution of the approach by analyzing different sentence representation mechanisms. The analysis sheds light on the relative strengths of different sentence embedding methods with respect to these low level prediction tasks, and on the effect of the encoded vector's dimensionality on the resulting representations.

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. Yonatan Belinkov
  2. Mohit Bansal
  3. Luke S. Zettlemoyer
  4. Percy Liang
  5. Yejin Choi
  6. Noah A. Smith
  7. Jianfeng Gao
  8. Graham Neubig

In Natural Language Processing

  1. Yonatan Belinkov
  2. Mohit Bansal
  3. Samuel R. Bowman
  4. Luke S. Zettlemoyer
  5. Yejin Choi
  6. Noah A. Smith
  7. Percy Liang
  8. Graham Neubig

In Representation & Self-Supervised Learning

  1. Yonatan Belinkov
  2. Samuel R. Bowman
  3. Sebastian Ruder
  4. Percy Liang
  5. Noah A. Smith
  6. Yoav Goldberg
  7. Yoshua Bengio
  8. Christopher D. Manning

Citations in the corpus