Notes

Distributional Hypothesis

Hand someone a sentence with one word blanked out — “she poured the ____ into a tall glass” — and they will narrow the possibilities to a short list without being told anything about the missing word. The distributional hypothesis runs that trick in reverse: if two words keep turning up in the same company, they probably mean similar things.

Counting the company a word keeps
The idea comes from the linguists Zellig Harris and J. R. Firth, whose line “you shall know a word by the company it keeps” is quoted in nearly every treatment of the subject. As an engineering recipe it is blunt: sweep a large corpus, record which words appear near each word, and treat that profile of counts as the word's meaning.

  • Similar profiles produce similar vectors, so judging whether two words are related becomes arithmetic rather than lexicography.
  • It needs no dictionary, no labels and no annotation — only plain text, which is why it scaled when hand-built lexicons did not.
  • The definition of “near” is a design decision: a two-word window captures words that are grammatically interchangeable, a whole document captures words that share a topic.

What it supports, and where it bends
Every count-based and predictive representation is this hypothesis made operational — PMI matrices, LSA, Word2Vec, GloVe, FastText, and the contextual encoders that followed. Its best-known weakness follows from the same logic: antonyms share contexts, so “hot” and “cold” land close together, and a sentiment classifier reading those vectors alone cannot tell praise from complaint.

Why it matters
It is the assumption that lets a system learn meaning from text nobody annotated. Drop it and you are back to enumerating senses by hand; keep it and a raw corpus becomes training data.

The distributional hypothesis holds that words appearing in similar contexts have similar meanings, so a word's meaning can be approximated from the co-occurrence statistics of the text around it. It is the assumption underneath every learned text representation, from PMI and LSA matrices to Word2Vec and GloVe: it converts unlabelled corpora into supervision. Without it, semantic similarity would have to be hand-coded word by word.

Imagine reading a novel in a language you half know and meeting the word “flagon” for the first time. Nobody stops to define it, but after a few scenes of people filling it, raising it and spilling it, you have a solid guess: some kind of jug.

That is the whole idea behind the distributional hypothesis — you can learn what a word means from the words that surround it. Software does this at a scale no person could: it reads millions of sentences, notes which words share company, and places those words close together. It is how a program figures out that “doctor” and “physician” belong side by side, without anyone writing a dictionary for it.