The AI Reader.
The Evidence

king - man + woman = queen scored 65.6% on word2vec's own test

Tomas Mikolov and colleagues at Google reported the figure on a 19,544-question benchmark in 2013, and later analyses found the vector offset leans on excluding the very words the analogy starts from.

Why this matters

You have almost certainly seen king - man + woman = queen offered as proof that a model understands language. It is the founding example of word embeddings, the vectors that still sit at the base of every current language model, and it gets quoted in arguments about whether AI grasps meaning at all. By the end of this lesson you can say exactly what word2vec measured, on which test, and at what scale, and you can tell the measured 65.6% apart from the story that grew on top of it.

Background optional reading
01
A transformer redraws a word's vector for every sentence it appears in: what an embedding is, and how today's models redraw it per sentence.

The sentence everyone quotes

The one line people quote from word2vec is an equation. Take the vector for king, subtract the vector for man, add the vector for woman, and the result lands nearest the vector for queen.1 Tomas Mikolov and four colleagues at Google published it in 2013, first in a paper called "Efficient Estimation of Word Representations in Vector Space"1 and then in a companion paper2 at the NeurIPS conference that December.3

The line got repeated as proof that the model had learned what the words mean. It is a real result. It is also a number: on the analogy test the authors built for the purpose, the arithmetic recovered the intended fourth word 65.6% of the time.1

Two models that predict their neighbors

word2vec is two small models, CBOW and Skip-gram. Both learn a single vector for each word from raw running text, the kind of word vector this course covers on its own. What is worth pinning down here is how they learn it: by prediction, and nothing else. CBOW takes the words around a gap and predicts the word in the gap, averaging the surrounding context and ignoring its order.1 Skip-gram runs the same idea backward, predicting the likely neighbors from the one word in the middle.1 Neither model is told what any word means. Each just nudges a word's vector until words that keep the same company end up close together.

What stunned people in 2013 was the price. Earlier neural language models pushed the text through a hidden layer that cost most of the compute. word2vec throws that layer out, which is what lets it train on billions of words on a single machine in under a day.1 The companion paper trims the cost again with two shortcuts. Negative sampling scores each training example against a handful of randomly drawn words instead of the entire vocabulary. Subsampling randomly drops the most frequent words like "the" before training.2 Turning that much text into usable vectors on ordinary hardware is why everyone could suddenly build on the result, and that part has never been in doubt.

One test, 19,544 questions

The famous claim rests on a test the authors wrote themselves. It holds 19,544 questions, 8,869 about meaning and 10,675 about grammar, sorted into 14 categories.1 Each question gives three words and asks for the fourth: Athens is to Greece as Oslo is to what, or "walking" is to "walked" as "swimming" is to what. The model answers with the same vector arithmetic, and the score is the fraction it gets exactly right.

The best score in the first paper was 65.6%, split almost evenly into 66.1% on the meaning questions and 65.1% on the grammar ones. That run used Skip-gram with 1,000-dimensional vectors, trained on a 6-billion-word Google News corpus with the vocabulary capped at the million most frequent words.1 The companion paper's best word-analogy score was 61%, from Skip-gram with 300-dimensional vectors on a roughly one-billion-word news set.2 The score depends heavily on which training shortcut you pick.

Word-analogy accuracy by training method in the companion paper, Skip-gram with 300-dimensional vectors on its roughly one-billion-word set. Each run finished in 14 to 97 minutes.2
Method Accuracy What it changes
NEG-15 61% Scores each example against 15 randomly drawn words.
NEG-5 59% The same, with 5 negative words. Faster, slightly worse.
NCE-5 53% A related noise-contrastive objective, 5 samples.
HS-Huffman 47% Hierarchical softmax over a Huffman tree of words.

One number from this paper gets misquoted constantly. The companion also reports 72%, and that figure travels as if it were the analogy accuracy. It belongs to a different test: a set of phrase analogies, trained on a much larger corpus of about 33 billion words, not the 19,544-question word set.2 The word-analogy result is 65.6% in the first paper and 61% in the second. Keep the 72% with the phrases, where it was earned.

What the arithmetic is doing

So the trick works about two times in three. What is it doing on the times it works? Two later papers took the operation apart, and both are worth reading in full.

Omer Levy and Yoav Goldberg did the algebra in 2014.4 The result is quieter than the story around it.

In plain language

Once the vectors are scaled to the same length, searching for the word nearest to king minus man plus woman is the same as searching for a word that is similar to woman and to king but different from man. It is a balance of three similarities, not a chain of reasoning. And the search only works because it is set up to skip the three input words: leave them in, and the nearest vector is usually one of them.4

Levy and Goldberg then showed the same regularities in plain count-based vectors, the kind built by tallying how often words occur near each other with no neural network at all. Those sparse vectors scored 68% with a multiplicative variant, beating the neural embedding's 66.7% on the same task.4 The pattern lives in the co-occurrence counts. The network preserves it rather than inventing it.

Tal Linzen pushed on the skip-the-inputs step in 2016.5 Run the literal arithmetic without hiding the inputs, and the nearest word to king minus man plus woman is king itself 93% of the time, and one of the other two inputs another 5%. That is an input word 98% of the time.5 Excluding those words is a hand-built rule, not something the geometry does on its own. And once you do exclude them, a baseline that ignores the offset entirely and simply returns the nearest neighbor of the third word already captures much of the score, reaching 70% on the plural questions.5 Reverse the direction of an analogy and accuracy falls on average, and it falls in step with that offset-free baseline rather than with the offset.5

None of this makes the 65.6% fake. The vectors really do place related words in consistent directions, so that countries sit near their capitals in a roughly repeatable way.2 The regularity is real. The reasoning is the part we added.

What held up

The durable part was the embedding, not the analogy trick. A dense vector learned from raw text became the standard first layer of language systems, and the prediction recipe was matched and passed almost at once. Within a year, GloVe, from a Stanford group, reached comparable scores on the very same analogy set by factoring a global word-co-occurrence table instead of predicting from local windows.6 That a rival method aimed at the same 19,544 questions tells you the field had adopted the Google set as its shared yardstick and had already moved past word2vec's exact approach.

What survives from 2013 is the finding that you can learn a useful vector for each word by predicting its neighbors, cheaply and at scale. What did not survive a close read is the shorthand that the arithmetic on those vectors thinks.

The takeaway

word2vec learned a vector for each word by training two cheap models to predict nearby words, and on its 19,544-question analogy set the best runs answered 65.6% and 61% correctly. That is a strong, real result, and it is why embeddings became foundational. But the arithmetic that dazzled everyone is a balance of three similarities that has to skip its own inputs to work, and an offset-free lookup recovers much of what is left. The vectors capture how words pattern together in text. Reading that as the model understanding meaning is the one step the evidence does not support. The next time you see king - man + woman = queen, you will know the number under it, and what the number is not.

Go deeper optional reading
01
Rob Speer, "Cramming for the test set": why the analogy benchmark rewards the wrong thing, from someone who ran it.
02
Pennington, Socher and Manning, "GloVe": the co-occurrence method that chased word2vec on the same test a year later.

Sources

  1. arXiv · Mikolov, Chen, Corrado, Dean, "Efficient Estimation of Word Representations in Vector Space" (2013)
  2. arXiv · Mikolov, Sutskever, Chen, Corrado, Dean, "Distributed Representations of Words and Phrases and their Compositionality" (2013)
  3. NeurIPS Proceedings · Advances in Neural Information Processing Systems 26 (2013), companion-paper record
  4. ACL Anthology · Levy and Goldberg, "Linguistic Regularities in Sparse and Explicit Word Representations" (CoNLL 2014)
  5. ACL Anthology · Linzen, "Issues in Evaluating Semantic Spaces Using Word Analogies" (RepEval 2016)
  6. ACL Anthology · Pennington, Socher, Manning, "GloVe: Global Vectors for Word Representation" (EMNLP 2014)