mlsanityData to 14 Oct 2026

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

arXiv 2607.22629 ↗First posted 18 Jun 2026cs.AI cs.CLcited by 3

On the map: LLM reasoning → Prompting and chain-of-thought reasoning

also in 1 more
Abstract (arXiv)

Large Reasoning Models 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 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? We 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 intermediate trace the student is trained to internalize, interpolating between full internalization and no internalization. We conduct controlled experiments on two reasoning domains: math and graph coloring. We use the masked self-distillation framework to post-train Qwen3-4B & 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 improved efficiency gain in the post-trained models generalize to OOD problems. We find that 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.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Prompting and chain-of-thought reasoning, one of 17 directions in LLM reasoning. Builds on 41 of its 51 references that are in the map. First posted on arXiv 18 Jun 2026.

Builds on

41 of 51 references.

Closest ancestors · 9

Same direction, newest first

  1. 2025Interpretable Traces, Unexpected Outcomes: Investigating the Disconnect in Trace-Based Knowledge Distillation20 May
  2. 2025Beyond Semantics: The Unreasonable Effectiveness of Reasonless Intermediate Tokens19 May
  3. 2025Reasoning Models Don't Always Say What They Think8 May
  4. 2025Chain-of-Thought Reasoning In The Wild Is Not Always Faithful11 Mar
  5. 2024Training Large Language Models to Reason in a Continuous Latent Space9 Dec
  6. 2024From Explicit CoT to Implicit CoT: Learning to Internalize CoT Step by Step23 May
  7. 2023Implicit Chain of Thought Reasoning via Knowledge Distillation2 Nov
  8. 2022Large Language Models are Zero-Shot Reasoners24 May
  9. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Models28 Jan

Other references · 32

  1. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  2. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  3. 2025Qwen3 Technical Reportcited by 8,820
  4. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  5. 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,796
  6. 2023Let's Verify Step by Stepcited by 3,789
  7. 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,057
  8. 2014FitNets: Hints for Thin Deep Netscited by 1,653
  9. 2025Kimi k1.5: Scaling Reinforcement Learning with LLMscited by 1,210
  10. 2023On-Policy Distillation of Language Models: Learning from Self-Generated Mistakescited by 939
  11. 2016Sequence-Level Knowledge Distillationcited by 801
  12. 2025SFT Memorizes, RL Generalizes: A Comparative Study of Foundation Model Post-trainingcited by 672
20 more
  1. 2025L1: Controlling How Long A Reasoning Model Thinks With Reinforcement Learningcited by 384
  2. 2026Reinforcement Learning via Self-Distillationcited by 332
  3. 2025The Illusion of Thinking: Understanding the Strengths and Limitations of Reasoning Models via the Lens of Problem Complexitycited by 302
  4. 2025O1-Pruner: Length-Harmonizing Fine-Tuning for O1-Like Reasoning Pruningcited by 279
  5. 2024Token-Budget-Aware LLM Reasoningcited by 247
  6. 2025Training Language Models to Reason Efficientlycited by 247
  7. 2026Self-Distillation Enables Continual Learningcited by 247
  8. 2025Reasoning with Latent Thoughts: On the Power of Looped Transformerscited by 240
  9. 2025CoT-Valve: Length-Compressible Chain-of-Thought Tuningcited by 169
  10. 2022Learning by Distilling Contextcited by 138
  11. 2023Training Language Models with Language Feedback at Scalecited by 128
  12. 2025Token Assorted: Mixing Latent and Text Tokens for Improved Language Model Reasoningcited by 91
  13. 2025Sample More to Think Less: Group Filtered Policy Optimization for Concise Reasoningcited by 75
  14. 2025Wait, We Don't Need to "Wait"! Removing Thinking Tokens Improves Reasoning Efficiencycited by 66
  15. 2022Chain of Thought Imitation with Procedure Cloningcited by 30
  16. 2024Re-ReST: Reflection-Reinforced Self-Training for Language Agentscited by 29
  17. 2024Efficient Knowledge Injection in LLMs via Self-Distillationcited by 24
  18. 2025ExPO: Unlocking Hard Reasoning with Self-Explanation-Guided Reinforcement Learningcited by 13
  19. 2025Performative Thinking? The Brittle Correlation Between CoT Length and Problem Complexitycited by 9
  20. 2026Thinking with Reasoning Skills: Fewer Tokens, More Accuracycited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Task-Specific Knowledge Distillation via Intermediate Probes
  2. 2026Learning from Partial Chain-of-Thought via Truncated-Reasoning Self-Distillation
  3. 2026Answer-Conditioned Chains of Thought Degrade Verifiable-Reasoning Distillation in Large Language Models
  4. 2023SCOTT: Self-Consistent Chain-of-Thought Distillation
  5. 2025Distilling the Essence: Efficient Reasoning Distillation via Sequence Truncation
  6. 2026MI-Distillation: Selecting from Model-Interpolated Instruct-Reasoning Data Spectrum for Chain-of-Thought Distillation
  7. 2026Self-Distilled Reasoner: On-Policy Self-Distillation for Large Language Models
  8. 2026Diagnosing On-Policy Self-Distillation for Reasoning Language Models