Name-Blind Replay: Detecting Rationalized Hallucinations by Stripping Entity Names from the Model's Own Reasoning

When a language model explains its answer step by step, the explanation often does not do the work. The model may have settled on the answer from memorized associations with the names in the question, and then written a plausible chain of reasoning around it. When that memorized association is wrong, the result is a hallucination wearing a convincing argument. We propose a cheap test for this. Take the model's own reasoning chain, consistently replace every named entity with a typed placeholder ("person P1", "city C2"), and ask whether the renamed chain still yields the answer. A chain that reaches its conclusion only when the real names are visible was not carrying the conclusion. The names were, through memory the chain never stated. We claim that this sufficiency gap is a per-answer signal that separates name-triggered factual errors from grounded answers. We also expect it to catch "confidently wrong" cases that sampling-based detectors miss.

The test brings together three lines of work that have so far met only in pairs. Studies of faithfulness show that models often fix answers before reasoning. Studies of lexical dependency in knowledge alignment show that systems relying on surface names break when the names are removed. Hallucination detectors that read reasoning chains still let the checker see the names. Our test treats lexical dependency as the instrument: removing names isolates the part of an answer that the stated reasoning does not support.

Core Claim

Existing step-level hallucination detectors ask whether each step is supported. They ask this of a checker that can read the entity names, so the checker can fill unstated gaps from its own memory. That is the same shortcut the reasoner used. Hiding the names closes that path. Our claim is that the probability a name-blind replayer recovers the original answer from the renamed chain predicts factual error on multi-hop factual questions better than the same check with names visible. We further expect the gap between the two checks to be largest for entities that appear often in pretraining text.

Let $c$ be the model's reasoning chain and $a$ its answer. Let $\rho$ be a consistent, type-preserving renaming of the entities in $c$ and $a$, and let $R$ be a replayer model prompted to derive an answer from premises alone. The score is

$$s(c,a) = P_R\big(\rho(a) \mid \rho(c)\big),$$

where low $s$ means the chain is not sufficient for its answer once names are gone. The key comparison is with $s_{\text{named}} = P_R(a \mid c)$, the identical check without renaming.

Positioning

The motivating evidence comes from faithfulness work. How Likely Do LLMs with CoT Mimic Human Reasoning? intervenes on reasoning chains and finds that prompts often drive answers and reasoning in parallel, rather than reasoning driving answers. In 6-digit addition, GPT-4 is correct despite wrong steps 74.4% of the time. On the Hardness of Faithful Chain-of-Thought Reasoning measures this with early answering, which tracks how the answer probability changes as reasoning steps are revealed. It finds that forcing faithfulness costs up to 20% accuracy on TruthfulQA. Both papers diagnose rationalization at the dataset level. Neither gives a per-answer test that links it to factual error, and neither varies the surface names.

The method's intuition comes from lexical dependency work. FaiRR shows that replacing subjects with out-of-distribution names drops a monolithic deductive model, ProofWriter, to 89.6% while a modular reasoner holds 96.8%. AbstRaL finds a similar fragility to variable renaming in math. Both papers treat renaming as a robustness stress test on synthetic or arithmetic tasks. We use it instead as a diagnostic on real factual questions, applied to the model's own chain. KAE supplies a design principle: an entity can be identified by its properties rather than its label. That is why our placeholders keep the entity's type and the facts stated about it, and drop only the name.

Two papers constrain the design. The Illusion of Progress shows that judging answer correctness by ROUGE, which counts overlapping words with a reference answer, inflates detector scores. Perplexity's AUROC falls by up to 45.9% under human-aligned judging, and length heuristics rival complex detectors. We therefore label correctness with a human-aligned judge and include length as a baseline. Measuring the Impact of Lexical Training Data Coverage shows that exact n-gram counts in the pretraining corpus add signal beyond log-probabilities, raising NQ-Open detection accuracy from 64.2% to 73.3%. It also finds that very high frequency often marks memorized templates rather than truth. This lets us test whether name-blind replay is simply a proxy for frequency.

The closest competitors are detectors that already read reasoning. Hallucination Detection from Structural Reasoning Model (FlowScore) restructures reasoning into a graph of conditions and steps. It has a local verifier judge each step given only its parent nodes, and it reports 76.59% AP on MATH. Its verifier still reads names, it needs a special generation format that hurts HotpotQA, and it was never tested under paraphrase. IRIS trains a small classifier on hidden states recorded while the model writes a verification rationale. It treats that rationale as a black box. FRIT (FRIT) measures step importance by swapping steps for distractor facts. That needs many forward passes per step and perturbs content, not names.

Research Program

The pipeline has three stages. First, the subject model answers a question with free-form reasoning, without a special format. Second, a renamer finds every named entity in the question, chain, and answer, using the subject model's own extraction cross-checked against Wikidata aliases. It assigns each entity a consistent typed placeholder. Literals such as dates and quantities are kept. Third, a replayer receives only the renamed chain, with the original question also renamed, and is asked to derive the answer. If the answer is an entity, we map it back through the renaming table. We compute $s$ from the replayer's probability on the renamed answer, averaged over a small set of placeholder schemes. Averaging reduces sensitivity to any one choice of placeholder.

The replayer is either the subject model itself or a fixed independent model. Comparing the two tells us whether the signal comes from the chain or from the replayer.

A predictable failure mode is that renaming also damages genuine reasoning. A replayer may simply reason worse over "P1" than over "Marie Curie". We measure this false-failure rate directly in two ways: on D3 Subject-perturbation chains, where correctness is name-independent by construction, and on gold human-written HotpotQA reasoning chains. We report the detector both raw and after subtracting this false-failure rate.

A secondary analysis addresses the tension noted in the coverage literature. We run the pipeline on RedPajama-INCITE-7B, whose training corpus is public, and relate $s_{\text{named}} - s$ to the pretraining frequency of the entity names. If the gap concentrates on high-frequency names, that supports the account that frequent names enable answer-by-association, and that the reasoning then rationalizes it.

Baselines

The naive reference points are answer log-probability (or perplexity) and the length heuristics that The Illusion of Progress found competitive. Both are computed on the same generations. Any proposed signal must clear these; otherwise it is measuring verbosity.

The most important baseline is the named replay check $s_{\text{named}}$, which isolates the key ingredient. It uses the same replayer, prompt, chain, and decoding, and differs only in whether names are visible. Beating it means a statistically significant AUROC gain under paired bootstrap on the same items. If the gain is absent, the core claim fails.

The strongest existing structural method is FlowScore (Hallucination Detection from Structural Reasoning Model), which reports 76.59% AP on MATH and 83.08% AP on HumanEval. We run it with the same subject and verifier models and the same token budget. We report both its native graph-format generations and our free-form ones, since its format alone can change accuracy on HotpotQA. No reported FlowScore number on HotpotQA or StrategyQA was found on Lacuna, so we reproduce it there. We also add a name-blind variant of FlowScore's local verifier. If renaming improves FlowScore as well, that strengthens the claim that hiding names is the useful ingredient.

The strongest internal-state method is IRIS (IRIS). It reports relative gains over unsupervised baselines of 3.2% on True-False, 7.0% on HaluEval2, and 10.2% on HELM, rather than absolute scores we could quote. We retrain its classifier on the same models and data with its published label-free protocol.

We also include the frequency-plus-log-probability decision tree from Measuring the Impact of Lexical Training Data Coverage on RedPajama-INCITE. That paper reports 73.3% accuracy on NQ-Open. Finally, we include the early-answering curve from On the Hardness of Faithful Chain-of-Thought Reasoning as a per-item faithfulness score.

Why not just…?

Why not just ask a judge whether the chain entails the answer? This is the most serious threat, because it is our method minus renaming. The named-replay baseline tests it directly. Our hypothesis is that a judge reading real names fills unstated hops from memory and so approves name-driven answers. If the named and name-blind AUROCs do not differ, the judge is good enough and renaming adds nothing. We would report that as a negative result.

Why not just use FlowScore, which already checks steps against their parents? Checking against parents does not prevent the verifier from recognizing the entities and supplying missing facts. FlowScore's paper itself notes failure with implicit premises and a cost on HotpotQA from its required format. Our name-blind variant of FlowScore separates two possible sources of benefit: the graph structure and the hiding of names. If FlowScore with names matches our method, the graph structure is the active ingredient and our contribution narrows to the renaming add-on.

Why not just sample several chains and check agreement? Sampling fails when a model is consistently wrong. FlowScore's paper reports about 25% AP for sampling-based methods on HumanEval, and The Illusion of Progress reports that Eigenscore, a sampling-based detector, erodes by 19.0% to 30.4% under human-aligned labels. A memorized wrong association is exactly the kind of error that stays consistent across samples. We nonetheless include semantic-agreement sampling at matched token cost, and report results on the subset where all samples agree.

Why not just use pretraining frequency of the names? If name-blind replay merely restated frequency, the cheap feature would suffice, at least for open-corpus models. On RedPajama-INCITE we fit both signals jointly and test whether replay adds AUROC beyond frequency. The frequency signal is also unavailable for frontier models whose training data is proprietary, whereas replay needs no corpus.

Proposed Experiments

The subject models are Llama-3.1-8B-Instruct and Mistral-7B-Instruct-v0.3, matching The Illusion of Progress, plus Qwen3-8B and RedPajama-INCITE-7B. The primary benchmarks are HotpotQA and StrategyQA, because their answers require chaining entity facts. Secondary benchmarks are TruthfulQA, NQ-Open, and TriviaQA, which require fewer hops and should show a weaker effect. We use MATH only to compare against FlowScore's reported figure, since math has few named entities and we expect little gain there. FOLIO tests whether renaming the predicates exposes the axiom fabrication reported in Do LLMs Game Formalization?. We label correctness with human annotation on a subset and a validated model judge elsewhere, never ROUGE. Detection is reported as AUROC and AP.

Four outcomes decide the proposal. First, name-blind replay must beat named replay on HotpotQA and StrategyQA after correcting for false failures. Second, on items flagged as rationalized by early answering, meaning the answer probability stays flat as steps are revealed, $s$ should be low. On items whose answers change under FRIT-style step replacement, $s$ should be high. This checks that the score tracks faithfulness and not just difficulty. Third, in a controlled injection test, we fine-tune or prompt a model to adopt a specific false association, such as a wrong birthplace for a well-known person. Name-blind replay should flag the resulting answers while sampling agreement does not. Fourth, the named-minus-blind gap should rise with pretraining frequency on RedPajama-INCITE.

If the first check fails, the idea is wrong. If only the third succeeds, the method is a narrow tool for injected associations rather than a general detector, and we would say so.