potentialpaper

Masked Self-Distillation: Internalizing the Chain-of-Thought in Language Models

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:15 UTC · e6284a56cfbf ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "TYcti7EeXy"
- }
- ],
- "title": "Masked Self-Distillation: Internalizing the Chain-of-Thought in Language Models",
- "authors": [],
- "abstract": "Large Reasoning Models (LRMs) produce long, explicit chains of intermediate steps before generating a final answer at inference time. These intermediate traces dominate latency, memory usage, and serving cost, even though the final answer correctness is not causally related to the trace correctness and the trace length is not a reliable indicator of the problem complexity. This raises an obvious question: can the computation expressed in these intermediate tokens be internalized into the parameters of a language model, enabling it to produce answers with much shorter intermediate traces?\nWe propose masked self-distillation, a knowledge-distillation based post-training framework in which copies of the same model are instantiated as teacher and student, and the student model is trained to internalize all or part of the intermediate trace, thus becoming more efficient at inference. We vary the fraction of the intermediate trace the student is trained to internalize, interpolating between full internalization (the student emits only the solution) and no internalization (the student emits the full trace before the answer). We conduct controlled experiments on two reasoning domains: math and graph coloring. We use the masked self-distillation framework to post-train Qwen3-4B and Qwen3-8B models. Our results demonstrate that this method can be used to improve task performance while increasing inference efficiency across various domains and model sizes. We systematically analyze whether the improved efficiency gains in the post-trained models generalize to out-of-distribution (OOD) problems. We find that the masked self-distillation models generalize well for in-domain OOD problems, and the masked self-distillation training does not induce catastrophic forgetting in the student model on out-of-domain problems. Furthermore, our ablation study shows that supervised fine-tuning can train models to produce shorter traces, but at the cost of generalization, highlighting the importance of on-policy training in masked self-distillation. Lastly, we show that this framework can also be used effectively in a dual-model setting where a larger reasoning model teacher supervises a smaller non-reasoning student model, resulting in improved task performance and inference efficiency.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "1330499f-8517-42aa-a0e6-cbd246e5e838"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Masked Self-Distillation: Internalizing the Chain-of-Thought in Language Models",
+ "authors": [],
+ "abstract": "Large Reasoning Models (LRMs) produce long, explicit chains of intermediate steps before generating a final answer at inference time. These intermediate traces dominate latency, memory usage, and serving cost, even though the final answer correctness is not causally related to the trace correctness and the trace length is not a reliable indicator of the problem complexity. This raises an obvious question: can the computation expressed in these intermediate tokens be internalized into the parameters of a language model, enabling it to produce answers with much shorter intermediate traces?\nWe propose masked self-distillation, a knowledge-distillation based post-training framework in which copies of the same model are instantiated as teacher and student, and the student model is trained to internalize all or part of the intermediate trace, thus becoming more efficient at inference. We vary the fraction of the intermediate trace the student is trained to internalize, interpolating between full internalization (the student emits only the solution) and no internalization (the student emits the full trace before the answer). We conduct controlled experiments on two reasoning domains: math and graph coloring. We use the masked self-distillation framework to post-train Qwen3-4B and Qwen3-8B models. Our results demonstrate that this method can be used to improve task performance while increasing inference efficiency across various domains and model sizes. We systematically analyze whether the improved efficiency gains in the post-trained models generalize to out-of-distribution (OOD) problems. We find that the masked self-distillation models generalize well for in-domain OOD problems, and the masked self-distillation training does not induce catastrophic forgetting in the student model on out-of-domain problems. Furthermore, our ablation study shows that supervised fine-tuning can train models to produce shorter traces, but at the cost of generalization, highlighting the importance of on-policy training in masked self-distillation. Lastly, we show that this framework can also be used effectively in a dual-model setting where a larger reasoning model teacher supervises a smaller non-reasoning student model, resulting in improved task performance and inference efficiency.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}