A metric is a decision about which errors count and how much: most classification scores are ratios of one confusion matrix at one threshold, the rest summarise every threshold (ROC-AUC, average precision) or the probabilities themselves (log-loss, Brier, ECE), and each one is blind to whatever its choice leaves out.
Two more ideas carry the page. An average hides whom it averages over: examples (accuracy, micro), classes (macro), tokens (perplexity), queries (MRR), n-gram orders (BLEU). Every number from a finite test set has an error bar, and on a few hundred examples it is often wider than the gap being reported.
Predict, then drag. Switch to "Rare positives" and the threshold sits at 0.5. Press "Best MCC" (0.79), then drag back to 0.5: the same 97 extra false alarms appear. Which dot moves further, the one on the ROC curve or the one on the precision-recall curve?
| Metric | Rewards | Cannot see | Reach for it when |
|---|---|---|---|
| Accuracy | Right decisions, all counted alike | Which class the errors fall in; a rare class | Classes are balanced and errors cost the same |
| Precision, recall, Fβ | Catching positives (recall) without false alarms (precision) | True negatives entirely; the threshold you did not pick | One class is the one you act on |
| MCC | All four cells of the confusion matrix at once | Probabilities; costs that differ by cell | One number for an imbalanced binary task |
| ROC-AUC | Ranking positives above negatives | Prevalence, hence false alarms per real positive | Classes are not too skewed, or you compare rankers |
| AUPRC, average precision | Ranking with precision kept high | Negatives ranked below every positive | Positives are rare and false alarms cost |
| Log-loss, Brier, ECE | Probabilities that mean what they say | Nothing about ranking that a tie cannot hide | Downstream code uses the probability |
| Macro, micro, weighted | Classes equally, examples equally, or by size | Respectively: class size, small classes, small classes | Every multi-class report: say which |
| MAE, RMSE, R², MAPE | Small errors: typical (MAE), with large ones punished (RMSE), against predicting the mean (R²), relative (MAPE) | Respectively: rare large misses, the typical case, the scale, small true values | Regression: say which, with the units |
| Recall@k, MRR, nDCG | Relevant items in the top k, the first one early, graded items near the top | Order inside k; everything after the first hit; anything never judged | Search, retrieval, recommendation |
| BLEU, ROUGE, chrF, METEOR | Surface overlap with a reference | Meaning: a negation scores almost perfect | Translation or summary regression tests with references |
| BERTScore, MoverScore | Overlap of contextual embeddings | Negation, still; numbers and facts | Paraphrase-heavy outputs, as one signal among several |
| Perplexity | Probability the model gives held-out text | Generation quality; comparability across tokenizers | Comparing models that share a tokenizer and text |
Rows are this page's summaries of the sections below, where each claim is sourced and, where it is a number, computed.
Answer: on rare positives the ROC dot moves right by 0.23 (FPR 0.019 to 0.245, because FPR divides by all 428 negatives) while the precision dot falls by 0.52 (0.771 to 0.250, because precision divides by the model's own 35 to 140 positive calls). Models: TF-IDF word and bigram features with logistic regression (C = 1); word and bigram counts with multinomial naive Bayes (alpha 1); the same naive Bayes with 5-fold isotonic calibration; all trained on the 67,349 SST-2 training phrases and scored on the 872 validation sentences (stanfordnlp/sst2, Socher et al. 2013; positive sentiment is the positive class). "Rare positives" keeps every tenth positive sentence in file order (45 of 444) and all 428 negatives. Every metric checked against scikit-learn at threshold 0.5 by src/check_core.mjs. Sentences are cut to 90 characters.
Every metric here is a ratio of the four counts in the hero's matrix at one threshold (Google ML Crash Course). F1 never looks at TN: it scores the class you act on, which suits search or fraud alerts but means F1 changes if you swap which class is called positive. MCC is symmetric in the two classes and is high only when all four cells are good, which is why Chicco and Jurman (2020) argue for it over F1 and accuracy on imbalanced binary tasks.
Fig. 1, step by step
| Metric | Formula | Reads as |
|---|---|---|
| Accuracy | (TP + TN) / all | Share of decisions that were right |
| Precision | TP / (TP + FP) | Of everything I flagged positive, how much was right |
| Recall (true positive rate, sensitivity) | TP / (TP + FN) | Of all actual positives, how many I caught |
| F1 | 2PR / (P + R) | Harmonic mean of precision and recall |
| Fβ | (1 + β²)PR / (β²P + R) | Recall counted β times as important as precision (van Rijsbergen 1979, chapter 7) |
| False positive rate (FPR) | FP / (FP + TN) | Fraction of actual negatives wrongly flagged |
| Specificity (true negative rate) | TN / (TN + FP) | 1 − FPR |
| Balanced accuracy | (recall + specificity) / 2 | Accuracy with both classes weighted equally |
| MCC | (TP·TN − FP·FN) / √((TP+FP)(TP+FN)(TN+FP)(TN+FN)) | Correlation between decision and truth, from −1 to 1, 0 for guessing (Matthews 1975) |
The accuracy trap, on the hero's data. On all 872 sentences (444 positive, 428 negative) accuracy is a fair summary. Keep every tenth positive and the same logistic regression faces 45 positives among 473 sentences:
Computed live from the shipped scores (src/data_sst2.py, checked against scikit-learn by src/check_core.mjs). The best-MCC row picks the threshold on the same data, so it flatters the model; choose a threshold on held-out validation data, or report a threshold-free metric.
Saying nothing beats the real classifier at the default threshold, although only the classifier finds any positives; moving the threshold lifts accuracy and doubles MCC. On imbalanced data the default 0.5 is rarely right, and accuracy alone cannot tell a useful model from a silent one: report MCC or per-class precision and recall, with the base rate. What to do about imbalance in training (re-weighting, re-sampling, focal loss) is in Topic: ml-fundamentals, tab "When training goes wrong".
Sweeping the threshold traces the hero's two curves. ROC-AUC, the area under recall against FPR, equals the probability that a randomly chosen positive is scored above a randomly chosen negative, ties counted half (Hanley and McNeil 1982; Fawcett 2006). The area under precision against recall is AUPRC. A random ranker scores ROC-AUC 0.5 whatever the classes but AUPRC equal to the share of positives, so the two areas are not on the same scale.
Why ROC misleads when positives are rare is one denominator. FPR divides by all negatives, a huge number, so thousands of extra false positives barely move it; precision divides by the model's own positive calls and is hit by every one (Davis and Goadrich 2006). Use AUPRC, or precision at the recall you need, when positives are rare.
Two more results from Davis and Goadrich. One curve dominates another in ROC space if and only if it dominates in PR space. But PR points cannot be joined by straight lines, because precision does not interpolate linearly, so a trapezoidal PR area is optimistic. scikit-learn's average_precision_score therefore sums precision times each step in recall with no interpolation; "AUPRC" in papers may be either, and the two differ, so say which you computed.
The SST-2 logistic regression on all 872 sentences (51% positive) and on the rare-positive subset (10%): ROC-AUC and , average precision and .
Answer: log-loss halves (0.85 to 0.45) while accuracy moves half a point and ROC-AUC barely moves; ECE falls from 0.135 to 0.076. Real predictions: multinomial naive Bayes (alpha 1, word and bigram counts) and the same model with 5-fold isotonic calibration (CalibratedClassifierCV), both trained on SST-2 train; logistic regression as in the hero for reference. Log-loss clips probabilities at 10−15, the default of older scikit-learn versions; with a 10−6 clip naive Bayes scores 0.83 instead of 0.85.
A classifier is calibrated when, of all the examples it gives probability 0.8, about 80% are positive. Ranking metrics cannot see this. Log-loss is −mean log p(true class), the training loss read as a measurement; the Brier score is the mean squared error of the probability against the 0 or 1 outcome (Brier 1950). Both are proper scoring rules, so neither can be gamed by hedging (Gneiting and Raftery 2007). A reliability diagram bins predictions by confidence and plots the observed rate per bin; the expected calibration error (ECE) is the sample-weighted mean gap over the bins (Guo et al. 2017, who found modern deep networks, unlike those of a decade earlier, poorly calibrated, and that temperature scaling, one parameter, fixes most of it). ECE depends on the binning (here 10 equal-width bins) and is not a proper scoring rule. The same diagram for language models' next-token probabilities, measured on GPT-2 and Qwen2.5-0.5B with temperature scaling, is on Probability for ML, section 8.
The more accurate model is the worse forecaster. Naive Bayes on the same features is slightly more accurate than logistic regression ( against at 0.5) and ranks almost as well, yet multiplies word evidence as if words were independent, which pushes its outputs towards 0 and 1 (Niculescu-Mizil and Caruana 2005). Isotonic regression, a monotone step function fitted on cross-validated predictions (Zadrozny and Elkan 2002), maps them back towards observed frequencies without changing their order.
Predict, then watch: between the first and the last naive Bayes step, which of accuracy, ROC-AUC and log-loss moves most?
Measure calibration whenever a probability is used as a probability: a risk threshold, an expected cost, an abstention rule, a confidence shown to a user, a score fed to another model. Judge calibration against human labels is on LLM-as-judge.
With K classes each class gets its own precision, recall and F1 (one against the rest), and one number needs an average (scikit-learn user guide). Macro takes the plain mean over classes, so a 9-example class counts as much as a 76-example one. Weighted weights each class by its support (true count). Micro pools the counts first; in single-label multi-class classification every false positive for one class is a false negative for another, so micro precision, recall and F1 all equal accuracy.
Try: switch the averaging; bar opacity is each class's weight. The rare "vehicle window" class scores F1 = 0 and drags only the macro average down.
None is "correct". Macro answers "how good on a typical class", weighted "on a typical class, sized as in this data", micro "on a typical example". Report which, and per-class numbers when a class matters on its own.
Macro, micro and weighted F1: 0.57, 0.63 and 0.65 for the same predictions. Real data: the UCI Glass Identification set (214 glass fragments, 6 classes from 9 to 76 examples; OpenML 41), 5-fold cross-validated predictions of a standardised logistic regression (src/data_glass.py); averages checked against scikit-learn.
For a numeric target the errors are residuals, y − ŷ, and the metric decides how to add them up. MAE is the mean absolute residual, in the target's units; RMSE is the square root of the mean squared residual, also in those units but dominated by the largest misses, and RMSE ≥ MAE always (Willmott and Matsuura 2005 argue for MAE as the typical error; Chai and Draxler 2014 for RMSE when errors are Gaussian). R² = 1 − SSE / SST compares the squared error with always predicting the test mean: 0 is that baseline, 1 is perfect, and it goes negative for a model worse than the mean. MAPE, the mean of |y − ŷ| / |y|, is scale-free but explodes when a true value is near zero (Hyndman and Koehler 2006) and is lopsided: for a positive target and a non-negative prediction, an under-prediction costs at most 100%, an over-prediction without limit. Minimising MSE targets the conditional mean and minimising MAE the conditional median, which is why the loss and the reported metric should match (losses: Loss functions).
Predict, then drag: one of 442 predictions gets an extra error of 1,000 (a unit slip). How far does MAE move, and how far does RMSE?
Report MAE when every unit of error costs the same, RMSE when large misses cost disproportionately, R² to compare against the trivial model on the same data (never across datasets, since it depends on the target's variance), and a relative error only when no true value is near zero.
Answer: MAE rises by 1,000 / 442 = 2.3; RMSE rises from 54.6 to about 72 and R² falls from 0.498 to about 0.12. Real data: scikit-learn's diabetes set (442 patients, 10 baseline variables, target a measure of disease progression one year later, 25 to 346; Efron et al. 2004), 5-fold cross-validated ordinary least squares (src/data_reg.py): MAE 44.3, RMSE 54.6, R² 0.498, MAPE 39.7%, median absolute error 39.2; predicting the mean scores MAE 65.8, RMSE 77.0, R² 0. The perturbed patient is the one predicted most exactly (true 236, predicted 236.1). MAPE's worst case here: a patient with true value 25 predicted at 148, an error of 493%.
Search, retrieval and recommendation return an ordered list per query, and the metrics look only at the top k. Precision@k is the share of the top k that is relevant and recall@k the share of all relevant items that made the top k: the threshold metrics of section 1, with the threshold at rank k. Reciprocal rank is 1 / (rank of the first relevant item), and MRR its mean over queries (Voorhees 1999, TREC-8 question answering); it ignores everything after the first hit. hit@k (also called "success@k", and "recall@k" in some dense-retrieval papers) is 1 when any relevant item is in the top k and 0 otherwise, averaged over queries: it equals recall@k when every query has exactly one relevant item and is more lenient otherwise, so check which one a paper means before comparing numbers. Average precision averages precision@i at the rank i of each relevant item, divided by the number of relevant items, and MAP is its mean over queries. nDCG handles graded relevance: DCG@k = Σi≤k gaini / log2(i + 1), divided by the same sum for the ideal ordering so that 1 is perfect (Järvelin and Kekäläinen 2002). The gain is the grade itself (scikit-learn's ndcg_score) or 2grade − 1, which favours highly relevant items (Burges et al. 2005); the two give different numbers, so say which.
Fig. 2, step by step
Try: move k. Precision@k goes up and down as hits and misses arrive; recall@k and nDCG@k only grow; reciprocal rank is fixed by rank 2.
Two traps. Items nobody judged count as irrelevant, so a new system that finds unjudged good documents is under-scored; and the ideal DCG uses only the judged items, so nDCG is comparable only across systems on the same judgements. The same metrics on real retrieval runs (BM25 against a dense retriever on three BEIR sets, and what a reranker does to them) are on RAG and retrieval evaluation.
An illustrative list: grades 0 to 3 at ranks 1 to 10 are 0, 3, 0, 2, 1, 0, 0, 2, 0, 0, and one more relevant item (grade 1) was never returned, so 5 are relevant. At k = 5: precision 0.6, recall 0.6, reciprocal rank 0.5, AP 0.32, nDCG@5 = 3.141 / 6.079 = 0.517 with linear gain (0.544 with 2g − 1). Every value at every k computed by src/rank_example.py and checked against scikit-learn's ndcg_score.
When the output is text, the classic metrics count what it shares with one or more human references.
| Metric | Mechanism | Origin, notes |
|---|---|---|
| BLEU | For n = 1 to 4, the share of the output's n-grams found in the reference, each clipped to the count the reference has ("modified precision"); their geometric mean, times a brevity penalty BP = exp(1 − r/c) when the output length c is below the reference length r, else 1 | Machine translation; precision-oriented; defined over a whole test corpus (Papineni et al. 2002) |
| ROUGE-N | Precision, recall and F1 of matching n-grams | Summarisation; recall-oriented (Lin 2004) |
| ROUGE-L | Longest common subsequence of the two word sequences, as precision, recall and F1 | Order-sensitive without requiring contiguity |
| ROUGE-S | Skip-bigram co-occurrence: every ordered pair of words, any gap apart | Allows gaps within bigrams; rarely reported now |
| METEOR | One-to-one unigram alignment in stages (exact words, then Porter stems, then WordNet synonyms); Fmean = 10PR / (R + 9P); penalty 0.5 × (chunks / matches)3, where a chunk is a run of matches adjacent and in the same order in both; score = Fmean × (1 − penalty) | Built to score single sentences (Banerjee and Lavie 2005) |
| chrF | Character 1- to 6-gram precision and recall (spaces removed), averaged over orders, combined as Fβ with β = 2 | Robust to word forms and spelling (Popović 2015) |
BLEU is a corpus metric: summed over a test set, a sentence with no 4-gram match does not zero the score. On one sentence it needs smoothing; sacreBLEU's sentence_bleu uses the "exp" method (each zero precision becomes 1 / (2k × total), Chen and Cherry 2014, method 3) and drops n-gram orders longer than the output, so never compare sentence BLEU with corpus BLEU. Tokenisation changes the number too: Post (2018) measured differences as high as 1.8 BLEU between commonly used configurations, which is why sacreBLEU fixes the tokenizer (13a) and prints a signature to quote. Every score below is computed in your browser with ports of the reference code, checked against sacrebleu 2.6.0, rouge-score 0.1.2 and NLTK 3.10.3 on these sentences and on 150 random sentence pairs (all match to 10−9; src/check_core.mjs).
Reference and candidates are illustrative sentences written for this page; every score is real. METEOR here runs the exact and stem stages (NLTK's meteor_score with Porter's published stemmer); the WordNet stage needs a dictionary too large for this page and is shown from NLTK for the presets.
Try: pick a candidate and a scorer, then watch or step. Compare "Same words, clauses moved" under BLEU (it loses the 3- and 4-grams) and under METEOR (one alignment, a few chunks). Then "One word, opposite meaning" under every scorer.
The scorer, step by step
sentence_bleu.Overlap rewards the wrong thing. A faithful paraphrase that shares few words with the reference against a copy with one word changed so that it says the opposite: every metric prefers the wrong one, the embedding metric included.
Reference: "The committee approved the new budget after a long debate on Tuesday." BLEU and chrF on 0 to 100 divided by 100; BERTScore is the F1 rescaled with bert-score's baseline. All from the libraries.
Your own sentences. Edit either sentence and every overlap score recomputes with the same ports (sacreBLEU's sentence BLEU and chrF, rouge-score's ROUGE, NLTK's METEOR without WordNet; ROUGE-S is implemented from Lin 2004). Change one word at a time: swap two clauses, drop "new", turn "approved" into "did not approve".
BERTScore needs roberta-large, which cannot run in this page, so it is shown for the preset sentences only, from the library.
Darker cells are higher on each column's own scale. Look down the columns: which candidate does each metric rank first after the copy?
Values from sacrebleu 2.6.0, rouge-score 0.1.2, NLTK 3.10.3 (METEOR with and without WordNet) and bert-score 0.3.12 with roberta-large layer 17 (src/data_text.py); the page's live engine reproduces every non-BERTScore cell (src/check_core.mjs).
nltk/translate/meteor_score.py; derived by running it.In 2026 these scores survive mostly as regression tests in translation and summarisation papers. The WMT22 metrics task, scored against expert MQM annotations, concluded that overlap metrics, BLEU and chrF included, "correlate poorly with human ratings" and that learned neural metrics are better and more robust (Freitag et al. 2022); Kocmi et al. (2021), with 2.3 million sentence-level human judgements over 4,380 systems, found that relying on BLEU alone led to bad deployment decisions.
Perplexity is the reciprocal geometric mean of the probabilities a model gives each token: PPL = (∏i p(wi | w<i))−1/N = exp(mean negative log-likelihood per token), the training cross entropy read as a score on held-out text. The catch is N, a count of tokens: the total log-probability of a text is comparable across models, but dividing it by a model-specific token count is not. A tokenizer that splits finely makes each token easier to predict, because the later pieces of a word follow almost surely from the first, and per-token perplexity drops without the model knowing anything more. Normalise by something the tokenizer does not choose: bits per UTF-8 byte, or perplexity per word. The Pile's authors prefer bits per byte "due to its invariance to different tokenization schemes" (Gao et al. 2020, section 3.1).
Fig. 3, step by step
The stage: Real per-token log-probabilities from GPT-2 (vocabulary 50,257), SmolLM2-135M (49,152) and Qwen2.5-0.5B (151,665 tokens in the tokenizer), base models in float32, each text scored after the model's own end-of-text token (src/data_ppl.py). Texts: Article 1 of the Universal Declaration of Human Rights in English and French, a three-line Python function written for this page, and the first 35 decimals of pi. Columns are capped at 10 bits per byte.
Two more things change perplexity without changing the model: the text (GPT-2's perplexity on the French article is 11 times its perplexity on the same article in English), and the context each token gets: text longer than the window is scored with a sliding window, and a larger stride gives each token less context and a higher perplexity (Hugging Face, perplexity of fixed-length models). And low perplexity is not good generation: on GPT-2 Large, beam search output has perplexity 1.48 against 12.38 for human text, because the most probable text is degenerate (Sampling and Decoding, after Holtzman et al.). How tokenizers split languages differently is on Tokenizers.
BERTScore embeds both texts with a contextual encoder, takes the cosine similarity of every candidate token with every reference token, and matches greedily: precision averages, over candidate tokens, the best similarity found in the reference; recall does the same from the reference side; F1 combines them; optional idf weights make rare words count more (Zhang et al. 2019, ICLR 2020). The English default in the bert-score package is roberta-large, layer 17. Raw scores crowd into a narrow band (here 0.90 for shuffled words to 1.00 for a copy), so the package can rescale them linearly against a baseline from unrelated sentence pairs (rescale_baseline.md), (score − b) / (1 − b), which spreads the range without changing any ranking. The BERTScore view of the step animation in section 7 draws the real similarity matrix and the greedy matches.
MoverScore replaces greedy one-to-one matching with an earth mover's distance between the two sets of embeddings, a softer many-to-one alignment (Zhao et al. 2019); it is not computed here (it needs corpus idf statistics and an optimal-transport solve, and would add a second embedding score with the same blind spot). Learned metrics such as COMET train on human quality judgements; they are the "neural metrics" WMT22 found better than overlap. For open-ended LLM output, evaluation has largely moved to LLM judges and task benchmarks, a measuring instrument with its own biases and calibration: Topic: evaluation-and-llm-judges, judge design on LLM-as-judge, and two paper pages with data: RocketEval (a small judge grading checklists re-ranks a leaderboard almost exactly) and Re-grading six physics benchmarks (what expert re-grading does to headline scores).
A test set is a sample, so every metric on it has sampling error. For accuracy p on n examples the standard error is √(p(1 − p)/n): at 80% on 872 sentences that is 1.4 points, so a 95% interval is about ±2.7. On the hero's data naive Bayes is 1.1 points more accurate than logistic regression, and the paired 95% interval (−1.0 to +3.4 points, src/recompute.py) still crosses zero: on 872 examples a 1-point gap is inside the noise. For metrics with no simple formula (F1, AUC, BLEU) the bootstrap resamples the test set with replacement and reads the interval off the spread (Efron 1979); comparing two models on the same items, resample the pairs (Koehn 2004 for MT; Miller 2024 for LLM evals). Report the interval, say what was resampled (sentences, documents, users: whatever was drawn independently), and size the test set before collecting it. Paired tests, clustered questions and sample-size planning are owned by Eval statistics.
Try: shrink the test set and watch the paired interval (upper line) stay narrower than the unpaired one: the paired difference cancels each sentence's shared difficulty.
Real per-sentence correctness of the two SST-2 classifiers at threshold 0.5; the first n sentences of a fixed random order (seed 0). Percentile intervals from a seeded resampler; src/recompute.py runs the same bootstrap in NumPy with another seed (at n = 872, paired 95% interval −1.0 to +3.4 points, the figure quoted above), while this widget's first seed at 2,000 resamples gives −1.1 to +3.2: two seeds disagreeing by a few tenths of a point is the resampling noise of the bootstrap itself.
Times below are estimates.
The parent. Reading, "7 · Measure": one step's batch against held-out numbers and the three families of metrics, each linked here; "Four threads", thread 1: entropy, cross entropy and KL with a slider; tab "When training goes wrong": imbalanced data in training. 30 min, plus 1 in closed details
Cross entropy and KL as training objectives, the other side of log-loss and perplexity. 31 min, plus 5 in closed details
How LLMs are evaluated now: harnesses, LLM judges and their biases, golden sets, statistics, guardrails. 17 min
Pointwise, pairwise and rubric judging, calibration against human labels, Cohen's kappa. 29 min
Error bars on LLM evals, paired and clustered tests, power and a sample-size calculator. 25 min
Recall@k, MRR and nDCG on real BEIR runs (BM25 against a dense retriever), and what a reranker does to them. 27 min
Regression gates, golden sets, shadow and A/B tests in practice. 30 min
Checklist grading with a small judge; re-rank the leaderboard from released grades with a bootstrap over queries. 27 min
What expert re-grading does to benchmark scores; Wilson intervals and agreement bounds. 25 min
Why the most probable text is not the best: perplexity of twelve decoders on GPT-2. 22 min, plus 4 in closed details
How tokenizers split text and languages, the reason per-token perplexity is not comparable. 46 min, plus 15 in closed details
Forward and reverse KL as a training signal. 25 min, plus 8 in closed details
Precision, recall and ROC with interactive thresholds. about 45 min
The imbalanced-data argument, formally; dominance and interpolation in PR space. 45 min
Reliability diagrams, ECE, and temperature scaling. 40 min
Exact definitions of every classification metric, averaging options and their edge cases. docs, about 40 min
Why one number should use all four cells. 30 min
Scale-dependent, percentage and scaled errors; why MAPE fails near zero. 30 min
Where DCG and nDCG were defined. 40 min
The original definition: clipping, geometric mean, brevity penalty, corpus level. 30 min
Why BLEU numbers differ across papers; sacreBLEU. 20 min
ROUGE-N, L, W and S defined. 30 min
Staged alignment, recall-weighted Fmean, fragmentation penalty. 30 min
Character n-gram F-score. 15 min
Embedding-based text evaluation. 45 min
Earth mover's distance on contextual embeddings. 40 min
Overlap metrics against learned metrics, judged by expert MQM annotation. 60 min
2.3 million human judgements on which metric to trust for system comparisons. 45 min
Computing perplexity with a sliding window, and what the stride does. 15 min
Standard errors, clustering and paired differences for LLM evaluations. 40 min
The paired bootstrap for comparing two systems. 20 min
Implementations of BLEU, ROUGE, METEOR, perplexity and friends. docs, about 30 min
Built from the old Notion page (5 min read) and checked against the sources linked inline. Data and scripts: src/ in the knowledge base repository.