AutoMetrics

Thumbs up and thumbs down are cheap. A scoring rule for them is not. AutoMetrics builds one from under 100 labels: on product descriptions it reaches Kendall τ 0.334 where an LLM judge reaches 0.161.

Choose which of eight candidate metrics join the evaluator. Watch it match your 20 thumbs, then 200 new outputs. Then we build the four steps, one chapter each.

You need a feel for thumbs up and down labels and a little Python. We teach rank correlation and regression from zero.

Based on AutoMetrics: Approximate Human Judgments with Automatically Generated Evaluators (arXiv 2512.17267, 2025) by Michael J. Ryan, Yanzhe Zhang, Amol Salunkhe, Yi Chu, Di Xu and Diyi Yang. It is a reading for Stanford CS 329Z, Engineering AI Agents: see Lecture 15, LLM as a Judge and the course site. The ideas are re-taught here in our own words and devices.

Pick the metrics

Generated for the task Existing metrics

Illustrative: we simulated the 20 labelled outputs, the 200 new ones and all eight metric scores. The five names come from Figure 1 of the paper. The fit is the paper’s one-component PLS (Section 3.1). The two reference lines are from Table 2 (EvalGen, GPT-4o-mini).

Chapter 0

Thumbs, Not Rubrics

See why a team with only thumbs cannot use the usual evaluators, and what AutoMetrics does instead

You ship a travel planner. Users tap thumbs up or thumbs down on each plan. On Monday you change the prompt. On Tuesday you ask: did it get better?

Three usual answers fail here. Reading every plan takes hours. A reward model, a network trained to score outputs, typically needs thousands of labels. An LLM judge scores with a rubric, but you must already know what the rubric should say. Thumbs do not name the criteria.

AutoMetrics starts from the labels you have. A metric is a function that turns one output into one number. The method writes many candidate metrics, scores every labelled output with each, and learns a weighted sum that predicts the thumbs. The paper asks for fewer than 100 labels.

Count your labels

Pick how many labelled outputs you have. Bars light up where an evaluator works.

Edges follow the paper’s words: “thousands of labels” for reward models (Section 1) and a plateau near 80 labels (Section 4.6). They are not measured cut-offs.

Figure 1 shows the result for product descriptions: five metrics with weights 26.3, 23.6, 19.9, 15.3 and 14.9 percent. They add to 100.0. A z-score is the distance from a metric’s average, in standard deviations. Take a new description with z-scores +1.0, +0.5, 0, −0.5 and +1.0.

0.263(1.0) + 0.236(0.5) + 0.199(0) + 0.153(−0.5) + 0.149(1.0) = 0.454

We treat the percentages as weights to show the idea. The paper derives them from regression coefficients.

SymptomThe judge score climbs after every prompt edit. The thumbs-up rate stays flat.
MeasureKendall τ between the judge score and the thumbs, on about 80 labelled outputs.
FixBuild the evaluator from those labels, not from a rubric you guessed.

The road

  1. Four steps: the pool shrinks from 65 candidates to a short list.
  2. What you need first: Kendall τ, z-scores and ties.
  3. Generate: four kinds of candidate metric.
  4. Retrieve: MetricBank and metric cards.
  5. Regress: one direction in metric space.
  6. The five tasks: Table 2 against the baselines.
  7. How much data: why eighty labels, and why more metrics can hurt.
  8. A reward, and the gaps: GEPA on τ-bench.
  9. Field guide: numbers, a checklist, the core as code.
Why can a team with only thumbs up and down not use a rubric LLM judge directly?

Chapter 1

Four Steps from Labels to Metric

Follow the pool of candidate metrics as it shrinks to a short, weighted list

Figure 2 of the paper shows four steps.

  1. Generate. An LLM writes candidate metrics from your task description and labelled examples.
  2. Retrieve. Add the 48 metrics of MetricBank, then keep the k most relevant.
  3. Regress. Fit a regression that weights the metrics to predict the labels. Keep the top n.
  4. Report. Write the weights, the correlations and the metric cards.

A metric card is a short document that says what a metric measures and when it fails. Cards let a retriever find metrics for your task. The defaults are k = 30 and n = 5. Generation makes 17 candidates: 10 single criteria, 5 rubrics, 1 examples judge and 1 optimized judge.

Figure 2 shows a final report for travel planning. The five weights are Local Cultural Integration 24.8%, Local Experiences 20.4%, Accommodation Options 19.5%, INFORMRewardModel 17.8% and Specificity and Detail 17.5%. One bank metric, a reward model, made the top five.

Every metric has one interface: it takes an output and returns a score, and optionally a text comment (Appendix B). That makes the metrics interchangeable. This is what flows through the four steps.

StepInOut
Generatetask description, labelled outputs17 metric functions with cards
Retrievetask description, 65 metric cards30 metrics
Regressa table of z-scores (outputs × 30) and the labelsa weight for each of 5 metrics
Reportweights, scores, labelsτ, weights, cards, advice for adoption

Shrink the pool

Press Next step, or pick a stage. Each bar is the number of candidate metrics left.

Counts are the paper’s defaults (Section 3.1, Table 3). If the task has no reference answers, only 19 bank metrics apply and the pool is 36.

Worked number: 17 generated plus 48 bank metrics make a pool of 65. Retrieval keeps 30. Regression keeps 5. That cuts 60 of 65 candidates, or 92%. A last filter drops any generated metric with a negative weight.

SymptomThe report lists three metrics, not five.
MeasureCheck the sign of each dropped metric’s weight.
FixRead the dropped metrics. A negative sign means the metric ran against your labels on this sample. In the paper’s τ-bench case, five became three.
In a default run, how many candidate metrics enter the retrieval step?

Chapter 2

What You Need First

Learn rank correlation, z-scores and ties, the three tools the method uses

You and a friend rank six films. Do your lists agree? Kendall’s τ (tau) answers. Take every pair of films. A pair is concordant if both lists put the same film first. It is discordant if they disagree.

τ
Agreement from −1 to +1. Zero means no relation.
C
Pairs both lists order the same way.
D
Pairs the lists order in opposite ways.
P
All pairs. Six items make 15.

Worked number: 12 pairs agree and 3 disagree, so τ = (12 − 3) ÷ 15 = 0.6. The paper picks τ because it makes no assumption about the score distribution. It is a conservative choice next to Spearman or Pearson.

A z-score puts every metric on one scale: z = (score − mean) ÷ standard deviation. A score of 7 on a metric with mean 5 and standard deviation 2 has z = 1. Now one sum can use all metrics.

The paper checks a metric three ways. Content validity asks if it measures the right thing: the paper shows the judge’s reasoning traces. Criterion validity asks if it matches a reference: τ against human labels. Construct validity asks if it holds up when quality changes: Chapter 6 tests this.

Thumbs bring a problem. All thumbs-up outputs share one label, so their pairs are ties. Ties cut the best possible τ. Try both label types below.

Count the pairs

Lines join each output’s human label (left) to its evaluator rank (right). Crossing lines are disagreements.

Illustrative: six outputs. The paper does not say which τ variant it uses; we show τ-b, which corrects for ties.

SymptomYour best evaluator scores τ 0.7 on thumbs, and you call it weak.
MeasureCount tied pairs. With 3 up and 3 down, 6 of 15 pairs are tied, so a perfect order scores 0.775.
FixCompare τ with the ceiling and with a baseline, not with 1.0.
An evaluator and the human labels agree on 12 of 15 pairs and disagree on the other 3. There are no ties. What is τ?

Chapter 3

Generate: Candidate Metrics from Your Task

Let an LLM propose what separates good outputs from bad ones, in four forms

You hold 80 labelled travel plans and a task description. An LLM reads high-scored and low-scored plans. It proposes the axes that set them apart, such as “fits the budget” or “names local places”. Each axis becomes a metric.

KindWhat it isCostDefault count
Single criterionOne axis. An LLM judge scores it 1 to 5.cheap10
RubricA single criterion plus a written meaning for each score.cheap5
Examples judgeA judge prompt that carries labelled examples.costly1
Optimized judgeMIPROv2 rewrites the judge prompt on your data.costly1

The paper chose this mix after tests in nearly 30 settings (Appendix E.2). Costly kinds need extra LLM calls to build, so the default makes only one of each. Every generated metric also gets a metric card with its description, intended use, implementation and limits. The device compares the eight generators the paper tested.

Compare the generators

Pick a generator. Bars show its average τ over every task and axis in Table 8.

Table 8, Qwen3-32B, averages over 5 runs. Single criterion, Rubric, Examples and MIPROv2 are the four kinds the default run uses.

Worked number: 17 generated metrics times 80 labelled outputs make 1,360 judge calls and an 80 by 17 table of scores. The bank metrics run on top of that. That is our arithmetic, not a figure from the paper.

Symptomτ drops after you swap the judge LLM for a newer one.
MeasureRe-score your held-out labels with the new model.
FixRegenerate the metrics with the new model. The paper reports that metrics made with one model lose performance on another.
Which statement matches Table 8?

Chapter 4

Retrieve: MetricBank and Metric Cards

Search 48 known metrics for the few that fit your task

The pool holds 65 metrics. Running all of them on every output is slow. A retriever picks the ones that fit your task.

MetricBank holds 48 metrics from the NLP literature. 29 need a reference answer and 19 do not. Each has a card with seven sections: details, intended use, implementation, known limitations, related metrics, further reading and authors.

Retrieval treats the cards as documents and your task description as the query. ColBERT, a retrieval model that matches a query to a document token by token, pre-filters the cards. An LLM then picks the final k.

RetrieverNDCG@10Recall@20
BM250.4270.788
ColBERT0.4420.776
LLM only0.4780.641
ColBERT, then LLM0.5280.694

Table 6 (Qwen3-32B recommendations), selected rows. The paper picks ColBERT then LLM because it wins 14 of 16 settings.

The paper also asked which metrics the final evaluators use. Across 25 runs, 103 of 125 recommended metrics came from the generators. Of the 22 existing ones, 20 were reward models (Appendix F.2). The authors suggest the bank could shrink to a few reward models and model-based metrics.

Now the question that matters: does a bigger k help the final evaluator? And do cards help?

Turn the retrieval knobs

Pick a task. Bars show τ for k metrics retrieved, and for 20 without cards.

Table 3, retrieval ablations, Qwen3-32B, regression n = 5, dev sets, mean and 95% CI over 5 runs.

Worked number: on EvalGen at k = 20, cards lift τ from 0.427 to 0.522. The gain is 0.522 − 0.427 = 0.095. Cards help on all five tasks.

SymptomA bigger k lowers τ on a small task. CoGym drops from 0.385 at k = 5 to 0.329 at k = 30.
MeasureCompare several k on your dev set. CoGym has 37 training samples.
FixLower k, or use generated metrics only (Chapter 7).
What do Metric Cards add to retrieval?

Chapter 5

Regress: One Direction in Metric Space

Turn 30 scored metrics into a short weighted sum that predicts the thumbs

You hold 30 metrics. Each is one column of numbers, one score per labelled output. Which weights predict the thumbs?

AutoMetrics uses partial least squares (PLS) with one component. PLS finds the single direction in metric space that moves most with the labels. Then it fits the labels along that direction. It works when metrics outnumber labels and when metrics correlate with each other.

X
Z-scores of the metrics. One row per output, one column per metric.
y
The human labels, one per output.
w*
One weight per metric, with length 1. It points along XTy.
w
A candidate direction. PLS tries them all and keeps the best.
t
The latent score: each output’s weighted sum of z-scores.
β
One slope that stretches t to the label scale: tTy ÷ tTt.

Worked number, four outputs and two metrics. The labels are 1, 0, 1, 0, or +0.5, −0.5, +0.5, −0.5 after centring.

  1. Metric A has z-scores 1.2, −0.8, 0.8, −1.2. Metric B has 0.9, −0.3, −1.5, 0.9.
  2. Raw weights XTy: A gives 2.0 and B gives −0.6.
  3. Scale to length 1: √(4.00 + 0.36) = 2.088, so w = (0.958, −0.287).
  4. Latent score t: 0.89, −0.68, 1.20, −1.41. It ranks the outputs as the labels do.
  5. β = 2.09 ÷ 4.67 = 0.447.

Two stages run. Stage 1 fits all metrics and keeps the n with the largest |weight|. Stage 2 refits on those n. A last filter removes any generated metric with a negative weight, because generators aim for positive correlation. Existing metrics may keep a negative weight: text length can run against conciseness.

Run the two stages

Move n. Bars show each kept metric’s share of the weight. Then see τ on the 20 labels and on 200 new outputs.

5

Illustrative: the same simulated data as the hero. The two stages and the negative-weight filter follow Section 3.1.

Metrics keptSimpEvalHelpSteer2EvalGenRealHumanEvalCoGym
n = 1 (no regression)0.2320.3930.3530.1450.356
n = 5 (default)0.2750.3870.4740.1520.329
n = 200.2680.3500.4980.1530.361

Table 3, regression ablations (k = 30, Qwen3-32B, dev sets). No single n wins everywhere. The paper picks 5 as the cheapest option with low run-to-run variance.

Symptomτ is high on your labels and low on new outputs.
MeasureHold out some labels. The paper’s reports warn when the p-value of a recommended metric exceeds 0.05.
FixLower n, or review the kept metrics by hand.
Why does the final step drop a generated metric with a negative weight, but keep a negative existing metric?

Chapter 6

The Five Tasks

Compare AutoMetrics with five baselines on two backbone models

The paper tests five tasks, two backbone LLMs (GPT-4o-mini and Qwen3-32B) and five runs each. The main tables report one evaluation dimension per task. Two tasks are in distribution: some bank metrics target them (SimpEval, HelpSteer2). Three are out of distribution: no bank metric targets them (EvalGen, RealHumanEval, CoGym).

BaselineWhat it does
Best existing metricRuns all bank metrics. Keeps the best on validation.
MetaMetricsXGBoost regression over a fixed set of metrics.
Finetuned LLMModernBERT-large with a LoRA adapter predicts the label.
LLM judgeThe original annotation prompt, given to an LLM.
DnA-EvalAn LLM picks three dimensions and weights, scores each, and aggregates.
TaskDomainExamplesLabel
SimpEvalsentence simplification360score 1 to 100
HelpSteer2dialogue20,324helpfulness 1 to 5
EvalGenproduct descriptions100thumbs up or down
RealHumanEvalcode completion5,204edit accepted or rejected
CoGymtravel planning72outcome rating 1 to 5

Table 1. The label types differ, so the method must work with any of them.

Read Table 2

Pick a task and a backbone. Bars show τ with a 95% interval over 5 runs. The top three rows do not use the backbone.

Table 2 of arXiv 2512.17267: Kendall τ, mean ± 95% CI over 5 runs.

Worked number: on EvalGen with GPT-4o-mini, AutoMetrics scores 0.334 and the LLM judge 0.161. The gain is 0.173 in τ. The abstract says 33.4% better than the LLM judge. The table ratio is 0.334 ÷ 0.161 = 2.07, so we could not recover how the paper gets 33.4%.

A metric must also notice damage. The authors degrade outputs with an LLM, and rephrase others without changing quality. Sensitivity is the share of degraded outputs that score lower. Stability is one minus the mean score change under same-quality edits. AutoMetrics scores 81.0 to 97.8% on sensitivity, against 50% for chance (Figure 3).

SymptomGPT-4o-mini on CoGym: AutoMetrics scores −0.034, with an interval of ±0.17.
MeasureThe interval covers zero, and also covers the LLM judge’s 0.199.
FixMore labels. CoGym has 72 examples in all.
Sensitivity of 90% means what?

Chapter 7

How Much Data: Why Eighty Labels

Spend labels and see why extra metrics hurt when labels are few

The paper trains on 5 to 640 labels and tests on the full test set (Figure 4). Two findings stand out. Performance levels off near 80 labels. And below 80, using generated metrics only beats using the full bank on out-of-distribution tasks.

The reason is high-p, low-n: many predictors, few examples. A useless metric can match a small label set by chance, and the regression then trusts it. A correlation between two unrelated columns has a spread of about 1 ÷ √(n − 1).

Worked number: at n = 20 the spread is 1 ÷ √19 = 0.23. At n = 80 it is 1 ÷ √79 = 0.11. A real metric with correlation 0.3 hides in that noise at n = 20. It stands out at n = 80. This is our arithmetic.

Spend your labels

Pick a label count. Lines show mean τ on 200 new outputs over 40 resamples. The shade is one standard deviation.

Illustrative: 5 generated metrics and 8 existing ones, one of them real, simulated. The paper’s Figure 4 shows the same shape on SimpEval, HelpSteer2 and RealHumanEval.

Metric pool (k = 30, n = 5)SimpEvalHelpSteer2EvalGenRealHumanEvalCoGym
Existing only0.2380.3760.3890.1550.258
Generated only0.2760.3080.5030.1320.433
Full MetricBank0.2750.3870.4740.1520.329

Table 3, MetricBank ablations, Qwen3-32B. On the two smallest sets, EvalGen and CoGym, generated only wins.

The paper’s rule: with fewer than 80 labels, use generated metrics only.

Symptomτ on your labels is far above τ on new outputs. In the hero, all eight metrics give a gap near 0.3.
MeasureHold out 20% of the labels and compare the two τ values.
FixUse generated metrics only, lower n, or collect more labels.
You have 30 labels on a brand new task. What does the paper suggest?

Chapter 8

A Reward, and the Gaps

Use an AutoMetrics score to steer an optimizer, then list what the paper does not show

Can an evaluator built from labels steer an optimizer? The authors test it on τ-bench, a set of tool-use tasks where an agent talks to a simulated airline customer. They split the 50 tasks into 25 for training and 25 for testing.

They roll out the agent on the 25 training tasks 8 times each. The true task reward stands in for a human label. AutoMetrics builds an evaluator from those rollouts. Then GEPA, a prompt optimizer (see our GEPA lesson), improves the agent twice: once with the true reward, once with AutoMetrics.

Compare the rewards

Pick a reward. Bars show test accuracy after 2,000 rollouts, mean of 5 trials, with a 95% interval.

Section 5 and Figure 6 of the paper. The baseline has no interval in the text.

AutoMetrics made three metrics, with regression coefficients in brackets: Membership Benefit Application (0.08), Escalation Appropriateness (0.0599) and Policy Compliance (0.0567). The default asked for five. Two had negative coefficients and the filter removed them.

Worked number: 0.720 − 0.680 = 0.040. The intervals are ±0.06 and ±0.11, so they overlap. The paper claims a match, not a win. It reports only AutoMetrics as significantly above 0.60 (p < 0.05).

What the paper does not show

ClaimSupportGap
Under 100 labels is enoughFigure 4, three datasetsModerate τ. The paper says better methods might use more data.
Matches a verifiable rewardOne agent task, 5 trialsIntervals overlap. One domain. 25 training tasks.
Metrics are interpretableCards, weights, judge tracesNo user study (Limitations).
Generalizes to new LLMsNoneMetrics made with one model lose performance on another.
SymptomThe reward climbs on training tasks, but a metric names a quirk of those 25 tasks.
MeasureScore held-out tasks, as the paper does with its 25 test tasks.
FixUse diverse data, and have a domain expert remove spurious metrics. These are the paper’s two lessons.
What does the τ-bench result support?

Chapter 9

Field Guide

Keep the numbers, the checklist and the core as code

Generate candidates. Retrieve k. Regress to n. Drop negative generated metrics. Report. That is the paper.

The numbers

NumberWhat it isWhere
48MetricBank metrics: 29 reference-based, 19 reference-freeSection 3.1, Appendix B
17generated candidates by default: 10 + 5 + 1 + 1Section 3.1
30 and 5default k and nSection 4.5, Table 3
under 100, about 80labels needed, and where τ levels offAbstract, Section 4.6
0.334 and 0.161EvalGen τ, AutoMetrics and LLM judge, GPT-4o-miniTable 2
81.0 to 97.8%sensitivity to degraded outputs, chance is 50%Section 4.4
103 of 125recommended metrics came from the generatorsAppendix F.2
0.720 and 0.680τ-bench accuracy, AutoMetrics and verifiable rewardSection 5

The terms

TermPlain meaning
Metrica function from one output to one number
Metric carda short document: what a metric measures, how to use it, when it fails
Kendall τ(agreeing pairs − disagreeing pairs) ÷ all pairs
Z-scoredistance from the average, in standard deviations
PLSone direction in metric space that moves most with the labels
High-p, low-nmany predictors, few examples
Criterion validityagreement with a human reference, measured by τ
Construct validitysensitivity to damage plus stability under harmless edits

A checklist before you trust a learned metric

Check your evaluator

Tick each step you have done on a project of yours.

Our summary of the paper’s lessons. It is not a list from the paper.

The core as code

This is our sketch of Sections 3.1 and 3.2 in Python. It is not the authors’ code. Their toolkit is at github.com/SALT-NLP/autometrics.

import numpy as np
from scipy.stats import kendalltau

def pls_one(X, y, cols):
    w = X[:, cols].T @ y                      # raw weights: covariance with the labels
    w /= np.linalg.norm(w)                    # unit length
    t = X[:, cols] @ w                        # latent score per output
    return w, t, (t @ y) / (t @ t)            # beta stretches t to the label scale

def autometrics(task, outputs, labels, bank, k=30, n=5):
    gen = generate_metrics(task, outputs, labels)      # 10 criteria, 5 rubrics, 1 examples, 1 MIPROv2
    pool = retrieve(task, gen + bank, k)               # ColBERT pre-filter, then an LLM picks k
    X = np.column_stack([[m(o) for o in outputs] for m in pool])
    X = (X - X.mean(0)) / X.std(0)                     # z-scores
    y = np.asarray(labels, float) - np.mean(labels)    # centred labels
    w, _, _ = pls_one(X, y, list(range(len(pool))))    # stage 1: fit all
    top = list(np.argsort(-np.abs(w))[:n])             # keep the n largest |weight|
    w, t, beta = pls_one(X, y, top)                    # stage 2: refit
    keep = [c for c, wc in zip(top, w) if not (pool[c].generated and wc < 0)]
    if len(keep) < len(top):
        w, t, beta = pls_one(X, y, keep)               # drop negative generated, refit
    tau, p = kendalltau(t, labels)                     # criterion validity (use held-out data!)
    return [pool[c] for c in keep], w, tau, p

Where it sits

AutoMetrics is a required reading for CS 329Z Lecture 15, LLM as a Judge. Read Who Validates the Validators? for a different way to align graders with a person: you grade, and the tool picks assertions. One of the four generators here is MIPROv2. The reward test uses GEPA. For the basics of scoring models, see CS 329Z Lecture 13, Evaluation Fundamentals.

Credit and sources

AutoMetrics: Approximate Human Judgments with Automatically Generated Evaluators is arXiv 2512.17267 (December 2025). Michael J. Ryan, Yanzhe Zhang, Amol Salunkhe, Yi Chu, Di Xu and Diyi Yang wrote it. They work at Stanford University and American Express. Michael Ryan and Diyi Yang also teach CS 329Z. Read the paper. The explanations, simulations and devices here are our own, and every number from the paper is named with its table, figure or section.

A metric is a weighted bet, so check it on data it has not seen. AutoMetrics turns a few labels into an interpretable evaluator. The paper’s own lessons are to keep the data diverse and to keep a human reviewing the metrics.
Go back to the hero and try “All eight” again. Look at the gap between the two bars, and ask which of your own labels you have not yet held out.
AutoMetrics
Based on “AutoMetrics: Approximate Human Judgments with Automatically Generated Evaluators” by Ryan, Zhang, Salunkhe, Chu, Xu and Yang (2025) · Read the paper · CS 329Z · Back to Veanors