Definitionadvanced
Rank-biased precision
The expected rate of relevant documents seen by a user who goes on from each rank with persistence probability p.
Rank-biased precision (RBP) scores a ranking by a model of a user who always looks at the first document and then, after each document, goes on to the next one with a fixed probability , called the persistence. RBP is the expected number of relevant documents the user sees, divided by the expected number of documents the user looks at, which is . Moffat and Zobel proposed it in 2008. It has two features that most measures lack: it does not need the number of relevant documents of the query, and when some documents are not judged it gives a bound, the residual, on how much the value could still change.
Definition
Input. A ranking of distinct documents, judgments that give each document a gain , and the persistence . With binary judgments, is 1 for a relevant document and 0 otherwise. Graded judgments fit by a gain such as . A document that is not judged has gain 0 in the base value. Write , and let the run have documents.
The user. The user examines rank 1. After examining rank , the user goes on to rank with probability and stops with probability . So the user examines rank with probability , and the number of documents examined has a geometric distribution with mean . A user who goes past the end of the run sees nothing more.
The measure.
The weight of rank is . The weights of all ranks sum to 1, and the weight of a rank does not depend on the documents at other ranks.
Residual. Let the run be judged to depth , with the set of ranks whose documents are not judged. The ranks in and the ranks below can add at most
So the true value lies in , and RBP is reported as a base value and a residual. If the run ends at rank , the term is replaced by 0, since there are no more documents to judge.
Choice of . The persistence fixes how deep the user reads: gives an expected depth of 2, gives 5 and gives 20. A report must give , because values with different cannot be compared.
No relevant documents. RBP has no normalization, so a query with no relevant document has RBP 0, and the value is defined.
Ties. Tied scores must be broken by a fixed rule before RBP is computed. This area orders by score descending, then by document id ascending. trec_eval orders tied documents by document number in reverse lexical order.
Properties
Claim 1. , where the user stops after rank with .
Proof. The user sees rank exactly when , which has probability . So the expected gain seen is , and . Their ratio is RBP.
This is a ratio of expected values. The expected precision at the stop depth, , is a different number, as the examples show.
Claim 2. , and the upper bound is reached when all documents have gain 1.
Proof. Each gain is in , so the sum is between 0 and .
Claim 3. For every assignment of gains in to the unjudged documents and to documents below depth , the value lies between RBP and RBP plus the residual.
Proof. Each of these documents adds with , so it adds at least 0 and at most . The ranks below add at most .
Examples and non-examples
The fixed run on the toy collection
Query q1 "sorted array search" has the judgments d1 grade 2, d2 grade 1 and d8 grade 1. With the gain and the tie rule of this area, the fixed run 1, 6, 8, 2, 4 has gains 1, 0, 0.5, 0.5, 0.
| Rank | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| Document | d1 | d6 | d8 | d2 | d4 |
| Gain | 1 | 0 | 0.5 | 0.5 | 0 |
| Weight at | 0.2 | 0.16 | 0.128 | 0.1024 | 0.08192 |
| Term | 0.2 | 0 | 0.064 | 0.0512 | 0 |
So . For other values of : and . A shallow user gives most of the weight to d1 at rank 1; a deep user spreads it over many ranks, and the run has only five documents.
With binary gains, so that d1, d2 and d8 have gain 1, .
Ties change RBP
trec_eval reads the same scores as the order 6, 1, 8, 4, 2, with gains 0, 1, 0.5, 0, 0.5. Then .
The residual
Say the run goes on below rank 5 with documents that are not judged. With all five top documents judged, the residual at is , so the true value is in . If d6 at rank 2 and d4 at rank 5 are also not judged, the residual is , and the value is in . At the residual for depth 5 is , much larger than the base 0.0940, so a deep user needs judgments much deeper than 5.
Rate, not expected precision
For the fixed run at , the expected precision at the stop depth is , while RBP is 0.3152. The first is the mean of a ratio, RBP is a ratio of means.
The best value depends on the query
Query q3 "rank documents" has one relevant document, d7, with grade 2 and gain 1. The best ranking puts d7 first and has . A query with many relevant documents can score close to 1. RBP is an absolute measure of what the user gets, not a fraction of the best possible value, so values of different queries mean different things.
Query q4
q4 "quantum circuit" has no relevant document, and for every run.
Non-examples
- RBP with judgments only to depth and no residual. The base value treats every document that is not judged as not relevant, which favours runs that retrieve the judged documents, such as the runs that formed the pool.
- divided by its value for the ideal ranking. This normalized form needs the gains of all relevant documents, so it loses the property that RBP does not depend on them.
Related definitions
- Precision at k gives the first ranks the weight each and the others 0. RBP replaces the step by a geometric decay.
- Expected reciprocal rank has a stop probability that depends on the document. In RBP the user goes on with the same at every rank.
- In the C/W/L framework, RBP is the metric whose continuation probability is at every rank, which does not depend on the gain. Its expected depth is , and its expected rate of gain is RBP. For the example topic of the cwl_eval paper, with gains 0, 0, 0.2, 0.4, 1, 0.2, 0, 0, 1, 0, 0, 0.4, 0, 0, 0, RBP at is 0.1287 and the expected depth is 2.5.
- nDCG also has weights that fall with the rank, but it is normalized by the ideal ranking.
- bpref and inferred average precision handle documents that are not judged by changing the measure. RBP keeps the measure and reports the residual instead.
Claims 1 to 3 are proved and hold for every ranking. The value of that matches real users is a question of measurement, not of proof. A claim that one system has a higher mean RBP than another needs a paired test over the queries, such as the Wilcoxon signed-rank test or a permutation test, and a large residual can make the comparison meaningless.
References
- Alistair Moffat and Justin Zobel, Rank-biased precision for measurement of retrieval effectiveness, ACM Transactions on Information Systems 27(1), Article 2, 2008, pp. 2:1-2:27, the user model with persistence p, the definition of RBP, and the residual that bounds the effect of documents that are not judged or not ranked
- Leif Azzopardi, Paul Thomas and Alistair Moffat, cwl_eval, an evaluation tool for information retrieval, SIGIR 2019, pp. 1321-1324, RBP as a C/W/L metric with a continuation probability that does not depend on the gain, and the values for RBP with p = 0.6 on the example topic in Table 2
Where this leads
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 56MWH6 Edit this page History Report an error Markdown