指令微调如何改变上游状态影响后期读取:一种跨修补诊断
Same Targets, Different Computation: How Post-Training Divides Work Across Model Layers
AI总结:
研究探讨指令微调如何通过后期栈与上游状态交互影响后续token选择,通过跨修补诊断发现指令微调模型的后期栈效果依赖自身训练状态,且稀疏特征在其中起中介作用。
摘要:
近期可解释性工作识别了模型内部的后训练行为柄,包括拒绝方向、助手/角色轴和稀疏聊天微调特征。这些结果定位了行为可读出或控制的位置,通常在中后期层。我们询问早期计算和后期栈如何将这些差异转化为下一个token的边际。为此,我们引入了首次分歧跨修补:在预训练基础(PT)和指令微调(IT)检查点首次分歧的token处,将每个模型的早期层状态与后期栈交叉。诊断分离了训练配方:相同基础的指令遵循后代显示后期效果依赖于自身早期层状态,而OpenMath2数学领域SFT和受控代码/生物医学CPT控制的验证领域学习模型则没有;对于OpenMath2,后期效果已大部分可从基础早期层状态迁移。在五个密集家族(4B-32B)中,IT后期栈从PT上游增加+0.76 logit,从IT上游增加+2.44,给出+1.68的交互效果,每个家族均为正。因此,后期栈有真实的PT上游效果,但其在IT检查点中的更大效果仅在读取自身后训练上游状态时出现。最终MLP层的稀疏特征部分中介了该效果,并受上游修补驱动,支持从早期状态到最终层特征激活再到IT-token边际的传递。强制token评分显示,局部token选择可改变后续精确答案成功率。操作上,定位差异到后期层的配对检查点研究应在视为自包含之前测试其在另一检查点上游状态下的稳定性。
英文摘要:
A late-layer change learned during post-training may work on the base model's earlier state, or it may depend on earlier computation learned with it. We distinguish these cases with a four-cell diagnostic that crosses base or descendant upstream states with base or descendant late stacks. A large late-stack effect need not imply strong upstream dependence. On math prompts, OpenMath2's late stack changes the target margin by +3.43 logits after base upstream state and +3.28 after its own, giving a near-zero interaction. Several instruction-following descendants of the same Llama-3.1-8B base show greater dependence, while controlled code and biomedical continuation-training runs sit near zero on the common support; seven released descendants span -0.54 to +2.20 logits. Because those checkpoints differ in many ways, we then isolate one training property. Two LoRA fine-tunes learn identical target responses requested either by familiar natural-language instructions or by newly learned nonce codes. Changing only this cue-to-response relation increases upstream dependence by +5.56 logits on Qwen3-4B and +4.18 on Llama-3.1-8B, with a positive paired shift in all six model-by-seed runs. The interaction is also positive in all five released base/instruction pairs we test, and late-stack replacement changes the full-vocabulary argmax in about half of events. Post-training can therefore organize the same target behavior with different dependencies between earlier and later computation. The diagnostic measures local next-token compatibility, not free-running component transplantation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。