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

读出捷径:位置数字复制主导小语言模型中的算术思维链读出

The Readout Shortcut: Positional Number Copying Dominates Arithmetic CoT Readout in Small Language Models

Amazon(亚马逊)

Ming Liu

AI总结:

本研究通过前缀补全实验,发现小语言模型在算术思维链中主要依赖位置捷径(复制答案分隔符前的最后一个数字),而非逻辑推理,并分析了不同模型的行为差异。

摘要:

思维链提示对于小语言模型进行算术运算是必要的,然而打乱其步骤仍能保留大部分性能。如果思维链贡献的不是逻辑顺序,那是什么?在三个1-3B指令微调的语言模型上,针对GSM8K数据集,我们通过前缀补全隔离了答案读出阶段,并识别出一个位置捷径:模型复制占据答案分隔符前最后一个位置的数字,无论中间推理如何。正确答案的存在贡献了54-92个百分点的准确率(每个模型教师强制上限的89-92%);即使在错误项上,最终答案与思维链最后一个数字匹配的概率为95-96%。复制通道优先于保留上下文补全:用错误值替换最后一个数字会使准确率降至接近零,尽管中间步骤正确;但移除它后,准确率在该基线之上恢复5-32个百分点——当存在可复制的数字时,即使模型本可以执行的单步算术也被抑制。Qwen和Llama在87-95%的情况下复制新干扰项;Gemma则选择性门控。头部级消融实验揭示了特定于架构的头部集;该效应在GSM-Symbolic上复现。在非算术的BBH任务上,打乱保留率急剧下降;在7-8B规模时,出现了内容选择性门控。步骤级忠实度评估有风险将位置答案传输与真实计算混为一谈——这是基于思维链的监督的一个失败模式。

英文摘要:

Chain-of-thought (CoT) prompting is necessary for arithmetic in small language models, yet shuffling its steps preserves most performance. What does CoT contribute if not logical sequencing? In three 1-3B instruction-tuned LMs on GSM8K, we isolate the answer-readout stage via prefix completion and identify a positional shortcut: the model copies whichever number occupies the trailing position before the answer delimiter, regardless of intermediate reasoning. Gold-answer presence accounts for 54-92 pp of accuracy (89-92% of each model's teacher-forcing ceiling); even on incorrect items, the final answer matches the last CoT number 95-96% of the time. The copy channel takes precedence over retained-context completion: replacing the trailing number with a wrong value collapses accuracy to near-zero despite correct intermediates, yet removing it recovers 5-32 pp above that floor--even single-step arithmetic the model can otherwise perform is suppressed when a copyable number is present. Qwen and Llama copy novel distractors 87-95% of the time; Gemma gates selectively. Head-level ablation implicates architecture-specific head sets; the effect replicates on GSM-Symbolic. On non-arithmetic BBH tasks, shuffle retention drops sharply; at 7-8B, content-selective gating emerges. Step-level faithfulness evaluations risk conflating positional answer transport with genuine computation--a failure mode for CoT-based oversight.

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

↑