语言模型的测谎仪:解读模型不愿透露的知识

·

研究论文 · 2026/09/22

大型语言模型可能掌握其不报告的知识。模型可能在能力评估中故意表现不佳,或给出与其内部知识相悖的答案,仅凭输出无法判断它是隐藏答案还是根本不知道。我们借鉴了隐藏信息测试——一种通过向嫌疑人展示真实细节与合理干扰项,并测量其对所识别项目的更强反应来识别有罪知识的法医方法。我们的方法“内部识别探测”(PIR)在模型内部做同样的事:向模型呈现一个问题及其候选答案,从模型的内部状态中读取它认为哪个候选答案是正确的。PIR无需参考模型,也不需要标注的真实语料库。在来自五个家族(Gemma、Qwen、Llama、Mistral和Phi)的八个模型上,PIR以0.70至0.87的平衡准确率恢复出被识别的答案,远高于0.28至0.40的未知项目基线以及0.25的随机概率。在我们测试的每一种隐藏形式下——从提示欺骗、训练过的消极怠工,到外部密码锁定和电路破坏的检查点——它都保持可读性,识别率在0.85至0.93之间。当模型隐藏已知答案时,识别率保持高位;当遗忘移除知识时,识别率降至模型从未知晓的问题水平。因此,PIR能够区分不愿回答的模型和无法回答的模型,这支持消极怠工审计和遗忘验证。该信号具有因果性,提供了超越黑盒行为线索的信息,并从多项选择题扩展到自由形式生成。

该研究提供了一种无需外部参考即可探测模型内部知识的方法,能有效区分模型是隐藏答案还是真正不知道,对AI安全审计和模型可信度评估具有重要意义。

Large language models can hold knowledge they do not report. A model may sandbag on a capability evaluation, or answer against what it internally knows, and its outputs alone cannot tell whether it is hiding an answer or simply does not have one. We borrow the Concealed Information Test, a forensic method that identifies guilty knowledge by presenting a suspect with the true detail among plausible decoys and measuring a stronger response to the item they recognize. Our method, Probe of Internal Recognition (PIR), does the same inside a model. It presents a question with its candidate answers and reads, from the model's internal states, which candidate the model recognizes as correct. PIR is reference-free, needing no honest reference model and no labeled truth corpus. Across eight models from five families (Gemma, Qwen, Llama, Mistral, and Phi), PIR recovers the recognized answer at 0.70 to 0.87 balanced accuracy, well above the 0.28 to 0.40 unknown-item baseline and the 0.25 chance rate. It stays readable across every form of concealment we test, from prompted deception and trained sandbagging to external password-locked and circuit-broken checkpoints, with recognition between 0.85 and 0.93. When the model hides a known answer, recognition stays high. When unlearning removes the knowledge, recognition drops to the level of a question the model never knew. PIR therefore separates a model that will not answer from one that cannot, which supports sandbagging audits and unlearning verification. The signal is causal, adds information beyond black-box behavioral cues, and extends from multiple-choice questions to free-form generation.

阅读原文

参与讨论