Today's BriefStocksETFsCompareMy PortfolioMBTI TestDeep ResearchMasters' InsightsAI Literacy

What Is an Embedding? — Turn Text Into Coordinates and You Can Measure "Similar"

Home › AI Literacy › What Is an Embedding? — Turn Text Into Coordinates and You Can Measure "Similar"
🧠 AI Basics

What Is an Embedding? — Turn Text Into Coordinates and You Can Measure "Similar"

Unpacks the embedding that LLM, RAG and multimodal pieces passed off as 'coordinates': how meaning becomes numbers, token vs. sentence embeddings, what they're used for, and four limits — starting with 'similar is not correct.'

·2026-10-18·~11 min
What an Embedding Is
Meaning coordinates
Text becomes hundreds to thousands of numbers so "closeness" can be measured
A Famous 2013 Finding
King−man+woman≈queen
Word-vector arithmetic carried meaning relationships
Storing 1 Million Documents
About 6GB
Simple math at 1,536 dimensions, 32-bit
The Biggest Misunderstanding
Similar ≠ true
Close only means the meaning is alike

What Is an Embedding?
Turn text into coordinates and you can measure "similar"

📌 Three-line summary
① An embedding is a list of numbers (a vector) built so that text — or images, or audio — with similar meaning gets similar numbers. It lets a computer calculate whether meanings are alike, not just whether the letters match.
② The token embeddings inside an LLM and the sentence embeddings used for RAG and search share an idea, but serve different purposes and come from different models. Separating the two clears up a lot of confusion.
③ What an embedding measures is "similar," not "correct." Sentences with opposite meanings can land close together, so a search ranking is a starting point for finding evidence, not a check that the answer is right.

① Getting started — a concept we passed three times and never explained

Embeddings showed up in how LLMs work as the step that turns token numbers into "coordinates," in RAG explained as the step that searches document chunks, and in multimodal AI as the step that puts images and audio into the same space. All three times it went by as the single word "coordinates." This piece unpacks that word from scratch. Once you have it, why AI search sometimes fetches an off-target document, and why switching models means reprocessing your data, each take one line to explain.

② Why it's needed — a computer only knows whether letters match

Traditional keyword search checks whether the letters match. So searching "vacation policy" won't find a document titled "annual leave guidelines." A person knows they're about the same thing, but not a single word overlaps.

Converting to token numbers doesn't fix it either. Knowing "apple" is #4823 and "pear" is #91 tells you nothing about both being fruit. A number is just a label. What's needed is a representation where similar meaning gives similar values, and that is an embedding.

③ Understanding it as coordinates

Think of a map. Seoul and Suwon are close, Seoul and Busan are far, because two values (latitude and longitude) are enough to say "close" in numbers. An embedding applies that to text. Each piece of text gets coordinates so that text with similar meaning sits in nearby spots and different text sits far apart.

Phrase (illustrative made-up coordinates)(x, y)Reading
"vacation policy"(0.82, 0.31)Different words, close coordinates → judged to be the same topic
"annual leave guidelines"(0.79, 0.35)
"quarterly earnings release"(0.12, 0.88)A far-off spot → a different topic
💡 This table is just a device for getting the feel
A real embedding isn't two numbers but hundreds to thousands. And no individual number — an x or a y — carries a human-readable name like "taste" or "size." The axes are ones the model built while training, so the meaning lives not in any single number but in the position of the numbers as a whole.

④ How it gets made — a by-product of training

No one assigns "apple scores 0.9 on the fruit axis." The model reads vast amounts of text and adjusts itself so that expressions that often appear in the same contexts get similar coordinates. An early milestone for this approach was Mikolov and colleagues' 2013 work. When words were turned into vectors, vector("king") − vector("man") + vector("woman") came out closest to vector("queen") — evidence that meaning relationships are encoded as directions between coordinates (Mikolov, Yih and Zweig, 2013).

That example is a symbol of "structure emerges," not a claim that it works for everything. The embeddings used in search today come from far larger, more sophisticated models and are often built per sentence or paragraph rather than per word.

Two kinds of embedding to keep apart

Token embedding inside an LLMSentence embedding for search
UnitOne coordinate per tokenOne coordinate per sentence or paragraph
Where it's usedThe entrance to the calculation where an LLM predicts the next token"Finding similar text" in RAG, semantic search and recommendation
The model that makes itPart of the LLM's own learned parametersOften made by a separate, embedding-specific model

Both use the same idea, "meaning as coordinates," but they are different coordinates from different models. That's also why, in RAG, the embedding model turning documents into coordinates and the LLM writing the answer run as separate steps.

⑤ How "close" is measured — and what it's used for

How close two coordinates are is usually measured by cosine similarity. It looks at how similar the directions the two vectors point, so a value near 1 means the meanings are alike. You don't need to memorize the formula — just remember "the more the direction matches, the more similar."

UseHow it's used
Semantic search and RAGConvert the question to coordinates, find the document chunks with nearby coordinates, and hand them over as evidence for the answer (RAG explained)
RecommendationShow other pieces whose coordinates are close to what you viewed
Classifying and clusteringGroup items with nearby coordinates to organize them by topic
Duplicate and near-duplicate detectionFind documents that say the same thing in different words

⑥ Four limits — it only measures "similar"

  • ① Similar is not correct. In meaning space, "similar" sentences are sentences on the same topic. Opposite meanings can land close together if the topic is the same. As an illustrative example, "EPS beat expectations this quarter" and "EPS missed expectations this quarter" differ by a single word but can come out very close as embeddings. That's why search can bring back "related-looking" text rather than "the right evidence." It's also why you should open the source and find the sentence yourself.
  • ② Every model has its own coordinate system. Coordinates from different embedding models can't be mixed and compared. So if you change embedding models, you must convert all your stored documents again with the new one.
  • ③ It can be weak on exact expressions. It's strong at finding text with similar meaning, but for searches that must match the letters exactly — ticker codes, proper nouns, precise figures — keyword search does better. That's why in practice the two are often used together.
  • ④ It reflects the tendencies of its training data. Embeddings come from training data too, so bias seeps in (where AI bias comes from).

⑦ Investor angle — coordinates take memory too

An embedding is ultimately a list of numbers, and numbers have to be stored in memory. Here's a simple calculation for a feel. Store 1 million document chunks as 1,536-dimensional vectors, with each number at 32 bits (4 bytes), and you get 1,000,000 × 1,536 × 4 bytes ≈ 6.1GB. Ten times the documents means ten times that (compression techniques can cut it, but the baseline scale is the point).

The more companies attach RAG to their internal documents, the more this kind of storage and search demand grows, and that demand flows through to data-center memory and compute. How that shows up in earnings on the memory-chip side is covered in Micron's FY2026 Q4 results, dissected and the semiconductor sector outlook for H2 2026. That doesn't mean embeddings alone decide memory demand — read it simply as understanding the structure: the more AI services grow, the more numbers there are to store.

⑧ Practical checklist

✅ When using an embedding-based search or RAG tool
□ Do I know retrieved documents are only "related-looking," not the answer?
□ For key evidence, did I open the document and find the sentence myself?
□ When searching for tickers or exact figures, did I also use keyword search?
□ If I may need to change embedding models, did I plan for re-converting every existing document?
□ When documents will grow a lot, did I estimate the storage (memory) cost in advance?

※ This piece simplifies the concept of embeddings for a general reader and doesn't guarantee the performance of any particular service or model. The coordinate table and the EPS sentences are made-up illustrations, and the memory figure is simple arithmetic that ignores compression. Investing-related content is not investment advice; investment decisions and responsibility rest with the investor.

※ This guide is provided for general educational purposes and simplifies technical details for readability.

New guides, when they land

We publish AI literacy guides twice a week. Subscribe and the next one comes to you — free, unsubscribe anytime.

Subscribe to the marketbrief newsletter

Collection and use of personal information

We collect the minimum personal information needed to send the newsletter. It is not used for any other purpose, and is destroyed immediately if the service ends or you unsubscribe.