To test whether an AI system preserves meaning, do not ask only whether it writes a plausible summary. Give it difficult, precisely defined changes that should alter the decision—and harmless rewrites that should not. Replacing “may” with “must”, moving a deadline, removing an exception or broadening “some” into “all” can transform a policy. Changing sentence order or replacing a familiar example can leave the underlying rule intact. An effective semantic drift benchmark tests whether the system distinguishes these two classes, not whether it assigns every pair of sentences an impressive similarity score.
This article proposes a reproducible, risk-aware red-team benchmark for the draft Meaning Transfer Protocol v0.1. It is a research design, not a report of a completed experiment or an independently validated test suite. It follows the NIST AI Risk Management Framework approach of governing, mapping, measuring and managing risks and borrows the practice of explicit test cases from the Open Policy Agent’s policy-testing guidance. The guiding question at every zoom level is: what change would cause a person or system to do the wrong thing, and can we reliably detect it before deployment?
- Character zoom: A missing “not” can reverse the entire claim.
- Word zoom: Modality and quantifiers frequently control eligibility and obligations.
- Sentence zoom: Paraphrases can be meaning-preserving despite lexical differences.
- Document zoom: An omitted footnote or exception can change a conclusion.
- Model zoom: Benchmarks must measure misses, false alarms and uncertain cases.
- Organisation zoom: A test failure should cause investigation, correction and retesting.
- Civilisation zoom: Public claims about AI reliability need reproducible evidence, not an assertion of perfection.
What should a semantic drift benchmark measure?
The benchmark’s object is not literary elegance. It evaluates the relationship between a trusted source, a candidate rewrite and a defined task. In the simplest setting, a source rule says which cases qualify for a particular outcome. The benchmark asks whether the candidate text preserves that classification and its essential supporting conditions. Where the original rule is ambiguous, the correct behaviour may be to flag uncertainty rather than guess.
A complete evaluation should consider both kinds of mistakes: a false negative in which the system misses a meaning-changing mutation, and a false positive in which it flags a harmless paraphrase. The costs differ. Missing a reversed safety warning may be serious, while unnecessarily flagging a stylistic change may chiefly consume reviewer time.
1. Freeze the reference source before writing tests
Every test case must identify which source version is authoritative for the task. A government rule, technical specification or approved company policy may change over time. If a benchmark compares an AI response with a later revision without acknowledging the difference, it can incorrectly mark the earlier output as wrong.
Record the source’s issuer, date, applicable domain, relevant jurisdiction and exact wording. Where appropriate, maintain an integrity digest and permissions to access the source. The W3C PROV framework supports describing a document’s generation and revision history. This helps future reviewers reproduce the evaluation and determine whether a failure was caused by the model or a changed reference.
2. Build a taxonomy of mutations
- Negation reversal: Insert, remove or move “not” or an equivalent negative condition.
- Modal shift: Change permission into obligation, prohibition or recommendation.
- Quantifier drift: Replace “some” with “all”, “at least” with “more than”, or similar.
- Temporal drift: Change deadlines, effective dates, timezones or calendar units.
- Population drift: Broaden or narrow the persons, objects or cases covered.
- Authority drift: Replace a source’s recommendation with a claim of binding law.
- Evidence drift: Upgrade “possible” or “preliminary” into certainty.
- Exception deletion: Remove a material exclusion, appeal route or conditional clause.
- Action drift: Change what the user is advised or authorised to do.
- Benign variation: Change style, examples or syntax without changing task outcomes.
The taxonomy is a proposed editorial tool. Mutations can overlap: changing “only adults may apply” into “everyone must apply” shifts scope and obligation together. The test’s reference label should record all consequential differences rather than force the result into one arbitrary category.
3. Include meaning-preserving examples
A benchmark containing only malicious or meaning-changing examples encourages a model to flag everything. To evaluate useful discrimination, include pairs that are equivalent under the actual task. For example, “The meeting starts at 10:00 a.m. on Tuesday” and “On Tuesday, the meeting begins at ten in the morning” can be equivalent if the timezone and context are shared.
The candidate must not be rewarded for objecting to every synonym. Some variation is important for accessibility, translation and clear writing. Benchmark design should include different reading levels, sentence orders and explanatory examples that legitimately preserve the source’s claims.
4. Create a reference decision for each test case
A label such as “meaning changed” can be too vague. For each candidate, document the specific reason and a real-world example on which the change matters. If the source says “aged 65 or above” and the rewrite says “older than 65”, the test case should include a person exactly 65 years old. If the source says “calendar days” and the rewrite says “working days”, the example should cross a weekend.
These decision cases create a bridge between language and consequence. They help experts disagree constructively: the question becomes whether the approved source would include the case, not whether one sentence merely sounds similar to another.
5. Red-team one clause at a time, then combine clauses
Early tests should isolate one feature so failures are diagnosable. Change a negation while leaving dates and actors unchanged. Change a threshold while preserving the permitted action. Then add more realistic compound cases where several small edits occur together. Compound drift can be harder to identify because a model may notice one change and overlook another.
Each example needs a documented expected result, but reviewers should also recognise ambiguity. If the original text has two plausible interpretations, label that source ambiguity before treating one interpretation as ground truth. A benchmark must not reward forced certainty about unresolved material.
6. An illustrative test matrix
- Case A — benign: “Submit no later than Friday 5 p.m.” versus an exact equivalent with the same timezone and inclusive cutoff.
- Case B — obligation: “Members may request review” becomes “Members must request review”.
- Case C — age: “Age 65 or above” becomes “Over age 65”.
- Case D — date: “Within 30 calendar days” becomes “Within one month”.
- Case E — negation: “Do not process inactive records” becomes “Process inactive records”.
- Case F — omission: A valid extension clause disappears from the summary.
- Case G — uncertainty: “May be associated” becomes “was caused by”.
- Case H — action: “Report the information” becomes “change the account”.
- Case I — authority: “Recommended practice” becomes “legally required everywhere”.
- Case J — source conflict: Two documents state incompatible rules for distinct periods.
Every case in this matrix is a hypothetical teaching example. A real benchmark must use clearly specified source texts and expected outcomes; for some cases, assumptions about when a deadline begins or which language controls must be supplied. The test should explicitly say when an answer is unresolved.
7. Measure the ability to find consequential errors
For a defined collection of meaning-changing examples, calculate the number detected divided by the number actually present. This is a form of recall or sensitivity for the benchmark’s labelled errors. It tells the team how many targeted problems the detector catches under the test conditions, not how reliably it will perform in every future situation.
A detector that catches most obvious negations may still perform poorly on exceptions buried in long documents. Report results by error category and document length. A single average masks weaknesses in the very categories that may have the highest consequences.
8. Measure false alarms separately
A system that labels every difference dangerous will have excellent detection of altered examples but very poor usefulness. For the meaning-preserving examples, track the proportion incorrectly flagged as problematic. Where practical, also report precision: among alerts raised, how many actually identify a meaningful issue under the reference criteria?
Precision depends on the proportion of genuinely faulty cases in the evaluated set. A benchmark artificially filled with severe errors may produce an impressive precision figure that does not translate directly to ordinary production traffic. State the test set’s composition and avoid implying a universal operational rate.
9. Severity and reversibility matter
A missing qualifier in a fictional short story may be an artistic difference. A missed negation in an emergency notice could have serious consequences. The benchmark should assign a consequence category based on the specific use case, including how many people could be affected and whether the result is reversible.
Do not treat a subjective severity score as scientific fact. Document why the category was chosen, who reviewed it and what protections follow. A score may guide triage, but human judgment remains necessary for high-consequence applications.
10. Include uncertain and disputed outcomes
Some source texts are genuinely ambiguous, and a validator should be able to say “cannot establish equivalence”. A test that forces yes or no in every case may reward unjustified confidence. A separate uncertainty class makes it possible to evaluate whether the model recognises missing source authority, unclear dates or conflicting definitions.
Abstention should not be counted silently as success. Publish how often the system defers and whether it does so appropriately. Too many deferrals may make a tool unusable; too few may indicate false confidence. The right balance depends on the task and the available human review process.
11. Guard against benchmark leakage
If the tested models or their operators have repeatedly seen the answers during prompt tuning, the benchmark may overestimate general performance. An evaluation programme can reserve held-out examples, periodically refresh cases, and separate the team developing the detector from the people authoring final tests. Security and data-protection obligations should guide how cases are stored.
No finite test set represents the whole variety of human language. A claim that a detector is “99.9% semantically reliable” is unjustified unless the measure, sample, confidence and intended population are disclosed. A benchmark provides evidence for bounded tasks, not certainty about all possible texts.
12. Compare models using the same source context
A fair model comparison should supply equivalent authoritative documents and relevant instructions to each candidate system. If one model has the correct policy and another only sees a short summary, differences in performance may reflect retrieval quality rather than the underlying language model. Track which source versions, model settings and tool access each run had.
The NIST AI RMF recommends systematic management of context and measurable risk. A useful experiment can distinguish source-retrieval errors, source-understanding errors, paraphrase drift and unauthorised action. Those are different failure mechanisms and should lead to different corrective measures.
13. Test chained handovers, not only one rewrite
Many real systems pass language through several people or AI agents: a report becomes a summary, the summary becomes an email, and the email becomes a software requirement. An important exception can disappear at an early stage and stay missing thereafter. Testing only the final two texts may fail to reveal how the drift accumulated.
Preserve the original source at every stage and test the final result directly against it. Record which handover first changed a decision, whether an intermediate validator caught the problem and whether a later summary restored the correct condition. This gives engineers evidence for improving the actual workflow.
14. Test multilingual handovers
Translation may preserve the general subject while altering permission, negation, units or cultural connotations. Build a small set of source-language and target-language cases reviewed by qualified bilingual experts. Do not assume that a language model’s own translation back into the original language proves functional equivalence.
A relevant target is whether readers of both versions take the same action on defined examples. A legal term with no exact cross-border counterpart should be labelled as such rather than forcibly marked equivalent. The benchmark should support a “scoped close match” or “needs interpretation” result.
15. Test the boundary between source text and instructions
An AI assistant may be asked to analyse a page that contains instruction-looking text. A benchmark can include harmless fictional material containing quoted commands and check that the system describes these words without treating them as permission to operate its tools. This is a prompt-injection resilience question connected to semantics and provenance.
Tests should avoid claiming that one prompt-level filter guarantees safety. The actual software needs least-privilege permissions, appropriate approval gates and monitoring. A model that refuses to discuss any quoted command may not be useful; a model that obeys arbitrary page content can be unsafe.
16. Human review and adjudication
Expert reviewers can disagree on whether two messages are equivalent, especially when the source is vague or legal interpretation is contested. An adjudication process should record each interpretation, the evidence, the decision authority and the reason for the final label. Reviewers should not be encouraged to manufacture agreement simply to improve the benchmark’s apparent quality.
The source may need rewriting before testing can continue. That is a legitimate research finding: sometimes the problem is not that AI failed to understand a clear rule, but that the rule itself was insufficiently specified. The benchmark should distinguish these two causes.
17. Reproducibility requires a test manifest
- Corpus version: The exact set of source–candidate pairs.
- Source authority: What document and version control the example.
- Annotation rules: How change categories and uncertainty are determined.
- Model configuration: Known model, prompt and settings at evaluation time.
- Evidence access: Which documents each system could retrieve.
- Decision cases: Approved examples and expected outcomes.
- Metrics: Error detection, false alarms, deferrals and category-specific performance.
- Review log: Disagreements, adjudications and corrections.
- Privacy constraints: Any restrictions on publishing test data or source records.
18. A fictional evaluation dashboard
Imagine 100 hypothetical examples, evenly divided between deliberately meaning-changing and meaning-preserving rewrites. If a detector identifies 40 of 50 altered cases and incorrectly flags 5 of 50 safe cases, its detection rate on the altered examples is 80%, and its false-alarm rate on the safe examples is 10%. In this deliberately balanced set it raised 45 alerts, 40 of which were correct, so its precision is about 89%.
Those numbers are solely a worked arithmetic example, not experimental performance of MTP or a real AI model. If the production mix contains far fewer altered messages, precision can differ substantially. This is why evaluation reports need the underlying counts and assumptions rather than only percentages.
19. A seven-stage red-team workflow
- Select a bounded domain and exact source versions.
- Define the meaning-critical properties and source authority.
- Write matched safe paraphrases and dangerous mutations.
- Review and adjudicate expected labels before testing a model.
- Run models under documented source access and configurations.
- Measure misses, false alarms, uncertainty and consequential failures.
- Repair prompts, retrieval, rule definitions or permissions, then retest on held-out cases.
20. How should organisations act on a failure?
A missed changed deadline suggests a need for explicit date and quantity validation. A missed source exception suggests improved retrieval or longer-context checks. A source conflict suggests clarification by the governing authority. An unauthorised action indicates a permission problem that cannot be fixed solely by better paraphrasing.
An evaluation is useful only if failures lead to specific interventions and retesting. A public-facing system should also provide a way for affected users to report an incorrect decision or explanation. When a rule is corrected, the organisation should review whether earlier decisions were made using the flawed interpretation.
Frequently asked questions
Is an AI similarity score enough to validate a policy summary?
No. A highly similar sentence can change a negation, deadline or obligation. Evaluate meaning-critical features and decision outcomes against the source.
Why test harmless paraphrases?
Because a detector that flags every rewrite may catch many dangerous changes while also producing excessive false alarms. A useful system must distinguish safe variation from consequential drift.
Can a benchmark establish zero semantic loss?
Not universally. It can estimate performance on a specified collection of tasks and changes under declared conditions. Unseen cases, source ambiguity and real-world variation remain.
Should every disagreement be settled by AI majority vote?
No. Reviewers may share an error, and some issues require the actual policy owner, domain specialist or legal authority to clarify the rule.
Conclusion: meaning tests should expose consequences before they spread
The strongest semantic benchmark is not the one with the largest number of examples or the most flattering score. It is the one that identifies which changes matter to the reader’s task, tests those changes transparently and tells designers where their system fails. At the character zoom, one changed word can alter a requirement. At the workflow zoom, a chain of summaries can lose critical exceptions. At the civilisational zoom, those errors may affect thousands of people. Red-teaming meaning is the practical discipline of finding that drift before it becomes institutional fact.
Sources and related reading
- NIST: AI Risk Management Framework
- NIST: Generative AI Risk Management Profile
- Open Policy Agent: Policy testing
- W3C: PROV Overview
- Part 32: Meaning Transfer Protocol v0.1
- Part 33: MTP schema and data dictionary
- Part 30: Semantic invariants and meaning checks
Research-status note: The benchmark, mutation labels and example metrics in this article are proposed methods and hypothetical demonstrations, not findings from an implemented MTP system. Any real deployment would need independent annotation, domain-specific expert evaluation and transparent reporting of limitations.
