CLAug 15, 2016

Fine-grained Analysis of Sentence Embeddings Using Auxiliary Prediction Tasks

arXiv:1608.04207v3581 citations
AI Analysis

This work provides a tool for researchers to better analyze sentence embeddings, though it is incremental as it builds on existing methods without introducing new ones.

The paper tackles the problem of understanding what properties are encoded in sentence embeddings by proposing a framework that uses auxiliary prediction tasks to analyze sentence length, word content, and word order, revealing insights into different embedding methods and dimensionality effects.

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.

Code Implementations3 repos
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes