Introduction
Elastic Reasoning is a new framework that provides developers with "volume knobs" for Large Reasoning Models (LRMs). By explicitly separating the "thinking" phase from the "solution" phase and training models to handle truncated thoughts, researchers have created models that remain highly accurate even when their compute budget is slashed. Remarkably, these models also become up to 30% more concise in unconstrained settings.
The Challenge of Unpredictable Reasoning
Large Reasoning Models (LRMs) like OpenAI’s o1 or DeepSeek-R1 have set new records by using "Chain-of-Thought" (CoT)—essentially "thinking out loud" before answering. However, these models have a major deployment flaw: their "thinking" length is unpredictable.
In real-world applications, inference operates under strict budgets. Whether dealing with a hard latency limit for a user-facing app or a strict token cap to manage API costs, current LRMs struggle when cut off mid-thought. If a standard LRM is stopped early, it often fails to produce a coherent answer. Previous attempts to fix this either required massive retraining or resulted in "dumbed-down" models that lost their reasoning edge.
Methods: Introducing Elastic Reasoning
To address these limitations, the authors introduce two core innovations that form the Elastic Reasoning framework:
- Separate Budgeting for Inference: Instead of enforcing a single total token limit, the framework divides the budget into two distinct parts: $t$ tokens for thinking and $s$ tokens for the solution. If the model hits the thinking limit $t$, the system forcibly injects a
</think>tag, mandating that the model immediately begin its final solution. This guarantees the model always attempts a complete answer. - Budget-Constrained Rollout (Training): To make the model comfortable with being interrupted, the authors integrated a "budget-constrained rollout" into the reinforcement learning process (using Group Relative Policy Optimization, or GRPO). During training, the model is intentionally cut off at a fixed thinking budget (e.g., 1,000 tokens). This teaches the model to internalize the constraint and prioritize the most critical reasoning steps early on.
Crucially, this training is highly efficient. While other methods require thousands of steps, Elastic Reasoning achieved its results in just 200 training steps for math tasks.
Datasets and Evaluation
The researchers trained and evaluated their approach across two main domains:
- Mathematics: Training utilized datasets like AIME (1984-2023), AMC, and Omni-Math. Evaluation was performed on AIME 2024, MATH500, Olympiad-Bench, and Minerva Math.
- Programming: Training involved TACO, SYNTHETIC-1, and LiveCodeBench. Evaluation was conducted on LiveCodeBench, Codeforces, and HumanEval+.
Key Insights
- The "Solution" is Sacred: The core realization is that a truncated thought process is survivable, but a truncated solution is fatal. By guaranteeing a dedicated budget for the final answer, the model remains reliable even under extreme pressure.
- Fixed Training, Flexible Inference: Surprisingly, training the model on a single fixed budget (e.g., 1K thinking tokens) allows it to generalize perfectly to any budget at test time—whether that's 500 tokens or 4,000.
- Constraint Breeds Efficiency: When a model is trained to expect a cutoff, it stops "rambling." The resulting models became significantly more concise, reducing average token usage by over 30% even when no limits were enforced, often outperforming the original "verbose" models.
Key Results
The authors developed two primary models: E1-Math-1.5B and E1-Code-14B.
- Math Performance: On the difficult AIME 2024 benchmark, E1-Math-1.5B achieved 35.0% accuracy, significantly outperforming previous state-of-the-art length-control methods (like L1-Max, which hit 27.1%) across various token budgets.
- Coding Prowess: E1-Code-14B achieved a Codeforces rating of 1987 (96th percentile). This puts a 14B parameter model in the same league as much larger models like o1-2024-12-17 (Low).
- Efficiency: In unconstrained settings, E1-Code-14B reduced the average tokens per problem from 17,815 to 11,145—a 37.4% reduction—while simultaneously improving performance on LiveCodeBench.
Limitations and Future Work
The authors noted a few areas for future exploration:
- Model Size Sensitivity: Smaller models (like the 1.5B math model) are more prone to "catastrophic forgetting" during RL. The 1.5B model's unconstrained performance was slightly lower than its baseline, likely due to the limited capacity of such a small architecture to balance robustness and raw power.
- Dynamic Solution Budgets: Currently, the "solution" budget is fixed (usually at 1K tokens). Future work could explore dynamic allocation, where the model decides how to split its total budget between thinking and solving based on prompt difficulty.
- The Zero-Thinking Floor: For "hard" problems (like AIME), the model still requires some thinking time. If the thinking budget is set to zero, accuracy collapses, proving that while reasoning can be "elastic," it cannot be eliminated entirely.
Summary updated