English

Learned in Translation: Contextualized Word Vectors

Computation and Language 2018-06-21 v2 Artificial Intelligence Machine Learning

Abstract

Computer vision has benefited from initializing multiple deep layers with weights pretrained on large supervised training sets like ImageNet. Natural language processing (NLP) typically sees initialization of only the lowest layer of deep models with pretrained word vectors. In this paper, we use a deep LSTM encoder from an attentional sequence-to-sequence model trained for machine translation (MT) to contextualize word vectors. We show that adding these context vectors (CoVe) improves performance over using only unsupervised word and character vectors on a wide variety of common NLP tasks: sentiment analysis (SST, IMDb), question classification (TREC), entailment (SNLI), and question answering (SQuAD). For fine-grained sentiment analysis and entailment, CoVe improves performance of our baseline models to the state of the art.

Keywords

Cite

@article{arxiv.1708.00107,
  title  = {Learned in Translation: Contextualized Word Vectors},
  author = {Bryan McCann and James Bradbury and Caiming Xiong and Richard Socher},
  journal= {arXiv preprint arXiv:1708.00107},
  year   = {2018}
}
R2 v1 2026-06-22T21:02:57.534Z