Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Chen, Wei-Rui, Kothapalli, Vignesh, Fatahibaarzi, Ata, Sang, Hejian, Tang, Shao, Song, Qingquan, Wang, Zhipeng, Abdul-Mageed, Muhammad
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2512.21002
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866908752250142720
author Chen, Wei-Rui
Kothapalli, Vignesh
Fatahibaarzi, Ata
Sang, Hejian
Tang, Shao
Song, Qingquan
Wang, Zhipeng
Abdul-Mageed, Muhammad
author_facet Chen, Wei-Rui
Kothapalli, Vignesh
Fatahibaarzi, Ata
Sang, Hejian
Tang, Shao
Song, Qingquan
Wang, Zhipeng
Abdul-Mageed, Muhammad
contents 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 $50\%$ of tokens of every training sequence can retain, on average, $\approx91\%$ of full-sequence performance on math benchmarks while reducing training time, memory usage, and FLOPs by about $50\%$ each. Codes are available at https://github.com/weiruichen01/distilling-the-essence.
format Preprint
id arxiv_https___arxiv_org_abs_2512_21002
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Distilling the Essence: Efficient Reasoning Distillation via Sequence Truncation
Chen, Wei-Rui
Kothapalli, Vignesh
Fatahibaarzi, Ata
Sang, Hejian
Tang, Shao
Song, Qingquan
Wang, Zhipeng
Abdul-Mageed, Muhammad
Computation and Language
Artificial Intelligence
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 $50\%$ of tokens of every training sequence can retain, on average, $\approx91\%$ of full-sequence performance on math benchmarks while reducing training time, memory usage, and FLOPs by about $50\%$ each. Codes are available at https://github.com/weiruichen01/distilling-the-essence.
title Distilling the Essence: Efficient Reasoning Distillation via Sequence Truncation
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2512.21002