[KongchangAI]
Concept文本嵌入模型 / Embedding

Embedding Model

A model that converts unstructured data such as text and images into high-dimensional dense vectors to capture semantic information. Embedding models support semantic similarity computation and retrieval, and serve as a core component of Retrieval-Augmented Generation (RAG) systems.

Core Facts

Timeline (last 90 days)

Oct 12

Embedding models map queries and documents into the same vector space and match them using measures such as cosine similarity; when a query uses domain abbreviations, internal codenames, or wording whose distribution differs greatly from the training corpus, the correct document may be ranked very far down or may not even appear in the candidate set.

Unverified50%
Oct 12

The solution described in this article emphasizes that both the language model and the vector model are deployed locally, rather than calling external cloud-based APIs.

Unverified50%
Oct 10

The preparation stage for building a vector database requires splitting private documents into smaller chunks, converting them into vectors via an Embedding model, and then storing them in the vector database.

Unverified50%
Oct 10

In the RAG retrieval process, the user's question is first passed to an Embedding model to be converted into a vector, then similarity calculations are performed in a vector database to retrieve the top-K most relevant documents, which are then concatenated with the original question and passed to the large model to generate an answer.

Unverified50%
Oct 6

The vector dimensions output by different embedding models range from 768 to 3072; higher dimensions generally provide stronger semantic representation capability but incur greater storage and computation overhead

Unverified50%
Sep 25

The Embedding model is only responsible for the text-to-vector step; which database the vectors are stored in is a relatively independent engineering choice.

Unverified50%
Sep 25

The core function of an Embedding model is to convert a piece of plain text into a vector.

Unverified50%
Sep 25

The Embedding model appears twice in the RAG pipeline: during offline knowledge base construction and during online retrieval, with the goal in both cases being to map text into the same vector space.

Unverified50%
Sep 25

During model selection, it is necessary to confirm that the similarity objective function used during model training is consistent with the metric used during retrieval; otherwise, systematic bias will occur.

Unverified50%
Sep 25

Embedding model fine-tuning typically adopts a contrastive learning framework, training the model to bring positive sample pairs closer together and push negative sample pairs apart by constructing positive and negative sample pairs.

Unverified50%

7 more timeline events

All Facts (19)

Verified

Embedding models typically map text into high-dimensional vector spaces of 768 or 1536 dimensions.

80%
Verified

Embedding models convert text into fixed-dimensional floating-point vectors, placing semantically similar content closer together in the vector space, and serve as the core foundation of RAG technology.

70%
Verified

RAG通过将文档切分为语义块后经嵌入模型转化为高维向量存入向量数据库,查询时通过近似最近邻(ANN)搜索找到语义最相近的文档片段

65%
Unverified

Embedding models are neural networks that map text to a continuous vector space, with the core assumption that semantically similar texts should have vectors that are close in distance.

60%
Unverified

Embedding models map queries and documents into the same vector space and match them using measures such as cosine similarity; when a query uses domain abbreviations, internal codenames, or wording whose distribution differs greatly from the training corpus, the correct document may be ranked very far down or may not even appear in the candidate set.

50%
Unverified

The solution described in this article emphasizes that both the language model and the vector model are deployed locally, rather than calling external cloud-based APIs.

50%
Unverified

The preparation stage for building a vector database requires splitting private documents into smaller chunks, converting them into vectors via an Embedding model, and then storing them in the vector database.

50%
Unverified

In the RAG retrieval process, the user's question is first passed to an Embedding model to be converted into a vector, then similarity calculations are performed in a vector database to retrieve the top-K most relevant documents, which are then concatenated with the original question and passed to the large model to generate an answer.

50%
Unverified

The vector dimensions output by different embedding models range from 768 to 3072; higher dimensions generally provide stronger semantic representation capability but incur greater storage and computation overhead

50%
Unverified

During model selection, it is necessary to confirm that the similarity objective function used during model training is consistent with the metric used during retrieval; otherwise, systematic bias will occur.

50%
Unverified

Embedding model fine-tuning typically adopts a contrastive learning framework, training the model to bring positive sample pairs closer together and push negative sample pairs apart by constructing positive and negative sample pairs.

50%
Unverified

The core function of an Embedding model is to convert a piece of plain text into a vector.

50%
Unverified

The Embedding model is only responsible for the text-to-vector step; which database the vectors are stored in is a relatively independent engineering choice.

50%
Unverified

The Embedding model appears twice in the RAG pipeline: during offline knowledge base construction and during online retrieval, with the goal in both cases being to map text into the same vector space.

50%
Unverified

Embedding models lack special understanding of structured symbols (such as currency formats, encoded strings, and ID sequences), treating this content merely as ordinary token sequences.

50%
Unverified

Structured data such as prices, dates, and categorical IDs should generally not be directly fed into embedding models, but should instead be stored as metadata for filtering and sorting after retrieval.

50%
Unverified

Directly embedding structured fields pollutes the semantic space, causing the model to be unable to distinguish prices from arbitrary text.

50%
Unverified

The direction of embedding vectors for overly short texts tends to be unstable, making filtering them out the safer choice.

50%
Unverified

Open-source embedding models such as BAAI/bge-large and intfloat/e5-large-v2 have approached or even surpassed the performance of commercial APIs on multiple benchmarks.

50%

Source Articles