这个句子来自哪里?在LLM推理蒸馏中的溯源
Where Did This Sentence Come From? Tracing Provenance in LLM Reasoning Distillation
AI总结:
本文提出了一种推理蒸馏溯源追踪框架,通过分析蒸馏模型生成动作的来源,揭示其在测试时的行为一致性,并提出教师指导的数据选择方法以提升蒸馏效果。
摘要:
推理蒸馏引起了越来越多的关注。它通常利用一个大型教师模型生成推理路径,然后用于微调学生模型,使其在训练上下文中模仿教师的行为。然而,以往的方法缺乏对蒸馏模型能力来源的详细分析。不清楚学生是否能在新的测试时间上下文中保持与教师一致的行为,或者是否退化到其原始输出模式,这引发了对蒸馏模型泛化能力的担忧。为分析这个问题,我们引入了一个跨模型的推理蒸馏溯源追踪框架。对于每个由蒸馏模型生成的动作(例如一个句子),我们获取在相同上下文中教师、原始学生和蒸馏模型所赋予的预测概率。通过比较这些概率,我们将每个动作分类到不同的类别中。通过系统地解构每个动作的来源,我们实验性地证明,在测试时间上下文中,蒸馏模型确实能够生成教师来源的动作,这些动作与并合理解释了蒸馏模型观察到的性能。基于这一分析,我们进一步提出了一种教师指导的数据选择方法。不同于以往依赖启发式的方法,我们的方法直接比较训练数据上教师-学生差异,提供了一个原则性的选择标准。我们在多个代表性的教师模型和多样化的学生模型上验证了我们方法的有效性。结果突显了我们溯源追踪框架的实用性,并强调了其在推理蒸馏中的潜力。我们希望与社区分享推理蒸馏溯源追踪以及我们对推理蒸馏的见解。
英文摘要:
Reasoning distillation has attracted increasing attention. It typically leverages a large teacher model to generate reasoning paths, which are then used to fine-tune a student model so that it mimics the teacher's behavior in training contexts. However, previous approaches have lacked a detailed analysis of the origins of the distilled model's capabilities. It remains unclear whether the student can maintain consistent behaviors with the teacher in novel test-time contexts, or whether it regresses to its original output patterns, raising concerns about the generalization of distillation models. To analyse this question, we introduce a cross-model Reasoning Distillation Provenance Tracing framework. For each action (e.g., a sentence) produced by the distilled model, we obtain the predictive probabilities assigned by the teacher, the original student, and the distilled model under the same context. By comparing these probabilities, we classify each action into different categories. By systematically disentangling the provenance of each action, we experimentally demonstrate that, in test-time contexts, the distilled model can indeed generate teacher-originated actions, which correlate with and plausibly explain observed performance on distilled model. Building on this analysis, we further propose a teacher-guided data selection method. Unlike prior approach that rely on heuristics, our method directly compares teacher-student divergences on the training data, providing a principled selection criterion. We validate the effectiveness of our approach across multiple representative teacher models and diverse student models. The results highlight the utility of our provenance-tracing framework and underscore its promise for reasoning distillation. We hope to share Reasoning Distillation Provenance Tracing and our insights into reasoning distillation with the community.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。