ELMo

Also known as: Embeddings from Language Models

Category: NLP / Language Processing

A deep contextualized word representation model that generates different embeddings for the same word depending on its surrounding context.

Full Explanation

ELMo (Embeddings from Language Models), introduced by AllenNLP in 2018, was a breakthrough in representing words with context-dependent embeddings. Unlike Word2Vec or GloVe, which assign a fixed vector to each word, ELMo uses a bidirectional LSTM language model to generate embeddings that vary based on the word surrounding context. This allows ELMo to capture polysemy—the word "bank" gets different representations in "river bank" versus "bank account." ELMo representations are computed as a weighted combination of all layers of the bidirectional LSTM, capturing both syntactic and semantic information. It significantly improved performance across many NLP tasks when used as additional features. While largely superseded by transformer-based models like BERT, ELMo was pivotal in demonstrating the value of pre-trained contextual representations.

Related Terms

More in NLP / Language Processing

Explore More