话到嘴边:首词提示作为大语言模型回忆失败的行为探针

·

研究论文 · 2026/10/22

大型语言模型在闭卷问答中常给出错误答案,通常被归因于知识缺失,但模型往往编码了正确答案却无法生成。本文提出“首词提示”行为探针,通过预填充正确答案的首个词元来研究这一现象。实验表明,模型不确定性在答案首词元处达到峰值,且首词元提示能纠正多词元答案中五分之一到一半的错误,并在七种语言的多语言基准上提升准确率。这些被纠正的错误大多也能通过模型自身采样推理解决,且模型能识别出自己未生成的正确开头。研究将一类可恢复的事实错误定位在解码第一步,为推理时方法提供了潜在增益点。

该研究挑战了模型错误即知识缺失的常见假设,提出一种简单有效的探针方法,揭示了模型内部已编码但难以提取的知识,对理解模型推理机制和改进推理时方法具有重要启示。

Large language models often answer factual questions incorrectly in closed-book settings, and such errors are usually attributed to missing knowledge. Yet models often encode answers they fail to produce. We show that many closed-book errors are first-token recall failures: the model commits to a wrong first token, but once given the right one it completes the answer and often recognizes it as correct. We study this with First-Token Cueing, a behavioral probe that prefills the response with the first token of the gold answer. Model uncertainty peaks at the first answer token, where it already predicts correctness, and among gold prefixes of any length the first token alone accounts for the largest share of recovered errors. Across 16 open models, this one token corrects between a fifth and a half of the errors on multi-token answers in English QA and improves accuracy in all seven languages of a multilingual benchmark. Most of the errors it corrects are also solved by the model's own sampled reasoning, a criterion for encoded knowledge, and models recognize correct starts they do not produce: they continue a correct start more confidently than an incorrect start of the same answer type and prior probability, yet rarely find it without the gold answer. These results locate a recoverable class of factual errors at the first decoding step, where inference-time methods may gain the most.

阅读原文

参与讨论