AI Glossary / AI and machine learning / Intermediate

ELMo

Definition

ELMo, short for Embeddings from Language Models, is a method for producing word representations that change with the surrounding text. It uses information from a pretrained bidirectional language model to supply contextual features for language tasks.

What it means

The word 'bank' means something different in a discussion of a river from its meaning in a discussion of a savings account. A traditional static word vector gives the same stored representation to the word regardless of that immediate context.

ELMo addressed this limitation by making the representation depend on the sentence in which a word appears. The same spelling can therefore contribute different numerical features in different contexts.

The method was introduced in 2018 and is important in the history of contextual language representation. It is a representation method, rather than a complete customer-service chatbot or a claim that a machine understands every meaning of a word.

For business readers, its lasting significance is the distinction between representing a word in isolation and representing its use in a particular sentence. That distinction helps explain why context matters in document analysis.

How it works

The original approach trains a language model in both directions through text. One direction uses earlier words, while the other uses later words. Its internal recurrent layers capture information useful for describing each word in context.

The representation combines information from multiple layers rather than relying only on one final hidden state. A downstream task can learn how to weight that information for its own purpose.

The original architecture also uses character-based input representations, helping it construct representations from word form rather than depending exclusively on a fixed word lookup table. This does not make unfamiliar terminology automatically understandable.

The contextual features are supplied to another model for tasks such as classification or extraction. Their usefulness still depends on the training text, the downstream labels and evaluation on the documents the system will actually process.

Three practical examples

  • Document classification: contextual features help a classifier distinguish a financial discussion from an environmental report containing some of the same words.
  • Information extraction: a model uses surrounding language when identifying organizations, people or other entities in a sentence.
  • Question answering research: contextual word representations contribute features to a system that must connect a question with relevant text.

Think of it this way

Think of looking up a word while also reading the sentence around it. The sentence helps you choose which dictionary sense is relevant rather than treating every occurrence as identical.

The analogy has a limit. A reader can bring experience and deliberate reasoning to the choice. ELMo produces learned numerical features from context; it does not consult a human-like understanding of the speaker's intentions.

Worked example

Following one word across two contexts

Consider two invented sentences: 'The bank approved the account change' and 'The hikers rested on the river bank'. A static lookup supplies one vector for bank in both sentences.

With a contextual method such as ELMo, the representation is calculated from each sentence. Words such as account and river provide different surroundings, so the resulting bank representations can differ.

A downstream classifier can use those differences when deciding whether a paragraph belongs in a finance folder or an outdoor-travel folder. It still needs training examples and evaluation; the representation alone does not decide the business category.

Now replace river with an unfamiliar technical term. Contextualization can still be useful, but success is not guaranteed. The example demonstrates the mechanism without claiming a particular classification accuracy.

Illustrative case study

A fictional publisher reviews older document-analysis experiments and finds an ELMo-based classifier in its archive. Editors initially assume that a historical method must be unusable because newer architectures exist.

The team instead checks its actual purpose, operating cost and performance on current documents. It compares the existing system with a suitable replacement and examines errors involving new subject matter.

The invented lesson is that historical importance and present suitability are separate questions. A method's age does not settle whether it is adequate for a specific task, and novelty does not remove the need for a fair comparison.

Common misconceptions and mistakes

  • ELMo gives every word one permanent vector. Its defining feature is that representations depend on context.
  • ELMo is a conversational assistant. It is a language-representation method used within larger task systems.
  • Contextual vectors eliminate ambiguity. They can encode useful distinctions while still reflecting limitations in the model and training data.

Business use

ELMo is most useful to business readers as a historical and technical reference when discussing embeddings, document models or inherited systems. It explains a key step toward context-sensitive language processing.

When a supplier mentions it, ask what task consumes the representation and how that complete system was evaluated. A named representation method is not sufficient evidence that a document workflow handles your terminology or exceptions well.

People also ask

What does the name stand for?

Embeddings from Language Models.

Is ELMo the same as BERT?

No. They are different approaches to contextual language representation with different original architectures and training arrangements.

Does it require a separate model for a business task?

The representations are commonly used as features within a downstream task model that needs its own design and evaluation.

Check your understanding

Why can the word bank receive different ELMo representations in a financial sentence and a sentence about a river?

Answer: Its representation is calculated using the surrounding sentence, so different contextual evidence contributes to the numerical features for each occurrence.

Related terms

  • Embedding
  • Bidirectional
  • Language model
  • Natural language processing
  • Feature extraction

Learn next

Read embedding and bidirectional. Compare an ambiguous word in several sentences and identify which neighboring words help distinguish its meaning.

  • Embedding
  • Bidirectional

More in AI and machine learning

  • Early stopping - Early stopping is ending a model's training at the point where it performs best on fresh data, before it starts memorizing the training set.
  • Einsum notation - Einsum notation is a compact way of writing operations on multi-dimensional arrays by naming their axes, so sums, products, transposes and contractions are...
  • Elastic-Net - Elastic-Net is a regression method that combines the two classic penalty types, L1 and L2, so it selects variables like the first and stabilizes estimates...
  • Embodied agent - An embodied agent perceives and acts through a body situated in an environment.
  • Emergent algorithm - An emergent algorithm produces a larger pattern of behavior through interactions among simpler components following local rules.
  • Empirical dynamic modeling - Empirical dynamic modeling, or EDM, is a family of methods for studying and predicting changing systems by reconstructing their dynamics from observed...

Sources

Peters and others, Deep Contextualized Word Representations, NAACL 2018: https://aclanthology.org/N18-1202/. Checked 12 October 2026. Business examples and sentence exercises are original.

Previous: Elman Networks Next: ELT

  • Home
  • Daily AI Updates
  • Blog
  • AIFBL Academy
  • AI Glossary
  • Products and Tools
  • Store
  • Free CFO AI Prompt Pack
  • About Shihan Sheriff
  • Privacy Policy
  • Terms of Use
  • Refund Policy
  • Cookie Policy
  • Earnings Disclaimer