Paired Comparison

A paired comparison evaluates two systems on the same evaluation units and analyzes the per-unit difference. It is often stronger than comparing two independent aggregate scores because it removes variation from example difficulty.

For paired examples :

is the per-example score for model . The mean paired effect is:

The uncertainty should be estimated over the correct paired unit: example, scaffold, protein family, target, document, user, prompt group, or benchmark case.

When To Use

  • Two models are evaluated on the same test examples.
  • A paper claims model improves over baseline .
  • Per-example scores or predictions are available.
  • The benchmark has heterogeneous difficulty.
  • A bootstrap or significance test should estimate uncertainty in directly.

Pairing Unit

The pair should be the smallest unit that is independent enough for the claim:

DomainSafer Paired UnitRisk If Too Small
classification/regressiontest example or grouped exampleduplicates inflate evidence
retrieval/rankingquerycandidate-level resampling breaks query structure
molecule tasksscaffold group, assay source, or molecule depending on claimanalog series dominate
protein tasksprotein family, target, or complex grouphomologs act like repeated evidence
generationcondition, prompt, target, or seed batchcherry-picked samples dominate
agent/tool workflowstask instance or user requestrepeated attempts on one task inflate success

Paired Bootstrap

Use the same resampled indices for both models:

The distribution of estimates the uncertainty of the improvement.

For grouped data, resample groups and keep all members inside a selected group:

where is the group for example . This is often more honest for scaffold, protein-family, target, prompt, or dataset-source comparisons.

Interpretation

ResultInterpretation
large and interval excludes zerostronger evidence of improvement under the tested population
large but interval widepromising but benchmark is too small/noisy
small but statistically stablereal difference may be practically irrelevant
aggregate improves but subgroup regressesclaim must be narrowed or failure mode reported
only best seed/checkpoint comparedpaired comparison is contaminated by model selection

Checks

  • Are the two models evaluated on the exact same examples?
  • Is the resampling unit independent enough for the claim?
  • Are invalid outputs and missing predictions handled identically?
  • Is the reported interval for the difference, not only separate intervals for each model?
  • Are subgroup effects inspected when the mean improvement is small?
  • Is the direction of the metric fixed so positive always means better?
  • Are ties, failed predictions, invalid generations, and abstentions included consistently?
  • Was the final test set untouched until after selecting model, threshold, prompt, and checkpoint?