TL;DR
When a large language model hallucinates, we tend to assume its internal encyclopedia is simply missing a page. By peeking under the hood right at the split-second a model commits to an answer, researchers discovered that roughly 10–20% of errors happen even when valid prefixes for the right answer are actively bubbling near the surface. Surprisingly, as instruction-tuned models scale up, they don't just get confused by competing ways to spell the right answer—they increasingly double down with high confidence on a single wrong token.
What Problem Does This Paper Address?
Imagine asking an LLM about the colorful cathedral in Moscow’s Red Square. If it confidently hallucinates a wrong answer, why did it misfire? Looking only at the final generated text hides the alternatives that were competing in the model's output distribution at the moment of truth.
Furthermore, judging a model’s uncertainty across a whole sentence is misleading: once an LLM picks the first word of a wrong entity, the rest of the sentence ("...was built in...") flows with high predictability, making the entire hallucination look artificially confident. At the exact token where the answer begins—what the authors call the commitment step—another trap awaits: vocabulary fragmentation. The model might split its belief for "Saint Basil's Cathedral" across "Saint", "St", and "Cathedral", allowing a single wrong token like "Mos" (0.312) to beat each valid option individually, even though the correct aliases collectively hold the majority vote (0.501).
Methods
To separate "not having the answer available" from "failing to commit to it," the authors introduce an oracle diagnostic tool called per-step semantic probability mass ($P_{\text{mass}}$). Instead of evaluating full generated sentences, they take all accepted reference strings (gold aliases) for a correct answer, collect their distinct first-token IDs (accounting for case and leading spaces without double-counting), and sum their probabilities at the exact generation step where the answer starts.
Using a threshold of $P_{\text{mass}} \ge 0.2$ as a floor for "substantial availability," they evaluate 18 Base and Instruct checkpoints across the Qwen (0.8B to 72B) and Llama (1B to 70B) families. To ensure short-answer grading quirks don't skew the math, they validate 20-token greedy generations using a human-calibrated GPT-4o judge (which achieved 93.2% agreement with human consensus). They also test a reference-free "cluster-argmax" decoding intervention—merging case and whitespace variants among the top 50 tokens—and run logistic-regression probes on hidden states to see when correctness is predictable.
Datasets
The authors do not introduce new benchmarks, relying instead on established English QA datasets:
- TriviaQA & NQ-Open: 3,000 questions from each per checkpoint for the primary short-answer evaluations (plus a 500-question stratified sample per model for the GPT-4o judge audit).
- MMLU & ARC-Challenge: Used in an auxiliary multiple-choice probe (1,000 items) to test representation predictability before and after generating a single token.
Key Insights and Ideas
- Fragmentation gives way to "wrong-token sharpening" at scale: You might expect vocabulary fragmentation—splitting votes among synonyms—to be the main culprit behind high-alias-mass errors. In smaller models or Base models, it plays a real role. However, in larger Instruct models, errors are overwhelmingly driven by wrong-token dominance, where a single incorrect token becomes so sharply preferred that it outweighs the entire pooled mass of all gold aliases combined.
- Post-training isn't the sole villain: One might suspect RLHF and instruction tuning cause these confident misfires. Yet Base models exhibit comparable rates of high-alias-mass errors, proving this failure mode is native to pre-trained distributions, even if Instruct models sharpen the winning wrong token more aggressively.
- Prefix support $\neq$ knowing the answer: The authors are wonderfully careful about what $P_{\text{mass}}$ actually measures. Because an initial token like
SaintorAdamcan start dozens of unrelated names, high prefix mass measures inclusive gold-alias availability, not proof that the model uniquely "knows" the fact. - Staying on track doesn't guarantee a safe landing: Even when a model emits a valid first token, it can still derail on the second token or later in the entity name during a low-entropy continuation.
Key Results
- Prevalence of available-alias errors: Under judge-corrected labels, 9.9% to 19.6% of Instruct model errors retain substantial gold-alias mass ($P_{\text{mass}} \ge 0.2$). Larger models generally show higher rates than the smallest ones (e.g., Llama rises from 9.9% at 1B to 19.6% at 70B; Qwen goes from 14.0% at 0.8B to 18.7% at 9B and 17.3% at 72B), though the climb isn't strictly monotonic.
- Base vs. Instruct parity in frequency: At top scales, judge-validated rates are remarkably close between Base and Instruct: 20.3% vs. 19.6% for Llama 70B, and 21.9% vs. 17.3% for Qwen 72B.
- Wrong-token dominance: Within judge-validated first-token selection failures, wrong-token probability climbs from 0.38 (Qwen 0.8B) to 0.43 (9B) and 0.60 (72B), while Base controls sit at 0.26–0.30. In large Instruct models, wrong-attractor dominance accounts for 64–92% of these failures, while pure fragmentation drops to $\le 3\%$.
- Limits of lexical grouping: Grouping surface variants (case/whitespace) at step one recovers 8.8% and 9.8% of errors in Llama 70B and Qwen 72B Base models, but only 1.4% and 3.4% in their Instruct counterparts—confirming that large Instruct models fail via sharp wrong-token commitment rather than simple spelling splits.
- Shared-prefix sensitivity: Across benchmark items, 99.1% contain a first token shared by multiple concepts; stripping out all shared first tokens drops automatic-label rates to 0.6–3.0% (though doing so also throws out valid prefixes).
Limitations and Future Work
Because $P_{\text{mass}}$ relies on having the reference answer key in hand and suffers from shared-prefix ambiguity, it is strictly an analytical lens, not a live hallucination detector. Furthermore, comparing across model sizes and Base/Instruct variants involves different checkpoint families (such as mixing Qwen3.5 and Qwen2.5), prompts, and training recipes, meaning the trends are descriptive rather than strictly causal. Judge sample sizes are also finite and lack uncertainty intervals. For future work, the authors suggest building reference-free semantic grouping decoders that go beyond simple case/whitespace normalization while tracking newly introduced errors, as well as annotating exact entity positions in long-form text to study commitment dynamics in the wild.
Summary updated