Self-Distillation for Supervised Fine-Tuning
Wenxuan Zhu, Bang An, Shuming Liu, Wenqing Cui, Tianqi Xu, Bing Li, Yibo Yang, Peter Wonka, Bernard Ghanem
Abstract
Supervised fine-tuning treats the expert demonstration or gold response as a one-hot target, suppressing valid alternative continuations that the model would otherwise assign probability to. We propose Gold-Conditioned Distillation (GCD), a method that turns expert demonstrations into model-native supervision. GCD uses one model as both teacher and student: the teacher conditions on a prompt containing the gold response in context, the student conditions on the original prompt as at inference, and the student is trained to minimize the forward KL divergence to the teacher's next-token distribution at each gold response token. This lets the model use its prior knowledge to teach itself the new task: correctness is anchored by the gold response, while the soft target preserves plausible alternatives. Across various training tasks on Qwen and Llama models, GCD improves new-task accuracy over SFT and generally reduces degradation on general benchmarks.
Create a lesson
Related papers
Group-Balanced Supervised Fine-Tuning for Knowledge-Intensive Domains
Shared title terminologycs.CLMark Heimann, Bruno Jacob
Make Position Uninformative: Exchangeable Self-Distillation Flattens the Lost-in-the-Middle Curve
Shared title terminologycs.CLQingsen Ma, Dianyun Wang, Jiahong Liu et al.
scOPD: Routed On-Policy Self-Distillation for LLM-Based Single-Cell Annotation
Shared title terminologycs.CLZhiyin Yu, Yuchen Mou, Songtao Huang et al.
Bridged Self-Distillation for On-Policy Learning
Shared title terminologycs.CLRunsheng Chen, Yihong Liu, Raoyuan Zhao et al.
AtomSD: Procedural Atom-Guided Self-Distillation for LLM Agents
Shared title terminologycs.CLBohan Yu, Pengfei Cao, Kai Tian et al.
Best of Both Worlds: Fine-Tuned Small Models Complement LLMs for Cost and Performance Benefits
Shared title terminologycs.CLShivam Mathur, Sri Harish Popuri, Priya Krishnan Sundararajan et al.