2025-12-04 · 进阶 · 自然语言处理 · 机器学习

SkillFactory: Self-Distillation For Learning Cognitive Behaviors

SkillFactory 通过自蒸馏技术,将模型自身生成的样本重新组织成训练数据,帮助模型在学习强化学习过程中获得认知技能,从而提升模型在推理任务中的表现。

更新于 2025-12-09。作者:Zayne Sprague、Jack Lu、Manya Wadhwa、Sedrick Keh、Mengye Ren、Greg Durrett。

中文摘要

推理模型通过利用长链条的思维,运用各种认知技能,如验证其答案、回溯、通过另一种方法重试等。先前的研究表明,当一个基础语言模型展现出这些技能时,通过强化学习(RL)进一步训练该模型可以学会利用这些技能。我们如何让模型利用基础模型未展现出的技能呢?我们的工作“SkillFactory”是一种方法,用于在RL之前,在监督微调(SFT)阶段让模型大致学习这些技能。我们的方法不依赖于从更强的模型中进行提取,而是使用模型本身的样本,重新排列以提供训练数据,使其格式符合这些技能的格式。这些“银色”SFT痕迹可能不完美,但仍然足以在RL期间启动模型以获得技能。我们的评估显示:(1)从SkillFactory SFT初始化开始,有助于模型在RL之后泛化到更难的任务变体,尽管在RL之前表现较低;(2)模型确实使用了认知技能;(3)经过RL的SkillFactory模型比经过RL的基础模型更能抵抗域外任务的回归。我们的工作表明,在RL之前学习到的归纳偏差有助于模型学习稳健的认知技能使用。

英文摘要

Reasoning models leveraging long chains of thought employ various cognitive skills, such as verification of their answers, backtracking, retrying by an alternate method, and more. Previous work has shown that when a base language model exhibits these skills, training that model further with reinforcement learning (RL) can learn to leverage them. How can we get models to leverage skills that aren't exhibited by base models? Our work, SkillFactory, is a method for fine-tuning models to roughly learn these skills during a supervised fine-tuning (SFT) stage prior to RL. Our approach does not rely on distillation from a stronger model, but instead uses samples from the model itself, rearranged to provide training data in the format of those skills. These "silver" SFT traces may be imperfect, but are nevertheless effective for priming a model to acquire skills during RL. Our evaluation shows that (1) starting from SkillFactory SFT initialization helps a model to generalize to harder variants of a task post-RL, despite lower performance pre-RL; (2) cognitive skills are indeed used by the model; (3) RLed SkillFactory models are more robust to regression on out-of-domain tasks than RLed base models. Our work suggests that inductive biases learned prior to RL help models learn robust cognitive skill use.

解读

一句话总结

SkillFactory 通过自蒸馏技术,将模型自身生成的样本重新组织成训练数据,帮助模型在学习强化学习过程中获得认知技能,从而提升模型在推理任务中的表现。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源