Learning When to Think: Adaptive Reasoning for Test-Time Compute Allocation explained
Researchers Gijs Kassenaar, Zhao Yang, and Vincent François-Lavet propose a method for reasoning language models to dynamically adjust their computational effort based on the difficulty of a given problem. Instead of using a fixed token budget, which can lead to inefficient computation on simple tasks or insufficient reasoning on complex ones, the model learns to select one of three reasoning modes at the start of its response.
How the adaptive reasoning works
The model uses three distinct modes to manage its reasoning effort: NoThink (immediate response), Short (brief reasoning), and Long (extended reasoning).
The researchers integrated this selection process directly into Group Relative Policy Optimization (GRPO) without requiring a separate router component. The model learns to choose the appropriate mode through a shaped reward system that incentivizes different response lengths for different tasks, supported by hard token caps for each mode to ensure they remain distinct.
Performance and efficiency results
On a 1.5B distilled model trained on the MATH dataset, the researchers observed that the model successfully learned to differentiate between problem types without collapsing into a single mode. Key findings include:
Efficiency: On the MATH500 benchmark, the model maintained accuracy comparable to the base model (0.782 vs. 0.796) while reducing the mean response length by 41% (from 4,796 to 2,811 tokens).
Generalization: The policy transfers to other benchmarks without additional retraining. For example, on the GSM8K dataset, the model achieved a 76% reduction in token usage while maintaining higher accuracy than baselines that used similar response lengths.
Problem Sorting: The researchers noted that the model’s brief modes were more accurate than the Long mode, suggesting that the model effectively sorts problems by difficulty rather than selecting modes at random.
Franklin analysis
The evidence suggests that reasoning models can effectively manage their own computational resources through reinforcement learning without the overhead of an external routing mechanism. By tying the choice of reasoning depth to the initial token of the response, the model creates a self-regulating system that prioritizes efficiency on simpler problems. The significant reduction in token usage on benchmarks like GSM8K indicates that this approach is particularly effective at identifying and streamlining the processing of less complex tasks.
Comments (0)
to join the discussion
No comments yet
Be the first to share your thoughts!