目标标记的不对称性可伪装成深度专业化
Target-Token Asymmetry Can Masquerade As Depth Specialization
AI总结:
该研究发现层消融研究中观察到的深度专业化假象源于目标标记不对称,通过拆分标记类型、匹配目标混合可验证跨语料库深度效应是否为真实任务专业化。
摘要:
层消融研究通常会对语言模型的早期层或晚期层进行扰动,比较其对两个语料库预测造成的损害,并将某一语料库中更大的早期层效应解读为早期层对该任务的专业化。这种比较会对每个语料库要求模型预测的标记取平均值,而这些目标标记存在差异:例如,数学解题比百科散文需要更多的空格和数字。我们表明,这种差异会造成深度专业化的假象。我们按目标标记类型拆分跨语料库的早-晚层损害交互作用,并在两个语料库共享的目标混合条件下重新计算该交互作用。在GSM8K和Wikitext之间,正交互作用在五个模型实例中均复现;在三个完全分解的模型中,仅空格存在正交互作用。移除空格会逆转所有三个模型的汇总效应,匹配完整目标混合会逆转其中两个模型的效应。该诊断在位置匹配、标记类型的对抗性重新分配以及连续读取条件下均成立,且仅通过分词器即可预判该风险。在模型运行前计算的筛选器将所有保留对置于其标签预测的区域,在其评为高或中等风险的对中,移除空格会逆转所有正汇总估计。前一个标记处的较小内容词效应与未消融模型已预测的内容目标占比一致。因此,跨语料库的深度效应仅在报告目标标记混合、按标记类型分解效应且混合匹配摘要保持其符号后,才支持任务专业化的解读。
英文摘要:
Layer-ablation studies often perturb early or late layers of a language model, compare the damage to prediction on two corpora, and read a larger early-layer effect on one corpus as early-layer specialization for its task. Such a comparison averages over the tokens that each corpus asks the model to predict, and these target tokens differ: math solutions, for example, ask for far more whitespace and numbers than encyclopedia prose. We show that this difference can create the appearance of depth specialization. We split a cross-corpus early--late damage interaction by target-token type and recompute it under a target mixture shared by both corpora. Between GSM8K and Wikitext, a positive interaction replicates across five model instances. In the three fully decomposed models, only whitespace has a positive interaction. Removing whitespace reverses the pooled effect in all three, and matching the full target mixture reverses it in two. The diagnosis holds under position matching, adversarial reassignment of token types, and a continuous readout. The risk can also be anticipated from the tokenizer alone. A screen computed before any model runs places every held-out pair it scored in the region its label predicts, and on the pairs it rates at high or medium risk, removing whitespace reverses every positive pooled estimate. A smaller content-word effect one token ahead follows the share of content targets that the unablated model already predicts. A cross-corpus depth effect therefore supports an interpretation of task specialization only after the target-token mixture is reported, the effect is decomposed by token type, and a mixture-matched summary keeps its sign.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。