Reproduce “First Hallucination Tokens Are Different from Conditional Ones” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Jakob Snel, Seong Joon Oh
Researchers from the University of Tübingen and the Tübingen AI Center identified that the first token in a Large Language Model (LLM) hallucination sequence carries a distinctly stronger signal than subsequent conditional tokens. Their token-level analysis, across various Llama and Mistral models, showed initial untruthful tokens reaching an AUROC of nearly 0.8 using entropy-based metrics.
Key insights
- The initiation point of an LLM hallucination, represented by the first untruthful token in a sequence, carries a uniquely stronger and more detectable diagnostic signal than later tokens within the same hallucinated span.
- Not all hallucinated tokens are equally detectable; their position within a hallucinated sequence significantly influences the clarity and strength of their underlying signal.
- Logit entropy emerged as the most effective intrinsic signal for reliably identifying the first hallucinated token, indicating a pronounced shift in the model's predictive distribution at the onset of hallucination.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.