Compress-Distill: Reasoning Trace Compression for Efficient Knowledge Distillation

Maxime Griot, Paul Steven Scotti, Tanishq Mathew AbrahamarXiv 2026

TL;DR

Distilling large reasoning models into smaller students is highly effective, but training on massive, verbose chain-of-thought (CoT) traces is incredibly expensive. This paper introduces COMPRESS-DISTILL, a pipeline that uses instruction-tuned models to compress teacher reasoning traces before distillation, yielding up to a 7.6× training speedup and 19× shorter inference outputs while retaining up to 96% of raw-trace accuracy.

What Problem Does This Paper Address?

State-of-the-art reasoning models like DeepSeek-R1 and Qwen3.5 generate long, explicit chain-of-thought (CoT) traces to solve complex problems. While these traces drastically improve accuracy, they present a major challenge for knowledge distillation (transferring capabilities from a large "teacher" model to a smaller "student" model).

Directly training student models on these raw, verbose traces is computationally expensive and teaches the student to generate long, costly outputs at inference time. Completely removing the reasoning steps (an "answer-only" approach) tanks downstream performance and causes severe training instability. The authors investigate whether teacher reasoning traces can be compressed post-hoc before distillation, exploring the resulting accuracy-efficiency trade-offs.

Methods

The authors propose a three-stage pipeline called COMPRESS-DISTILL:

  1. Stage 1: Trace Generation: Large teacher models generate reasoning traces (wrapped in <think>...</think> tags) and final answers for a massive pool of benchmark questions. Only verified-correct traces are retained via rejection sampling.
  2. Stage 2: Trace Compression: An independent, instruction-tuned "compressor" model rewrites the correct reasoning traces using a single generic prompt. The prompt instructs the model to shorten the text while preserving essential logical steps, key insights, and the final answer.
  3. Stage 3: Student Training: Smaller student models are fine-tuned on either the raw traces, the compressed traces, or an answer-only baseline using next-token prediction on assistant tokens.

To isolate whether model-based compression provides better supervision than simply truncating text, the authors also evaluate a length-matched truncation ablation, where raw traces are naively cut off to match the exact token length of the compressed traces.

Datasets

The pipeline leverages a diverse mix of training and evaluation datasets spanning multiple domains:

  • Mathematics: GSM8k, MultiArith, SVAMP, AQUA-RAT
  • Science: ARC-Challenge, GPQA Diamond
  • Logic/Commonsense: CommonsenseQA
  • Medical: MedQA, MedMCQA, MedExpQA
  • General Knowledge: MMLU (STEM and Medical subjects)

For out-of-distribution (OOD) evaluation, they include datasets like HellaSwag, WinoGrande, PIQA, ARC-Easy, BoolQ, TruthfulQA, and other MMLU subject groups.

Key Insights and Ideas

  • An Accuracy-Efficiency Trade-Off, Not a Free Lunch: Compressing reasoning traces always results in a slight drop in downstream accuracy compared to training on raw traces. However, it offers a massive, tunable efficiency trade-off for environments where compute budget or latency is the primary constraint.
  • Model-Based Compression Beats Naive Truncation: Simply cutting off a reasoning trace to fit a smaller token budget performs significantly worse than using a model to intelligently condense it. Model-based compression preserves the core logical scaffolding necessary for smaller models to learn effectively.
  • Brevity Transfers to Inference: Students trained on compressed traces naturally learn to generate much shorter, more concise reasoning steps during inference, drastically reducing decoding costs.
  • Answer-Only Training is Highly Unstable: Completely removing the reasoning block during full fine-tuning causes smaller models to lose control of the End-of-Thought (EOT) token distribution, leading to catastrophic failure where models endlessly generate text and saturate the context window.

Key Results

The authors evaluated their approach across a massive 48-run main grid using two teachers (Qwen3.5-397B-A17B and gpt-oss-120B), two compressors (Llama-3.3-70B-Instruct and Ministral-3-14B-Instruct), and four student sizes (ranging from 0.8B to 20B parameters).

  • Drastic Token & Cost Reductions: The compressors successfully shrank traces to between 8.6% and 21.0% of their original character length. This cut training tokens down to 12–30% of the raw dataset size.
  • Training and Inference Speedups: Training wall-clock time was accelerated by 2.0× to 7.6×. At inference time, student models generated outputs that were 3× to 19× shorter than those trained on raw traces.
  • High Performance Retention: Despite the massive reduction in size, students retained up to 96% of their raw-trace accuracy.

The clear trade-off between accuracy and reasoning length across different training methods is visualized below:

Figure 4: Per-student accuracy vs. median reasoning token count (log scale, IQR error bars) for the reasoning-trace runs and Qwen-teacher truncation ablations. Compression moves every student leftward (shorter); at 8B/9B/20B it also moves them slightly downward. The truncated ablation isolates token-budget reduction from model-based trace rewriting.

Limitations and Future Work

  • Generic Prompting: The study relied on a single, generic compression prompt across all domains. The authors note that domain-specific prompts (e.g., "preserve all symbolic computation verbatim" for math) could potentially narrow the accuracy gap.
  • Small Student Termination Failures: Under full fine-tuning, the smallest student model (0.8B) occasionally struggled to learn the compressed format properly, leading to a 23.1% truncation rate due to failing to emit the EOT token.
  • Future Directions: The authors suggest exploring answer-preservation verification steps during compression, experimenting with specialized compression prompts, and testing a wider variety of teacher-student model combinations.

Summary updated

BibTeX
@misc{griot2026compress,
  author = {Maxime Griot and Paul Steven Scotti and Tanishq Mathew Abraham},
  title = {{Compress-Distill: Reasoning Trace Compression for Efficient Knowledge Distillation}},
  year = {2026},
  eprint = {2606.05988},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.05988},
}
Figure