Inferensys

Glossary

Graded Relevance

A multi-level relevance judgment scheme that assigns ordinal scores to query-document pairs, enabling nuanced evaluation with metrics like NDCG.
AI evaluator reviewing output quality on laptop, comparison metrics visible, casual evaluation session.
EVALUATION METHODOLOGY

What is Graded Relevance?

Graded relevance is a multi-level judgment framework that assigns ordinal scores to query-document pairs, enabling nuanced evaluation of ranking quality beyond binary metrics.

Graded relevance is an evaluation schema where human assessors assign ordinal relevance scores—such as irrelevant (0), marginally relevant (1), relevant (2), or perfectly relevant (3)—to documents for a given query. This replaces binary judgments with a multi-level relevance scale that captures degrees of usefulness, enabling metrics like Normalized Discounted Cumulative Gain (NDCG) to reward systems that rank highly relevant documents above partially relevant ones.

The framework underpins modern learning-to-rank training data, where graded labels provide richer supervision signals than binary clicks. By distinguishing between partially relevant and authoritative content, graded relevance allows cross-encoder re-rankers and LambdaMART models to learn fine-grained preference functions that align with nuanced user information needs rather than simplistic relevant/not-relevant distinctions.

MULTI-LEVEL JUDGMENT

Core Characteristics of Graded Relevance

Graded relevance moves beyond binary relevant/not-relevant judgments by assigning ordinal scores to query-document pairs, enabling nuanced evaluation with metrics like NDCG.

01

Ordinal Judgment Scales

Assigns multi-level scores (e.g., 0-4) to documents rather than binary labels. Common scales include:

  • 0: Irrelevant
  • 1: Marginally relevant
  • 2: Relevant
  • 3: Highly relevant
  • 4: Perfectly authoritative This captures the reality that some documents are more useful than others, enabling metrics to reward systems that rank highly relevant documents above merely relevant ones.
02

NDCG Optimization Target

Graded relevance is the foundational input for Normalized Discounted Cumulative Gain (NDCG), the dominant listwise ranking metric. NDCG uses the ordinal scores to:

  • Compute discounted cumulative gain by applying a logarithmic position discount
  • Normalize against the ideal ranking (IDCG) to produce a 0-1 score
  • Heavily penalize systems that place highly relevant documents low in the ranked list
03

Judgment Collection Methods

Graded labels are typically gathered through:

  • Expert annotators: Domain specialists assign scores following detailed guidelines with examples for each level
  • Crowdsourcing: Platforms like Amazon Mechanical Turk with quality control mechanisms and inter-annotator agreement checks
  • Implicit signals: Deriving pseudo-grades from click-through rates, dwell time, or conversion events
  • LLM-as-a-Judge: Using large language models prompted with the grading rubric to automate assessment at scale
04

Inter-Annotator Agreement

Measuring consistency between human judges is critical for label quality. Common metrics include:

  • Cohen's Kappa: Measures agreement beyond chance for two raters
  • Fleiss' Kappa: Extends agreement measurement to multiple raters
  • Weighted Kappa: Accounts for the ordinal nature of grades, penalizing larger disagreements (e.g., 0 vs 4) more severely than adjacent grades (e.g., 2 vs 3) Low agreement signals ambiguous grading guidelines or insufficient annotator training.
05

Gain Discounting in Evaluation

The 'discount' in NDCG reflects that users are less likely to examine documents deeper in the ranked list. The standard discount function is:

  • 1 / log₂(rank + 1): Position 1 gets full gain, position 2 gets ~0.63, position 10 gets ~0.29 This models position bias in user behavior and ensures that metrics reward systems that surface highly relevant documents early, where they have the greatest impact on user satisfaction.
06

Binary vs. Graded Distinction

Binary relevance collapses all useful documents into a single category, treating a tangentially related page identically to a definitive answer. Graded relevance enables:

  • Precision at multiple thresholds: Measure precision@k for 'highly relevant' vs 'any relevance'
  • More discriminative evaluation: Systems that rank authoritative sources above merely topical ones receive higher scores
  • Realistic user modeling: Reflects that information needs exist on a spectrum from navigational to fully informational
RELEVANCE JUDGMENT SCHEMES

Graded Relevance vs. Binary Relevance

A comparison of multi-level ordinal relevance assessment against simplistic relevant/non-relevant binary judgments in information retrieval evaluation.

FeatureGraded RelevanceBinary Relevance

Judgment Scale

Ordinal (e.g., 0-4)

Nominal (0 or 1)

Granularity

Multi-level

Single-level

Captures Partial Relevance

Supports NDCG Evaluation

Primary Metrics

NDCG, ERR

Precision, Recall, MAP

Discounted Positional Gain

Annotation Complexity

Higher

Lower

Inter-Annotator Agreement

Lower (Kappa < 0.7)

Higher (Kappa > 0.9)

GRADED RELEVANCE

Frequently Asked Questions

Explore the nuances of multi-level relevance judgments and how they enable precise ranking evaluation beyond binary metrics.

Graded relevance is a multi-level judgment scheme that assigns ordinal scores to query-document pairs, capturing degrees of usefulness rather than a simple relevant/not-relevant binary. While binary relevance treats all relevant documents equally, graded relevance distinguishes between perfect, highly relevant, relevant, and marginally relevant content. This nuanced labeling is essential for evaluating modern search and recommendation systems where users care deeply about the order of results. For example, a document directly answering a complex technical question might be scored 3 (Perfect), while a tangentially related article gets a 1 (Marginally Relevant). This scheme powers sophisticated evaluation metrics like Normalized Discounted Cumulative Gain (NDCG), which heavily penalizes highly relevant documents buried low in the rankings. Binary metrics like Precision@k cannot distinguish between a top-10 list full of perfect answers and one full of barely useful links, making graded relevance the standard for training Learning to Rank (LTR) models.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.