﻿# How can ignoring tied scores change a retrieval benchmark?

A practical investigation of how can ignoring tied scores change a retrieval benchmark?, with explicit observations, control cases and evidence limits.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/field-bench-ndcg-ignore-score-ties/
Language: en

## The comparison being tested

A retriever exports rounded relevance scores and an evaluation script enables ignore_ties for speed. Many documents now share a score, including candidates around the ranking cutoff. An aggregate metric changes when the export order changes even though document identities, judgments and score values do not. The issue is the evaluator’s ranking contract, not evidence of an improved retrieval model.

## The confounding mechanism

Scikit-learn documents ignore_ties as an assumption that predicted scores have no ties. Its NDCG examples show that ignoring ties when they exist can give incorrect results; the default calculation averages tied rankings. Quantization, rounding or a constant fallback score can introduce equal values even when an upstream model originally emitted continuous outputs. Inspect the values actually consumed by evaluation.

## Fix the experimental contract

Define the candidate universe, query and document identities, relevance gains, cutoff and tie convention before comparing systems. Preserve unrounded values if available and record export transformations separately. A deterministic secondary sort key can define a delivered ranking, but that is a chosen policy rather than evidence of relevance. Distinguish evaluating that delivered ranking from averaging the possible orderings of tied scores.

## A step-by-step comparison

First count tied score groups in each query’s evaluator input, especially groups crossing the cutoff. Next create a small fixture with equal predicted scores and unequal known relevance. Reorder only the corresponding candidate columns while keeping scores aligned with judgments. Compare the configured evaluation with its declared tie policy. Restore production inputs and check whether the supposedly tie-free shortcut’s premise actually holds.

## Evidence required for the result

Retain score precision, candidate order, alignment checks, evaluator version and per-query results alongside the aggregate. Acceptance requires the control to behave according to the selected policy and the report to expose how many queries contain relevant ties. Keep unavailable judgments separate from equal predicted scores: tie handling cannot convert an unjudged passage into a verified negative or repair a broken identifier join.

## Interpretation and limits

A tie-aware metric does not validate the relevance labels, candidate completeness or statistical significance of a difference. Conversely, a deterministic serving order can be useful without being the correct convention for every benchmark. This proposed audit does not produce a new retriever ranking. It prevents an unsupported no-ties assumption or accidental export order from silently deciding the reported metric.

## Primary references and related reading

A no-ties optimization is valid only after checking the actual score representation supplied to the evaluator. [scikit-learn NDCG tie handling](https://scikit-learn.org/stable/modules/generated/sklearn.metrics.ndcg_score.html); [scikit-learn discounted cumulative gain](https://scikit-learn.org/stable/modules/generated/sklearn.metrics.dcg_score.html).

The proposed investigation of ndcg ignore score ties is not an executed deployment benchmark. Related reading: [BEIR qrels: an unjudged passage is not a verified negative](/journal/beir-qrels-unjudged-retrieval-evaluation/); [Why dual-encoder and cross-encoder scores use different scales](/journal/dual-crossencoder-score-calibration/).
