---
title: ELMo (2018): deep contextualised word representations
url: https://llmsranked.com/history/elmo/
updated: 2026-11-20
---

Paper· [Pretrain, then fine-tune](https://llmsranked.com/history/#era-pretraining)

# ELMo (2018): deep contextualised word representations

Event date 15 February 2018

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.

- Allen Institute for AI
- [LLMs Ranked editors](https://llmsranked.com/editorial-policy/)
- Published 20 Nov 2026
- 2 min read
- 3 sources

2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026

2018

On this page

- [Key numbers](#kn-h)
- [What the paper proposed](#what-the-paper-proposed)
- [How it worked](#how-it-worked)
- [What it showed and what came next](#what-it-showed-and-what-came-next)
- [Why it mattered](#wm-h)
- [Questions](#hf-h)
- [On the timeline](#tl-h)
- [Sources](#hsrc-h)

## Key numbers

**SQuAD F1, baseline vs with ELMo, reported by the authors**
81.1 to 85.8[arxiv.org](https://arxiv.org/abs/1802.05365)

**Named entity recognition F1, baseline vs with ELMo, reported by the authors**
90.15 to 92.22[arxiv.org](https://arxiv.org/abs/1802.05365)

**Biggest LSTM layers in the language model (units each)**
4,096[arxiv.org](https://arxiv.org/abs/1802.05365)

## 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](https://arxiv.org/abs/1802.05365)

## 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](https://arxiv.org/abs/1802.05365)

## 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](https://arxiv.org/abs/1802.05365), [arxiv.org](https://arxiv.org/abs/1810.04805), [huggingface.co](https://huggingface.co/openai-community/openai-gpt)

## 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? Embeddings from Language Models. It produces word vectors from the internal states of a pretrained bidirectional language model.

When was ELMo published? The paper was first posted on arXiv on 15 February 2018.

How is ELMo different from word2vec? Word2vec gives each word one fixed vector. ELMo computes a different vector for a word depending on the sentence it appears in.

## About this page

Part of our [LLM history timeline](https://llmsranked.com/history/). 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](https://llmsranked.com/editorial-policy/). Found an error? [Tell us](https://llmsranked.com/contact/) and we will correct it with a dated note.

## On the timeline

[Earlier18 Jan 2018
ULMFiT (2018): transfer learning for text classification](https://llmsranked.com/history/ulmfit/)[Later11 Jun 2018
GPT-1 (2018): generative pretraining with a Transformer](https://llmsranked.com/history/gpt-1/)

### Related milestones

- [2018 · 01ULMFiT (2018): transfer learning for text classification](https://llmsranked.com/history/ulmfit/)
- [2018 · 06GPT-1 (2018): generative pretraining with a Transformer](https://llmsranked.com/history/gpt-1/)
- [2018 · 10BERT (2018): bidirectional Transformers for language](https://llmsranked.com/history/bert/)

## Terms and labs

- [Pretraining](https://llmsranked.com/glossary/#pretraining)
- [Embedding](https://llmsranked.com/glossary/#embedding)
- [Benchmark](https://llmsranked.com/glossary/#benchmark)

## Sources

Papers and announcements we read for this page.

- [Peters et al., Deep contextualized word representations (arXiv)](https://arxiv.org/abs/1802.05365)
- [Devlin et al., BERT (arXiv)](https://arxiv.org/abs/1810.04805)
- [Hugging Face model card, openai-gpt (GPT-1)](https://huggingface.co/openai-community/openai-gpt)
