arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.16713cs.CLcs.AI
收藏

蒸馏前审计:面向推理迁移至紧凑医疗语言模型的可控工作流

Audit Before You Distill: A Controlled Workflow for Reasoning Transfer into Compact Medical Language Models

Einstein Global Advanced Technologies for Equity (E-GATE), Hospital Israelita Albert Einstein(以色列阿尔伯特·爱因斯坦医院 爱因斯坦全球公平先进技术中心(E-GATE));Institute of Science and Technology Itaú (ICTi), Itaú Unibanco(伊塔乌联合银行 伊塔乌科学技术研究所(ICTi));School of Sciences, São Paulo State University(圣保罗州立大学 理学院)

Tiago Martinelli, João Paulo Papa, Adriano José Pereira

AI总结:

该研究针对医疗专业问答,提出蒸馏前审计推理依据的可控工作流,验证Distill-SFT方法可高效训练紧凑医疗语言模型,减少灾难性遗忘并提升推理表现。

摘要:

教师的推理依据可帮助较小模型回答医疗专业问题,但也可能强化错误。我们使用来自医学及多专业住院医师考试的巴西葡萄牙语问题,研究其何时有帮助,以及如何利用该证据指导训练。首先,我们测量教师推理依据如何改变学生模型选择正确答案的概率,并将该效果与其他问题的推理依据进行比较。当教师正确时,完整推理依据使该概率提升21个百分点;当教师错误时,使该概率降低14个百分点。通过对推理内容进行干预,我们发现打乱顺序的推理依据不会产生相同模式。基于此结果,我们仅使用附属于教师正确答案的推理依据进行训练,并对比仅答案训练、分步蒸馏及我们提出的Distill-SFT方法。在推理相关的之前遗漏问题上,Distill-SFT相比分步蒸馏表现出适度优势,且通过将答案与推理依据合并为单一目标,使用更少训练实例。我们还使用域外ENEM数据集研究灾难性遗忘:仅答案训练使推理准确率相比基线降低12个百分点,而两种基于推理依据的训练方法仅降低约4个百分点。这些发现共同支持一种工作流:在蒸馏前审计推理依据内容、在监督前验证教师答案,并高效训练用于医疗专业问答的紧凑模型。

英文摘要:

Teacher rationales can help a smaller model answer health professions questions, but they can also reinforce errors. We examined when they help and how this evidence can guide training using Brazilian Portuguese questions from medical and multiprofessional residency examinations. First, we measured how a teacher rationale changed the student's probability of selecting the correct answer and compared this effect with rationales drawn from other questions. The complete rationale increased this probability by 21~p.p. when the teacher was correct and decreased it by 14~p.p. when the teacher was wrong. By intervening on the reasoning content, we showed that shuffled rationales did not produce the same pattern. Guided by this result, we trained only with rationales attached to correct teacher answers and compared answer-only training, step-by-step distillation, and our proposed Distill-SFT method. Distill-SFT showed a modest advantage over step-by-step distillation on previously missed questions under reasoning, while using fewer training instances by combining the answer and rationale into a single target. We also investigated catastrophic forgetting using the out-of-domain ENEM dataset. Answer-only training reduced reasoning accuracy by 12~p.p. relative to baseline, compared with approximately 4~p.p. for either rationale-based training method. Together, these findings support a workflow that audits rationale content before distillation, verifies teacher answers before supervision, and trains compact models efficiently for health professions question answering.

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

↑