arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.28498cs.LGcs.CL
收藏

存在但难以读取:用最小对探究潜在推理

Copied, Mixed or Computed? Testing Latent Intermediate Values with Minimal Pairs

Aur Shalev Merin

AI总结:

该研究针对Ouro-1.4B和Qwen2.5-1.5B模型,用最小对探究潜在推理,发现模型中存在相关值但难以读取,提出含合成空值的协议,证实中间值可被读取却未被使用。

摘要:

潜在推理的探测研究通常会读取模型开始给出答案时的状态,并将探测失败作为某一值不存在的证据。我们在循环模型Ouro-1.4B和标准Transformer模型Qwen2.5-1.5B中,测试了从问题中复制的一个数字的情况。对比仅在该数字上存在差异的提示,发现该数字存在于最后一个提示标记处,且在跨问题共享的代码中(读取值约为0.9)。采用每次仅查看一个提示的常规设置的探测器,几乎无法读取该数字:即使经过5249个训练问题,Ouro中的读取值为0.36,Qwen中的为0.19。该数字的变化很小,并非因拥挤导致:随机噪声落在同样繁忙的方向上,而将其替换为随机单词会使状态移动得更远且可被读取。由于每个变化的标记都会留下痕迹,成功的探测器也存在歧义。我们提出了一种协议,包括用于通用混合的合成空值,以测试针对输入副本和混合的计算值。在对两步问题的预注册研究中,该协议在Ouro写入答案最后一个数字之前,发现了未写出的中间值a+b的微弱信号,且其符号遵循运算规则,尽管仅混合就产生了大部分符号遵循部分。将该值保持在第一个循环的另一个问题的来源处,并不会使写入的数字向另一个问题的数字移动,而答案的相同部分则会:该值可被读取但未被使用。

英文摘要:

Probing studies of latent reasoning read a model's state where the answer begins, and take a successful probe as evidence that an intermediate value was computed and a failed one as evidence that it was not. With prompts that differ in one token, we show that a digit copied from the question is present there in two looped and two standard language models, while a probe that sees one prompt at a time reads it at no more than 0.52 even after 45,000 training questions. Every token we varied leaves such a trace, so a successful probe may be reading the inputs. We give a protocol that tests a candidate value against copies of the inputs, against generic mixing of them (an operation swap with a bar set on synthetic mixtures), and for use (a clamp that controls for the copy), and we check each test where the answer is known. The clamp detects values a model is about to write or reads four tokens later, an unwritten bridge entity in two-hop recall (and not where it is readable but unused), and, in small transformers trained from scratch, an unwritten value used eight tokens later. Our first operation swap failed its positive control; its variance-based replacement passed two fresh controls but, in the small transformers, fires wherever the value is present. In the looped Ouro-1.4B the protocol finds a small code of the unwritten intermediate whose sign follows the operation, but it cannot be told apart from the answer with a copied number added back, and whether the model uses it is unresolved. For a published claim that sub-answers are computed only while a chain of thought is written, weaker tests suggest an early sub-answer; in correctly answered direct answers, whole-state patches find the sub-answer not carried on its own past its equation and, with different answers, the partner's answer in 8% of pairs (below our bar), mostly from the "=" before the answer (post hoc).

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

↑