Paper Overview
Field: Machine Learning Authors: Jingbo Wen, Liang He, Ziqi He Published: 2025-06-01 arXiv: 2606.04402
Motivation
Modern reasoning models can allocate different amounts of test-time computation—thinking tokens, model calls, or compute budgets—to different tasks. Existing methods drive this allocation by predicted difficulty, spending more compute where accuracy gains are expected. This implicitly assumes all failures cost the same, since an accuracy objective weights every task equally.
This assumption fails in deployment: a typo in a log message and a migration that corrupts a production database both count as one benchmark failure, but their real-world costs are fundamentally different.
Approach
The paper proposes consequence-aware test-time compute allocation:
- A lightweight predictor estimates from the problem text alone how costly it would be if a task were solved incorrectly.
- A scheduler routes high-consequence tasks to larger compute tiers or higher thinking budgets, under the same total budget as difficulty-aware baselines.
- Evaluated on SWE-bench Lite with cross-dataset behavior on Multi-SWE-bench mini, covering 700 software engineering tasks.
- Consequence and difficulty are approximately orthogonal across various annotations; current thinking models under-allocate compute according to consequence.
- The question-only predictor never misclassified a high-consequence task as low-consequence across 300 SWE-bench tasks.
- Under matched compute budgets, the consequence-aware scheduler reduces cost-weighted loss by 22%–33% relative to difficulty-aware routing.
- A priority-aware variant scaling per-task cost routing by a marginal-utility signal reduces loss by over 30%; its deployable predictor-driven version retains more than 90% of the oracle gains.
Key Findings
Takeaway
Allocating reasoning compute by the *consequences* of failure—not just predicted difficulty—can substantially reduce cost-weighted losses at the same overall budget, making test-time compute allocation better aligned with real-world deployment risks.