Span-level hallucination detectors are models that read a source document and a generated answer, then mark the exact words in the answer that the source does not support. They are judged almost entirely on fixed, human-labeled test sets. Those test sets are known to be shaky. Annotators disagree about where a hallucinated span starts and ends, and one re-annotation of RAGTruth found 1.68× more hallucinations than the original labels recorded. Static analyzers for code security went through the same problem a decade earlier, and the fix there was mutation testing turned on the tool itself: take code known to be clean, inject a known defect at a known location, and check whether the analyzer flags it. Applied to crypto-misuse detectors, this approach found 25 classes of flaws. Of those, 59.2% were invisible to the standard benchmarks, including detectors that flagged "DES" but not "des".
This note proposes the same audit for hallucination span detectors. We take answers verified as faithful to their source and make small, controlled edits. Some edits create a hallucination with known boundaries. Others change only the wording or format, so the answer stays supported. We then ask whether each detector flags exactly what it should and nothing else. The central twist is a second class of mutations that edit the source document rather than the answer. The answer text is left byte-identical, but a phrase in it becomes unsupported. A detector that is really checking grounding must change its output. A detector that is judging how plausible the answer sounds will not change. Static benchmarks cannot separate these two behaviors, because in natural data the plausibility of an answer and its grounding in the source are correlated.
Core Claim
Current span detectors reach their benchmark scores partly through shortcuts that a static test set rewards. The first shortcut is judging the answer's plausibility without reading the source. The second is a learned prior that hallucinations sit near the end of a response; RAGTruth documents this "tail effect" in RAGTruth. The third is surface sensitivity to equivalent rewordings, such as "14:00" versus "2 pm".
We claim that a taxonomy-grounded mutation audit can expose these shortcuts as discrete, reproducible flaw classes. We also make a stronger, testable claim: the flaw classes the audit finds predict where the same detectors fail on natural hallucinations, including the cases the original RAGTruth labels missed. If the audit's flaws do not predict natural failures, the audit is measuring artifacts of the injected edits, and the claim is false.
What Exists and Where This Differs
Two lines of work already combine metamorphic or mutation ideas with hallucination. Both point them at the generating model, not at the detector. Hallucination Detection in Large Language Models with Metamorphic Relations (MetaQA) works by rewriting an answer into a paraphrase and a contradiction. It flags a hallucination when the model affirms both, and beats SelfCheckGPT by 0.154 to 0.368 F1. It operates at the response level on short QA answers. Drowzee derives implied facts with Prolog inference rules to provoke fact-conflicting answers, finding hallucination rates of 24.7% to 59.8% across models. Neither produces span boundaries, and neither treats a detector as the system under test.
Retromorphic Testing with Hierarchical Verification (RT4CHART) is a span detector that breaks an answer into claims and verifies each one against the source. Despite its name, it injects no faults. It is one of the systems we will audit, and its RAGTruth-Enhance re-annotation is the evidence that static labels undercount errors. MHALO evaluates multimodal models as fine-grained detectors, but only on fixed data.
Our method comes from the security work. Why Crypto-detectors Fail and MASC contribute three ideas we reuse: mutation operators derived from an empirical taxonomy of real defects, mutation "scopes" that place the same defect in different surrounding contexts, and reporting results as flaw classes rather than scores. Systematic Mutation-based Evaluation of the Soundness of Security-focused Android Static Analysis Techniques and Bonett et al. show the same approach exposing modeling gaps in Android data-flow tools. Neural-Based Test Oracle Generation is the motivating cautionary tale for learned checkers. A neural assertion generator credited with finding real bugs turned out to owe 67% of those detections to program crashes. It added only 105 kills out of 51,385 mutants once those crashes were controlled for. We suspect hallucination detectors have an analogous "implicit oracle": answer plausibility standing in for grounding. The source-side mutations are designed to remove that confound.
Research Program
Building the clean seeds. We start from RAGTruth answers labeled hallucination-free across its QA, data-to-text, and summarization tasks. We re-verify each with an entailment-model ensemble plus a human pass, given the known undercounting. Only answers that both checks agree are faithful become seeds.
Operator taxonomy. The operators follow RAGTruth's four-way taxonomy: evident conflict, subtle conflict, evident baseless addition, and subtle baseless addition. The taxonomy is extended with failure types reported elsewhere in this literature.
The conflict operators each change a supported answer so that it contradicts the source:
- swapping an entity for another entity that also appears in the source, so plain string matching cannot catch it;
- perturbing a number or date;
- flipping polarity with a negation;
- reversing a relation, following Drowzee's symmetric and inverse rules;
- weakening or strengthening a quantifier;
- reordering a temporal sequence.
The addition operators splice into the answer a modifier, attribute, or causal clause that is plausible but absent from the source.
The equivalent operators should not be flagged, and they mirror MASC's casing test. They change formats ("14:00" to "2 pm"), add or remove an abbreviation, change case, convert units, or paraphrase a supported clause. The time-format case is chosen deliberately: Learning to Reason for Hallucination Span Detection reports its reasoning detector stumbling on exactly this conversion.
Mutation scopes. Scopes vary where the same defect sits:
- where in the answer it appears (head, middle, or tail), to test the tail-effect prior;
- how far the contradicting or supporting evidence sits from the matching text in the source;
- whether the evidence is in one passage or must be combined across passages;
- how many defects appear in one answer.
Source-side mutations. These are the key ingredient. We keep the answer fixed and edit the source document instead. We delete the supporting sentence, alter the fact it states, or move it to a distant position. Each edit turns a known answer span from supported into unsupported, or the reverse. A response-only scorer is blind to all of these by construction.
Handling equivalent mutants. In classic mutation testing, an "equivalent mutant" is a change that does not actually alter behavior. Here the analog is an injected edit that the source still supports, for example a swapped entity that the source happens to also license. As in MUPPAAL, these must be filtered or they corrupt the results. Every mutant passes an entailment check against the source. A stratified human sample, of a few hundred per operator, estimates how often mutants are valid, and we report each detector's kill rate with that validity rate attached.
Boundaries. Injected spans have boundaries fixed by construction, which sidesteps the annotator disagreement documented in Mu-SHROOM. We score boundaries both exactly and with overlap, so that a detector is not penalized for a defensible choice, such as flagging a full noun phrase instead of the single changed token.
Detectors audited. We audit seven detectors:
- a fine-tuned Llama-2-13B tagger following RAGTruth;
- supervised fine-tuning (SFT) on Qwen2.5-7B, and RL4HS-7B trained with the RL4HS recipe;
- an xlm-roberta-large token tagger trained on synthetic data, as in Team Cantharellus;
- delimiter-style prompting of GPT-4o-mini and o3, following CCNU;
- the RT4CHART pipeline.
A multilingual extension applies the language-portable operators (numbers, dates, negation, entity swap) to Mu-SHROOM languages.
Baselines
Do nothing. The reference point is ordinary static evaluation: each detector's Span-F1 on RAGTruth, and IoU and Spearman correlation on Mu-SHROOM. The strongest reported numbers in the file come from Learning to Reason for Hallucination Span Detection. On RAGTruth, it reports Span-F1 of 55.9 for RL4HS-7B, 51.2 for o3, 50.1 for SFT, and 33.1 for GPT-4o-mini. RAGTruth reports span-level F1 of 52.7% for fine-tuned Llama-2-13B and 28.3% for GPT-4. No reported Mu-SHROOM IoU or correlation values were found on Lacuna for individual systems.
The audit beats static evaluation if it does all three of the following:
- it surfaces flaw classes that static scores do not reveal;
- it reorders detectors in a way that is borne out on held-out natural data;
- its flaw classes predict natural failures (detailed under Proposed Experiments).
No reported result was found on Lacuna for mutation kill rates of any hallucination span detector, so all audit numbers will be new.
Free-form LLM injection. The strongest competing audit is to ask a strong LLM to "insert a subtle hallucination and mark it," the way synthetic training data is built in Team Cantharellus. We will run it fairly. It uses the same seeds and the same number of mutants per seed. It goes through the same equivalence filter and human validity sampling. Its generator cost is matched to our operator pipeline. Our approach beats it if the taxonomy operators expose more distinct, reproducible flaw classes and the flaws they expose predict natural failures better.
Ablations. Two ablations isolate the key ingredients. The first removes source-side mutations, auditing with answer-side edits only, to test whether source editing is what reveals plausibility shortcuts. The second removes the equivalence filter, to measure how much it changes conclusions.
Repair check. As a secondary check, mutants targeted at the discovered blind spots are added to RL4HS training under identical compute and tuning budgets. Success means exceeding 55.9 Span-F1 on RAGTruth, and on RAGTruth-Enhance where available. A matched-size control adds randomly chosen mutants instead, to rule out a plain data-volume effect. This tests the class-imbalance problem RL4HS addressed with a hand-tuned reward scaling.
Why not just…?
Why not just evaluate on better static benchmarks, such as RAGTruth-Enhance? Re-annotation fixes undercounting but cannot make plausibility and grounding come apart, because natural hallucinations that are implausible are also usually unsupported. The 59.2% of crypto-detector flaws found only through mutation, in Why Crypto-detectors Fail, suggests static suites hide structured blind spots. The proposal treats RAGTruth-Enhance as the validation target rather than a rival: if mutation-found flaws explain the extra cases that re-annotation uncovered, the two are complementary.
Why not just have an LLM inject hallucinations freely? This is a real threat. If free-form injection exposes the same flaws at the same rate, the taxonomy and scopes add little. Free-form injection cannot easily control position, distance to evidence, or exact equivalence, and it cannot perform the source-side edits that hold the answer fixed. The matched comparison in Baselines settles the question. If free-form injection wins on predictive validity, we will adopt it as the generator and keep only the scope controls and source-side edits.
Why not just use the strongest judge, o3, and skip auditing? o3 reports 51.2 Span-F1, below RL4HS-7B's 55.9, in Learning to Reason for Hallucination Span Detection. In any case, choosing a better detector does not tell us where that detector fails. o3 is itself one of the systems audited, and if it shows no flaws under source-side edits, that is a result in its own right.
Proposed Experiments
Experiment 1: reading the source. For each detector, we measure how often its output changes when only the source is mutated. A grounding-faithful detector should flag a newly unsupported span nearly every time. A detector whose source-side kill rate falls far below its answer-side kill rate for the same span is relying on plausibility.
Experiment 2: position bias. We hold defect type fixed and move the defect from the tail of the answer to the head. A significant drop in recall at the head would show the detector learned RAGTruth's prevalence pattern rather than grounding.
Experiment 3: equivalent edits. We measure false flags on equivalent rewordings such as format changes and supported paraphrases. A nonzero rate there, alongside correct kills of the matching non-equivalent edits, isolates surface brittleness of the "DES" versus "des" kind.
Experiment 4: predictive validity. This is the decisive check. For each flaw class the audit finds, we define the matching condition in natural data, such as hallucinations in the first sentence or evidence far from matching text. We then test whether detector recall on natural RAGTruth-Enhance spans meeting that condition is lower than on the rest, using the original labels' misses as a second test set. If audit-found flaws predict natural recall gaps and free-form injection's flaws predict them less well, the proposal succeeds. If neither predicts natural gaps, mutants are measuring their own artifacts, and we will report that negative result.
References
- RAGTruth: A Hallucination Corpus for Developing Trustworthy Retrieval-Augmented Language Models
- Hallucination Detection in Large Language Models with Metamorphic Relations
- Drowzee: Metamorphic Testing for Fact-Conflicting Hallucination Detection in Large Language Models
- Retromorphic Testing with Hierarchical Verification for Hallucination Detection in RAG
- MHALO: Evaluating MLLMs as Fine-grained Hallucination Detectors
- Why Crypto-detectors Fail: A Systematic Evaluation of Cryptographic Misuse Detection Techniques
- MASC: A Tool for Mutation-Based Evaluation of Static Crypto-API Misuse Detectors
- Systematic Mutation-Based Evaluation of the Soundness of Security-Focused Android Static Analysis Techniques
- Discovering Flaws in Security-Focused Static Analysis Tools for Android using Systematic Mutation
- Neural-Based Test Oracle Generation: A Large-scale Evaluation and Lessons Learned
- Learning to Reason for Hallucination Span Detection
- MUPPAAL: Efficient Elimination and Reduction of Useless Mutants in Real-Time Model-Based Systems
- SemEval-2025 Task 3: Mu-SHROOM, the Multilingual Shared-task on Hallucinations and Related Observable Overgeneration Mistakes
- Team Cantharellus at SemEval-2025 Task 3: Hallucination Span Detection with Fine Tuning on Weakly Supervised Synthetic Data
- CCNU at SemEval-2025 Task 3: Leveraging Internal and External Knowledge of Large Language Models for Multilingual Hallucination Annotation