liveBook · Manning

Embedding drift

As explained in Building Reliable AI Systems

A gradual divergence between user queries and the vector representations of documents in an index, caused by changes in how people ask questions or in language and terminology.

Embedding drift is the gradual mismatch between user queries and document vectors in an index. It can occur even when documents stay unchanged, as people’s language and terminology evolve. In production, it may appear as vague chatbot replies or retrievals that are loosely related—or return nothing. section 4.6 section 4.6.1

Keep query and document embeddings aligned as content and models change:

  • Re-embed documents when content changes, and reprocess the corpus when switching embedding models; otherwise, queries and documents can become numerically misaligned. section 4.6.1
  • Use the same model version for query and document embeddings. Teams may re-embed nightly, weekly, or after model updates; no single cadence fits every system. section 4.6.1
  • A sufficiently general embedding model can reduce how often—and how much—it costs to re-embed the corpus. section 4.7

How Building Reliable AI Systems covers it

How deep it goes
Defines drift, describes retrieval symptoms and causes, and recommends consistent re-embedding without prescribing a universal schedule.
Examples
Uses evolving product features, policy language, cultural shifts, vague chatbot replies, and loosely related or missing retrievals.
What you can do after
Operate retrieval by keeping query and document embeddings on the same model version and reprocessing after changes.
How it connects
Connects embedding drift to vector search, embedding models, document re-embedding, and retrieval-augmented generation.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Building Reliable AI Systems. The section links point to the parts of the book it draws on.