Section 040 · Chapter 6, Building Evals That Matter
NDCG for Search Relevance
NDCG helps Confidence Engineers measure whether the most relevant search and ranking results appear where users will actually see them.
NDCGsearch relevanceconfidence engineerndcg search relevance
What to do
- Use literal NDCG when you have a ranked list and graded relevance labels: web search results, retrieval candidates, recommendation lists, RAG retrieval quality, or ranked support suggestions.
- Use an NDCG-like ranked-evidence metric only when the system is actually ranking evidence, sources, files, actions, or plans before deciding what to do.
- Choose the cutoff deliberately, such as NDCG@5 or NDCG@10, based on how many results users actually inspect.
- Watch for label quality, position bias in click data, query mix drift, and improvements that help common queries while hurting rare critical queries.
Evidence to preserve
- Preserve the inputs, versions, configurations, raw outcomes, and results for NDCG, search relevance, confidence engineer, ndcg search relevance needed to reproduce work on NDCG for Search Relevance.
- Report results for NDCG, search relevance, confidence engineer, ndcg search relevance by relevant slice, separate blocker failures from averages, state uncertainty and blind spots, and connect the result to a release decision.
Expert note
Choose the cutoff deliberately, such as NDCG@5 or NDCG@10, based on how many results users actually inspect. Watch for label quality, position bias in click data, query mix drift, and improvements that help common queries while hurting rare critical queries.
Continue the conversation
Apply this to your context.
Save your product context once, then open a focused conversation that combines it with this concept.
Cite this page
Jason Arbon. "NDCG for Search Relevance." Testing AI Knowledge Edition, section 40.
https://jarbon.ai/testing-ai/knowledge/ch040-ndcg-search-relevance.html