Prompt-Guided Internal States for Hallucination Detection of Large Language Models
Fujie Zhang, Peiqi Yu, Biao Yi, Baolei Zhang, Tong Li, Zheli Liu
Abstract
Large Language Models (LLMs) have demonstrated remarkable capabilities across a variety of tasks in different domains. However, they sometimes generate responses that are logically coherent but factually incorrect or misleading, which is known as LLM hallucinations. Datadriven supervised methods train hallucination detectors by leveraging the internal states of LLMs, but detectors trained on specific domains often struggle to generalize well to other domains. In this paper, we aim to enhance the cross-domain performance of supervised detectors with only in-domain data. We propose a novel framework, prompt-guided internal states for hallucination detection of LLMs, namely PRISM. By utilizing appropriate prompts to guide changes to the structure related to text truthfulness in LLMs' internal states, we make this structure more salient and consistent across texts from different domains. We integrated our framework with existing hallucination detection methods and conducted experiments on datasets from different domains. The experimental results indicate that our framework significantly enhances the cross-domain generalization of existing hallucination detection methods 1 .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models cites The Internal State of an LLM Knows When It's Lying
- SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models cites Language Models are Few-Shot Learners
- Mind the Gap: Catching Hallucinations via Evidence Drop on the Reasoning Manifold cites The Internal State of an LLM Knows When It's Lying
- The Internal State of an LLM Knows When It's Lying cites Language Models are Few-Shot Learners
- Geometry of Reason: Spectral Signatures of Valid Mathematical Reasoning cites The Internal State of an LLM Knows When It's Lying
- Geometry of Reason: Spectral Signatures of Valid Mathematical Reasoning cites INSIDE: LLMs' Internal States Retain the Power of Hallucination Detection
- INSIDE: LLMs' Internal States Retain the Power of Hallucination Detection cites SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models
- INSIDE: LLMs' Internal States Retain the Power of Hallucination Detection cites The Internal State of an LLM Knows When It's Lying
- When Truthful Representations Flip Under Deceptive Instructions? cites TruthfulQA: Measuring How Models Mimic Human Falsehoods
- When Truthful Representations Flip Under Deceptive Instructions? cites Language Models are Few-Shot Learners
- Training a Generalist Hallucination Detector across Multiple Domains via Adaptive Layer Aggregation cites SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models
- Training a Generalist Hallucination Detector across Multiple Domains via Adaptive Layer Aggregation cites The Internal State of an LLM Knows When It's Lying
- Training a Generalist Hallucination Detector across Multiple Domains via Adaptive Layer Aggregation cites TruthfulQA: Measuring How Models Mimic Human Falsehoods
- Training a Generalist Hallucination Detector across Multiple Domains via Adaptive Layer Aggregation cites INSIDE: LLMs' Internal States Retain the Power of Hallucination Detection
- Beyond In-Domain Detection: SpikeScore for Cross-Domain Hallucination Detection cites SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models
- Beyond In-Domain Detection: SpikeScore for Cross-Domain Hallucination Detection cites The Internal State of an LLM Knows When It's Lying
- Beyond In-Domain Detection: SpikeScore for Cross-Domain Hallucination Detection cites INSIDE: LLMs' Internal States Retain the Power of Hallucination Detection
Cited by top-tier papers5
- Beyond In-Domain Detection: SpikeScore for Cross-Domain Hallucination DetectionYongxin Deng, Zhen Fang, Sharon Li, Ling ChenICLR 2026 · 5 citations
- Geometry of Reason: Spectral Signatures of Valid Mathematical ReasoningValentin NOËLICML 2026 · 4 citations
- Mind the Gap: Catching Hallucinations via Evidence Drop on the Reasoning ManifoldQunJie Chen, Yufei Chen, Xiaodong Yue, Linye LiICML 2026
- When Truthful Representations Flip Under Deceptive Instructions?Xianxuan Long, Yao Fu, Runchao Li, Mu Sheng et al.EMNLP 2025
- Training a Generalist Hallucination Detector across Multiple Domains via Adaptive Layer AggregationXinyi Li, Zhen Fang, Yadan Luo, Yongxin Deng et al.KDD 2026
Builds on11
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- TruthfulQA: Measuring How Models Mimic Human FalsehoodsStephanie Lin, Jacob Hilton, Owain EvansACL 2022 · 3,228 citations
- SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language ModelsPotsawee Manakul, Adian Liusie, Mark J. F. GalesEMNLP 2023 · 331 citations
- INSIDE: LLMs' Internal States Retain the Power of Hallucination DetectionChao Chen, Kai Liu, Ze Chen, Yi Gu et al.ICLR 2024 · 281 citations
- The Internal State of an LLM Knows When It's LyingAmos Azaria, Tom M. MitchellEMNLP Findings 2023 · 177 citations
Related papers
- ReFL: Reflective Feedback Learning for Hallucination Detection of Large Language ModelsCunhang Fan, Jun Zhang, Xue Zhang, Shuai Zhang et al.ACL 2026
- Unsupervised Real-Time Hallucination Detection based on the Internal States of Large Language ModelsWeihang Su, Changyue Wang, Qingyao Ai, Yiran Hu et al.ACL Findings 2024 · 47 citations
- PHPFND: Detecting Fake News via Post-Hoc Processing of LLMs HallucinationJinke Ma, Jiachen Ma, Wei Zhang, Yong LiuAAAI 2026
- HalluClean: A Unified Framework to Combat Hallucinations in LLMsYaxin Zhao, Yu ZhangAAAI 2026
- Unsupervised Hallucination Detection by Inspecting Reasoning ProcessesPonhvoan Srey, Xiaobao Wu, Anh Tuan LuuEMNLP 2025
