96% of Benchmark Questions Recited: Why LLM Scores Are Unreliable
A newly released model can answer one coding question and then continue by reciting the next questions and reference answers verbatim, including an original typo. In a test covering 164 items, it reproduced 158 questions and answers from memory, or about 96%; memorization rates were also high in science and math benchmarks. This article explains why next-token prediction makes public benchmarks vulnerable to contamination, how benchmark leakage appears at different depths, and how to detect it with memorization probes, perturbation tests, and temporal holdouts. It also describes a decontamination workflow, governance practices for model developers, and practical advice for teams choosing models.
A model that had just been released was asked a programming question. It answered correctly, but it did not stop there. Instead, it continued by writing out the next question, the examples, and the official answer verbatim. It even reproduced a typo from the original text, where “example” had been written as “examble.” Then came the third question, the fourth question, and so on, in the exact same order as the original benchmark.
We had not provided any of those questions or answers.
When we asked the model about each of the 164 questions one by one, it was able to “reproduce from memory” the full question and reference answer for 158 of them, or about 96%. The same model recited about 85% of a science benchmark from the same series and about 80% of an elementary-school-level math problem set.
In contrast, on a coding evaluation set built from real software repositories and published after the model’s training-data cutoff, the model’s memorization rate was close to zero. Even so, it still achieved a surprisingly high score.
In a comparison involving four candidate base models and twenty public benchmarks, the problem became even clearer:
- Two models could barely recite the questions, yet they still ranked near the top.
- The model that could recite about 90% of the coding questions earned a perfect score in the original evaluation and ranked first on average. But when we removed the questions and answers it had memorized, its coding score dropped to 3.66, and its average ranking fell from first to last.
- A model that had originally ranked lower moved up to first place after the subtraction step, because it had not relied heavily on memorization to earn points.
In other words, what puts some models at the top of leaderboards is not only reasoning ability. It is also the fact that they have “seen the exam” before.
One methodological caveat should be stated first. The recited questions and answers had already been generated by the model before the subtraction step, so the original scores may be slightly overestimated. Some questions may also have been cases where the model had seen the question but answered it incorrectly. This does not change the direction of the conclusion. For benchmarks with memorization rates close to 100%, the score after removing memorized items can no longer represent the model’s real performance on unseen questions.
1. Why LLMs memorize exam questions
The first stage of training for mainstream large language models is usually next-token prediction over massive amounts of text. Under this objective, long fragments that appear repeatedly, such as code repositories, encyclopedia entries, question-bank pages, and public datasets, are effectively copied into the training process.
Language models also tend to produce continuations that are most probable in the training distribution. As a result, if a question has been discussed countless times online, its “standard solution” becomes a high-probability continuation in the model’s view.
This is not mysterious. It is a statistical consequence of the training objective. The real problem is that if an evaluation set once appeared in the training corpus, the benchmark no longer measures whether the model can solve a problem. It measures whether the model remembers it.
I would group the main leakage channels into four categories.
1. Collateral damage during corpus collection
Public benchmarks are frequently quoted in papers, tutorials, course notes, code comments, blogs, and Q&A communities. Crawlers can collect these pages along with the questions, reference answers, and sometimes even the exact formatting. This is the most common contamination path.
2. Missed contamination during data cleaning
Deduplication often relies on exact-match removal, approximate deduplication, or n-gram filtering. However, the same question may appear in dozens of formatting variants: different line breaks, different variable names, added Markdown code blocks, or answers split across multiple lines. Character-level or token-level exact matching is almost ineffective against these near-duplicates.
3. Reverse injection from synthetic data and instruction data
Many teams use large models to generate data for training large models. If the question-generation stage is handled by one model and the answer-generation stage is handled by the same model or another model, then any lack of similarity blocking against known benchmarks can allow the style and content of evaluation sets to flow into the training data through the synthetic-data pipeline. This kind of “internal leakage” is often overlooked.
4. The public and circulating nature of evaluation sets
Many so-called public question sets are actually static files in papers’ appendices or repositories. Once a question has been publicly discussed or incorporated into tutorials, it becomes transparent to all subsequent training. Benchmarks are not confidential documents, but they are often treated as if they were.
2. Four typical forms of benchmark leakage
When observing contamination, I find it more useful to classify leakage by “depth” rather than simply dividing it into “seen” and “unseen.”
Layer 1: Verbatim memorization
The model can reproduce the complete question and standard answer, including typos, formatting anomalies, and numbering errors in the original text. This is the easiest layer to identify and also the most serious. It indicates that the benchmark has essentially entered the training distribution almost unchanged.
Layer 2: Answer memorization with incomplete question recall
The model cannot produce the full question, but if asked “What is the answer to question N?”, it can provide the correct result. This suggests that the answer segment has been memorized, while the question text may have appeared in slightly different variants.
Layer 3: Problem-solving pattern memorization
The model cannot reproduce the original question, but when it encounters a highly similar problem type, it follows the same step structure as the standard solution. It may even copy distinctive variable names, comment styles, or the order of edge-case handling.
Layer 4: Style and formatting leakage
The model tends to output formatting habits associated with a particular benchmark, such as a specific comment header style, a particular function-signature style, or a particular step-by-step solution format. This layer may seem harmless, but it can create the illusion that a model “looks capable” when it is actually reproducing familiar patterns.
In practice, these layers often appear together. The signals for severe leakage are very clear:
- Layer 1 evidence: long passages are reproduced verbatim.
- Layer 2 evidence: accuracy on question variants is significantly higher than on other questions of similar difficulty.
- Score anomaly: performance on a public benchmark is far above performance on comparable private benchmarks.
3. How to detect contamination: a three-layer method
Layer 1: Memorization probe
This is the most direct method. Give the model the question ID and ask it to reproduce the question and reference answer in the original order. Do not ask it to solve the question. If the model can output the question and answer coherently, leakage is basically confirmed.
Pseudocode:
def probe(model, benchmark):verbatim = 0for item in benchmark: # question text + reference answer# Provide only the ID and a minimal domain hint; do not provide any question contentprompt = f"Reproduce the complete question and reference answer for item {item.id} in order:"out = model.generate(prompt)if overlap(out, item) >= 0.9: # question + answer coverage >= 90%verbatim += 1return verbatim / len(benchmark)
Important details:
- The probe must provide only the question ID or extremely minimal context. If any question content is provided, “reproduction” can be confused with a normal answer under prompting.
- Matching should cover both the question and the answer. Original typos, formatting anomalies, and other irregularities should be preserved as “fingerprints.” Fingerprint matches are more convincing than content matches alone.
- For each question, it is recommended to run 2 to 3 independent samples and take the highest coverage to rule out chance.
Layer 2: Perturbation test
Rewrite the surface form of the question without changing its underlying meaning. For example, change variable names, change numeric magnitudes, convert multiple-choice questions into fill-in-the-blank questions, or rename function signatures. If the score drops significantly after perturbation, that suggests the model is relying on memory rather than ability.
Pseudocode:
def perturb(item, rng):# Keep the problem structure unchanged and alter surface featurestext = item.texttext = rename_identifiers(text, rng) # rename variables/functionstext = renumber_constants(text, rng) # scale or replace numeric constantstext = reformat(item, style="plain") # remove original formatting cuesreturn text
Criterion: if the gap between the model’s average score on the original set and the perturbed set exceeds a preset threshold, for example 15 percentage points, memory dependence should be suspected.
Layer 3: Temporal holdout
This is the most reliable layer, because it does not depend on assumptions about the training corpus. Use only questions published after the model’s training-data cutoff. If the model scores significantly lower on the new question set than on the old one, then the old high score must contain a memorization component.
4. Turning scores into trustworthy scores: decontamination and re-evaluation
After identifying leakage, the next step is to produce reproducible quantitative conclusions. The approach I use is the subtraction method:
- Use the memorization probe to identify the leaked question set M.
- Remove M from the evaluation set E, producing E’ = E \ M.
- Recompute scores only on E’ and report the size and confidence interval of E’.
- Report three metrics together: the original score, the post-subtraction score, and the memorization rate. Do not report only one number.
One important issue is that E’ can shrink dramatically. For example, out of 164 questions, only 6 may remain. At that point, a single score becomes highly unstable. The proper approach is to add the following:
- Provide confidence intervals, such as Wilson intervals or bootstrap estimates.
- State whether the difficulty distribution of E’ has shifted.
- If E’ is too small, introduce a new question set for cross-validation rather than treating the 3.66 score as the only conclusion.
This is exactly how the comparison results above were obtained. After subtraction, the coding score dropped from a perfect score to 3.66, and the ranking fell from first to last. Meanwhile, models that did not rely heavily on memory showed little change. This suggests that a substantial part of the difference in leaderboard rankings is not a difference in capability.
5. Governance checklist for model developers
If you are training a model, the following items form the minimum set for minimizing contamination costs.
Data lineage
For every batch of training data, record the source, collection time, deduplication strategy, and version number so that every sample can be traced back. Without data lineage, you cannot prove that a benchmark did not enter the training set.
Multi-layer deduplication
Use exact deduplication + near deduplication, such as MinHash/LSH or SimHash + benchmark-directed filtering, such as an n-gram overlap threshold plus a semantic similarity threshold. The key to benchmark-directed filtering is “benchmark awareness”: the benchmark should be treated as a first-class input in the deduplication pipeline, not as an afterthought.
Temporal holdout window
When constructing the corpus, reserve a “future window.” Deliberately exclude content published after the training cutoff, and periodically validate the corpus with newly released content.
Synthetic-data gate
Any pipeline of “model generation → model validation” should run a benchmark-similarity interception step before data enters the training set, followed by sampled human review. Synthetic data is one of the easiest places for benchmarks to be “washed” into the training set.
Training-data cards and reproducible evaluation
For every model version, output a data card that describes the corpus scope, deduplication methods, list of evaluation sets, and known contamination risks. Archive evaluation results with model versions to ensure reproducibility.
6. Practical advice for evaluators and model selectors
If you are using or selecting a model, I recommend replacing “trust the leaderboard” with “verify + self-validate.”
- Look at the memorization rate before looking at the score. For a public question set with a memorization rate above 50%, the score has basically lost discriminative power.
- Build your own private evaluation set. Construct a golden set of 100 to 500 questions from real business samples, covering your typical scenarios and long-tail cases, and ensure that it does not appear in any public corpus.
- Use perturbed versions for secondary confirmation. For the same private question set, generate both an original version and a perturbed version, and use the lower score as the lower bound of the model’s true capability.
- Focus on failure modes rather than the total score. Dimensional statistics, such as syntax correctness, boundary conditions, exception handling, and maintainability, are more valuable for decision-making than a single average score.
- Make evaluation a pipeline. Fix prompts, decoding parameters, and scoring scripts. Store question sets and model versions in object storage, queue evaluation jobs through a message queue, write results to a logging service with monitoring and alerts, and ensure that every evaluation is traceable and comparable. General cloud capabilities can support this kind of pipeline.
- Rotate question sets regularly. Public benchmarks have a short shelf life. It is recommended to update a batch of new questions every quarter and retain old questions for trend comparison.
7. Conclusion
A model “reciting the exam” is not a flaw in one specific model. It is a structural flaw in the current evaluation paradigm: public, static, and widely cited question sets are naturally absorbed by subsequent training.
Fixing this cannot rely on harsher questioning. It requires methodology:
- For model developers: treat benchmarks as sensitive assets. Implement data lineage, benchmark-directed deduplication, temporal splitting, and synthetic-data gates.
- For evaluators: when reporting scores, also report the memorization rate, sample size, and confidence intervals. Make the post-subtraction score a routine metric.
- For model selectors: base decisions on your own private question sets and perturbation tests, not on a single leaderboard ranking.
So, can LLM benchmark scores still be trusted? My answer is: public leaderboards can serve as reference coordinates, but not as conclusions about capability. Truly trustworthy scores always come from questions you create yourself, questions the model has never seen before.
