How to Read LLM Scores After Benchmark Leakage
Public benchmarks are meant to compare models on the same scale, but scores lose meaning once a model has memorized the exact paper. This article explains how training turns public tests into recall tasks, how to separate genuine solving from verbatim memory, what raw and cleaned scores actually measure, and how closed, dynamic evaluations can still guide selection and regression.
Public benchmarks exist so different models can be compared on the same scale. Once a model has read the test verbatim during training, the comparison slides from “can it solve this?” to “does it remember the paper?” For engineering and procurement teams, this is not a publicity issue. It is whether the metric can still guide model selection, regression, and release gates.
Why a model’s “schooling” breaks the exam
Large-model capability is formed along three paths.
Pretraining is like reading a huge body of web pages, books, and code. It produces a broad base that does not yet follow instructions reliably. Post-training then teaches the model to answer instructions, write programs, and call tools, shaping the chat or agent form used day to day. Evaluation scores the model on a public, reproducible item set. Most tables in release materials come from this step.
The problem is that the exam stays public and unchanged for a long time. Problem statements, examples, reference answers, forum restatements, and long pastes in tutorials all enter crawled corpora or post-training samples as ordinary text. The model does not need to “cheat on purpose” to remember them: next-token prediction is optimized to reproduce seen text with high probability. The exam then stops testing transfer and only tests recall.
Contamination has degrees and should not be lumped together.
- Familiarity with the distribution: the model has seen similar item types, solution templates, or coding conventions, but still has to reason on a new item. This can raise scores, yet it is usually still part of capability.
- Fragment overlap: a stem, function signature, or key number appears in training text, and the model completes the item from local cues.
- Verbatim memory of the original paper: the stem, examples, reference answer, and even the author’s typos can be emitted in the original order. The score then mainly measures memory.
Only the third level makes ordinary accuracy almost meaningless.
How to tell solving from reciting
A normal evaluation only gives the item and checks right or wrong. It cannot expose memory. A more informative check is a continuation probe: give only a local slice of one item and see whether the model, without being asked, continues with later items, official examples, and reference answers in the same order as the public paper.
Practical signals include:
- String-level identity: stems, comments, and example inputs and outputs match the public version character for character, not merely in meaning.
- Fingerprint errors: spelling mistakes, outdated API names, and meaningless variable names from the original paper are reproduced as-is. These low-probability markers are hard to generate by “reasonable inference.”
- Order continuation: after item n, the model spontaneously emits items n+1 and n+2 with the same numbering and arrangement as the paper.
- Bundled answers: even when a solution was not requested, the model emits the reference implementation together with the stem.
Overlap can be quantified instead of judged by impression. The flow below describes the probe only and does not depend on any specific platform:
for item in benchmark:prompt = item.statement[:k] # only the opening of the stemtext = model.generate(prompt, stop_when_long_enough)recall = exact_match(text, item.full_public_text)order_hit = appears_next_item(text, benchmark, item.index + 1)leaked.append(recall or order_hit)clean_score = accuracy(benchmark.remove(leaked))raw_score = accuracy(benchmark)
Decision thresholds should be fixed in advance: for example, the share of the longest common substring between the stem and the reference answer, and whether the next item number appears. A loose threshold mislabels normal solving as leakage; a strict one misses rewritten memory. Reports should publish the threshold and hit examples, not only a percentage.
Post-training alignment can also suppress “keep reciting”: the model is told to answer only the current question. Probe prompts should stay neutral, such as “complete the incomplete exercise material below,” rather than prompts that ask it to recite the next item. Stable reproduction of the original paper under a neutral prompt is stronger evidence.
What the score means after seen items are removed
Let R be accuracy on the full set, L the subset judged to be verbatim memory of the original paper, and U the rest. Publish all of the following:
- Raw score R: comparable with historical leaderboards, but it may include memory.
- Leakage rate |L| / |full set|: how much of the set memory covers.
- Cleaned score: accuracy computed only on U. If U is too small, the cleaned score has very high variance. Report the number of remaining items instead of turning right and wrong on three items into a “capability ranking.”
Read the gap, not the slogan. A high leakage rate and a sharp drop in the cleaned score mean the original high score came mainly from having seen the paper. A low leakage rate with a still-high cleaned score means the model can still solve items whose stems it did not memorize, so the raw score is more worth using. Compute subjects separately. Coding items, science multiple choice, and applied math leak through different paths, and one average table can hide a collapse in a single subject.
The remaining items may also be biased toward easy or hard. If mostly easy items were memorized, the drop in the cleaned score exaggerates “lost capability.” If mostly hard items were memorized, the drop understates the problem. Besides the mean, report the distribution before and after cleaning by difficulty bucket or item type.
How enterprises can turn evaluation back into an exam
Public leaderboards are useful for trends. They are a poor sole gate for procurement or regression. A more reliable approach is a closed set you own, protected like production data.
- Decouple item sources from public sets. Write items from internal defect tickets, real interface contracts, and business calculation rules. Avoid rewriting public items. Rewrites often keep function names, samples, and numbers, so the model can still hit fragments.
- Make the set dynamic. A fixed seed becomes a new original paper. Parameterize input scale, boundary values, and business constants, and sample a new instance on each run. Keep the generation rules and the scorer, and do not leave every instance in crawlable documents for the long term.
- Score behavior, not only the final string. For coding, use hidden tests and mutation tests. For question answering, check whether the reasoning cites the given material. For tool use, check whether the right tool was chosen and whether the arguments are valid. Memorizing an original answer does not reliably pass unseen hidden cases.
- Track process signals. Count cases where the model recites a reference answer without being asked, or where output closely overlaps a public stem. Treat these as contamination alerts, not only as pass rate.
- Compare versions fairly. Use the same closed set, the same decoding settings, and the same tool environment. Temperature, retry count, and whether documentation is allowed often move the score more than the model difference.
- Split human and automatic work. Use automatic scores for regression. Sample failures to confirm whether they are capability issues, an overly strict scorer, or an ambiguous stem.
Reduce leakage on the data side as well. Pretraining filters can exact- and near-deduplicate public evaluation text. Post-training data should not mix in whole papers. Marker strings known only internally can detect whether a corpus was republished outside. Filtering cannot prove the model “never saw the meaning.” It only lowers the chance of verbatim memory, so closed evaluation is still necessary.
If cloud training, object storage, or experiment tracking hosts the closed set, treat the items as sensitive assets: access control, download audit, and a ban on writing full evaluation text into public logs and error samples. General cloud facilities such as Baidu AI Cloud can hold storage, training jobs, and log retention, but whether a score is trustworthy depends on the evaluation design, not on which cloud the job was submitted to.
Four things to watch on a leaderboard
First, whether raw score, leakage rate, and cleaned score are reported together, and how many items remain after cleaning. A single perfect score carries the least information.
Second, whether the probe is independent of “getting it right.” A correct answer may be skill or memorization. Continuing into an original misspelling is almost certainly memory.
Third, whether the task is close to your distribution. High or low scores on small public coding functions do not extrapolate to a private codebase, long-context changes, or permissioned tool calls.
Fourth, whether failure modes can be reproduced. Turning errors on the cleaned set into regressions guides iteration better than chasing overall rank.
Conclusion
Scores are still useful, but only if the paper is new to the model and the scorer measures generalization rather than recitation. If the industry rewards only raw accuracy on public sets, memorizing the paper pays better than improving reasoning. After continuation probes, rescoring with seen items removed, and closed dynamic evaluation become routine for releases and procurement, a high score again means “it can get this right without having seen the item.” Until then, treating any single perfect score as a selection basis is riskier than treating it as a lead that still needs review.
