TraceForge: Distilling with Your Own Thinking
Abstract
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.
Create a lesson
Metadata
- Categories
- cs.AI, cs.LG
Related papers
Distilling Visual Agents from Limited Interaction Experience
Shared title terminologycs.AISiyu Zhou, Jing Jiang, Chengqi Zhang et al.
Speculative Decoding Is Less Speculative Than You Think
Shared title terminologycs.AIGuanning Zeng, Andrea Zanette
When Students Fail to Learn from Teachers: Learning Dynamics of On-Policy Distillation
Shared title terminologycs.AIXinnan Zhang, Zeyi Liao, Siliang Zeng et al.
Beyond On-Policy vs. Off-Policy: At What Level Should LLM Agent Distillation Follow the Student?
Shared title terminologycs.AIYa Gao, Zhengtao Zou, Pekka Marttinen
DIAL: Steerable Language Models with Distilled Instruction-Adherence Levels
Shared title terminologycs.AIThanh Q. Tran, John Russell Himawan, Arun Verma et al.
Conflict-Aware Logit Adapters for Utility-Preserving Anti-Distillation
Shared title terminologycs.AIQuoc Phong Dao, Binh Anh Nguyen, Linh Ngo Van et al.