TraceForge:用你自己的思维进行蒸馏
研究论文 · 2026/10/22
TraceForge 提出了一种替代方法,通过生成学生模型自身风格的推理轨迹来利用教师模型的答案进行训练,避免违反服务条款。训练分两阶段:监督学习和对抗学习,生成器从上下文和答案中重建家族风格的推理轨迹,评论器评估真实性。在五个基准测试中,编码任务上生成的推理优于 Fable 5 的思考内容,HumanEval+ 提升 3.7 分,MBPP+ 提升 7.1 分。
TraceForge 提供了一种合规且有效的方法来利用教师模型的答案进行训练,通过生成学生模型自身风格的推理轨迹,在编码任务上显著提升性能,具有实际应用价值。
Using an LLM to generate training data for another is among the most general ways to train one, and it remains common practice. Some frontier teams have closed that route for their own models: what comes back is an answer, or a short summary, without the detailed reasoning trace behind it. That is a little ironic: they were themselves built on distilling human knowledge, and distilling an open-source model is still entirely routine; the restriction applies to their own outputs alone. Recent work recovers the hidden reasoning by replaying encrypted blocks across models. It somehow works, but it breaks the providers' terms of service, so it is not something a product can be built on long-term. We built the alternative. We take the context and the teacher's answer as input, and generate the reasoning trace ourselves, in the style of the student's own model family. Training is two-stage, supervised and then adversarial: a generator learns to regenerate the family's own reasoning traces from their context and answer, and a critic learns how real a reasoning trace looks. Applied to a teacher's answer, the generator writes one in the family's style. An independent judge rates how likely traces are to be genuine on a scale from 0 to 1: ours average 0.68, real traces 0.66, and traces selected by the critic from four candidates 0.82. These are authenticity scores, not correctness rates. We test the idea on five benchmarks with everything else held fixed. On general tasks the five training corpora are about the same; on coding, the generated reasoning beats Fable 5's own thinking content. With the same 5,000 questions and the same teacher answers, HumanEval+ improves by 3.7 points and MBPP+ by 7.1 at the final checkpoint, and the MBPP+ lead holds at every checkpoint. We suspect that reasoning written in the student's family style is easier for it to learn from.