Scalable Token-Level Hallucination Detection in Large Language Models
Rui Min, Tianyu Pang, Chao Du, Minhao Cheng, Yi R.
NeurIPS page · Open on the map
Category: LLM Reasoning, Memory & RAG › Hallucination Detection Methods · Type: new method · Keywords: hallucination detection, large language models, token-level detection, scalable annotation, evaluation protocol
Areas: Evaluation & Benchmarks › Language Model and Agent Safety › Hallucination and Text Detection
Summary
TokenHD is a scalable pipeline that trains token-level hallucination detectors on free-form text, achieving performance that surpasses large reasoning models such as QwQ-32B.
Explained to a 5-year-old
Big computer programs called language models sometimes say things that aren't true. It's hard to tell when they make mistakes, especially when they talk about complicated things. The researchers built a tool that looks at each word to find those mistakes. This tool can work on any text without needing to break it into pieces. It helps make sure the computer says things we can trust.
Explained to a 5-year-old, longer
Big computer programs called language models can write sentences that sound right. Sometimes they include facts that are wrong or made up, which we call hallucinations. It is difficult for people to spot these mistakes, especially when the text is about complicated topics. Existing methods try to find mistakes by breaking the text into steps, but that is slow and not very precise. The researchers created a new system that can look at each individual word to find errors. This system first makes a lot of fake mistakes so it can learn what to look for. It then uses a special way of learning that pays more attention to important parts. After training, the system can check any piece of text and point out where it might be wrong. It does not need the text to be split into steps, which makes it faster. The researchers tested it on many different texts and found it works well. Even a small version of the system performed better than much larger models used for reasoning. They also found ways to make it even better at understanding new kinds of text.
For a technical reader
The work addresses the challenge of detecting hallucinations-incorrect or fabricated statements-in the outputs of large language models, especially in complex reasoning scenarios. It presents a scalable data engine that synthesizes large-scale annotations of hallucinations, eliminating the need for manual step segmentation. A training recipe employing an importance-weighted strategy is used to teach a detector that operates directly on free-form text. Empirical results show that even a 0.6 B parameter detector outperforms much larger reasoning models such as QwQ-32B, and performance scales with model size up to 8 B. The evaluation protocol and cross-domain generalization analyses provide a robust benchmark for future hallucination detection research.
Problem
Detecting hallucinations in large language models is challenging, especially in reasoning-intensive tasks where errors are subtle and step-level analysis lacks granularity and scalability.
Method
The approach builds a scalable data engine to synthesize large-scale hallucination annotations and trains a detector using an importance-weighted strategy, operating directly on free-form text without requiring step segmentation.
Results
Even a 0.6B detector achieved substantial gains, outperforming larger reasoning models like QwQ-32B, and performance scaled consistently up to 8B parameters.
Contributions
A scalable annotation engine for hallucination data, an importance-weighted training recipe for token-level detection, and a rigorous evaluation protocol that enables direct detection on free-form text without step segmentation.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction