Detecting Errors in Large Language Model Responses: The Incremental Predictive Value of Hidden States

Ningzhi Li, Xiaojun Ma, Xiaofei Wang
10/20/2026
cs.CL

No confident code implementation found for this paper. 4 possible matches can be shown below.

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2026detecting,
  title  = {Detecting Errors in Large Language Model Responses: The Incremental Predictive Value of Hidden States},
  author = {Ningzhi Li and Xiaojun Ma and Xiaofei Wang},
  year   = {2026},
  eprint = {2610.27455},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.27455v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.27455.svg)](https://codeofpaper.com/paper/2610.27455)

Discussion