﻿# Why dual-encoder and cross-encoder scores use different scales

Dense-retrieval similarities and cross-encoder scores have different scales and objectives. Learn why ranking, probability calibration and score fusion require separate validation.

Author: Retrivium editorial team
Updated: 2026-11-03
Canonical URL: https://retrivium.ai/journal/dual-crossencoder-score-calibration/
Language: en

A retrieval pipeline can produce a vector similarity, a reranker logit and an apparent probability for the same document. These numbers describe different computations. Comparing their raw magnitudes or averaging them without validation can introduce an arbitrary weighting rule. Score interpretation begins with the objective and candidate set that produced each number.

## Ranking depends on order rather than absolute units

A strictly increasing transformation of a score preserves its candidate ordering while changing its numerical scale. This simple fact shows why ranking quality does not establish a probability interpretation. A dual encoder’s dot product or cosine similarity is a declared geometry; a cross-encoder head may have a different loss and output range. Their values can order documents usefully without being directly comparable. State whether the application needs a rank, a threshold decision or a probability estimate, because these are different validation requirements.

## Normalization is conditional on its candidate set

Softmax over retrieved candidates produces values that sum to one for that set. Adding another candidate changes the denominator and can change every normalized value even if existing raw scores remain fixed. Such a value is not automatically the probability that a document is relevant in the entire corpus. Similarly, a sigmoid applied to a logit gives a bounded number but does not by itself prove calibration. The learned objective, sampling policy and evaluation distribution determine whether a probability interpretation is justified.

## Calibration compares predicted confidence with outcomes

For a declared relevance event and evaluation population, calibration asks whether observed outcomes agree with predicted probabilities across confidence groups. A model can rank well and be systematically overconfident. Fit any calibration mapping on suitable held-out data and assess it on separate evaluation data under the intended deployment distribution. This is an application of calibration methodology, not a claim that one universal mapping transfers across corpora and query languages. Preserve the relevance definition because changing what counts as a positive changes the event being calibrated.

## Validate fusion as its own scoring model

Imagine combining dense similarity with a reranker score. An unvalidated average implicitly sets relative weights according to accidental units. Treat the fusion rule as a model choice: document transformations, fit or choose weights with an appropriate protocol, and evaluate ranking and decisions separately. Inspect failure cases where the stages disagree. This makes a multi-stage pipeline reproducible and prevents a larger raw number from being mistaken for stronger evidence. The practical goal is an explicit score contract matched to the application, not cosmetic normalization that merely makes numbers look similar.

## Primary research and implementation references

- [Dense Passage Retrieval for Open-Domain Question Answering](https://arxiv.org/abs/2004.04906).

- [Sentence-BERT: Sentence Embeddings Using Siamese BERT-Networks](https://arxiv.org/abs/1908.10084).

- [On Calibration of Modern Neural Networks](https://arxiv.org/abs/1706.04599).

## Related engineering context

[Reproducible inference stacks: preserving a GPU pilot’s result](/journal/software-stack-reproducibility/); [A GPU inference benchmark you can trust](/journal/inference-benchmark-method/).
