arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.14850cs.AIcs.CLcs.LG
收藏

用于推理蒸馏的有效教师支持

Effective Teacher Support for Reasoning Distillation

NVIDIA(英伟达)

Lavinia Ghita, Dhruv Desai

AI总结:

该研究提出从教师模型最高概率词汇部分进行推理蒸馏,在Qwen3、Nemotron Nano等模型上验证了支持减少的效果,可降低训练时间与内存且不影响MMLU-Pro性能。

摘要:

前向KL语言模型蒸馏通常会在每个监督位置对整个词汇表计算密集型教师和学生分数,这使得训练和存储教师目标的成本很高。我们改为从教师的最高概率词汇部分进行蒸馏,在支持范围从100%降至0.01%的过程中对保留的质量进行重新归一化。我们的主要研究是将Qwen3 4B蒸馏为1.7B,我们在更大的Qwen3 8B→4B和Nemotron Nano 12B→9B模型对以及仅答案监督下,验证了更广泛的支持减少发现。我们主要在MMLU-Pro上评估生成,其次在GPQA-Diamond上评估。在Qwen3的设置中,保留0.01%的词汇量相对于全词汇蒸馏未观察到MMLU-Pro性能下降,尽管与完整教师分布的分歧有所增加。Nemotron Nano在0.1%的支持下匹配全词汇的MMLU-Pro性能,但更小的比例无法输出结束推理标记,这表明可靠的截止值取决于模型家族。在0.01%的支持下,缓存教师前向传播中保留的下一个标记分数可将训练步骤时间减少38%,同时将学生输出计算限制在这些标记上可将峰值内存减少24%,且均未观察到MMLU-Pro性能下降。

英文摘要:

Forward-KL language-model distillation normally computes dense teacher and student scores over the full vocabulary at every supervised position, making training and stored teacher targets expensive. We instead distill from the teacher's highest-probability vocabulary fraction, renormalizing the retained mass as we sweep support from 100% to 0.01%. Our main study distills Qwen3 4B -> 1.7B. We confirm the broader support-reduction finding on larger Qwen3 8B -> 4B and Nemotron Nano 12B -> 9B pairs and under answer-only supervision. We evaluate generation primarily on MMLU-Pro and secondarily on GPQA-Diamond. Across the Qwen3 settings, retaining 0.01% of the vocabulary causes no observed MMLU-Pro degradation relative to full-vocabulary distillation, although disagreement with the complete teacher distribution increases. Nemotron Nano matches full-vocabulary MMLU-Pro at 0.1%, but smaller fractions fail to emit the closing reasoning tag, showing that the reliable cutoff depends on the model family. At 0.01% support, caching the retained next-token scores from the teacher forward pass cuts training step time by 38%, while restricting student output computation to those tokens cuts peak memory by 24%; neither causes observed MMLU-Pro degradation.

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

↑