Adaptive Stopping of Streamed Reasoning for Language Model Agents
Organizations: Korea University
Abstract
Reasoning-enabled language model agents can incur substantial computation before acting, although the reasoning needed varies across decisions. Existing stopping signals, such as confidence and intermediate-answer stability, can vary in effectiveness across reasoning models; signals obtained from hidden states or token probabilities also require internal access that may be unavailable or impractical. We introduce StreamStop, which learns model-specific stopping policies offline from prefix-level action agreement. A frozen prefix reader encodes available reasoning text for a lightweight stop head, allowing stopping without access to the reasoning model's internal signals. We construct and publicly release a dataset of agent reasoning trajectories with prefix-level action annotations. These annotations compare each prefix action with the full-reasoning reference action, enabling offline comparison of stopping rules and exact expected-return optimization of a discounted action-agreement objective. Conditioning the head on the discount factor allows the agreement-token trade-off to be adjusted at inference without retraining. In closed-loop evaluations on WebShop and ScienceWorld, StreamStop achieves higher observed success than most validation-selected fixed-budget settings while using fewer reasoning tokens than Full thinking. On WebShop with Qwen3.8-27B, it uses 42% fewer reasoning tokens per episode with similar observed task success.
Figures & tables
| Reasoning model | Episodes | Streams | Prefixes |
|---|---|---|---|
| WebShop | |||
| Qwen3.8-27B-FP8 | 5,237 | 40,922 | 443,611 |
| Nemotron-3-Nano-30B-A3B-FP8 | 3,437 | 20,021 | 374,499 |
| ScienceWorld | |||
| Qwen3.8-27B-FP8 | 1,260 | 30,885 | 791,006 |
| Gemini 3.1 Flash-Lite | 1,260 | 31,991 | 487,700 |
| WebShop | ScienceWorld | |||||||||||
| Qwen3.8 27B-FP8 | Nemotron-3-Nano 30B-A3B-FP8 | Qwen3.8 27B-FP8 | Gemini 3.1 Flash-Lite | |||||||||
| Method | Succ. | Tok/ep | Tok/think | Succ. | Tok/ep | Tok/think | Succ. | Tok/ep | Tok/think | Succ. | Tok/ep | Tok/think |
| Full thinking | 43.0 2.2 | 5945 160 | 713 11 | 34.5 3.5 | 5374 220 | 871 25 | 52.1 4.8 | 45380 2291 | 1656 70 | 47.1 2.8 | 10980 371 | 359 4 |
| No thinking | 13.2 1.8 | 0 0 | 0 0 | 18.3 1.5 | 0 0 | 0 0 | 32.0 1.7 | 0 0 | 0 0 | 39.9 2.5 | 0 0 | 0 0 |
| Const-B 0.98 | 32.8 2.1 | 1257 25 | 144 0.71 | 29.2 4.0 | 1082 29 | 247 1 | 46.5 3.3 | 8017 328 | 266 3 | 45.1 2.2 | 6068 199 | 191 0.05 |
| Const-B 0.99 | 35.0 1.5 | 1519 7 | 175 1 | 28.2 3.8 | 1343 65 | 288 2 | 46.8 2.2 | 8583 379 | 289 4 | 45.1 2.2 | 6068 199 | 191 0.05 |
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
| Setting | Value | Search candidates |
|---|---|---|
| Prefix reader | Qwen3-1.7B, FP32 | – |
| Hidden units (main / discount) | 128 / 32, tanh | Linear; 64; 128; 256; (main) |
| Fourier order | 4 | 4; 8 |
| Fourier period | 2 | – |
| Feature scale | 4 | 1; 4 |
| Optimizer | AdamW, CPU | – |
| Configuration | Const-B budgets | Const-M budgets | EAT-proxy |
|---|---|---|---|
| WebShop–Qwen3.8 | |||
| WebShop–Nemotron | |||
| ScienceWorld–Qwen3.8 | |||
| ScienceWorld–Gemini |
| Configuration | Full inputs | Metadata-only | Context-only | Raw-prefix | Const- | |
| WebShop–Qwen3.8 | 236 | 95.8 | ||||
| WebShop–Nemotron | 285 | 77.5 | ||||
| ScienceWorld–Qwen3.8 | 369 | 90.9 | ||||
| ScienceWorld–Gemini | 229 | 89.9 | ||||
| Mean | – | 94.1 | 89.6 | 90.1 | 92.9 | – |