arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.22271cs.LG
收藏

大语言模型如何检测并纠正自身错误:内部置信信号的作用

How LLMs Detect and Correct Their Own Errors: The Role of Internal Confidence Signals

Google DeepMind(谷歌DeepMind);Princeton University(普林斯顿大学)

Dharshan Kumaran, Viorica Patraucean, Simon Osindero, Petar Veličković, Nathaniel Daw

AI总结:

研究通过第二阶置信模型探讨大语言模型如何通过内部置信信号检测并纠正自身错误,发现PANL信号在误差检测和自我修正中起关键作用。

摘要:

大语言模型能够检测并纠正自身错误,但其内在机制尚不明确。本文通过决策神经科学的第二阶置信模型进行研究,发现PANL信号在误差检测和自我修正中起关键作用。通过验证-修正范式,研究发现:(i)口头置信度在预测误差检测方面超越了token对数概率,排除了一阶解释;(ii)PANL激活预测误差检测超越口头置信本身;(iii)PANL预测模型能纠正的误差类型,而所有行为信号在此失效。因果干预证实,当答案信息被破坏时,PANL信号能挽救误差检测行为。所有发现均在不同模型和任务中重复验证。这些结果揭示了大语言模型自然实现了第二阶置信架构,其内部评估信号不仅编码答案是否可能错误,还编码模型是否有知识修复它。

英文摘要:

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 self-correction. Here we test whether this signal supports error detection and self-correction, deriving predictions from the second-order framework. Using a verify-then-correct paradigm, we show that: (i) verbal confidence predicts error detection far beyond token log-probabilities, ruling out a first-order account; (ii) PANL activations predict error detection beyond verbal confidence itself; and (iii) PANL predicts which errors the model can correct -- where all behavioural signals fail. Causal interventions confirm that PANL signals rescue error detection behavior when answer information is corrupted. All findings replicate across models (Gemma 3 27B and Qwen 2.5 7B) and tasks (TriviaQA and MNLI). These results reveal that LLMs naturally implement a second-order confidence architecture whose internal evaluative signal encodes not only whether an answer is likely wrong but whether the model has the knowledge to fix it.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑