Skip to content

Retrieval Evaluation

Definition

Retrieval Evaluation — the quantitative assessment of the search component of a RAG system. Evaluation measures how well the system finds relevant fragments for a given query and includes ranking and relevance metrics.

Key Metrics

Metric Description
Recall@K Proportion of relevant documents in the top K results
Precision@K Proportion of relevant documents among the top K
MRR Mean reciprocal rank of the first relevant document
NDCG Positional relevance of relevant documents
Hit Rate Presence of at least one relevant document in K

Evaluation Methods

  • Manual relevance annotation by experts
  • LLM-as-a-Judge for automatic evaluation
  • Cross-encoders for binary relevance
  • A/B testing in production

See also

← All terms