TL;DR
The paper introduces CEEH (Compress Easy, Explore Hard), a reinforcement learning framework that slashes the length of LLM reasoning chains (Chain-of-Thought) without sacrificing accuracy. By dynamically adjusting entropy regularization based on question difficulty, CEEH aggressively compresses simple queries while preserving the diverse search space required to solve complex problems.
What Problem Does This Paper Address?
Chain-of-Thought (CoT) prompting has dramatically improved large language model (LLM) performance on complex tasks by allowing them to generate step-by-step rationales. However, this verbosity comes at a high cost: increased inference latency and massive token consumption.
Previous attempts to compress these reasoning paths—often using Reinforcement Learning (RL) with length penalties—suffer from a critical failure mode known as entropy collapse. When a model is heavily penalized for length, its token selection policy quickly becomes rigid and deterministic. While this works fine for simple questions, it prematurely shrinks the exploration space for difficult problems, preventing the model from exploring alternative reasoning paths, self-reflecting, or correcting errors.
Methods
To resolve the tension between brevity and accuracy, the authors propose the CEEH framework, built on top of Group Relative Policy Optimization (GRPO). It consists of two main components:
- Difficulty-Aware Entropy Regularization: Instead of applying uniform regularization, CEEH tracks the model's historical accuracy for each question using an asymmetric Exponential Moving Average (EMA). If a question's accuracy falls below the global average, it is flagged as "hard," and the framework amplifies entropy regularization (using either maximum-entropy loss or an entropy-based auxiliary advantage). This forces the model to maintain a wider exploration frontier where it is needed most.
- Dynamic Optimal-Length Penalty: Traditional length penalties rely on fixed targets or group averages, which can destabilize training as the model improves. CEEH dynamically tracks the historically shortest correct response length for each specific question. It only penalizes correct answers that deviate from this evolving baseline, ensuring a stable and highly discriminative compression signal.
Datasets
The model was trained on a merged dataset consisting of 2,500 randomly sampled instances each from:
- DeepMath103K
- DAPO
Evaluation was conducted across six rigorous mathematical and reasoning benchmarks: GSM8K, Math-500, AIME24, AIME25, AMC23, and OlympiadBench. The authors also evaluated cross-task generalization using the HumanEval+ code generation benchmark.
Key Insights and Ideas
- Selective Compression is Mandatory: Problems of varying difficulty require different balances between exploration and compression. Forcing a model to be brief across the board destroys its capacity for logical deduction on hard tasks.
- The Power of the Shortest Correct Baseline: Anchoring length penalties to the historically shortest successful trajectory provides a non-stationary reward signal that naturally adapts to the model's growing capabilities over training cycles.
- Preserving Pass@k: Unlike standard length-penalty methods that degrade a model's underlying reasoning capacity (lowering Pass@k scores), difficulty-aware entropy control maintains or even enhances the model's latent problem-solving abilities.
Key Results
Tested using R1-Distill-Qwen2.5-7B and 1.5B as base models, CEEH achieved impressive results:
- Token Reduction: CEEH consistently reduced total response tokens by over 30% across benchmarks compared to the base models.
- Accuracy Preservation: Unlike standard length-penalty baselines which saw accuracy drops, CEEH maintained or slightly improved accuracy. For instance, on the training set, CEEH consistently outperformed standard length penalties in data efficiency and accuracy gains.
- Code Generation Generalization: When evaluated on HumanEval+, the
R1-Distill-Qwen2.5-1.5Bvariant trained with CEEH improved accuracy by +5.4% while reducing response length by 63.1 tokens.
Limitations and Future Work
The authors note that the headroom for accuracy improvement is inherently limited when applying RL to models that are already heavily distilled from ultra-strong teacher models (like the R1-Distill series). They suggest that applying CEEH to non-distilled base models could yield even more substantial reasoning gains. Additionally, some hyperparameter choices—such as the 5× entropy multiplier for hard questions—remain empirical and could benefit from more automated tuning methods in future work.
Summary updated