Skip to main content
QUICK REVIEW

[Paper Review] Dynamic Meta-Embeddings for Improved Sentence Representations

Douwe Kiela, Changhan Wang|arXiv (Cornell University)|Apr 21, 2018
Topic ModelingComputer Science8 citations
TL;DR

This paper proposes Dynamic Meta-Embeddings (DME), a supervised method that learns task-specific, dynamic ensembles of pre-trained word embeddings using neural networks. By dynamically weighting multiple embeddings (e.g., GloVe, FastText, LEAR) based on context, DME achieves state-of-the-art performance on sentence-level tasks like natural language inference, sentiment analysis, and image caption retrieval, while enabling interpretability through learned attention weights.

ABSTRACT

While one of the first steps in many NLP systems is selecting what pre-trained word embeddings to use, we argue that such a step is better left for neural networks to figure out by themselves. To that end, we introduce dynamic meta-embeddings, a simple yet effective method for the supervised learning of embedding ensembles, which leads to state-of-the-art performance within the same model class on a variety of tasks. We subsequently show how the technique can be used to shed new light on the usage of word embeddings in NLP systems.

Motivation & Objective

  • To address the challenge of selecting optimal pre-trained word embeddings for downstream NLP tasks, which is often heuristic and suboptimal.
  • To eliminate the need for manual embedding selection by allowing neural networks to learn optimal combinations dynamically.
  • To improve lexical coverage, domain robustness, and multi-modal integration through dynamic embedding ensembling.
  • To enable interpretability by analyzing which embeddings are weighted more highly in different linguistic contexts and tasks.
  • To evaluate whether specialized embeddings (e.g., LEAR, sentiment-refined GloVe) transfer effectively to sentence-level tasks.

Proposed method

  • DME learns a dynamic, task-specific weighted combination of multiple pre-trained word embeddings using a neural network.
  • The method uses a differentiable attention mechanism to compute context-dependent weights for each embedding source.
  • The final sentence representation is formed by a weighted sum of input embeddings, where weights are predicted by a feed-forward network conditioned on the input sentence.
  • The model is trained end-to-end using supervised signal from downstream tasks (e.g., SNLI, SST, Flickr30k).
  • The approach is applied within a BiLSTM-max sentence encoder architecture, enabling state-of-the-art performance on sentence-level tasks.
  • Normalization strategies and network depth are shown to influence the final attention weight distributions.

Experimental results

Research questions

  • RQ1Can a neural network learn to dynamically combine multiple pre-trained word embeddings to improve sentence representation quality?
  • RQ2Does dynamic meta-embedding learning lead to better performance than static concatenation or fixed ensembling of embeddings?
  • RQ3How do the learned attention weights reflect linguistic and task-specific preferences across different embeddings?
  • RQ4To what extent do specialized embeddings (e.g., LEAR, sentiment-refined GloVe) transfer to sentence-level downstream tasks?
  • RQ5Does contextualization significantly affect the attention weights assigned to words, particularly polysemous ones?

Key findings

  • DME achieved state-of-the-art performance on the SNLI and MultiNLI natural language inference tasks, outperforming baseline models using fixed embeddings.
  • On the SST sentiment analysis task, DME achieved 89.0% accuracy, significantly improving over models using only GloVe or refined embeddings.
  • The LEAR embeddings were assigned high attention weights (average 0.75) for verbs, indicating strong utility in capturing semantic relations.
  • Sentiment-refined GloVe embeddings received lower attention weights than the original GloVe embeddings, suggesting limited benefit at the sentence level.
  • Only around twenty words showed significant variance in attention weights across contexts in the SNLI dev set, indicating limited contextual sensitivity in current models.
  • The method enables direct, task-specific evaluation of word embeddings through learned attention weights, offering interpretability and linguistic insight.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.