To Think or Not to Think: Allocating Reasoning Where It Helps
Organizations: Shanghai Key Laboratory of Scalable Computing and Systems · School of Computer Science, Shanghai Jiao Tong University
Abstract
Reinforcement learning (RL) has proven effective in enhancing the reasoning performance of large language models (LLMs), particularly in complex mathematical and programming tasks. However, this capability comes with systematic length misallocation, in which models devote excessive reasoning to simple questions while terminating prematurely on harder ones, degrading inference efficiency with negligible accuracy improvement. Many length-adaptive methods mitigate this issue by allocating token budgets according to question difficulty, under the implicit assumption that harder questions benefit monotonically from extended reasoning. In contrast, we find that the effect of reasoning length on accuracy is concentrated on partially solvable questions. Our further analysis reveals that explicit length rewards can produce unintended training dynamics. Motivated by these findings, we propose CARE---Contrastive Accuracy Reward Estimation---which compares the beneficial length adjustment per question from online sampled responses and applies adaptive length rewards within Group Relative Policy Optimization, with no extra hyperparameters or additional inference cost. Experiments across multiple reasoning benchmarks demonstrate that our method improves Pass@1 by up to while simultaneously reducing reasoning length by , achieving higher token efficiency. Code will be available upon the acceptance of this paper.
Figures & tables
| Method | AIME 2025 | AIME 2026 | HMMT 2026 | MATH500 | Average | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| Pass@1 | Token | Pass@1 | Token | Pass@1 | Token | Pass@1 | Token | Pass@1 | Token | |
| Qwen3-1.7B | ||||||||||
| Qwen3-1.7B | 26.88 | 13320.41 | 30.21 | 13716.90 | 16.67 | 14062.21 | 86.47 | 5246.36 | 40.06 | 11586.47 |
| GRPO | 30.42 | 10826.55 | 28.96 | 10245.45 | 17.61 | 11296.01 | 87.74 | 3829.58 | 41.18 | 9049.40 |
| ALP | 31.87 | 11623.52 | 32.08 | 11789.75 | 19.41 | 12170.17 | 85.76 | 3863.09 | 42.28 | 9861.63 |
| DAST | 26.04 | 14052.29 | 29.48 | 14312.01 | 15.81 | 14639.91 | 83.03 | 4746.27 | 38.59 | 11937.62 |
| Model | Early Exact | Middle Exact | Late Exact | Overall Exact | Overall Non-Zero | |
|---|---|---|---|---|---|---|
| Qwen3-1.7B | 4 | 85.39% | 87.19% | 87.52% | 86.69% | 50.90% |
| 8 | 91.95% | 92.81% | 92.81% | 92.52% | 73.73% | |
| 12 | 96.27% | 96.23% | 96.40% | 96.30% | 87.91% | |
| Qwen3-4B | 4 | 89.85% | 90.67% | 91.62% | 90.69% | 50.94% |
| 8 | 94.63% | 94.73% | 94.99% | 94.78% | 73.82% | |
| 12 | 97.39% | 97.44% | 97.40% | 97.41% | 87.92% |
| Model | Method | AIME25 | AIME26 | HMMT26 | MATH500 | Average |
|---|---|---|---|---|---|---|
| Qwen3-1.7B | CARE-Magnitude | 31.35/10464.91 | 30.73/10496.70 | 20.83/11380.66 | 85.08/3314.91 | 42.00/8914.30 |
| CARE | 33.96/9352.41 | 32.29/10073.94 | 21.78/10176.61 | 87.25/3012.70 | 43.82/8153.92 | |
| Qwen3-4B | CARE-Magnitude | 53.02/8843.30 | 51.98/8117.22 | 26.99/9450.59 | 90.59/2718.12 | 55.65/7282.31 |
| CARE | 52.92/8455.09 | 55.62/7817.14 | 28.60/8735.88 | 92.39/2618.05 | 57.38/6906.54 | |
| Qwen3-8B | CARE-Magnitude | 54.17/9583.34 | 59.06/8874.49 | 32.01/10569.64 | 90.65/2892.74 | 58.97/7980.05 |
| CARE | 53.85/9166.40 | 58.85/8548.70 | 32.67/10310.60 | 93.10/2803.10 | 59.62/7707.20 |
| Model | Method | AIME25 | AIME26 | HMMT26 | MATH500 | Average |
|---|---|---|---|---|---|---|
| Qwen3-1.7B | CARE ( ) | 32.81/10627.63 | 30.31/10700.56 | 20.55/11500.73 | 85.25/3397.02 | 42.23/9056.49 |
| CARE | 33.96/9352.41 | 32.29/10073.94 | 21.78/10176.61 | 87.25/3012.70 | 43.82/8153.92 | |
| Qwen3-4B | CARE ( ) | 53.02/8555.19 | 51.25/8218.75 | 27.27/9179.88 | 90.84/2742.92 | 55.60/7174.18 |
| CARE | 52.92/8455.09 | 55.62/7817.14 | 28.60/8735.88 | 92.39/2618.05 | 57.38/6906.54 | |
| Qwen3-8B | CARE ( ) | 54.06/9674.28 | 56.67/8993.24 | 32.95/10813.47 | 90.63/3004.62 | 58.58/8121.40 |
| CARE | 53.85/9166.40 | 58.85/8548.70 | 32.67/10310.60 | 93.10/2803.10 | 59.62/7707.20 |
Appendix figures & tables35 assets
Supplementary material from the paper’s appendix.
Appendix
| Inference Engine | Samples per Question | Temperature | Top-p | Max Reasoning Length | Bin Width |
|---|---|---|---|---|---|
| vLLM | 64 | 1.0 | 1.0 | 16,384 | 0.5 |
| Qwen3-1.7B | Qwen3-4B | Qwen3-8B | |
|---|---|---|---|
| GSM8K | 1286/1319 (97.50%) | 1277/1319 (96.82%) | 1292/1319 (97.95%) |
| MATH500 | 475/500 (95.00%) | 474/500 (94.80%) | 479/500 (95.80%) |
| Model | Dataset | Hard | Easy | ||
|---|---|---|---|---|---|
| Qwen3-1.7B | GSM8K | 33 (30.56%) | 75 ( 69.44% ) | 179 ( 15.85% ) | 950 (84.15%) |
| MATH500 | 25 (36.76%) | 43 ( 63.24% ) | 112 ( 28.28% ) | 284 (71.72%) | |
| Qwen3-4B | GSM8K | 42 (41.18%) | 60 ( 58.82% ) | 184 ( 15.62% ) | 994 (84.38%) |
| MATH500 | 26 (40.62%) | 38 ( 59.38% ) | 107 ( 25.72% ) | 309 (74.28%) | |
| Qwen3-8B | GSM8K | 23 (30.26%) | 53 ( 69.74% ) | 70 ( 5.75% ) | 1148 (94.25%) |
| Advantage Estimator | Training Temperature | Global Batch Size | Mini Batch Size | Rollout Number | Regularization | Actor Clip Ratio | Max Response Length | Learning Rate |
|---|---|---|---|---|---|---|---|---|
| GRPO | 1.0 | 256 | 256 | 16 | KL/Entropy | 0.2 | 6144 | 1e-6 |
| Samples per Question | Temperature | Top-p | Max Reasoning Length | Aggregation |
|---|---|---|---|---|
| 32 | 0.6 | 0.95 | 16,384 | Mean over samples |
| Model | Short-reward | Long-reward | ||
|---|---|---|---|---|
| Stable Interval | Unstable Interval | Stable Interval | Unstable Interval | |
| Qwen3-1.7B | N/A | N/A | Steps 1–15 | Steps 31–45 |
| Qwen3-4B | Steps 1–10 | Steps 60–70 | Steps 1–15 | Steps 31–45 |
| Qwen3-8B | Steps 1–10 | Steps 60–70 | Steps 1–15 | Steps 31–45 |
| Difficulty Subset | AIME 2025 | AIME 2026 | ||||||
|---|---|---|---|---|---|---|---|---|
| GRPO | CARE | GRPO | CARE | |||||
| Pass@1 | Pass@1 | Pass@1 | Pass@1 | |||||
| Difficulty Subset | AIME 2025 | AIME 2026 | ||||||
| GRPO | CARE | GRPO | CARE | |||||
| Pass@1 | Pass@1 | Pass@1 | Pass@1 | |||||
| – | – | – | – | |||||
| Difficulty Subset | AIME 2025 | AIME 2026 | ||||||
| GRPO | CARE | GRPO | CARE | |||||
| Pass@1 | Pass@1 | Pass@1 | Pass@1 | |||||
| – | – | – | – | |||||
| Model Size | Method | AIME 2025 | AIME 2026 | HMMT 2026 | MATH500 |
|---|---|---|---|---|---|
| Qwen3-1.7B | Base | ||||
| GRPO | |||||
| ALP | |||||
| DAST | |||||
| CARE | |||||
| Qwen3-4B | Base |
Efficient Language Model Reasoning
Efficient language model reasoning studies how to improve problem-solving accuracy while reducing inference, memory, latency, and training costs.
See all 341 papers