Reliability and generalizability
Reliability is the stability of a measurement across legitimate replications. It is necessary for validity and never sufficient: a perfectly repeatable evaluator can reliably measure the wrong construct. Measuring it starts with a declaration of what may legitimately vary, because the claim, not the data, decides which variation is error.
Reliability is not validity#
Reliability asks whether measurements are stable across legitimate replications; validity asks whether they support the interpretation you draw. The two come apart in both directions. A deterministic string matcher is perfectly repeatable and can still be an invalid measure of semantic correctness. An evaluator can be unbiased on average and still noisy enough that model rankings flip across runs, failing the practical requirement of a stable decision instrument.
Measurement theory states the asymmetry plainly: reliability is a necessary condition for validity, never a sufficient one, and optimizing for agreement alone can reduce validity when a measurement scheme is simplified until annotators or scores agree (Krippendorff, 2004; Reidsma & Carletta, 2008). Riezler and Hagmann (2024) carry the separation into machine learning: agreement coefficients are descriptive statistics about consistency, validity is a distinct question, and a model can be reliably predictive of an invalid construct.
Four words are easy to collapse, and none is a synonym for another:
| Word | The question it answers |
|---|---|
| Validity | Does the score support the intended interpretation and use? |
| Reliability | Are scores stable across legitimate replications? |
| Precision | How uncertain is this particular estimate? |
| Calibration | Do probabilistic scores correspond to observed frequencies? |
A confidence interval measures precision. It is not evidence of validity, or of reliability in the broad sense.
Specify the replication universe#
Reliability is meaningless until you say what is allowed to vary; psychometric standards require identifying the domain of legitimate replications (AERA, APA & NCME, 2014). For an agent evaluation, the replication universe can include task instances or alternate task forms, rollout seeds, the judge model and judge seed, human raters, tool latency and transient errors, simulated-user realizations, environment snapshots, retrieval index builds, harness versions, generator families, and time.
The intended claim decides which of these count as measurement error and which are part of what is being measured. If the product will face random tool failures in deployment, tool-failure variation may belong to the target environment rather than being noise to eliminate; if the benchmark compares model policies independent of infrastructure, the same variation may need to be controlled. One way to make the decision explicit is to classify every variable that can change without a model change as a controlled condition, legitimate target-environment variation, or measurement error.
For the claim of DocsAgent, the documentation agent of Case G — procedurally correct, grounded answers to help requests within the supported product corpus — one illustrative classification looks like this:
| Variable | Classification | What to do |
|---|---|---|
| Which help request is asked | Legitimate variation: the population the claim covers | Sample it from production query clusters |
| Rollout seed | Legitimate variation: deployment is stochastic too | Repeat rollouts where the decision is unstable |
| Judge call on the same answer | Measurement error | Estimate it; reduce it with repeated calls or adjudication |
| Judge model, prompt, and settings | Controlled condition | Freeze and version them; recalibrate on change |
| Documentation version | Legitimate variation if the claim covers the corpus as it changes; controlled if it covers one release | Sample versions, or pin one and narrow the validity domain |
| Retrieval index build | Controlled condition | Pin and record it |
| Transient tool errors | Legitimate variation if deployment sees them; controlled for a model comparison | Decide, and record the decision |
Four reliability studies#
Four practical studies probe the main facets:
| Study | What varies | What to report |
|---|---|---|
| Test-retest, or repeated rollouts | Rollouts of the same system on the same tasks, under legitimate stochasticity | Score variance and decision consistency |
| Alternate form | Task forms sampled or generated independently from the same blueprint | Whether rankings stay reasonably stable, if the claim is about a broad construct |
| Inter-scorer | Human raters, LLM judges, or formal and effect-based graders, where they overlap | Confusion matrices or agreement, not one correlation |
| Environment version | Environment snapshots that should be equivalent | Whether rankings swing |
The validation plans of Cases C and G use three of them. SQLAgent, the text-to-SQL agent of Case C, runs multiple rollouts for ambiguous and multi-step tasks, with tasks treated as clusters, and checks whether rankings hold across alternate database snapshots that preserve schema semantics; DocsAgent validates its learned judges against double-labeled SME examples.
Inter-rater agreement answers one narrow question: do qualified graders assign similar scores? It is not the reliability of the whole eval. A benchmark can have perfect inter-rater agreement and unstable model scores, because tasks are heterogeneous or agent rollouts are flaky. Where a chance-corrected coefficient is wanted, Cohen's κ is standard but depends on prevalence, so report the confusion matrix and TPR and TNR with it, and state the prevalence; The judge as a noisy sensor shows the size of the effect.
The environment-version study guards against a quieter failure. If rankings swing because a website changed, the benchmark is measuring infrastructure drift. Snapshots and recorded fixtures make the study possible; Harness architecture and reproducibility covers them.
Variance components and generalizability#
Generalizability theory replaces a single agreement coefficient with a decomposition of variance (Brennan, 2001). Write the score of one trial as
where:
- is the score of system on task , in rollout , graded by judge , in environment snapshot ;
- is the grand mean, and is the system's own effect, the object of measurement;