推理模型如何从数十万候选标签中零样本选出正确答案:机制刻画与蒸馏研究 MISTILL
Characterize Then Distill: Mechanistic Reasoning in Large Output Spaces
AI 导读
一项 arXiv 研究刻画了推理训练的大语言模型在数千至数十万候选标签中零样本选出相关标签的机制,并在 MIMIC-IV 出院小结临床编码任务(全部 5,651 个候选编码在上下文中)验证:一小组全局、分阶段的注意力头在每个小结上必要且充分。
正文 · 原文
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.
| Comments: | extended revision of v2. Adds a pre-registered evidence-flip test (tested, not detected), a matched-selection comparison with a frozen random-head pool, a three-seed replication of the selected fp32 setting, and coverage-stated own-trace results. 84 pages, 8 figures. Code: this https URL |
| Subjects: | Computation and Language (cs.CL); Artificial Intelligence (cs.AI); Machine Learning (cs.LG) |
| Cite as: | arXiv:2606.06840 [cs.CL] |
| (or arXiv:2606.06840v3 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2606.06840 arXiv-issued DOI via DataCite |
Submission history
From: Debjyoti Saha Roy [view email]
[v1]
Fri, 5 Jun 2026 02:32:24 UTC (334 KB)
[v2]
Tue, 6 Oct 2026 02:10:23 UTC (301 KB)
[v3]
Fri, 23 Oct 2026 01:55:43 UTC (419 KB)
来源:arXiv cs.AI · arxiv.org