TL;DR
Language Reasoning Models (LRMs) often suffer from "overthinking," generating excessively long reasoning paths that drive up latency and memory costs. PACE solves this by introducing a dual-level compression framework that protects critical early deduction steps while dynamically scaling length penalties based on question difficulty. This approach slashes token usage by up to 55.7% while simultaneously maintaining or even improving accuracy on complex reasoning benchmarks.
What Problem Does This Paper Address?
Modern Language Reasoning Models (like DeepSeek-R1) achieve state-of-the-art performance by scaling up test-time computation through extended Chain-of-Thought (CoT) reasoning. However, this comes with a massive computational burden: long sequences rapidly fill up the Key-Value (KV) cache, leading to high inference latency and heavy GPU memory consumption. Worse still, these models often "overthink," spending thousands of tokens on simple problems that a standard LLM could solve in fifty.
Previous attempts to enforce conciseness typically rely on uniform length penalties during Reinforcement Learning (RL). The authors identify two fatal flaws with this rigid approach:
- Over-compression (Sequence Level): Applying a penalty from the very first token forces the model to truncate its initial setup. These early tokens act as logical anchors; compressing them prematurely causes the model to skip critical steps, leading to "shortcut" answers and incorrect results.
- Indiscriminative Compression (Group Level): A uniform penalty treats easy and hard questions identically. This deprives the model of the extended exploration and reflection time it inherently needs to solve highly complex tasks, causing accuracy on hard problems to plummet during training.
Methods
To overcome these limitations, the authors introduce PACE (Prefix-Protected and Difficulty-Aware Compression), a dual-level framework integrated into the Group Relative Policy Optimization (GRPO) pipeline.
1. Prefix-Protected Optimization (Sequence Level)
To prevent the model from butchering its initial logic, PACE uses a frozen reference policy to generate a short, valid "prefix" (the logical anchor) via rejection sampling. During training, the model samples from a hybrid rollout distribution that locks these early tokens in place. Crucially, a linear decay schedule gradually shortens this protected prefix length to zero as training steps progress. This ensures the model preserves its logical foundation early in training but eventually learns to generate concise paths entirely on its own.
2. Difficulty-Aware Penalty (Group Level)
Instead of a static length penalty, PACE dynamically scales constraints based on query complexity. The framework quantifies difficulty by computing the empirical pass rate ($\rho(q)$) across a group of rollouts.
- For hard tasks (low pass rate), the penalty scaling factor ($\alpha$) decays toward zero, granting the model the computational budget required for deep reasoning.
- For easy tasks (high pass rate), $\alpha$ approaches its maximum, strictly enforcing conciseness to eliminate redundancy.
Datasets
- Training: Skywork-o1 (a popular dataset for reinforcement learning).
- In-Domain Evaluation: Four challenging mathematical benchmarks: AIME24, AIME25, MATH500, and GSM8K.
- Out-of-Domain (OOD) Evaluation: GPQA-D (Science), LiveCodeBench-v6 (Code), and IF Eval (Instruction Following).
Key Insights and Ideas
- Compression Can Boost Accuracy: Pruning isn't just a compromise for speed. By filtering out redundant self-correction loops and excessive hesitation ("noise") in simple-to-medium tasks, targeted compression can actually help the model stay on track, leading to higher accuracy.
- Reasoning Behavior Shift: By analyzing the generated CoT steps, the authors found that PACE causes a clear distributional shift: "Advancing" steps (direct progress) steadily rise, while "Reflecting" and "Verifying" steps decline. The model learns to "think forward" confidently rather than getting trapped in repetitive verification loops.
- The Solvability Bound: The authors mathematically demonstrate that a static length penalty coefficient creates an impossible trade-off—either causing model collapse on hard tasks or failing to penalize easy ones. Difficulty awareness is a theoretical necessity to maintain optimization stability.
Key Results
The authors evaluated PACE using DeepSeek-R1-Distill-Qwen (1.5B and 7B) baselines:
- Massive Token Savings: On the 7B model, PACE achieved an average 55.7% token reduction across math benchmarks while outperforming the vanilla baseline's accuracy by 0.6%.
- Pushing the Pareto Frontier: On the smaller 1.5B model, PACE cut token usage significantly while boosting average accuracy by 4.1% (from 53.2% to 57.3%), outperforming all training-free and training-based baselines.
- Strong OOD Generalization: Despite being trained exclusively on math data, PACE generalized remarkably well to science and coding tasks, yielding 14.5%–37.0% token reductions and 1.1%–4.6% accuracy improvements.
Limitations and Future Work
- Remaining Redundancy: Even with PACE's substantial compression rates, roughly 40% of the remaining tokens are still devoted to reasoning, indicating that further efficiency gains are possible.
- Scope of Generalization: While the out-of-domain results are promising, the authors note that a broader, more systematic study is required to explore more diverse domains, prompt variations, and format shifts to fully understand how adaptive compression transfers across different tasks.
Summary updated