Distilling the Essence: Efficient Reasoning Distillation via Sequence Truncation
Wei-Rui Chen, Vignesh Kothapalli, Ata Fatahibaarzi, Hejian Sang, Shao Tang, Qingquan Song, Zhipeng Wang, Muhammad Abdul-Mageed
Abstract
Distilling the capabilities from a large reasoning model (LRM) to a smaller student model often involves training on substantial amounts of reasoning data. However, knowledge distillation (KD) over lengthy sequences with prompt (P), chain-of-thought (CoT), and answer (A) sections makes the process computationally expensive. In this work, we investigate how the allocation of supervision across different sections (P, CoT, A) affects student performance. Our analysis shows that selective KD over only the CoT tokens can be effective when the prompt and answer information is encompassed by it. Building on this insight, we establish a truncation protocol to quantify computation-quality tradeoffs as a function of sequence length. We observe that beyond a specific length, longer training sequences provide marginal returns for downstream performance but require substantially higher memory and FLOPs. To this end, training on only the first of tokens of every training sequence can retain, on average, of full-sequence performance on math benchmarks while reducing training time, memory usage, and FLOPs by about each. Codes are available at https://github.com/weiruichen01/distilling-the-essence.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI
Related papers
Muted Distillation: Sealing Reasoning from Teacher Unlocks Token-Efficient Agents
Shared title terminologycs.CLYuwei Zhang, Ian Miao, Wentao Zhang et al.
Before Thinking, Learn to Decide: Proactive Routing for Efficient Visual Reasoning
Shared title terminologycs.CLYinan Zhou, Haokun Lin, Yichen Wu et al.
Message Passing Enables Efficient Reasoning
Shared title terminologycs.CLXuecheng Liu, Daman Arora, Gokul Swamy et al.
CAT: Confidence-Adaptive Thinking for Efficient Reasoning of Large Reasoning Models
Shared title terminologycs.CLQizhi Jiang, Shuo Wang, Pei Ke et al.
DAIN: Dynamic Agent-Based Interaction Network for Efficient and Collaborative Multimodal Reasoning
Shared title terminologycs.CLXinxin Chen, Yuchen Li, Zihan Wang et al.
Position-Skipped Distillation of Sparse-Attention Indexers: Train Short, Serve Long
Shared title terminologycs.CLFu Dai, Haodi Quan, Kamal Taha