Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters
Charlie SnellJaehoon LeeKelvin XuAviral Kumar
Demonstrates that optimizing inference-time computation per prompt enables smaller language models to outperform models fourteen times their size, establishing an adaptive scaling strategy that exceeds standard best-of-N sampling efficiency by more than fourfold.
The rapid development of large language models has traditionally relied on massive pretraining compute to improve reasoning capabilities. However, pretraining increasingly larger foundation models incurs substantial financial, infrastructure, and deployment costs. A critical question for artificial intelligence deployment is whether spending additional computation at test time—allowing a model to "think longer" during inference—can serve as a more effective and flexible substitute for scaling up model parameter size.
The article systematically analyzes how to optimize inference-time computation across two core mechanisms: searching against process-based reward models (step-by-step verifiers) and adaptively refining the model's proposal distribution through iterative revisions. The research evaluates how prompt difficulty influences the efficacy of test-time scaling strategies and examines whether additional test-time computation can match or exceed the performance of a substantially larger pretrained model under equivalent computational budgets.
The researchers conducted empirical evaluations on the challenging MATH benchmark using PaLM 2-S* base models fine-tuned specifically to verify solution steps or sequentially revise previous attempts. The study compared parallel sampling baselines against iterative revision chains and tree-search methods like beam search and lookahead search. To allocate compute efficiently, the authors established a compute-optimal framework that predicts question difficulty using a learned verifier and assigns the best-performing search or revision hyper-parameters per difficulty tier across cross-validated test splits.
The analysis yielded several key findings. First, adapting the compute strategy based on problem difficulty improves efficiency by up to fourfold compared to standard best-of-N sampling baselines. Second, the optimal mechanism depends heavily on problem difficulty: easier problems benefit most from purely sequential revisions, whereas harder problems require a balanced mix of parallel exploration and tree search to find valid solution paths. Third, complex tree search methods can over-optimize and exploit verifier flaws on easy problems at high generation budgets, leading to performance degradation. Fourth, in floating-point operations (FLOPs)-matched evaluations, allocating test-time compute to a smaller model outperformed a 14-fold larger pretrained model on easy and intermediate problems, especially in deployment regimes where inference volume is low relative to pretraining data. However, for the most difficult problems, test-time compute gains plateaued, indicating that pretraining scale remains necessary when a model lacks underlying capability.
These findings demonstrate that pretraining compute and test-time compute are not interchangeable one-to-one, but test-time compute offers a compelling path to reduce deployment overhead. Organizations can deploy smaller, highly optimized models on-device or at lower serving costs for routine to moderately complex reasoning tasks, reserving massive foundation models for the most challenging domains. This provides practical leverage to reduce training expenditures and shorten model delivery timelines.
Decision-makers should consider adopting adaptive inference frameworks that allocate computational budgets dynamically according to prompt difficulty rather than using fixed parallel sampling. Future initiatives should focus on lightweight methods for estimating prompt difficulty at runtime to minimize overhead, exploring hybrid search-and-revision methods, and distilling high-quality test-time rollouts back into base models to enable iterative self-improvement.
The study's conclusions are bounded by its focus on mathematical reasoning benchmarks and the reliance on capability-specific fine-tuning for revisions and verification. Furthermore, calculating difficulty metrics introduces extra inference overhead that must be balanced in production. While confidence is high that compute-optimal test-time scaling delivers major efficiency gains on structured reasoning tasks within a model's foundational scope, caution is advised when applying these methods to open-domain tasks or problems entirely beyond the base model's knowledge base.
- Paper: Training Compute-Optimal Large Language Models, Jordan Hoffmann et al. (2022). Establishes the fundamental compute-optimal pretraining scaling laws that this paper builds upon and contrasts with test-time compute allocation.
- Paper: Scaling Laws for Neural Language Models, Jared Kaplan et al. (2020). Introduces the baseline empirical neural scaling laws governing parameter and data allocation that motivate studying test-time compute trade-offs.
- Paper: Self-Consistency Improves Chain of Thought Reasoning in Language Models, Xuezhi Wang et al. (2023). Introduces self-consistency majority voting, a foundational parallel test-time compute sampling baseline that the paper compares against and optimizes.
- Paper: Chain-of-Thought Prompting Elicits Reasoning in Large Language Models, Jason Wei et al. (2022). Provides the foundational chain-of-thought mechanism that enables test-time reasoning expansion in large language models.
- Paper: Scaling Laws for Reward Model Overoptimization, Leo Gao et al. (2023). Analyzes the scaling behaviors and failure modes of optimizing against reward models, directly informing the paper's use of process-based verifiers.
- Paper: Self-Refine: Iterative Refinement with Self-Feedback, Aman Madaan et al. (2023). Pioneers iterative self-feedback and test-time distribution updating methods that the source generalizes into compute-optimal adaptive scaling.
- Paper: s1: Simple test-time scaling, Niklas Muennighoff et al. (2025). Demonstrates practical, lightweight implementation of test-time scaling through budget forcing to dynamically control inference computation.
- Paper: Prefix Sliding for efficient test-time scaling, Niklas Muennighoff et al. (2026). Extends test-time scaling by mitigating KV cache bottlenecks during extended reasoning traces via prefix sliding.
- Paper: SPIRAL: Learning to Search and Aggregate, Jubayer Ibn Hamid et al. (2026). Builds on parallel test-time search and compute allocation by learning to jointly search and aggregate multiple reasoning paths.
- Paper: TTPO: Test-Time Policy Optimization, Aozhe Wang et al. (2026). Applies test-time search and majority consensus directly to optimize model policies at inference time without labeled supervision.
- Paper: Towards Large Reasoning Models: A Survey of Reinforced Reasoning with Large Language Models, Fengli Xu et al. (2025). Surveys the broader ecosystem of test-time compute scaling, search algorithms, and process reward models analyzed in the source.
- Paper: Reasoning with Sampling: Your Base Model is Smarter Than You Think, Aayush Karan et al. (2026). Explores non-RL test-time sampling refinements to extract maximal reasoning capabilities directly from base models.
- Paper: Efficient Reasoning on the Edge, Yelysei Bondarenko et al. (2026). Applies adaptive test-time compute budget allocation and verifier search within the constrained compute regimes of edge devices.
