Before BERT: How MLM Revolutionized NLP Pre-training
Prior to BERT, models like Word2Vec and GloVe learned context-independent word embeddings, while early language models such as GPT-1 were unidirectional, predicting the next word based only on preceding text. BERT's Masked Language Model (MLM) introduced a paradigm shift by enabling deep, bidirectional contextual understanding, forcing the model to infer masked words from both left and right contexts.
The top 3
- ELMo's Bidirectional Breakthrough: First Contextual Word Embeddings: Before BERT, ELMo (Embeddings from Language Models), introduced in 2018, revolutionized NLP by generating word embeddings that varied based on their context using two independent LSTMs (forward and backward), a significant leap from static embeddings.
- Word2Vec & GloVe: Pioneering Vectorized Word Meanings: Introduced in the early 2010s, Word2Vec (Google, 2013) and GloVe (Stanford, 2014) were pivotal for unsupervised learning of dense, fixed-size word vectors, enabling machines to grasp semantic relationships and setting the stage for all subsequent pre-trained models.
- Unidirectional Models: Predicting the Next Word's Reign: Prior to BERT's bidirectional Masked Language Model, most pre-trained language models, including early GPT versions, relied on unidirectional training, predicting the next word in a sequence based only on preceding text, which limited their ability to capture full context.
Sources
Open the full topic