Embedding Drift
Definition
Embedding Drift — a shift in the distribution of vector representations relative to the indexing moment. It occurs when the embedding model is replaced or updated, new domains and terminology appear in the corpus, or user query formulations change.
Causes
- Replacement or update of the Embedding Model.
- Appearance of new domains and terminology in the corpus.
- Changes in query formulations.
- Accumulation of outdated documents in the index.
Detection
| Metric | Purpose |
|---|---|
| Average cosine distance | Overall distribution shift |
| Proportion of queries with low score | Relevance degradation |
| Drop in recall@k | Coverage loss |
Reaction
- Full reindexing of the corpus with a new model.
- Versioning the index with the embedding model.
- Monitoring the distribution of search scores.