Detecting Errors in Large Language Model Responses: The Incremental Predictive Value of Hidden States
Abstract
Although large language models support a wide range of tasks, hallucinations remain a major obstacle to user trust. When a model generates an answer, both its internal processing and final output vary with the question. Internal states are often expected to offer richer signals for hallucination detection. However, studies using these states typically report their standalone discrimination performance, while output-side comparisons often use simple baselines with weaker modeling capacity. We integrate output-side information available at inference time into a combined baseline and compare detection performance before and after adding hidden states under identical data splits and evaluation rules. Experiments cover open-ended generation and constrained multiple-choice tasks across different models. Adding hidden states improves AUROC by approximately 0.004 and 0.039 on the two tasks, respectively. Hidden states thus provide additional predictive information, but strong standalone detection performance can still yield only limited additional gains.
Create a lesson
Metadata
- Comments
- 21 pages. Code: https://github.com/in0brain/attention_k
Related papers
Reading the Tea Leaves, Again: Can Large Language Models Predict Language Model Training Runs?
Shared title terminologycs.CLXinran Zhao, Xiang Li, Tong Chen et al.
Self-Assessment Reinforcement Learning for Search-State Awareness in Retrieval-Augmented Large Language Models
Shared title terminologycs.CLTaewhoo Lee, Minju Song, Jungwoo Park et al.
Benchmarking Large Language Models for Detecting Satirical Code-Mixed Sentences
Shared title terminologycs.CLRăzvan-Alexandru Smădu, Ioana Buhnila, Daniela Tanase et al.
Investigating the Impact of Learner Errors on Social Bias in Large Language Models
Shared title terminologycs.CLFederico Marcuzzi, Martin Christoph, Iryna Gurevych et al.
BitMTP: When Multi-Token Prediction Meets Low-Bit Large Language Models
Shared title terminologycs.CLNing Zhang, Shihao Wang, Jinrui Zhang et al.
ABench: Adversarily Benchmarking Large Language Models across Taxonomized Values
Shared title terminologycs.CLLiping Yang, Yongqi Leng, Jingting Zheng et al.