ROC-n-reroll: How verifier imperfection affects test-time scaling
Florian E. Dorner, Yatong Chen, André F. Cruz, Fanny Yang
TL;DR
This work provides a theoretical and empirical study of test-time scaling with imperfect verifiers, focusing on Rejection Sampling and Best-of-N. It shows that for a fixed query, the per-instance accuracy of RS and BoN is fully determined by the base generator accuracy $\pi$ and the verifier ROC curve $T(F)$, with RS outperforming BoN at the same compute and both converging in the infinite-compute limit. Crucially, the authors prove that high- and low-compute performance cannot be reliably extrapolated from one another in the presence of imperfect verifiers; small shifts in the ROC near the origin can drastically alter high-budget outcomes, and early scaling offers no guaranteed signal of ultimate performance. Experiments using Qwen and LLama verifiers on GSM8K and MATH500 validate the predictions, showing RS's practical advantages and highlighting the limits of extrapolation across compute regimes. These insights inform the design of verifier-based test-time strategies and motivate hybrid or budget-aware approaches that adapt to ROC geometry.
Abstract
Test-time scaling aims to improve language model performance by leveraging additional compute during inference. Many works have empirically studied techniques such as Best-of-N (BoN) and Rejection Sampling (RS) that make use of a verifier to enable test-time scaling. However, to date there is little theoretical understanding of how verifier imperfection affects performance -- a gap we address in this work. Specifically, we prove that the instance-level accuracy of these methods is precisely characterized by the geometry of the verifier's ROC curve. Our theory has two important takeaways, confirmed by experiments with Qwen and LLama models on GSM8K and MATH500. First, RS outperforms BoN for fixed compute, while both methods converge to the same accuracy in the infinite-compute limit. Second, it is generally impossible to predict the high-compute performance of either method based on observations in the low-compute regime.
