When To Solve, When To Verify: Compute-Optimal Problem Solving and Generative Verification for LLM Reasoning
Nishad Singhi, Hritik Bansal, Arian Hosseini, Aditya Grover, Kai-Wei Chang, Marcus Rohrbach, Anna Rohrbach
TL;DR
This work compares Generative Reward Models (GenRM) and Self-Consistency (SC) under a fixed inference budget to determine compute-optimal strategies for LLM reasoning. It shows SC is more compute-efficient at practical budgets, while GenRM can surpass SC only at substantially larger budgets, requiring much more compute. The authors introduce a compute-matched framework and derive inference scaling laws, revealing that the optimal number of solutions grows faster with budget than the number of verifications (S_opt ∝ C^{0.57}, V_opt ∝ C^{0.39}), providing actionable budgeting guidance. The findings are validated across multiple model families and math-reasoning tasks, offering concrete recommendations for deploying scalable reasoning with verification in real-world settings.
Abstract
Scaling test-time compute has emerged as a key strategy for enhancing the reasoning capabilities of large language models (LLMs), particularly in tasks like mathematical problem-solving. A traditional approach, Self-Consistency (SC), generates multiple solutions to a problem and selects the most common answer via majority voting. Another common method involves scoring each solution with a reward model (verifier) and choosing the best one. Recent advancements in Generative Reward Models (GenRM) reframe verification as a next-token prediction task, enabling inference-time scaling along a new axis. Specifically, GenRM generates multiple verification chains-of-thought to score each solution. Under a limited inference budget, this introduces a fundamental trade-off: should you spend the budget on scaling solutions via SC or generate fewer solutions and allocate compute to verification via GenRM? To address this, we evaluate GenRM against SC under a fixed inference budget. Interestingly, we find that SC is more compute-efficient than GenRM for most practical inference budgets across diverse models and datasets. For instance, GenRM first matches SC after consuming up to 8x the inference compute and requires significantly more compute to outperform it. Furthermore, we derive inference scaling laws for the GenRM paradigm, revealing that compute-optimal inference favors scaling solution generation more aggressively than scaling the number of verifications. Our work provides practical guidance on optimizing test-time scaling by balancing solution generation and verification. The code is available at https://github.com/nishadsinghi/sc-genrm-scaling.
