liveBook · Manning

Normalized discounted cumulative gain

As explained in Human-in-the-Loop Machine Learning: Active learning and annotation for human-centered AI

A ranking metric that divides discounted cumulative gain by the ideal discounted cumulative gain.

NDCG scores an annotator’s ranking by dividing its discounted cumulative gain by the highest possible score for a perfect ranking against the ground truth. The result is normalized to a 0–1 scale based on the candidates shown, rather than all possible candidates. section 10.6.1

In search and recommendation annotation, candidate lists often come from existing models because random results may all be irrelevant. Since those systems can overrepresent likely items and amplify bias, adding some low-probability candidates can broaden choices; NDCG helps avoid artificially low scores when annotators judge such lists. section 10.6.1

Search results

For a “basketballs” query, an annotator might judge 10–15 model-selected results. NDCG compares the annotator’s ranking with the ideal ranking for those presented candidates. section 10.6.1

How Human-in-the-Loop Machine Learning: Active learning and annotation for human-centered AI covers it

How deep it goes
Defines a 0–1 ratio against an ideal ground-truth ranking and normalizes over shown candidates.
Examples
Uses basketball web-search and shopping queries to illustrate candidate lists that may be judged by annotators.
What you can do after
Evaluate annotator rankings against an ideal ranking for the candidates they saw.
How it connects
Connects information retrieval annotation with candidate sampling and bias in search and recommendation systems.

Also explained in

Compare how 2 books explain normalized discounted cumulative gain →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Human-in-the-Loop Machine Learning: Active learning and annotation for human-centered AI. The section links point to the parts of the book it draws on.