Large Programs

Home / How LLMs Work

How LLMs Work

What Are Embeddings? How AI Turns Meaning into Numbers

Embeddings place words on a map of meaning so that similar ideas sit close together. A friendly explanation.

26 November 2026 · 1 min read

An embedding is a list of numbers that stands for the meaning of a word, sentence or picture.

A map where cat, dog and kitten sit together, apart from car, bus and truck.

Illustration made for this site.

The map analogy

Imagine a huge map where each word is a dot. "Dog" and "puppy" sit close together. "Dog" and "spaceship" sit far apart. The numbers are the dot's coordinates.

A famous early method

In 2013 researchers at Google (Mikolov and colleagues) proposed two new designs for learning vector representations of words, which are the lists of numbers. They said it took less than a day to learn high quality word vectors from a data set of 1.6 billion words, at much lower computing cost than earlier neural methods, and that the vectors did well on tests of word similarity. See word2vec.

Why it helps

Computers cannot understand meaning directly, but they can measure distance between numbers. If two dots are close, the ideas are likely related.

Where you see it

Some search tools turn a question and documents into lists of numbers and compare them to find the most relevant pages (this is part of how retrieval-augmented generation works).

A limit

The map reflects the text the model learned from, so it can also carry that text's biases.

Sources