← All topics

Natural language processing

0 of 16 steps read

Read first
Next
Evolution

Foundations

1
Stanford CS224N: Natural Language Processing with Deep Learning

Word vectors, parsing, language models, translation, Transformers and pretraining. In English.

Stanford· 2024Website
Alternative

Statistical methods

2
Simple, Proven Approaches to Text Retrieval

Raw term counts favor long documents, so BM25 combines IDF with saturating term frequency and length normalization, still Elasticsearch's default.

University of Cambridge· 1994
3
Two Decades of Statistical Language Modeling: Where Do We Go from Here?

N-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· 2000

Word vectors

4
A Neural Probabilistic Language Model

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· 2003
5
word2vec

Neural language models were too slow to train on large corpora, so word2vec learns word vectors with the simple skip-gram and CBOW objectives.

Google· 2013
Further reading

Sequence to sequence

6
Sequence to Sequence Learning with Neural Networks

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· 2014
7
Neural Machine Translation by Jointly Learning to Align and Translate

Squeezing a sentence into one fixed vector hurt long translations, so attention lets the decoder search the source at every step.

University of Montreal· 2014
8
Neural Machine Translation of Rare Words with Subword Units

A fixed word vocabulary cannot cover rare words, so BPE splits them into frequent subword units.

University of Edinburgh· 2015

Pretraining

9
Improving Language Understanding by Generative Pre-Training

Labeled data is scarce, so GPT pretrains a Transformer decoder on unlabeled text and fine-tunes it for each task.

OpenAI· 2018
11
Language Models are Unsupervised Multitask Learners

GPT-2 shows that a large language model trained on web text handles many tasks zero-shot, without task-specific fine-tuning.

OpenAI· 2019

Speech

12
Connectionist Temporal Classification: Labelling Unsegmented Sequence Data with Recurrent Neural Networks

Speech data rarely has frame-level alignments, so CTC trains a recognizer directly on audio and its transcript.

2006
13
wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representations

Transcribed speech is scarce, so wav2vec 2.0 pretrains on unlabeled audio and fine-tunes on a small labeled set.

Meta· 2020
14
Whisper

Speech 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· 2022

Retrieval

15
Dense Passage Retrieval for Open-Domain Question Answering

Term matching misses paraphrases, so DPR trains a dual encoder on question-passage pairs and retrieves by embedding similarity.

Meta· 2020
16
Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks

Knowledge stored in model weights is hard to update, so RAG retrieves passages with DPR and has BART write answers from them.

Meta· 2020