MRR and nDCG: How to score position and hierarchy correlation

The search results must contain not only relevant materials but also essential evidence.

• Step by stepCollate in 2 self-measured2 First-hand sources
Start Body
Learning objectives and first steps2 objectives . 1 first fix

Try to do it after reading

  • Explains the mechanisms and prerequisites for how MRR and nDCG are related to location and hierarchy
  • Positioning the mechanism ' s fault limits with fixed examples

Suggested first

  • Sort & logarithmic discounts

Issues and mechanisms

The search results must contain not only relevant materials but also essential evidence. MRR is concerned with the penultimate number of the first relevant entry and is suitable for some tasks that require only one answer; nDCG can give returns to different levels of relevance and discount the position at the back. Indicator selection should be used in a manner that does not treat first hits as a multi-evidence combination of quality.

MRR first gets the first relevant ranking for each issue, hits zero as agreed, then averages. nDCG calculates the accumulated gain from the discount and divides it by the desired ranking benefit within the evaluation depth on the same subject. The benefit map is often linear or indexed and must be described. The associated labels, cut-off depths and handling by the Peace Bureau all affect the outcome and cannot be used for just one indicator.

A concrete example

The first relevant question is synthesized in the third place, with the penultimate ranking of one third. If the other one hits first, the two questions MRR is two-thirds. For grade-related purposes, the learning proceeds are set directly at [3,1], the first discount at log II and the second discount at DCG at about 3.630930. The exchange received approximately 2.892789, after the desired value of 0.796708, reflecting the penalty for the high yield.

Borders and checks

The direct gain is used here instead of the relevant tier of the second, and the value changes after the map change.

The ideal denominator is zero in the absence of the relevant entry and the issue needs to be explicitly addressed. High indicators also do not support references, and models may still ignore evidence. The comparative searcher should fix the same mark and depth and look at each issue differently, without interpreting the excess fluctuations caused by random candidate changes as general progress.

A method of verification

When sorting indicators manually, the desired list should be arranged from the top to the bottom of the income and then used at the same depth and discount as the actual list. If multiple items are marked together, the flat order may not change the desired return, but the first relevant indicator is still to be processed in output order. Unfinished, duplicated documents and items of unknown relevance require predefined rules; It is not possible to choose which rules to choose after seeing the system lose or lose, or to compare indicators at different depths.

Check understanding

Would MRR reward the second and third relevant evidence more advanced?

These follow-up gains are not directly counted when only the first relevant location is considered. Multi-evidence tasks therefore often require additional coverage or sorting of indicators.

The different profit maps of nDCG can be directly compared without any indication?

Can't. The function of the hierarchy label to the benefit changes the preference and the scale and should be fixed to map, depth and label the protocol.

Sources and reconciliations

Definitions, methods and interfaces are available.

  1. BEIR — A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Models
  2. Cormack et al. — Reciprocal Rank Fusion

Figures and calculations are reorganized according to this chapter. Mathematical measurements, framework operations and real business effects are described separately in the body of the text.

← Back to the knowledge directory
Ask Max Ask about this site
Ask Max ↗

Opening the assistant…

Paper figure

Photo comments

LEAVE A NOTE

About this photograph

Connecting to the discussion board…

    Comments become public after moderation. You can delete your own comments from this browser.
    No email is required. Clearing cookies prevents this browser from claiming earlier comments.

    MAX WANG / INDEX

    Find something

    Enter a keyword, or explore the directory below.