Rethinking Optimal Verification Granularity for Compute-Efficient Test-Time Scaling

Hao Mark Chen, Guanxi Lu, Yasuyuki Okoshi, Zhiwen Mo, Masato Motomura, Hongxiang Fan

Abstract

Current Test-Time Scaling (TTS) methods for Large Language Models (LLMs) often rely on step-wise verification, which is computationally expensive and frequently redundant. We present Variable Granularity Search (VG-Search), a framework that optimizes the frequency of verification by introducing a tunable granularity parameter $g$. This approach bridges the gap between fine-grained Beam Search and coarse-grained Best-of-N sampling. Our results demonstrate that adaptive granularity can reduce compute costs by over 50% while improving accuracy by up to 3.1% on challenging reasoning benchmarks like MATH-500 and AIME.

1. Introduction

As Large Language Models (LLMs) tackle increasingly complex reasoning tasks, researchers have turned to Test-Time Scaling (TTS) to improve performance. By generating multiple candidate solutions and using a verifier—typically a Process Reward Model (PRM)—to select the most promising path, models can "think longer" to find correct answers. However, the standard approach of verifying every single reasoning step is often suboptimal. This paper investigates the efficiency of verification granularity and proposes a more flexible search framework.

2. The Problem: Redundancy and Computational Cost

Traditional search strategies like Beam Search verify the model's output at every step (usually delimited by newlines). This approach suffers from two primary inefficiencies:

  1. Redundancy: Empirical analysis shows that verifier scores often remain stable across multiple steps. In many cases, checking every line provides no new information, as over 50% of two-step score differences are below 1% of the total score range.
  2. Computational Overhead: Verification is a compute-heavy process. As the number of candidate solutions scales, the FLOPs required for verification can dwarf the cost of text generation, leading to diminishing returns in performance per unit of compute.

To address these inefficiencies, we introduce VG-Search, a framework that treats verification granularity as a tunable hyperparameter, $g$. This parameter represents the number of generation steps between successive verifier calls.

  • Unifying Search Strategies: When $g=1$, the algorithm behaves like standard Beam Search. When $g$ is set to the total length of the solution, it becomes Best-of-N sampling.
  • Adaptive Strategies: We propose two methods for selecting $g$:
  • CM-g (Compute Minimization): Identifies the largest $g$ that maintains the accuracy of step-wise verification, aiming to minimize FLOPs.
  • AM-g (Accuracy Maximization): Selects the $g$ that maximizes accuracy within a fixed computational budget.

4. Experimental Setup

We evaluated VG-Search across several rigorous benchmarks, including MATH-500, AIME (2022-2024), and HumanEval. These datasets cover a range of difficulties in mathematics and code synthesis. We utilized a validation set (MATH-250) to tune the adaptive strategies, testing the robustness of the chosen granularity on the full test sets.

5. Key Insights and Results

5.1. Stronger Models Require Less Supervision

A significant finding is that stronger generator models, such as Qwen2.5-Math-7B, perform better with sparse verification ($g=3$ or $4$). Frequent checking can introduce "noise," potentially leading a high-capability model down suboptimal paths by over-analyzing incomplete reasoning fragments.

5.2. The Difficulty-Granularity Trade-off

Problem difficulty significantly influences the optimal $g$. Harder tasks, such as those found in AIME, benefit from more frequent verification. In these scenarios, early errors are more likely, and the "hand-holding" provided by frequent PRM calls becomes more valuable for error correction.

5.3. Efficiency and Accuracy Gains

VG-Search consistently outperforms traditional fixed-granularity methods:

  • Compute Efficiency: The CM-g strategy reduced total FLOPs by over 52% while maintaining or slightly exceeding the accuracy of standard Beam Search.
  • Performance Boost: The AM-g strategy achieved a 3.1% accuracy gain over Beam Search and a 3.6% gain over Best-of-N on the MATH-500 dataset.
  • Compute Reallocation: By reducing verification frequency, saved FLOPs can be reinvested into a wider search (increasing beam width), which often yields superior results compared to a narrow, frequently-verified search.

6. Conclusion and Future Work

Verification granularity is a critical but often overlooked factor in test-time scaling. VG-Search demonstrates that "more checking" does not inherently lead to better results. By optimizing the frequency of verification, we can achieve higher accuracy with significantly lower computational costs.

Future research will explore intra-problem adaptive granularity, where the model or verifier dynamically decides when to check based on real-time confidence scores, and the application of these principles to generative verifiers.

Summary updated

BibTeX
@inproceedings{chen2025rethinking,
  author = {Hao Mark Chen and Guanxi Lu and Yasuyuki Okoshi and Zhiwen Mo and Masato Motomura and Hongxiang Fan},
  title = {{Rethinking Optimal Verification Granularity for Compute-Efficient Test-Time Scaling}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=cxb5EsQHW3},
}
Figure