Real-Time Detection of Hallucinated Entities in Long-Form Generation
Large language models are now routinely used in high-stakes applications where hallucinations can cause serious harm, such as medical consultations or legal advice. Existing hallucination detection methods, however, are impractical for real-world use, as they are either limited to short factual queries or require costly external verification. We present a cheap, scalable method for real-time identification of hallucinated tokens in long-form generations, and scale it effectively to 70B parameter models. Our approach targets entity-level hallucinations—e.g., fabricated names, dates, citations—rather than claim-level, thereby naturally mapping to token-level labels and enabling streaming detection. We develop an annotation methodology that leverages web search to annotate model responses with grounded labels indicating which tokens correspond to fabricated entities. This dataset enables us to train effective hallucination classifiers with simple and efficient methods such as linear prob
Real-Time Detection of Hallucinated Entities in Long-Form Generation --> Real-Time Detection of Hallucinated Entities in Long-Form Generation Oscar Obeso * 1 , Andy Arditi * , Javier Ferrando, Joshua Freeman 1 Cameron Holmes 2 , Neel Nanda 1 ETH Zürich 2 MATS * Co-first authors Large language models are now routinely used in high-stakes applications where hallucinations can cause serious harm, such as medical consultations or legal advice. Existing hallucination detection methods, however, are impractical for real-world use, as they are either limited to short factual queries or require costly
related reading
- Shaping capabilities with token-level data filteringarxiv.org
- Features as Rewards: Using Interpretability to Reduce Hallucinationsgoodfire.ai
- Hallucination Mitigation using Agentic AI Natural Language-Based Frameworksarxiv.org
- [2005.11401] Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasksarxiv.org
- [2604.16812] Introspection Adapters: Training LLMs to Report Their Learned Behaviorsarxiv.org
- [2202.03629] Survey of Hallucination in Natural Language Generationarxiv.org
- Chain-of-Verification Reduces Hallucination in Large Language Modelsarxiv.org
- [2510.13786] The Art of Scaling Reinforcement Learning Compute for LLMsarxiv.org
- Scaling Activation Oracles to Trillion-Parameter Modelstransluce.org
- (Im)possibility of Automated Hallucination Detection in Large Language Modelsarxiv.org
- [2512.11949] Neural Chameleons: Language Models Can Learn to Hide Their Thoughts from Unseen Activation Monitorsarxiv.org
- Large Language Diffusion Modelsarxiv.org