What is the core idea of representing a word or sentence as an embedding?
- A lookup id that indexes into a fixed dictionary of definitions
- A compressed image of the token rendered as pixels
- A one-hot vector with a single 1 marking the token's position
- A dense vector whose geometry reflects meaning; similar items sit close
Why
An embedding maps an item to a dense, continuous vector so that semantic similarity becomes geometric closeness (small distance / high cosine). It is not a dictionary id, an image, or a sparse one-hot vector (embeddings are the dense alternative to one-hot).