Word Embedding
Updated 2026-08-15
Summary
Words are mapped into dense vectors so that semantic similarity becomes geometric distance, and meaning itself becomes computable through vector arithmetic.
Definition
A word embedding maps each word to a dense, low-dimensional vector in a continuous space. It is trained from large corpora by exploiting co-occurrence statistics, such as which words appear in similar contexts. The result is that semantically close words sit close together geometrically, and relations between meanings can be approximated by arithmetic on the vectors, with the classic example that king minus man plus woman lands near queen. This turns discrete symbols into coordinates that downstream models can consume as features.
Introduction
How to use
- Calculate meaning: test semantic relatedness with cosine similarity instead of guessing from surface forms. - Reason by analogy: use vector arithmetic like king minus man plus woman to probe relations among concepts. - Feed downstream models: serve embeddings as input features for classification, clustering, retrieval, or translation.
Mechanism
The training objective forces words that share contexts to receive similar vectors, because the model must predict a word from its neighbors or vice versa. Over many examples, co-occurrence patterns leave a geometric trace: synonyms and topic siblings converge, while unrelated terms drift apart. Because the space is continuous and low-dimensional, similarity becomes a measurable distance and analogies become translations, which is why arithmetic on vectors approximates semantic relations.
Practice
In progress 0/1Practice this model in one real situation:
Cases
- The vector arithmetic king minus man plus woman returns queen as the nearest term, demonstrating that analogies are encoded geometrically.
- A retail analyst clusters the nearest neighbors of a brand name to surface competing brands without manual labeling.
Common pitfalls
- Static vectors carry one sense per word, so polysemy is flattened and context-sensitive meaning requires contextual models like BERT.
- Vector similarity is not logical relatedness: nearby words can be contradictory, and a small distance is not evidence of causation.
Sources
Source support: Explicit
References currently contain only Wikipedia links; primary sources still need review.
- en.wikipedia.orghttps://en.wikipedia.org/wiki/Word_embeddingverified
account_treeGenealogyexpand_more
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS