Study FAQ
What evidence justifies changing a RAG embedding model?
Also asked as 2
- How do I tell whether a RAG retrieval problem justifies an embedding model change?
- What should a controlled test show before I switch to a different embedding model?
Answer
Change the embedding model when a controlled comparison shows that its representation materially causes retrieval failures. First confirm that the required, authorized evidence is present in a usable indexed unit and can reach generation.
Repair missing ingestion, broken chunk boundaries or incompatible query vectors before training or model replacement. Review text/hybrid retrieval for critical identifiers. If retrieval finds the right passage but the application discards it, embedding replacement is not the demonstrated fix.
For a model comparison, freeze the source snapshot, chunking, eligibility rules and relevant query settings. Define representative queries and independently reviewed expected passages, including domain paraphrases, identifiers and no-coverage cases. Generate document and query vectors with each candidate's matching model and compatible index configuration; equal dimensions do not prove a common embedding space.
Inspect useful-rank evidence coverage and important group regressions, plus relevant latency, storage and operating requirements. Record unavoidable configuration differences instead of claiming an isolated model effect. Better domain-paraphrase retrieval can coexist with worse exact-code retrieval, so decide from the full tradeoff rather than a few attractive search results.
Microsoft Learn
Full explanation
AI-300: Selecting and Adapting Embedding Models
Study guide · AI-300
Read the full explanation