How good a search or AI retrieval system is at finding the right information — returning what is genuinely relevant without missing important results or including irrelevant ones.
How good a search or AI retrieval system is at finding the right information — returning what is genuinely relevant without missing important results or including irrelevant ones.
Retrieval quality is assessed using established information retrieval metrics: precision@k (fraction of top-k results that are relevant), recall@k (fraction of relevant items returned in top k), Mean Reciprocal Rank (MRR — average of reciprocal rank of first relevant result), Normalised Discounted Cumulative Gain (NDCG — measures relevance ranking quality). In RAG systems, retrieval quality is measured additionally by context relevance (are retrieved passages relevant to the query?) and context faithfulness (does retrieved content actually support the generated answer?). Poor retrieval quality is the primary cause of RAG hallucination — the model generates from irrelevant or missing context.
AI teams building RAG systems must establish retrieval quality baselines and benchmarks before focusing on generation quality — low retrieval precision cannot be compensated by generation model capability.
Like measuring the quality of a reference librarian — not just whether they found any relevant books, but whether the books they selected are the most relevant ones, and whether they missed any important titles.
How good a search or AI retrieval system is at finding the right information — returning what is genuinely relevant without missing important results or including irrelevant ones.
Retrieval quality is assessed using established information retrieval metrics: precision@k (fraction of top-k results that are relevant), recall@k (fraction of relevant items returned in top k), Mean Reciprocal Rank (MRR — average of reciprocal rank of first relevant result), Normalised Discounted Cumulative Gain (NDCG — measures relevance ranking quality). In RAG systems, retrieval quality is measured additionally by context relevance (are retrieved passages relevant to the query?) and context faithfulness (does retrieved content actually support the generated answer?). Poor retrieval quality is the primary cause of RAG hallucination — the model generates from irrelevant or missing context.
AI teams building RAG systems must establish retrieval quality baselines and benchmarks before focusing on generation quality — low retrieval precision cannot be compensated by generation model capability.