Definitionresearch
Alpha-nDCG
Also called alpha-normalized discounted cumulative gain.
An nDCG variant over the subtopics of a query that discounts the gain of a subtopic each time it has already been covered.
Alpha-nDCG is a version of nDCG for queries with several subtopics, or nuggets, such as the meanings of an ambiguous query. A document gains for each nugget it contains, but a nugget that documents higher in the ranking already contain is worth less each time it repeats: its gain is multiplied by for each earlier document that has it. So a ranking that covers many nuggets near the top scores higher than one that repeats the same nugget. Clarke, Kolla, Cormack, Vechtomova, Ashkan, Büttcher and MacKinnon defined it in 2008. Its normalizer, the DCG of the ideal ranking, is NP-hard to compute, so in practice it is computed by a greedy algorithm, and the result is then only an approximation of the ideal.
Definition
Input. A ranking of distinct documents for a query, a set of nuggets of the query, judgments that say whether document contains nugget , a parameter and a cutoff . A document that is not judged contains no nugget.
Gain. Let be the number of documents above rank that contain nugget . The gain at rank is
The first document with nugget gets 1 for it, the second gets , the third , and so on. One reading: each earlier document with the nugget satisfies the need for it with probability , and the gain is the probability that the need is still open.
Discounted gain. , with the discount of nDCG.
Ideal ranking. Clarke et al. define the ideal ranking as one that maximizes the cumulative gain at every depth , and as its discounted gain. Computing it is NP-hard (see below), so they compute it greedily: at each rank, put the document with the largest gain given the documents already placed, and break ties arbitrarily.
The measure.
It is undefined when no judged document contains a nugget, as nDCG is. With no repeat is discounted, every document gets one unit for each nugget it has, and alpha-nDCG is standard nDCG with the number of nuggets of a document as its grade. With only the first copy of each nugget counts, and is the number of nuggets covered by the top .
The ideal ranking is NP-hard
Claim 1. For , deciding whether some ranking reaches , that is, whether documents cover all nuggets, is NP-complete.
Proof. Clarke et al. reduce from vertex cover. Given a graph and a number , make one document for each vertex and one nugget for each edge, and let a document contain the nuggets of the edges at its vertex. With , of a ranking is the number of edges touched by its top vertices, so it equals exactly when those vertices form a vertex cover of size . Membership in NP is clear: a ranking is a certificate that can be checked in polynomial time.
So an algorithm that computes the ideal ranking of the definition in polynomial time would decide vertex cover, and the problem is NP-hard. An ordering that maximizes CG at every depth at once need not even exist: the counterexample below has a different best set at depth 1 and at depth 2.
The greedy normalizer
Claim 2. Let come from the greedy ranking, with any tie rule. Then for every ranking, . So the reported alpha-nDCG is at most , and it can be larger than 1.
Proof. depends only on the set of the top documents: , where is the number of documents of with nugget . Adding to adds , which is the gain of at the next rank. This added value never grows as grows, so is monotone and submodular. The greedy ranking adds at each rank the document of largest gain, so its top is the greedy solution for documents, and the Nemhauser-Wolsey-Fisher theorem gives , where is the largest value of any ranking at depth . Now write and . Summation by parts gives , with coefficients at least 0 because decreases. So for every ranking, .
Clarke et al. write that if no ties occur, the greedy approach computes the ideal gain vector, and that a run which beats the approximation when ties occur would be credited with an ideal result. The first part does not hold, as the second counterexample below shows. The greedy value is a good normalizer in practice, but a value above 1 is possible with or without ties.
Examples and non-examples
A worked example with
This is the example of Clarke et al. Ten documents a to j are ranked in that order, and six nuggets 85.1 to 85.6 are judged:
| Rank | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| Document | a | b | c | d | e | f | g | h |
| Nuggets | 85.2, 85.4 | 85.2 | 85.2 | none | 85.1, 85.6 | 85.1 | 85.3 | 85.1 |
| 2 | 0.5 | 0.25 | 0 | 2 | 0.5 | 1 | 0.25 | |
| 2 | 2.315 | 2.440 | 2.440 | 3.214 | 3.392 | 3.726 | 3.804 | |
| 2 | 3.262 | 3.762 | 3.977 | 4.171 | 4.260 | 4.343 | 4.343 | |
| -nDCG | 1 | 0.710 | 0.649 | 0.614 | 0.771 | 0.796 | 0.858 | 0.876 |
Documents i and j contain no nugget. Document b repeats 85.2 once, so it gets , and c repeats it twice, so it gets . The greedy ideal ranking is a, e, g, b, f, c, h, with gains 2, 2, 1, 0.5, 0.5, 0.25, 0.25. Here a and e tie at rank 1 and the tie is broken by name. For this example a search over all orders of the seven documents with nuggets shows that the greedy values are the best at every depth.
With the gains of the run are 2, 1, 1, 0, 2, 1, 1, 1, and -nDCG[8] is 0.932: the three copies of 85.2 in a row cost nothing. With the gains are 2, 0, 0, 0, 2, 0, 1, 0 and -nDCG[8] is 0.826.
Ties broken badly
Let , and let d1 contain t1 and t2, d2 contain t1 and t3, and d3 contain t2 and t4. All three tie with gain 2 at rank 1. If the tie rule picks d1, then d2 and d3 tie with gain 1.5 at rank 2, and the greedy . The ranking d2, d3 covers four new nuggets and has , so its alpha-nDCG[2] is 1.107.
No ties, and still not ideal
Let , with nuggets 0 to 7, d1 containing 0, 2, 3, 5 and 7, d2 containing 0, 4, 6 and 7, and d3 containing 1, 2, 3 and 5. At rank 1 the gains are 5, 4 and 4, so greedy picks d1 with no tie. At rank 2 the new nuggets of d2 are 4 and 6 and those of d3 are 1, so greedy picks d2, again with no tie, and . The ranking d2, d3 covers all eight nuggets: , and its alpha-nDCG[2] is 1.042. No ranking maximizes CG at both depths: depth 1 needs d1 first, and depth 2 needs d2 and d3.
Non-examples
- nDCG with the number of nuggets as the grade. That is the case , and it gives no credit for diversity.
- An intent-aware measure such as NDCG-IA of Agrawal et al., which computes nDCG for each subtopic and averages the values with the probability of each subtopic. It weights the subtopics but has no discount for repeats inside one subtopic list. See search result diversification.
- Alpha-nDCG with the ideal taken from the run's own documents. As for nDCG, the ideal must come from all judged documents.
Related definitions
- nDCG is the case .
- The greedy ideal is the greedy algorithm for maximum coverage when , and the hardness is the hardness of vertex cover and set cover.
- Expected reciprocal rank also lets the documents above lower the worth of a document, through the probability that the user has already stopped. Averaged over subtopics it gives an intent-aware measure of diversity.
- Search result diversification is the ranking problem that alpha-nDCG evaluates.
Claims 1 and 2 are proved. That alpha-nDCG matches what users of ambiguous queries want is a question of measurement; Clarke et al. apply it to the question series of the TREC 2006 question answering track. The value of must be reported with the results.
References
- Charles L. A. Clarke, Maheedhar Kolla, Gordon V. Cormack, Olga Vechtomova, Azin Ashkan, Stefan Büttcher and Ian MacKinnon, Novelty and diversity in information retrieval evaluation, SIGIR 2008, the model of documents and needs as sets of nuggets and the gain with parameter alpha; Section 5.1 (the ideal ordering, the proof that computing it is NP-complete by a reduction from vertex cover, and the greedy approximation with ties broken arbitrarily); Section 5.2 (alpha-nDCG, and the case alpha = 0); Section 6 (the TREC 2006 question answering data)
- George L. Nemhauser, Laurence A. Wolsey and Marshall L. Fisher, An analysis of approximations for maximizing submodular set functions I, Mathematical Programming 14, 1978, pp. 265-294, the greedy bound 1 - 1/e for monotone submodular maximization under a cardinality constraint
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag 1G955M Edit this page History Report an error Markdown