How LLMs Detect and Correct Their Own Errors: The Role of Internal Confidence Signals
Dharshan Kumaran, Viorica Patraucean, Simon Osindero, Petar Veli\v{c}kovi\'c, Nathaniel Daw

TL;DR
This paper demonstrates that large language models utilize an internal second-order confidence signal, specifically the PANL activation, to detect and correct errors independently of their log-probability scores.
Contribution
It provides empirical evidence that LLMs employ a second-order confidence mechanism, supporting error detection and correction beyond traditional probability measures.
Findings
Verbal confidence predicts error detection beyond log-probabilities.
PANL activations predict error detection and correction capabilities.
Causal interventions show PANL signals improve error detection when answer info is corrupted.
Abstract
Large language models can detect their own errors and sometimes correct them without external feedback, but the underlying mechanisms remain unknown. We investigate this through the lens of second-order models of confidence from decision neuroscience. In a first-order system, confidence derives from the generation signal itself and is therefore maximal for the chosen response, precluding error detection. Second-order models posit a partially independent evaluative signal that can disagree with the committed response, providing the basis for error detection. Kumaran et al. (2026) showed that LLMs cache a confidence representation at a token immediately following the answer (i.e. post-answer newline: PANL) -- that causally drives verbal confidence and dissociates from log-probabilities. Here we test whether this PANL signal extends beyond confidence to support error detection and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
