ELMo (2018): deep contextualised word representations
Event date
On 15 February 2018 Matthew Peters and colleagues posted Deep contextualized word representations, which introduced ELMo. Instead of giving each word one fixed vector, ELMo computes a vector from the whole sentence using a pretrained bidirectional language model. It is on the timeline because it made context dependent pretrained representations standard.
Key numbers
What the paper proposed
Earlier word vectors such as word2vec gave a word the same representation wherever it appeared, so the word bank looked identical in a river sentence and a finance sentence. The authors proposed representations that depend on context and that capture both syntax and meaning.
The paper was submitted to arXiv on 15 February 2018 by Matthew E. Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee and Luke Zettlemoyer. The name refers to how the vectors are computed from the internal states of a language model rather than looked up in a fixed table. It was aimed at a weakness the authors named directly: words with several senses and usages that change across contexts.
Sources: arxiv.org
How it worked
ELMo, short for Embeddings from Language Models, uses a deep bidirectional LSTM language model trained to predict the next and previous words. The model has two bidirectional LSTM layers with 4,096 units each, and a character based input layer so it can handle words it has not seen. It was trained on the One Billion Word Benchmark, a corpus of roughly 30 million sentences.
A task model then takes a weighted combination of all the language model's layers for each word, not just the top one. The authors found this mattered, because different layers carry different kinds of information.
Sources: arxiv.org
What it showed and what came next
Adding ELMo vectors to existing systems improved results on six hard tasks: question answering on SQuAD, textual entailment, semantic role labelling, coreference resolution, named entity recognition and sentiment analysis. On SQuAD the reported F1 score rose from 81.1 to 85.8, and on named entity recognition from 90.15 to 92.22.
These figures are the authors' own, and the paper's relative error reduction figures are not fully consistent with each other, so this page quotes the absolute scores. The other reported gains were SNLI accuracy from 88.0 to 88.7, semantic role labelling F1 from 81.4 to 84.6, coreference F1 from 67.2 to 70.4 and five class sentiment accuracy from 51.4 to 54.7.
ELMo still fed vectors into task specific models. GPT-1 and BERT, later in 2018, instead fine-tuned the whole pretrained network for each task, using Transformer layers in place of LSTMs. The shift from ELMo to BERT is the shift from features to full model fine-tuning.
Sources: arxiv.org, arxiv.org, huggingface.co
Why it mattered
- It showed that one pretrained language model could lift many different tasks.
- It replaced one fixed vector per word with vectors that change with the sentence.
- It demonstrated that combining all layers of a deep model gives better features than the top layer alone.
- It set the baseline that BERT was compared with and then overtook.
Questions
What does ELMo stand for?
When was ELMo published?
How is ELMo different from word2vec?
About this page
Part of our LLM history timeline. The event happened on 15 February 2018; we wrote this page on 20 November 2026 from the original papers and announcements listed below. Lab-reported results are labelled as such. Read our editorial policy. Found an error? Tell us and we will correct it with a dated note.