跳到正文
arXiv (AI + Vision + Imaging)· Debjyoti Saha Roy·AI 评分20

从机制刻画到蒸馏:大输出空间推理的注意力头机制与MISTILL方法

Characterize Then Distill: Mechanistic Reasoning in Large Output Spaces

AI 导读

研究揭示推理训练语言模型在MIMIC-IV出院小结临床编码任务中,面对上下文内全部5,651个候选编码,依靠一组小型、全局、分阶段的注意力头完成标签选择,不同头家族分别读取候选区域与推理中先前提到的近失编码。作者提出MISTILL,在决策事件上额外监督学生模型的池化注意力,跨家族学生对比决策的因果恢复接近翻倍,任务精度无差异。

正文 · 原文

arXiv:2606.06840v3 Announce Type: replace Abstract: Reasoning-trained language models can select, zero-shot, a small set of relevant labels from thousands to hundreds of thousands of candidates. We ask how they do it mechanistically, and whether the mechanism can be distilled. We treat each decision as a token-level event scored by the model's own decision margin: the token that picks a coarse region of the label space, the tokens that pick a label within it, and the token where the output departs from a near-miss named earlier in the reasoning. Attribution, exact mean-ablation, knock-in into another example's context and a null calibration give individual attention heads causal standing. On clinical coding of MIMIC-IV discharge summaries, with all 5,651 candidate codes in context, a small, global, phase-structured set of heads is necessary and sufficient on essentially every summary; distinct head families read the candidate region and the earlier near-miss, and blocking what they read removes their effect; for mentions elicitable in the reasoning, a disjoint mid-layer set makes the region elicitable several tokens before the code. The structure recurs in a second reasoner. We introduce MISTILL, which, unlike chain-of-thought distillation, also supervises the student's pooled attention at these decision events. Read on heads found after training, it nearly doubles the causal recovery of the contrastive decision in a cross-family student and adds a small, seed-stable gain in one that already carries most of it, with no detected task difference at matched precision; under matched selection it exceeds a frozen random-head pool on both recovery and task score. A pre-registered evidence-flip test detected no improvement in evidence-dependent decisions through the tested routes.

来源:arXiv (AI + Vision + Imaging) · arxiv.org