learn-ml-epistemology-with-phoebe / Practitioner session 7 of 10
Learn ML Epistemology with Phoebe · Practitioner session 7 of 10

Reading a benchmark

Sessions 5 and 6 were about a set you own. Tonight the set belongs to somebody else, the number has already been published, and the only decision left is how much of it to carry across to your own problem. The answer is less than it looks, and it is not zero. The procedure takes four questions and ends in three written sentences you attach to the citation, so that anyone reading your deck next quarter can see exactly what the rank was asked to support.

🔴 Hardest Anyone shortlisting a model from a leaderboard Anyone who has cited a published score in a plan 45 min
0-3 · Welcome 3-16 · The three parts of a rank 16-30 · The lottery and the gap 30-45 · Writing the licence
Part 0

Where tonight sits

Session 5 measured what selecting on your own set costs, and session 6 found the lever that controls it. Both assumed you were holding the set. A published rank is the same object one step further away: somebody else chose the task, somebody else collected the data, somebody else decided what counts as an error, and none of those three people had your problem in mind. Session 8 goes one level up again, to a body of evidence rather than a single number.

Live = written together in the 45 minutes Self-study = the full depth, after class 🔍 Every diagram zooms

★ What you walk out with tonight. A four-question pass you can run against any leaderboard in about ten minutes, before the number reaches a slide. The reason a rank belongs to a pairing of method and benchmark rather than to the method. The one piece of measured evidence that says which half of a benchmark result travels and which half does not. And the artifact: three sentences that say what the rank licenses for your problem, what it does not, and what you would have to measure yourself to close the difference.

LiveA benchmark is an instrument, and construct validity is the question4 min▶

Every benchmark returns a number about a specific quantity, under specific conditions, using a specific rule for what counts as wrong. Construct validity asks whether that quantity is the one you care about. It is a different question from whether the reading is accurate, and it is the one that usually goes unasked, because an accurate reading of the wrong quantity looks exactly like an accurate reading.

The practical form of the question splits into three, and every leaderboard row answers all three silently. What task was formalised. Whose data it was computed on. How predictions were converted into one number. A rank is a claim about a method paired with those three things, and the pairing is what does not come with you when you copy the number into your own document.

Self-studyThe words that will keep coming back4 min▶
  • Construct validity. Whether the quantity an instrument measures is the quantity you intended to measure. Precision and reproducibility say nothing about it.
  • Task. The decision the benchmark formalises: what is predicted, from what inputs, at which moment.
  • Distribution. Whose data, collected when, by what process, and who is not in it.
  • Scoring rule. How a set of predictions becomes one number, which is also the decision about which direction of error is allowed to matter.
  • Task set. The collection of benchmarks a community happens to use. It is a choice, and it participates in the result.
  • Level and ordering. How well a method scores, against whether it scores better than another one. They do not travel equally well, and most citations carry the wrong one.
  • The licence. The written statement of what a published number supports for your problem. Three sentences, attached to the citation.
Part 1 · covers construct validity

Three questions hiding inside one rank

12 min live

Run these against the leaderboard before the number reaches anybody senior. Each one takes a sentence to answer and a sentence to answer for your own problem, and the two sentences side by side are most of the finding.

Every leaderboard row answers all three of these, silently, before you arrive. 1 · The task What is predicted, from what inputs, at which moment. Write the benchmark's task and your own as two sentences of the same shape. The gap is visible there. 2 · The distribution Whose data, collected when, by what process, and who is missing. Thornbury is a district group in a deployment year where the wards have already been reorganised. 3 · The scoring rule How predictions become one number, and which error is treated as cheap. A rule that prices both directions the same is not the rule a ward staffing decision runs on. A rank is a claim about a method paired with one task, one distribution and one scoring rule. Three of those four things belong to the benchmark. Copying the rank into your own document copies the method and quietly leaves the other three behind, which is where the impression of transfer comes from.
🔍 Click to zoom - the three answers cost about ten minutes and they are almost never written down anywhere.
LiveWhy an accurate reading is the trap4 min▶

Published benchmark numbers are usually computed correctly. The code is often released, the protocol is documented, and a second team running it gets the same figure. All of that is evidence about precision and none of it is evidence about which quantity was measured. A thermometer that reads to two decimal places is still the wrong instrument for measuring a room's humidity, and nobody catches that by checking the decimal places.

The failure shows up in a particular way: the team that cites the number is not wrong about the number, so the conversation never lands on anything checkable. Naming the three parts converts it into something checkable. Once the benchmark's task is written as one sentence next to yours, disagreement becomes possible, and disagreement that can be settled is worth far more than agreement that cannot.

Real world

A vendor's model leads a public clinical prediction benchmark. Thornbury predicts deterioration within 24 hours, on a district group's intake, for a decision where missing a deteriorating patient and pulling a nurse to a stable one cost very different amounts. If the benchmark's outcome window, intake and error pricing differ on any of those three, the lead is still real and it is a lead on a different measurement.

Self-studyThe fourth question, which is about you3 min▶

After the three, there is a fourth that nobody else can answer: what would this method score on our data. It is the only question whose answer settles an absolute claim, and the reason to ask it last is that the first three tell you how large the gap you are trying to close is likely to be. A benchmark whose task, distribution and scoring rule are all close to yours needs a small confirmation. One that differs on all three needs a measurement, not a confirmation.

Asking it also changes what a supplier conversation is about. A rank is not falsifiable by you. A figure computed on a set you kept clean is, which turns a sales claim into a testable one at the cost of some calendar time and no statistics at all.

Part 2 · covers the benchmark lottery

The rank has three inputs and only one is the method

9 min live

Dehghani, Tay, Gritsenko, Zhao, Houlsby, Diaz, Metzler and Vinyals gave the effect a name in 2021. Nobody has to cheat for it to operate, and understanding why is what stops a practitioner from over-reading a lead.

What actually produced the number on the slide. The method the only part you are buying The task set chosen largely a historical accident The data and the rule fixed before any method ran 1st on that benchmark one number, three sources Why the rank belongs to the pairing Dehghani et al. (2021), arXiv 2107.07002, call it the benchmark lottery. It "postulates that many factors, other than fundamental algorithmic superiority, may lead to a method being perceived as superior". They show "the relative performance of algorithms may be altered significantly simply by choosing different benchmark tasks". Quote the rank with the benchmark's name attached, or you have quoted a property the method does not have.
🔍 Click to zoom - the method is one of three inputs, and it is the only one anybody ever names.
LiveWhat the word lottery does and does not mean4 min▶

It does not mean the results are random, and it does not mean anybody gamed anything. It means the set of tasks a community settled on is itself a choice, made before the methods existed and usually for reasons of history rather than design. That choice is part of the answer. A method that suits the tasks in the set will place well in it, and placing well in it is what the word leading means in practice.

The practitioner consequence is a counting habit rather than a rule. One benchmark is one instrument reading. If a lead exists on one task set, the claim has survived nothing yet. If it holds across several unlike task sets, it has survived something and the ordering is worth carrying into a shortlist. If the lead exists on exactly the benchmark the authors are best known for, say that out loud when you cite it.

Self-studyWhy this is not a reason to stop using benchmarks3 min▶

A shared benchmark is how a field makes progress comparable at all. Without one, every claim is a demonstration and nothing can be ranked against anything. Reading the lottery as a reason to discard published evidence replaces a calibrated inference with no inference, which is a worse position to argue from and much harder to correct.

The useful reading is about the strength of an inference rather than its existence. A rank is real evidence of modest strength about a comparison, and the strength rises with the number of unlike task sets the comparison survives. That is a dial, not a switch, and treating it as a switch is how teams end up choosing models on vibes after deciding the numbers cannot be trusted.

Part 3 · covers what transfers

The level fell and the ordering held

9 min live

Recht, Roelofs, Schmidt and Shankar built genuinely new test sets and scored the existing models on them. The result has two halves and they point in opposite directions, which is why the retellings usually keep one.

Two halves of one result. Most citations carry the first and drop the second. The level did not transfer New test sets, built the original way: CIFAR-10 fell 3 to 15 percent. ImageNet fell 11 to 14 percent. So the absolute figure on the slide is not a forecast of anything, including the same models on data collected the same way. The ordering largely held "Accuracy gains on the original test sets translate to larger gains on the new test sets." So a lead is usable evidence about which of two methods is better, and that is the half you are allowed to carry across. Port the ordering into your shortlist. Never port the level into your forecast. The authors put the fall down to the models' limited ability to generalise to slightly harder images, not to test-set contamination through repeated use, which keeps it a separate effect from anything session 5 measured.
🔍 Click to zoom - the asymmetry is the finding, and most vendor conversations get it exactly backwards.
LiveThree results that pull against each other, kept apart5 min▶

The intuitive explanation for a fresh test set producing worse numbers is that the old one had been scored against so often that the community had quietly fitted to it. Recht, Roelofs, Schmidt and Shankar concluded otherwise for these drops: the cause was the models' limited ability to generalise to slightly harder images rather than contamination through repeated use. Roelofs, Shankar and colleagues went at the same suspicion from another angle, across over one hundred Kaggle competitions where entrants score repeatedly against a public holdout and a separate set decides the final ranking, and found little evidence of substantial adaptive overfitting.

Against that, session 5 measured the mechanism directly at Thornbury and it is real: optimism of 0.0027 at one candidate rising to 0.0072 at fifty, then flat. Small, and not zero. Three findings, all sound, and the temptation is to collapse them into a single slogan in one direction or the other. Keeping them apart is the skill. Reuse is a real mechanism with a modest measured cost. The distribution gap is a separate and larger effect. A published number can be hurt by both and they need different responses.

Real world

Two teams argue about a leaderboard. One says the rankings are meaningless because everyone has overfitted the benchmark. The other says the numbers are fine because a well-run leaderboard uses a hidden set. Neither position survives the evidence: the reuse effect is measurable and small, and the much larger fall in the ImageNet and CIFAR-10 work came from somewhere else entirely. The question that moves the argument forward is which of the two is operating here, and that is answerable.

Self-studyWhat a bigger fall would and would not tell you3 min▶

Suppose you rebuild a benchmark's test set yourself, following its collection process, and your models score several points lower. That fall is consistent with two very different stories: the community fitted to the old set, or your rebuild is slightly harder than the original in ways nobody intended. Recht, Roelofs, Schmidt and Shankar ran into exactly that ambiguity and landed on the second explanation.

The observation that separates them is the ordering. If the community had fitted to the old set, the methods that had been tuned hardest against it would fall furthest and the ranking would scramble. If the new set is simply harder, everything falls together and the ranking survives. The ranking surviving, plus gains on the original sets translating to larger gains on the new ones, is what made the second story the better fit. That is a diagnostic you can run yourself whenever you build a second test set.

Part 4 · covers the output

Write the licence before you cite the number

10 min live

The whole pass produces one artifact, and it is three sentences long. It goes next to the citation, in the same document, so that the reader six months from now can see what the rank was asked to carry.

The artifact: three sentences, attached to the citation. What it licenses That this method is likely better than the one it beat, on that benchmark's task and distribution. An ordering, not a level. What it does not Any figure to expect on your own patients, and any claim about a task the benchmark did not run. Nothing absolute travels. What closes the gap One number computed on your data, by your team, on a set nobody selected on. Name the owner and a date. A rank cited without these three sentences is a verdict, and a verdict is the one thing nobody can check later.
🔍 Click to zoom - the third panel is the one that turns a sales claim into something you can be wrong about.

Name the instrument. Which benchmark, by name, which version, and who built it. A claim whose instrument cannot be named is not a measurement and the pass stops here.

Write the two task sentences. The benchmark's task and yours, same shape, same length: what is predicted, from what inputs, at which moment. Put them on consecutive lines and read them out loud.

Write the two distribution sentences. Whose data and when, for both. Add the clause that usually decides it: who is in theirs that is not in yours, and who is in yours that is not in theirs.

Ask what the scoring rule forgives. Which direction of error it prices cheaply, and who pays for that error in your setting. If the two answers differ, the rank is measuring a trade-off your operation does not make.

Count the unlike task sets the lead survives. One is a reading. Two unlike ones is a claim. If the lead exists on exactly one benchmark, write that sentence into the citation rather than leaving the reader to discover it.

Write the three sentences and attach them. Licenses, does not license, would close the gap. In the same document as the number, not in a separate review that nobody opens.

Turn the third sentence into a task with an owner. A measurement nobody is scheduled to run is a sentence, not a plan, and the number will be cited unqualified by the second meeting.

★ The licence, filled in for a Thornbury shortlist CLAIM AS RECEIVED "Ranked 1st on <benchmark name>, accuracy <figure>." INSTRUMENT Benchmark: <name, version, who built it> Task: predicts <what> from <inputs> at <moment> Ours: predicts deterioration within 24 hours from vitals drift and lab trend, at admission Distribution: <whose data, collected when, by what process> Ours: Thornbury district intake, deployment year, wards already reorganised Scoring rule: <what counts as wrong, and how much> Ours: a missed deterioration and a pulled nurse do not cost the same LICENCE Licenses: probably the better of the two methods listed, on that benchmark's task and distribution. Does not: any accuracy figure for Thornbury patients. The level did not transfer in the one place anybody measured it: 3 to 15 percent on CIFAR-10, 11 to 14 percent on ImageNet. To close it: score the candidate on 2,000 Thornbury patients from a set that took no part in the choice. Owner: <name>. By: <date>. LEAD SURVIVES 1 task set. Not yet a claim about the method.

The habit to keep. The licence is written before the number is quoted, not after somebody challenges it. Written first it takes ten minutes and reads as diligence. Written second it takes an hour and reads as a retreat, and by then the unqualified figure is already in three decks and one board pack.

Check yourself

Three questions

A published model leads a clinical benchmark by two points. Which part of that result are you entitled to carry into a Thornbury shortlist?

The one place anybody built genuinely new test sets and measured both halves, the level fell substantially and the ranking largely survived. Carrying the ordering into a shortlist is supported. Carrying the absolute figure into a forecast is not, and discarding the whole thing throws away real comparative evidence.

Two internal teams each cite a different benchmark and reach opposite conclusions about which method is better. What does the benchmark lottery say is going on?

The lottery postulates that factors other than fundamental algorithmic superiority can make a method be perceived as superior, and nobody has to act in bad faith for that. Averaging unlike instruments does not help either. The question to ask is which instrument measures the quantity your decision needs.

A colleague argues that leaderboard rankings are worthless because the community has overfitted the benchmarks. What does the evidence support?

Session 5 measured the reuse mechanism at Thornbury: optimism of 0.0027 at one candidate, 0.0072 at fifty, then flat, so it is real and modest. The two field results looked for large adaptive overfitting where it should have been worst and did not find it, and they attributed the large falls to a different effect. All three are sound and none of them supports the slogan in either direction.

Homework

Before session 8

30 min

Take the most impressive external number your team currently relies on and write its licence: what it licenses, what it does not, and what you would have to measure to close the gap. Then add one line that session 8 needs. Find the sentence in the source that says how the data were split between what the model learned from and what it was scored on, and copy it out exactly. If there is no such sentence, write down that there is not. The presence or absence of that one sentence is where next session starts.

Sources covered

What tonight maps to

✓ Construct validity, in three parts The task, the distribution and the scoring rule, each written as a sentence next to your own, run as a pass before the number reaches a slide.
✓ The benchmark lottery Dehghani, Tay, Gritsenko, Zhao, Houlsby, Diaz, Metzler and Vinyals (2021), arXiv 2107.07002. A rank is a property of a pairing, and nobody has to cheat for that to be true.
✓ The distribution gap, and what survived it Recht, Roelofs, Schmidt and Shankar (2019): 3 to 15 percent on CIFAR-10, 11 to 14 percent on ImageNet, with gains on the original sets still translating to larger gains on the new ones.
✓ Three results kept apart Bench B's measured reuse optimism of 0.0027 to 0.0072, the harder-images explanation for the ImageNet and CIFAR-10 drops, and little adaptive overfitting across over a hundred Kaggle competitions.
✓ The licence statement Licenses, does not license, would close the gap. Three sentences attached to the citation, with the third turned into a task that has an owner and a date.
◐ Leakage at the scale of a literature Session 8. Tonight reads one published number; session 8 reads a body of evidence where 294 papers across 17 fields share a flaw.
◐ What selecting on a set costs Session 5 measured it and session 6 found the lever. Tonight uses both results and does not re-derive either.
· How any metric is defined or computed Not covered by design. learn-model-evaluation-with-phoebe owns the metrics themselves, drift detection and the eval scorecard.
· External validity of an experiment Not covered by design. learn-experimentation-with-phoebe owns whether an experimental result travels; tonight is a fitted model's published score.

Session 7 cheat sheet

Task, distribution, scoring ruleThe three things hiding inside every rank. Write each one next to yours.
Accurate is not validA correct reading of the wrong quantity looks exactly like a correct reading.
A rank belongs to a pairingMethod plus benchmark. Three of the four inputs are not the method.
The lotteryRelative performance may be altered significantly simply by choosing different benchmark tasks.
3 to 15, and 11 to 14The fall on genuinely new test sets for CIFAR-10 and ImageNet. The level is fragile.
The ordering heldGains on the original sets translated to larger gains on the new ones. Port that, not the level.
Count the task setsOne lead is a reading. Two unlike ones is a claim. Say which you have.
The three sentencesLicenses, does not, would close it. The third one needs an owner and a date.