An AI cannot demonstrate general understanding merely by passing questions that have already influenced it. A vocabulary benchmark asks whether “may” and “must” express the same obligation. If its answer, or a close paraphrase, appeared during training, prompt selection or retrieval, the score may partly reflect exposure rather than an ability to interpret new language. The proposed Semantic Evaluation Firewall separates development material from independent tests of meaning. It also protects the reference definitions and reviewers from being silently changed to match the model’s answers. The objective is credible generalisation, not a permanently perfect score.
This proposal draws on established research about benchmark contamination. Deng and colleagues (2024) investigate exposure between benchmarks and training data; Sun and colleagues (2025) examine why rewriting leaked questions may fail to preserve both fidelity and independence. The firewall described here is an engineering proposal, not a published standard or proof that any hidden training set is uncontaminated. It requires explicit task contracts, data lineage, independent adjudication and new evaluation after changes. All worked cases are fictional.
- Clarify: Distinguish closed-book recall, source-grounded interpretation and action safety.
- Separate: Keep training, prompt tuning, calibration and final evaluation roles explicit.
- Inspect: Look for exact, translated and semantic overlap among examples.
- Protect: Keep the reference answer key independent from the model being assessed.
- Record: Preserve task, source version, system configuration and evaluation history.
- Correct: Move exposed final tests into regression status after using them to repair defects.
- Conclude: Make only bounded performance claims supported by the evidence.
Chapter index
- 1. A benchmark needs a named capability
- 2. What counts as contamination rather than legitimate learning
- 3. Semantic duplication can survive paraphrasing
- 4. Rewriting a leaked question is not automatically repair
- 5. Protect the development, calibration and final test roles
- 6. A fictional permission and obligation test
- 7. Independent ground truth is also a governance problem
- 8. Feedback loops can contaminate an answer key without exact duplication
- 9. The tension between public tests and protected tests
- 10. Performance-based contamination investigations
- 11. Time, language and sources create additional evaluation boundaries
- 12. A complete firewall record and release protocol
- 13. The purpose is credible improvement, not a permanent perfect score
1. A benchmark needs a named capability
Before testing the meaning of a word, specify which ability the system is expected to demonstrate. A closed-book test asks whether the model recalls a definition from its own parameters. A retrieval test asks whether the model can find a source and interpret it. A tool-use test asks whether it follows permissions and produces the correct action. Those are distinct contracts.
A model may correctly read that “may” creates permission while “must” imposes an obligation, yet fail to identify the controlling policy or recipient of an action. A score that mixes these tasks cannot show which component worked. Separate claims about comprehension, source selection, context and authority.
The proposed firewall record includes the task, source version, permitted evidence, model configuration, test population, error definition and reason for the test. A result under one contract must not be presented as proof of a stronger or different contract simply because the same word appears in both.
Back to contents · Next chapter
2. What counts as contamination rather than legitimate learning
Training systems on annotated examples is normal. Contamination becomes a concern when material expected to provide independent evaluation has already influenced training, tuning, prompt selection or an answer-generating retrieval setup without being disclosed. The key is the claimed independence, not whether examples were used anywhere.
Exposure may occur through pretraining corpora, supervised data, public tutorials, model-generated demonstrations, evaluation feedback or data leaked from another project. Some exposure can be confirmed; for opaque models, some cannot be checked. A useful status is “not known to be exposed under these checks,” not a guarantee of absolute purity.
Li and colleagues (EMNLP 2024) report heterogeneous contamination effects in the settings they studied. Overlap may raise a benchmark score in one task and have little observed effect in another. The firewall therefore investigates the relevance of contamination to the exact performance claim.
Back to contents · Next chapter
3. Semantic duplication can survive paraphrasing
A development item asks “Does the phrase may attend require attendance?” A test item asks “Is someone obliged to appear when a notice says they may appear?” These are not identical strings, yet they may ask the same underlying question. A translated form can preserve the same target. A test suite of near-duplicates can appear larger and more independent than it is.
Exact matching remains a useful initial check, but a deeper audit can inspect common source paragraphs, template families, paraphrase relationships and evidence that the answers were previously visible. Similarity systems themselves require review: two questions can sound alike while a negation, exception, date or authority makes their correct answers different.
Record suspected duplication separately from confirmed overlap and genuine independence. Do not remove cases solely because they are about the same subject. Testing broad transfer across a concept family is legitimate when the development and final test roles are transparent.
Back to contents · Next chapter
4. Rewriting a leaked question is not automatically repair
A common response to benchmark leakage is to rewrite the question and keep its answer. But the model may still have learned the same answer from a slightly different sentence. Alternatively, a supposedly equivalent rewrite may introduce an extra condition and change the target. Either problem makes a simple accuracy comparison less informative.
Sun and colleagues’ ICML 2025 study tests mitigation approaches and reports difficulty balancing contamination resistance with fidelity to the original task in their examined settings. Their results warrant caution, not the assertion that all rewriting approaches are impossible.
If a new sentence uses “must” where the original used “may,” it is not a harmless rewrite. An evaluator should record the original and revised item, intended proposition, source authority, independently reviewed meaning relation and observed difficulty. Treat each transformed benchmark as needing its own validation.
Back to contents · Next chapter
5. Protect the development, calibration and final test roles
Data used to train a model, choose its prompt, tune a threshold or select a version have influenced that system. A reserved test provides a different role: an estimate of how the frozen system handles examples that did not shape it. A calibration set can have another separate role when a probability or selection procedure needs fitting.
Avoid splitting near-identical examples from the same source paragraph or conversation across roles. One original request might generate five paraphrases and three translations; those derived items share a meaning family. Depending on the evaluation goal, group them before dividing the material.
When a failed final test prompts a fix, that test has informed development. Keep it for regression tracking, clearly marked, and obtain suitable fresh evidence for the next independent-performance claim. Versioned history is more useful than quietly deleting the case or rewriting the original score.
Back to contents · Next chapter
6. A fictional permission and obligation test
Imagine an assistant classifies statements under a defined four-label rubric: permission, obligation, prohibition or unresolved. The development guide contains examples such as “You may enter” and “You must enter.” A final evaluation should not consist solely of those sentences with the punctuation changed.
A useful unseen case might add an exception, a date or a new authorised source: “You may enter after inspection, but attendance is mandatory for registered operators.” That statement may contain both permission and obligation for different subjects or conditions. If the rubric demands one whole-sentence label, the reference team must decide whether the correct outcome is unresolved or a structured multi-claim representation.
A model that gets every familiar example right demonstrates a useful regression property, not universal understanding. Preserve which examples were used for tuning and which were newly adjudicated for final assessment. The fictional cases here illustrate design choices, not measured model accuracy.
Back to contents · Next chapter
7. Independent ground truth is also a governance problem
A reference answer is valid only relative to a well-defined task and suitable evidence. A model cannot grant itself correctness by producing a fluent explanation of its prediction. Nor can a panel of models create an authoritative legal or institutional definition simply by voting.
For consequential language, separate who is authorised to define a rule from who evaluates whether a sentence satisfies it. Preserve source documents, valid dates, reviewer disagreement and unresolved cases. Correct mistaken reference labels through a documented process without rewriting historical evaluation records invisibly.
The earlier Semantic Test Oracle addresses what counts as a defensible reference. The firewall adds who or what had access to those references before a performance claim was made, and how changes to them affect the test’s independence.
Back to contents · Next chapter
8. Feedback loops can contaminate an answer key without exact duplication
Suppose an AI suggests a document category, staff accept the default and the stored final label becomes the next evaluation’s reference. The question and answer may never have appeared in model pretraining, yet the reference is not independent of model influence. A high agreement score could be circular.
The Semantic Feedback Trap analyses this separate failure pathway. The firewall can reserve a representative independently adjudicated sample and record whether reviewers saw a model suggestion. “Human-reviewed” does not automatically mean “model-independent”.
An AI judge may assist with large-scale checking but can share the classifier’s sources or biases. Evaluate the judge under an explicit rubric, particularly where the model’s proposed answer is visible. Agreement among related systems is not a replacement for independent reference evidence.
Back to contents · Next chapter
9. The tension between public tests and protected tests
Public benchmarks support reproducibility, critique and comparison. Their visibility also makes repeated exposure likely, especially when developers tune on them. A private test can protect some new items, but its findings may be harder to reproduce and reviewers may know less about potential selection bias.
A proposed layered design keeps the task specification public, offers demonstrative examples for development, protects current independent evaluation items under suitable access controls, and publishes methodology and aggregate results. Retired tests may later be disclosed where permissions and risk allow.
Privacy and provenance are distinct. No one needs to expose personal messages publicly merely to prove an evaluation happened. Record accountable access, sample design, corrections and remaining unknown sources. Secrecy is not an automatic proof of independence.
Back to contents · Next chapter
10. Performance-based contamination investigations
ConStat (NeurIPS 2024) studies inflated benchmark performance that does not generalise to related items. This motivates comparison of original, rephrased and genuinely fresh cases. The method and its claims should be read within the setting evaluated in that research.
A large gap does not alone prove memorisation. The new case might have a changed meaning, a new policy exception or a different difficulty. The evaluator must validate that the comparison preserves the intended construct before interpreting the difference. A deliberately altered meaning can be a valuable boundary test, but not a contamination-neutral paraphrase.
Deng and colleagues (NAACL 2024) investigate detection techniques including overlap analysis and test-set guessing. Such methods produce evidence about particular contamination hypotheses; they cannot guarantee full knowledge of a closed model’s inaccessible training corpus.
Back to contents · Next chapter
11. Time, language and sources create additional evaluation boundaries
A task performed in two languages may not have identical source obligations or short equivalents. The same policy term can be translated approximately. A test needs competent review of the actual source and target propositions, not merely matching labels across translations.
The date of the policy, date of the case and date of the model run also matter. A rule can be revised while an earlier benchmark remains unchanged. A previously correct historical answer may now be inappropriate for current decisions. That is not necessarily training contamination; it is a target-version problem.
The Semantic Lockfile records semantic dependencies for a particular workflow. The firewall should use those references to prevent teams from comparing two differently defined tasks as if the scores measured one stable objective.
Back to contents · Next chapter
12. A complete firewall record and release protocol
The proposed evaluation record identifies task, target population, source authority, glossary version, system and prompt versions, permitted tools, development and calibration splits, final test construction, reference adjudication, contamination checks, metric definitions and unresolved limitations. Every score should be reproducible against that recorded contract to the extent the provider and system allow.
Test interpretation separately from actual consequential actions. A model may correctly say “do not delete” while a connected tool nonetheless deletes. A system may retrieve the right document but cite a wrong version. Offline semantic correctness is not sufficient evidence of permission enforcement or tool success.
For a low-risk pilot, construct a meaning suite with ordinary, negated, exception-bearing and unknown cases. Freeze the system, assess unseen examples, mark any later test-driven revisions, and obtain fresh independent material before making new performance claims. No universal generalisation is established by one successful run.
Back to contents · Next chapter
13. The purpose is credible improvement, not a permanent perfect score
A meaning-engineering project should expect test failures to reveal unseen distinctions. The evaluation firewall protects that learning by keeping historical results, development feedback and fresh independent challenges distinct. It can support better confidence estimates, more honest coverage reports and clearer explanations of why a change was approved.
An immutable Z-layer is a proposed reference architecture, not a way to exempt the project from validation. A reference may remain fixed while evidence about its usefulness changes; a new source may supersede an old rule; human communities may disagree over a category. These differences are testable only when the benchmark itself has a defensible scope.
A strong result is a modest and inspectable claim: under the specified version, evidence and population, the workflow performed as measured on independent cases. That is a firmer foundation for a language system than a higher score obtained by repeatedly practising its own examination.
Frequently asked questions
Is every public benchmark invalid?
No. Public tests help reproducibility and regression. The claim should disclose exposure and whether performance holds on independent cases.
Does rewriting a benchmark remove contamination?
Not automatically. The answer may remain known, or the rewrite can alter the target. Both fidelity and independence require checking.
Is retrieval cheating?
Only relative to the task. Source retrieval is legitimate in a source-grounded test and changes the result of a closed-book recall test.
Can a model evaluate itself?
It can help but is not automatically independent. The judge and reference rubric need their own validation.
What changes when a test case inspires a model repair?
The case becomes useful development or regression evidence. Obtain appropriate new independent evaluation evidence for a fresh unseen-performance claim.
Research and official sources
- Deng et al. (2024), Investigating Data Contamination in Modern Benchmarks for Large Language Models.
- Sun et al. (ICML 2025), The Emperor’s New Clothes in Benchmarking?
- Dekoninck et al. (NeurIPS 2024), ConStat: Performance-Based Contamination Detection.
- Li et al. (EMNLP 2024), An Open-Source Data Contamination Report for Large Language Models.
- W3C PROV: provenance of source data and transformations.
- NIST AI RMF Core: governance, measurement and ongoing review.
Continue the Vocabulary Coding and Engineering series
Editorial status: The Semantic Evaluation Firewall is a proposed governance workflow, not a proof of contamination-free pretraining. Its fictional examples illustrate testing principles. Research results apply within the studies’ stated scopes.
