When you have a limited budget to solve a set of problems using a Large Language Model (LLM), the intuitive strategy is to give the hardest problems more attempts. If a problem is easy, one shot might do; if it’s hard, maybe it needs fifty.
However, a new paper by Jinhyung Bae, "Give Up to Get More: Priors, Not Policies, Govern Test-Time Compute Allocation," argues that this intuition is fundamentally flawed for difficult tasks. Instead of "harder gets more," the optimal strategy is often to give up on the most difficult problems to save budget for those that are actually solvable.
TL;DR
For hard reasoning tasks, the common heuristic of giving harder problems more attempts fails because it wastes compute on "hopeless" inputs. The optimal allocation follows an inverted-U shape: focus compute on problems of intermediate difficulty and ignore the impossible ones. Success in this regime depends less on the specific allocation algorithm (the policy) and more on having high-quality information about problem difficulty (the prior).
What Problem Does This Paper Address?
Test-time compute—sampling multiple responses from an LLM to find a correct one—is a powerful but expensive way to boost performance. Researchers and engineers must decide how to divide a fixed "budget" of attempts across a benchmark or a set of user queries.
The author surveyed 221 LLM papers and found a recurring pattern: most methods that vary compute per-input use a "harder-gets-more" (HGM) rule. While this works well on easy benchmarks where the model eventually solves almost everything, the author asks: What happens when the workload is actually hard?
Methods
The paper combines theoretical derivation with extensive empirical "replays" of public LLM sample datasets.
- Theoretical Analysis: Using marginal value analysis, the author proves that for binary success (pass/fail), the optimal static allocation is an inverted-U. As shown in Figure 1, you should give zero attempts to problems below a certain solvability threshold, peak your efforts on intermediate problems, and then taper off for very easy problems that don't need the extra help.
- Static vs. Sequential Allocation: The study looks at two scenarios:
- Static: You decide the number of attempts for every problem in advance (e.g., for majority voting).
- Sequential: You have a verifier (like unit tests) and can stop as soon as you find a correct answer.
- Policy Testing: The author compares standard multi-armed bandit policies like Thompson Sampling (TS) and Upper Confidence Bound (UCB) against simple Round-Robin (giving every unsolved problem one more try in turn).
- Prior Evaluation: The paper tests different "priors"—information about how hard a problem is before you start—ranging from cheap text-based features to "history priors" (how a similar model performed on the same problems in the past).
Datasets
The study utilizes a wide array of public stored samples from models ranging from 0.5B to 70B parameters:
- Reasoning: MATH, GSM8K, and PRM800K.
- Coding: CodeContests.
- Formal Proofs: MiniF2F (Lean).
- New Evaluations: Freshly generated samples from the Qwen2.5 family (0.5B, 1.5B, and 7B models) to ensure the patterns hold on state-of-the-art open weights.
Key Insights and Ideas
- The "Harder-Gets-More" Failure: On hard workloads, HGM rules capture almost none of the potential performance gain. As seen in Table 1, on the hardest MATH tasks (Pythia models), HGM rules like IAS actually perform worse than or equal to uniform allocation.
- Priors > Policies: In the sequential setting (with a verifier), the specific algorithm you use (TS vs. UCB) matters very little. What matters is the prior. If you have a good prior (e.g., from a related model's past runs), you can nearly double the solved share on hard tasks. Without a good prior, no fancy policy beats simple Round-Robin.
- The Solvability Threshold: For a prior to be useful, it needs a rank correlation with the true pass rate of at least 0.3 to 0.55. Cheap priors like LLM-rated difficulty or text features often fall below this bar on hard tasks.
- Verifier Fragility: Smart allocation is extremely sensitive to verifier errors. A false acceptance rate of just 5% (the verifier wrongly saying a wrong answer is right) can completely erase the gains of intelligent allocation.
Key Results
- Performance Boost: Using Thompson Sampling with a "history prior" raised the solved share on the hardest MATH workload from 14% to 27%.
- Efficiency: The gains hold even when accounting for response length; because correct answers are often shorter than rambling incorrect ones, focusing on solvable problems also saves tokens.
- Decision Guide: The paper concludes with a practical guide for practitioners:
- If you have a verifier, use Round-Robin by default.
- Only use a complex policy if you have a high-quality prior (correlation > 0.4).
- If the workload is hard and you don't have a verifier, stick to uniform allocation; HGM will likely waste your money.
Limitations and Future Work
The primary limitation is the requirement for a programmatic verifier (like a compiler or math checker). The author found that current learned reward models (LLMs acting as verifiers) are often too inaccurate on hard problems to support effective compute reallocation.
Additionally, the "history prior" requires having seen the exact same inputs before. This makes the findings highly applicable to Reinforcement Learning (where the same prompt pool is visited every epoch) and regression testing, but less applicable to handling entirely novel user queries in a production chatbot. Future work could explore how to build better priors for novel inputs that clear the necessary correlation threshold.
Summary updated