arXiv:2610.06432stat.MLOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.06432

Valid Stopping in Adaptive Generator-Verifier Loops

Mahmoud Hegazy, Michael I. Jordan, Aymeric Dieuleveut

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Numerous agentic workflows are based on a generator–verifier loop: a generator proposes candidates, a cheap verifier scores them, and the workflow terminates when a proposal is verified as good enough. The verifier typically proxies a more costly ground-truth oracle, and as the generator searches adaptively against it, false acceptances may accumulate. Proposals can pass the proxy but fail under the costlier ground-truth check. We study when to stop these loops while controlling the false discovery rate of the accepted proposals. Our construction introduces tools of independent interest in distribution-free statistical testing and conformal risk control, including analysis of e-values constructed through index betting and a novel conformal risk control procedure for non-monotone losses. We validate the approach in synthetic settings and on a protein-design benchmark.

1 Introduction

A large class of inference-time systems operates as generator–verifier loops. A generator proposes candidates, a verifier supplies scores or pass/fail feedback, and the search stops when one or more candidates look acceptable. This template appears in code generation with unit-test filtering [Chen et al., 2021, Li et al., 2022], theorem proving with proof checkers [Polu and Sutskever, 2020], and mathematical reasoning with learned verifiers [Cobbe et al., 2021]. Related iterative self-feedback and verbal-reflection methods revise candidates using model-generated feedback [Madaan et al., 2023, Shinn et al., 2023]. The advantage of using verifiers can be substantial from a computational and economic point of view because, unlike the ground-truth oracle, the verifier is cheap and fast to query repeatedly.

The substitution of a verifier for a ground-truth oracle, however, also induces a complex set of statistical and strategic problems. Once the generator adapts to past verifier outputs, it can search for candidates that exploit the proxy's weaknesses. A verifier that is reliable marginally, or on isolated queries, can accumulate false acceptances under reuse. Recent analyses of inference-time search make this over-optimization phenomenon explicit [Khalaf et al., 2025, Huang et al., 2025]. A key problem is thus that of stopping a generator–verifier loop while controlling the quality of the accepted set as measured with the oracle, not merely with the proxy.

We present a statistical procedure that halts after collecting κ≥1\kappa \geq 1 accepted proposals while controlling the false discovery rate (FDR) of the accepted set—i.e., the expected fraction of accepted proposals that the oracle would reject—below a user-specified level α\alpha. Using a small set of historical runs, we show how to deploy this procedure on an unobserved run where the true correctness labels are hidden. Formally, at round tt, the generator proposes XtX_t, the verifier returns a score StS_t and feedback VtV_t, with the oracle label Yt∈{0,1}Y_t \in \{0,1\} unobserved. We place no restriction on how XtX_t depends on the past history Ht−1=(X1,V1,S1,…,Xt−1,Vt−1,St−1)H_{t-1} = (X_1, V_1, S_1, \ldots, X_{t-1}, V_{t-1}, S_{t-1}). The procedure returns a set of accepted proposals among X1,…,XtX_1, \ldots, X_t with cardinality smaller than κ\kappa. This covers regimes in which the generator adapts aggressively to prior failures and verifier corrections. When κ=1\kappa = 1, the guarantee controls the FDR of the first nonempty returned set, which in the commonly employed single-return setting is exactly the probability of a false first acceptance.

Contributions. We solve this stopping problem by combining three ingredients. First, as shown in Section 4, we construct marginally valid local e-values through an index-betting normalization [Koning, 2026]. The same section gives a finite-sample power analysis with matching upper and lower bounds under a fractional-moment condition on the likelihood ratio, and a weaker Kullback–Leibler (KL) divergence condition under which the finite-batch normalization penalty vanishes. Second, Section 5 introduces robust-core conformal risk control (CRC), a finite-sample calibration method for CRC with non-monotone losses. Third, in Section 6 we show how to combine these local e-values with the weighted online e-Benjamini–Hochberg (e-BH) procedure [Fischer et al., 2024] for stopped FDR control under arbitrary within-run dependence and how this addresses the general generator–verifier stopping problem.

Outline. Section 2 formalizes the run-level model and gives a quick overview of the full approach. Section 3 positions our construction relative to related literature. Section 4 and Section 5 formally introduce our e-value construction and robust-core CRC. Section 6 presents the full procedure together with a synthetic illustration. Section 7 reports experiments on a MotifBench-derived protein-design benchmark [Zheng et al., 2025]. In that benchmark, RFdiffusion [Watson et al., 2023] or Proteina [Geffner et al., 2025] generates candidate backbones, ProteinMPNN [Dauparas et al., 2022] designs sequences, ESMFold [Lin et al., 2023] provides a cheap structural proxy, and AlphaFold 3 [Abramson et al., 2024] serves as the more expensive structural-prediction oracle that defines the benchmark label.

References (55)