When Compression Helps and When It Hurts: Condition-Aware Analysis of Chain-of-Thought Distillation

Siyang Lyu, Xinghao Chen, Zhijing Sun, Tong Liu, Dawei Zhu, Xiaoyu ShenarXiv 2026

TL;DR

Distilling Chain-of-Thought (CoT) reasoning from large language models into smaller students often inherits massive verbosity, inflating both training and deployment costs. This paper systematically unpacks CoT compression across three dimensions—importance criteria, restructuring levels, and token budgets—revealing that the optimal compression strategy depends heavily on the task domain (Math vs. General) and the reasoning length regime. Crucially, the authors find that training a model on compressed data does not guarantee it will generate concise reasoning paths during deployment.

What Problem Does This Paper Address?

Large Reasoning Models (LRMs) like OpenAI's o1 or DeepSeek-R1 achieve state-of-the-art performance on complex tasks by generating extended, step-by-step reasoning traces. While distilling these traces into smaller Student Language Models (SLMs) successfully transfers reasoning capabilities, the teacher's traces are often highly verbose—riddled with redundant verifications, filler words, and speculative detours.

This verbosity inflates training costs and inadvertently trains student models to "overthink" at inference time, driving up deployment latency and compute costs. While researchers have tried to compress CoT data via selective pruning or generative rewriting, prior work left critical variables entangled. It remained unclear whether performance drops stemmed from how text was scored, the granularity of the deletion (words vs. steps), or how drastically the text structure was altered.

Methods

The authors propose a unified framework to analyze CoT compression along three distinct axes:

  1. Importance Criterion ($\phi_{\text{importance}}$): Deleting content via a score-threshold pipeline. They evaluate three metrics: LLMLingua2 (learned semantic saliency), Entropy (token uncertainty), and Negative Log-Likelihood (NLL/surprise).
  2. Restructuring Level ($\phi_{\text{restruct}}$): A qualitative spectrum measuring how heavily the original reasoning path is altered by an LLM rewriter (Gemini 2.5 Flash). This spans four levels: Structural Preservation (L1: SP), Step Editing (L2: SE), Semantic Fusion (L3: SF), and Framework Reconstruction (L4: FR).
  3. Compression Budget ($\rho$): Manipulating the target compression ratio to observe its downstream effects on training data size and actual deployment token usage.

Additionally, they evaluate a Free Ratio mode, where the rewriter naturally optimizes the length of the reasoning trace within a structural template without being forced to hit a specific token count.

Figure 1: The CoT Compression Pipeline. To reduce computational costs, verbose reasoning is compressed by pruning low-value words or regenerating core logic, producing concise training data for efficient SFT.

Datasets

  • Training Corpora:
  • Short-CoT regime: 5,000 instances sampled from the Natural Reasoning dataset.
  • Long-CoT regime: Sampled from the LIMO dataset (highly detailed, multi-step rationales).
  • Evaluation Benchmarks:
  • Math Domain: GSM8K, MATH500, AMC23, and AIME24.
  • General Domain: GPQA Diamond and MMLU-PRO.
  • Models Evaluated: LLaMA-3.1-8B-Instruct served as the primary student model, with the Qwen2.5 series used for cross-model validation.

Key Insights and Ideas

  • Granularity Dictates Metric Success: When pruning at the step level, the choice of importance metric is largely irrelevant; Entropy, NLL, and LLMLingua2 all converge on the same critical reasoning backbone. However, at the token level, standard probability metrics (Entropy/NLL) collapse under aggressive compression because they indiscriminately delete critical math operators and numbers alongside stopwords. Saliency-based tools like LLMLingua2 act as "logic-aware" filters, preserving these vital symbolic anchors.
  • The Domain Inversion Effect: Math and General domains react oppositely to text restructuring. Math tasks possess strict logical dependencies; disrupting step boundaries via semantic fusion or framework replacement causes catastrophic derivation errors. General tasks, conversely, tolerate diverse rationales and actually benefit from aggressive rewriting, which acts as a denoiser to strip away irrelevant text.
  • The Training-to-Inference Gap: Compressing training data does not automatically yield inference-time savings. While Short-CoT students internalize concise styles perfectly, Long-CoT students retain verbose habits even when trained on highly compressed traces. Thus, training-time token reduction serves as an optimistic lower bound rather than a guarantee of deployment efficiency.

Key Results

  • Math vs. General Restructuring: On Math tasks, student accuracy degrades monotonically as structural disruption increases from L1 to L4. On General tasks, aggressive rewriting (L3/L4) matches or even exceeds structure-preserving baselines under tight token budgets.
Figure 3: Accuracy and compression ratio across restructuring levels. Math exhibits a strict monotonic dependency on restructuring level (monotonic decay from SP to FR), whereas General domains show a restructuring benefit, where aggressive rewriting (SF/FR) matches or exceeds structure-preserving baselines.
  • The Power of the "Free Ratio": Rather than forcing a hard token constraint, letting the rewriter naturally compress text (Free Ratio mode) consistently identifies high-efficiency equilibrium points on the Pareto frontier.
  • Efficiency Translation Analysis: Short-CoT models align tightly with a linear $y=x$ translation from training compression to inference compression. Long-CoT models exhibit a massive efficiency gap, where inference token usage remains high despite heavily compressed training inputs.
Figure 5: Efficiency translation analysis. Short-CoT aligns with the y = x diagonal while Long-CoT exhibits an efficiency gap (ρinference > ρrealized).

Limitations and Future Work

  • LoRA Fine-Tuning: The study relies exclusively on LoRA-based parameter-efficient fine-tuning. The authors note that full-parameter fine-tuning or alternative distillation objectives might interact differently with compressed data.
  • Coarse Domain Dichotomy: Dividing tasks strictly into "Math" and "General" is a pragmatic simplification. The authors suggest that hybrid domains—such as code generation, deep-search reasoning, and multi-hop QA—require a finer-grained taxonomy to map structural sensitivities accurately.
  • Rewriter Dependency: The generative rewriting pipeline relies heavily on commercial APIs (Gemini 2.5 Flash), meaning the compression quality is bound to the specific instruction-following capabilities of the chosen teacher model.

Summary updated

BibTeX
@misc{lyu2026when,
  author = {Siyang Lyu and Xinghao Chen and Zhijing Sun and Tong Liu and Dawei Zhu and Xiaoyu Shen},
  title = {{When Compression Helps and When It Hurts: Condition-Aware Analysis of Chain-of-Thought Distillation}},
  year = {2026},
  eprint = {2606.21704},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.21704},
}
Figure