舌尖上的提示:首令牌提示作为大语言模型(LLM)回忆失败的行为探测手段
On the Tip of the Tongue: First-Token Cueing as a Behavioral Probe of Recall Failures in LLMs
AI总结:
本研究提出首令牌提示作为探测手段,发现大语言模型的闭卷事实错误多为首令牌回忆失败,该令牌可修正1/5至1/2的多令牌答案错误,为推理时间方法优化提供方向。
摘要:
大语言模型(LLM)在闭卷场景下常错误回答事实性问题,这类错误通常被归因于知识缺失。然而,模型往往编码了它们未能生成的答案。本文表明,许多闭卷错误属于首令牌回忆失败:模型会确定错误的首令牌,但一旦给出正确的首令牌,它就能完成答案且常识别出该答案正确。我们通过首令牌提示(First-Token Cueing,一种行为探测手段,将答案的首令牌预填充到响应中)研究这一现象。模型不确定性在答案首令牌处达到峰值,此时模型已能预测正确性;在任意长度的黄金前缀中,仅首令牌就占可恢复错误的最大比例。在16种开放模型中,该令牌可修正英语问答中多令牌答案的五分之一到一半的错误,并提升多语言基准中全部7种语言的准确率。它修正的多数错误也能被模型自身的采样推理解决(这是编码知识的判断标准),且模型能识别出它们未生成的正确起始:模型延续正确起始的置信度高于相同答案类型和先验概率的错误起始,但若无黄金答案则极少能发现正确起始。这些结果将一类可恢复的事实性错误定位在首个解码步骤,推理时间方法或可在此处获得最大收益。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。