cs.AIAug 20, 2026

Learning When to Think: Adaptive Reasoning for Test-Time Compute Allocation

Authors: Gijs Kassenaar, Zhao Yang, Vincent François-Lavet

Organizations: Vrije Universiteit Amsterdam

Abstract

Reasoning language models trained with reinforcement learning typically operate under a fixed token budget rather than an explicitly adaptive one, which can lead to over-computation on easy problems and insufficient computation on difficult ones. We study whether a model can learn to allocate its own reasoning effort by choosing, as the first token of its response, one of three modes: NoThink (answer as quickly as possible), Short (brief reasoning), or Long (extended reasoning). The choice is learned inside Group Relative Policy Optimization (GRPO) with no separate router, through a shaped reward that makes each mode worthwhile at a different response length, together with hard per-mode token caps that keep the modes distinct. On a 1.5B distilled model trained on MATH, the three modes emerge without collapsing to a single choice, and the brief modes end up more accurate than Long, which shows that the router sorts problems by difficulty rather than at random. Averaged over three seeds, the resulting policy stays close to the base model's accuracy on the held-out MATH500 (0.7820.782 vs.\ 0.7960.796) while cutting the mean response length from 4,7964{,}796 to 2,8112{,}811 tokens (a 41%41\% reduction). Interestingly, it also transfers to other benchmarks without retraining, with the largest savings where problems are easier, with for instance 76% token reduction on GSM8K and at higher accuracy than the baselines at similar response length. In short, we build a reasoning model that adaptively chooses how much to reason for each problem.

Figures & tables

Appendix figures & tables9 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. To Think or Not to Think: Allocating Reasoning Where It Helps

    Aug 30, 2026Zhengdong He, Yunfan Zhou, Jianguo Yao +2Efficient Language Model ReasoningRL for Language Model Reasoning

  2. Efficiently Learning To Reason or Not to Reason: Root-token Policy Optimization for Adaptive Thinking

    Oct 13, 2026Taehyeon Kim, Hyunsoo Lee, Youngsoo Jang +1Efficient Language Model ReasoningLarge Reasoning Models

  3. When2Think: Learning When and How Much to Reason

    Sep 17, 2026Jaejun Shim, HyunJin Kim, Young Jin Kim +1Overthinking in Language ModelsRL for Language Model Reasoning