Skip to content
AIDownload

Explainer · Updated November 28, 2026 · 3 minute read

What is an embedding?

The short answer

An embedding is a list of numbers that represents the meaning of a piece of text, an image or another item. An AI model produces the numbers so that items with similar meanings get similar lists. Software can then compare meanings by comparing numbers, which is how search tools find related content even when the wording differs.

How embeddings represent meaning

Computers cannot compare the meaning of two sentences directly, but they can compare numbers quickly. An embedding model reads a piece of text and outputs a fixed-length list of numbers, often several hundred or a few thousand of them. Mathematicians call such a list a vector, and each one can be treated as a point in a space with that many dimensions.

The model is trained so that related items land close together. A sentence about a late delivery ends up near one about a missing parcel, and far from one about a recipe. No single number in the list means anything on its own. The information is in how close one point sits to another.

What embeddings are used for

Most uses come down to finding items that sit close to each other.

  • Semantic search returns results that match the meaning of a query, even without shared keywords.
  • Retrieval-augmented generation (RAG) uses embeddings to find the passages a chatbot should read before it answers.
  • Recommendation systems suggest songs or articles that sit near ones a person already liked.
  • Clustering tools group similar documents, such as support tickets about the same fault.

Embeddings inside language models

Embeddings are also the first step inside every large language model. The model breaks text into tokens and converts each one into an embedding before any other processing happens. In news coverage the word usually refers to the standalone kind described above, which represents a whole passage and comes from a separate embedding model.

Limits

An embedding compresses a passage into one point, so detail is lost. Two texts can sit close together because they share a topic while saying opposite things about it. Search built on embeddings can also miss exact matches, such as a product code or an unusual name, that keyword search would catch.

Embeddings from different models are not interchangeable. Switching models means recomputing the embedding for every stored item.

Common questions

What is a vector database?

A vector database stores embeddings and can quickly find the ones closest to a given query. It is the storage layer behind most semantic search and many RAG systems.

Is an embedding the same as a token?

No. A token is a small chunk of text, and an embedding is the list of numbers a model uses to represent a token or a longer passage.

Can the original text be recovered from an embedding?

Often in part, and sometimes closely. Researchers have reconstructed short passages from their embeddings almost word for word, so embeddings of private documents should be protected like the documents themselves.

Written and reviewed by AI DownloadHow we write and review explainers

Embeddings in the news

Model releases · Nov 17 · YouTube: Google for Developers

EmbeddingGemma 2: How natively multimodal embeddings work

Google's EmbeddingGemma 2 is an open, lightweight embedding model that places text, code, images, video, and audio in one shared embedding space. A new video explains how it works: modality-specific encoders feed a bidirectional transformer, and training starts from Gemma 4 with distillation from Gemini Embedding 2, followed by finetuning with contrastive and spread-out losses. It also covers efficiency techniques for resource-constrained setups.

Why it matters. An open multimodal embedding model that runs in constrained environments makes cross-modal search and retrieval more accessible to developers.

Model releases · Oct 6 · YouTube: Google for Developers

Introducing EmbeddingGemma 2: An open model for natively multimodal embeddings

Google DeepMind released EmbeddingGemma 2, an open 740M-parameter model that places text, images, video, and audio in one shared embedding space. It uses a modular design with optional audio and vision encoders, and is built to run fully on device for tasks like media search, video moment retrieval, and private RAG.

Why it matters. A small, open, multimodal embedding model that runs offline makes private, on-device search and RAG more practical for developers.

Keep reading

Follow the news behind these terms

The digest covers what happens in AI each day, with terms linked to these explanations.