Natural language processing
0 of 16 steps read
Evolution
Foundations
Word vectors, parsing, language models, translation, Transformers and pretraining. In English.
Stanford· 2024WebsiteStatistical methods
Raw term counts favor long documents, so BM25 combines IDF with saturating term frequency and length normalization, still Elasticsearch's default.
University of Cambridge· 1994N-gram language models were the workhorse of speech recognition and translation, and this survey covers perplexity, smoothing and the fixes tried for their weaknesses.
CMU· 2000Word vectors
N-gram models cannot generalize to unseen word sequences, so this neural language model learns word vectors that share statistics across similar words.
University of Montreal· 2003Neural language models were too slow to train on large corpora, so word2vec learns word vectors with the simple skip-gram and CBOW objectives.
Google· 2013Sequence to sequence
Neural networks needed fixed-size inputs and outputs, so seq2seq uses one LSTM to encode the source sentence and another to decode the translation.
Google· 2014Squeezing a sentence into one fixed vector hurt long translations, so attention lets the decoder search the source at every step.
University of Montreal· 2014A fixed word vocabulary cannot cover rare words, so BPE splits them into frequent subword units.
University of Edinburgh· 2015Pretraining
Labeled data is scarce, so GPT pretrains a Transformer decoder on unlabeled text and fine-tunes it for each task.
OpenAI· 2018Left-to-right pretraining sees only the left context, so BERT pretrains an encoder that reads both directions by predicting masked words.
Google· 2018GPT-2 shows that a large language model trained on web text handles many tasks zero-shot, without task-specific fine-tuning.
OpenAI· 2019Speech
Speech data rarely has frame-level alignments, so CTC trains a recognizer directly on audio and its transcript.
2006Transcribed speech is scarce, so wav2vec 2.0 pretrains on unlabeled audio and fine-tunes on a small labeled set.
Meta· 2020Speech models trained on clean benchmarks broke on real audio, so Whisper trains on a vast amount of weakly labeled web audio and works without fine-tuning.
OpenAI· 2022Retrieval
Term matching misses paraphrases, so DPR trains a dual encoder on question-passage pairs and retrieves by embedding similarity.
Meta· 2020Knowledge stored in model weights is hard to update, so RAG retrieves passages with DPR and has BART write answers from them.
Meta· 2020