Embedding Space
Once every word in a vocabulary is a list of three hundred numbers, those lists live somewhere: a three-hundred-dimensional space in which each word is a single point. The embedding space is that shared coordinate system, and its geometry is where the meaning ends up.
Reading the geometry
No axis means anything on its own — there is no “formality” dimension to inspect. What carries information is relative position:
- Distance, measured by cosine similarity rather than straight-line length, stands in for relatedness: “coffee” sits near “tea”.
- Direction can encode a relation, which is what makes the word analogy arithmetic — king minus man plus woman landing near queen — work at all.
- Regions form loose neighbourhoods: days of the week, country names, cooking verbs, never labelled and only discovered.
Practical consequences
Because the space is shared, anything embedded into it becomes comparable: a query against a document in dense retrieval, a sentence against a sentence, a word against a cluster centre. Two cautions follow from the same geometry. Spaces from separate training runs are not interchangeable, so mixing vectors from two checkpoints produces confident nonsense. And whatever bias the training corpus carries becomes a measurable direction that everything downstream inherits.
Why it matters
It is the shift from treating words as arbitrary symbols to treating them as locations. Symbols can only be equal or unequal; points can be close, far, or in the same direction — and that is what gives a model something to generalise over when it meets a word it has barely seen.
An embedding space is the shared vector space that word, sentence or document embeddings occupy — each item a point in a few hundred dimensions, where no single axis is interpretable but relative position is. Cosine distance between points stands in for semantic relatedness, and directions can encode relations. All vector similarity, clustering and dense retrieval operate inside one such space, and vectors from different spaces are not comparable.
Picture a vast map where every word in the language has been given an address. Words with related meanings are put in the same neighbourhood: “sofa” next to “armchair”, both a long way from “hurricane”.
That map is an embedding space. Software builds it by reading huge amounts of text and nudging each word towards the words it keeps company with. Nothing is labelled — the neighbourhoods simply emerge. Once the map exists, a computer can answer “what is similar to this?” by looking at what is nearby, which is how a search engine finds a page about affordable trainers when you asked for cheap running shoes.