TL;DR
Current reasoning models (like DeepSeek-R1) often suffer from "overthinking," spending thousands of tokens deliberating over simple questions. The authors introduce TlDr (Thinking Length Data Re-Weighting), a dynamic supervised fine-tuning pipeline that balances concise "System-1" and deliberate "System-2" data during training using exponentiated gradient updates. Without requiring expensive reinforcement learning or complex synthetic data curation, TlDr cuts output token length by up to ~40% across math benchmarks while preserving overall reasoning accuracy.
What Problem Does This Paper Address?
Large Language Models fine-tuned with extended Chain-of-Thought (CoT)—referred to as System-2 reasoning—excel at Olympiad-level mathematics and logic. However, they frequently over-deliberate on trivial queries (e.g., spending hundreds of tokens second-guessing simple arithmetic like $2 + 3$).
Existing approaches to compress this reasoning have major trade-offs:
- Training-free methods (prompt engineering, model merging, activation steering) often induce severe accuracy drops or lack fine-grained control.
- Reinforcement Learning (RL) methods (such as L1 or ThinkPrune) reward brevity, but require hundreds of expensive training hours.
- Supervised Fine-Tuning (SFT) methods (like CoT-Valve or TOPS) rely on labor-intensive data pipelines or model interpolations to synthesize reasoning paths of intermediate lengths.
The paper asks: Can we train an LLM to be concise on easy problems while remaining deep on hard problems, simply by dynamically re-weighting standard short and long CoT datasets during training?
Methods
TlDr frame reasoning compression as an online multi-objective optimization problem between two extremes:
- System-1 Data ($D_{\text{sys-1}}$): Concise, intuitive reasoning on simple math problems (derived from elementary arithmetic like GSM8K).
- System-2 Data ($D_{\text{sys-2}}$): Long, reflective CoT reasoning on complex competition problems (sampled from difficult prompts like those in the $s1$ dataset).
The training pipeline functions as follows:
- Target Bounds: The authors establish an accuracy upper-bound ($\phi_{\text{sys-2, bound}}$) from the full System-2 model and an efficiency (token reduction) bound ($\phi_{\text{sys-1, bound}}$) from the System-1 model.
- Dynamic Re-Weighting via Exponentiated Gradient (EG): Starting with a 50:50 mixture, every $T_d$ training steps (e.g., every 32 steps), the proxy model is evaluated on a validation set. The algorithm computes the performance/efficiency gaps, transforms them into gradient signals ($\lambda_{\text{sys-1}}, \lambda_{\text{sys-2}}$), and updates the mixing weight $\alpha$ using an exponential update rule: $$\alpha_{t+1}[i] \propto \alpha_t[i] \cdot \exp(-\eta \cdot \lambda_i)$$
- Checkpoint Selection: The final model is selected from checkpoints that preserve baseline accuracy within an acceptable threshold while minimizing average token length.
Datasets
- Training Data:
- System-1 (Short CoT): GSM8K arithmetic problems with concise reference solutions.
- System-2 (Long CoT): Hard problem prompts from the $s1$ dataset, self-sampled using the base reasoning model (retaining only correct reasoning paths).
- Validation Split: 512 historical competition problems sampled from AIME (1983–2023) used for dynamic weight updating during training.
- Evaluation Benchmarks:
- Mathematics: ASDiv, GSM8K, MATH-500, AIME 2024, AMC 2023, and MinervaMath.
- Code & Commonsense Generalization: LeetCode, MBPP, HumanEval, ARC, HellaSwag, CommonsenseQA, and STEM sub-tasks from MMLU.
Key Insights and Ideas
- Easy problems teach conciseness across the board: Fine-tuning on short CoT on easy problems universally compresses token lengths across all difficulty levels. However, doing this statically destroys performance on hard problems.
- Only genuinely hard problems recover System-2 capacity: Simply replaying long CoT data from easy problems does not restore lost accuracy on difficult benchmarks. System-2 data must come from genuinely difficult problems to prevent catastrophic forgetting of deep reasoning.
- Suppression of "meta-cognition" filler: Qualitative analysis revealed that TlDr specifically prunes exploratory and reflective filler tokens (such as "wait", "let me double-check", and "confirm") on simpler problems, rather than truncating critical computation steps.
- Efficiency without RL overhead: Unlike RL methods that require continuous online trajectory generation and length-penalty rewards, dynamic SFT achieved convergence in ~88 A100 GPU hours (compared to ~640 hours for L1 and ~704 hours for ThinkPrune).
Key Results
Experiments evaluated on DeepSeek-R1-Distill-Qwen-7B and 14B showed:
- Token Compression: Achieved an Average Compression Ratio (A.C.R.) of 44.9% on the 7B model and 35.8% on the 14B model across six math benchmarks.
- Accuracy Preservation:
- On the 7B model, average math accuracy slightly increased from 72.2% to 72.3% while reducing average generation length by 1,896 tokens.
- On the 14B model, average math accuracy improved from 71.7% to 73.5% (+2.1%), while reducing token count by 1,093 tokens.
- Comparison to Baselines: TlDr outperformed prompt-based techniques (ConciseCoT: 12.7% compression), model-merging techniques (which suffered severe accuracy drops on AIME), and static/curriculum mixing schedules.
- Cross-Domain Generalization: Even though training data was strictly mathematical, TlDr transferred well to code (HumanEval Pass@1 improved from 67.6% to 73.1% with 156 fewer tokens) and commonsense QA benchmarks.
Limitations and Future Work
- Validation Compute Overhead: The dynamic re-weighting loop requires running periodic batch inferences on 512 validation problems every 32 steps, demanding a dedicated multi-GPU setup (one node dedicated to vLLM inference alongside the training node).
- Diminishing Returns on Non-Math Domains: Token reductions were less pronounced on multiple-choice and non-math tasks (e.g., MMLU STEM subsets and CommonsenseQA), which the authors attribute to training data being purely mathematical.
- Slight Degradation on Extreme Problems: On the hardest reasoning benchmark (AIME 2024), 7B accuracy saw a minor drop (-1.7%), demonstrating that aggressive length compression still carries slight risks at the absolute frontier of model reasoning.
Summary updated