# A neural probabilistic language model

Date: February 2003 · Era: III · Statistics and data · Category: theory · Significance: 4/5
People: Yoshua Bengio, Réjean Ducharme, Pascal Vincent, Christian Jauvin
Organisations: Université de Montréal

Canonical: https://shapeofintelligence.com/timeline/2003-neural-language-model/ · Dataset and text CC BY 4.0

> Bengio's group learns a vector for every word and predicts the next word from the vectors of the last few; word embeddings and neural language models begin here.

## What had to happen

9 events back to 1943, oldest first. Direct influences are marked *direct*.

- [1943 · A logical calculus of nervous activity](https://shapeofintelligence.com/md/timeline/1943-mcculloch-pitts-neuron/)
- [1949 · Cells that fire together wire together](https://shapeofintelligence.com/md/timeline/1949-hebb-organization-of-behavior/)
- [1958 · The perceptron learns](https://shapeofintelligence.com/md/timeline/1958-perceptron/)
- [1960 · ADALINE and the least-mean-squares rule](https://shapeofintelligence.com/md/timeline/1960-adaline-lms/)
- [1969 · Perceptrons](https://shapeofintelligence.com/md/timeline/1969-perceptrons-book/)
- [1970 · Reverse-mode automatic differentiation](https://shapeofintelligence.com/md/timeline/1970-linnainmaa-backprop/)
- [1974 · Werbos applies backpropagation to neural networks](https://shapeofintelligence.com/md/timeline/1974-werbos-backprop/)
- [1986 · Backpropagation](https://shapeofintelligence.com/md/timeline/1986-backpropagation/) *direct*
- [1990 · Finding structure in time](https://shapeofintelligence.com/md/timeline/1990-elman-network/) *direct*

Language models in 2003 counted. An n-gram model estimated the probability of the next word from how often the preceding two or three words had been followed by it in a corpus, and it could not generalise: a sentence it had never seen was as unlikely as one that made no sense. Yoshua Bengio's group in Montréal proposed, in a paper first presented at NIPS in 2000 and published in full in 2003, to give every word a learned vector of a few dozen numbers and to predict the next word with a neural network from the vectors of the previous ones. Similar words would get similar vectors, and what the model learned about "cat" would transfer to "dog".

The paper introduced the word embedding, the idea that meaning could be a position in a space learned from prediction, and it beat the best n-gram models. It also took days to train on a few million words and was regarded as an elegant impracticality for most of a decade.

Word2vec in 2013 made the embeddings cheap and famous; the language models of the 2020s are this architecture with attention in place of the fixed window and a hundred billion parameters in place of a few hundred thousand. The task, predict the next word, has not changed since this paper.

## What it led to

60 events downstream, through 2026.

Built on it directly:

- [2013 · Word2vec](https://shapeofintelligence.com/md/timeline/2013-word2vec/)
- [2014 · Attention](https://shapeofintelligence.com/md/timeline/2014-bahdanau-attention/)
- [2014 · Sequence to sequence learning](https://shapeofintelligence.com/md/timeline/2014-seq2seq/)
- [2018 · GPT: generative pre-training](https://shapeofintelligence.com/md/timeline/2018-gpt-1/)

And, through them, by era:

- IV · Deep learning: 1 events
- V · Transformers: 12 events
- VI · Everyone: 29 events
- VII · Agents: 14 events

## Sources

- [A Neural Probabilistic Language Model (Journal of Machine Learning Research, 2003)](https://www.jmlr.org/papers/v3/bengio03a.html) — paper

---

The Shape of Intelligence by Jamie McKaye (https://jamiemckaye.com) · Markdown mirror of https://shapeofintelligence.com/timeline/2003-neural-language-model/

Before: [2002 · Roomba](https://shapeofintelligence.com/md/timeline/2002-roomba/) · After: [2004 · MapReduce](https://shapeofintelligence.com/md/timeline/2004-mapreduce/)
