English

Contextual Embeddings: When Are They Worth It?

Computation and Language 2020-05-20 v1 Machine Learning

Abstract

We study the settings for which deep contextual embeddings (e.g., BERT) give large improvements in performance relative to classic pretrained embeddings (e.g., GloVe), and an even simpler baseline---random word embeddings---focusing on the impact of the training set size and the linguistic properties of the task. Surprisingly, we find that both of these simpler baselines can match contextual embeddings on industry-scale data, and often perform within 5 to 10% accuracy (absolute) on benchmark tasks. Furthermore, we identify properties of data for which contextual embeddings give particularly large gains: language containing complex structure, ambiguous word usage, and words unseen in training.

Keywords

Cite

@article{arxiv.2005.09117,
  title  = {Contextual Embeddings: When Are They Worth It?},
  author = {Simran Arora and Avner May and Jian Zhang and Christopher Ré},
  journal= {arXiv preprint arXiv:2005.09117},
  year   = {2020}
}

Comments

ACL 2020

R2 v1 2026-06-23T15:38:44.051Z