Skip to content
ImagineWorld

Predicting and improving test-time scaling laws via reward tail-guided search

node_idnode-paper_arxiv-2602.01485_predicting-and-improving-test-time-scaling-laws-via-reward-tail-guided-search
node_typenode-paper
schema_profileworld.node_paper.v1
alternate_namesarxiv-2602.01485
statusactive
orthogonal_scopemanifold, entropy, authority, state
manifoldworld
entropymedium
authorityguides
stateexternal
domainimagineworld.net
node_interiorrosetta_contract
unisonone evidence claim read five ways: seated in the value-estimation field, the work predicts and improves test-time scaling laws via reward-tail-guided search, using the tail of the reward distribution to steer where extra compute looks — its framework, regime, and stance agreeing on what it is
governed_byWORLD-MANIFOLD, CORPUS
constitutional_citationCONSTITUTION
evidence_bundleworld-bundle-paper
publication_classarxiv_preprint
paper_titlePredicting and improving test-time scaling laws via reward tail-guided search
paper_authorsMuheng Li, Jian Qian, Wenlong Mou
arxiv_id2602.01485
arxiv_urlhttps://arxiv.org/abs/2602.01485
arxiv_categories{"primary":"cs.LG","secondary":["stat.ML"]}
arxiv_v1
arxiv_submitted_at2026-02-01
arxiv_updated_at2026-02-01
ocr_sourcearxiv_html
ocr_quality_classverbatim_latexml_html
extraction_toolarxiv-nodepaper-transpose
extraction_pipeline_versionworld-ingest-arxiv-html-v1.0
extracted_at2026-10-13T06:51:09Z
math_preserved_as_latextrue
figures_extractedtrue
references_structurally_parsedfalse
created_at2026-10-13T06:51:09Z
updated_at2026-10-14T05:10:36Z
local graph

Predicting and improving test-time scaling laws via reward tail-guided search

Section titled “Predicting and improving test-time scaling laws via reward tail-guided search”

Authors: Muheng Li, Jian Qian, Wenlong Mou

arxiv: 2602.01485

Converted to markdown on 2026-10-13 from the arXiv HTML (LaTeXML) rendering; figures embedded from the same source.


Muheng Li†Jian Qian⋄Wenlong Mou†
Department of Statistical Sciences, University of Toronto†
Department of AI and Data Science, University of Hong Kong⋄

Test-time scaling has emerged as a critical avenue for enhancing the reasoning capabilities of Large Language Models (LLMs). Though the straight-forward “best-of-NN” (BoN) strategy has already demonstrated significant improvements in performance, it lacks principled guidance on the choice of NN, budget allocation, and multi-stage decision-making, thereby leaving substantial room for optimization. While many works have explored such optimization, rigorous theoretical guarantees remain limited. In this work, we propose new methodologies to predict and improve scaling properties via tail-guided search. By estimating the tail distribution of rewards, our method predicts the scaling law of LLMs without the need for exhaustive evaluations. Leveraging this prediction tool, we introduce Scaling-Law Guided (SLG) Search, a new test-time algorithm that dynamically allocates compute to identify and exploit intermediate states with the highest predicted potential. We theoretically prove that SLG achieves vanishing regret compared to perfect-information oracles, and achieves expected rewards that would otherwise require a polynomially larger compute budget required when using BoN. Empirically, we validate our framework across different LLMs and reward models, confirming that tail-guided allocation consistently achieves higher reward yields than Best-of-NN under identical compute budgets. Our code is available at https://github.com/PotatoJnny/Scaling-Law-Guided-search.

The past years have seen remarkable advancements in the capabilities of Large Language Models (LLMs), particularly in complex reasoning tasks (OpenAI, 2023; Bubeck et al., 2023). A key driver of these improvements has been the adoption of test-time scaling strategies, which leverage the stochastic nature of LLM outputs to enhance performance without necessitating further model training (Snell et al., 2024; Lightman et al., 2023; Brown et al., 2024). Among these strategies, the “best-of-NN” (BoN) approach has emerged as a simple yet effective method. By generating multiple outputs and selecting the one with the highest reward according to a predefined metric, BoN has demonstrated significant performance gains across various tasks (Li et al., 2023; DeepSeekAI, 2025).

Despite its empirical success, the application of BoN strategies still faces several challenges. On the one hand, while it is known that increasing the number of samples NN generally leads to better performance, the precise relationship between NN and expected reward remains poorly understood. This gap in understanding hinders the ability to make informed decisions about resource allocation, especially in scenarios where computational budgets are constrained. On the other hand, the BoN strategy does not account for the potential benefits of adaptive sampling, where intermediate outputs could inform subsequent sampling decisions.

The answers to these challenges lie in the ability to predict scaling laws governing the performance of BoN strategies, and to develop algorithms that can effectively leverage these predictions. For example, in training-time settings, explicit scaling laws have been established, linking model, data and compute budget to performance metrics (Kaplan et al., 2020; Hoffmann et al., 2022). These laws are used to guide resource allocation and model design, and have been theoretically justified under various setups Lin et al. (2025); Ben-Arous et al. (2025). By way of contrast, analogous scaling laws for test-time strategies like BoN remain underexplored, both empirically and theoretically.

In this work, we address these gaps by introducing a novel framework for predicting test-time scaling laws of BoN via tail extrapolation of reward distributions. Building on this predictive capability, we further propose Scaling-Law Guided (SLG) Search, an adaptive algorithm that dynamically allocates computational resources based on predicted rewards. Our contribution includes

  • •

    A new method for predicting the best-of-NN scaling behavior with only m≪Nm\ll N samples, by modeling the tail distribution of rewards and extrapolating to larger NN.

  • •

    A scaling-law guided (SLG) search algorithm that utilizes predicted scaling laws to adaptively allocate sampling budgets in two reasoning tasks. We theoretically show that SLG achieves vanishing regret compared to perfect-information oracles, and attains expected rewards that would otherwise require polynomially larger compute budgets under BoN.

  • •

    Our empirical evaluation across various LLMs and reward models demonstrates that our tail-guided allocation consistently outperforms BoN under identical compute budgets.

The rest of the paper is organized as follows. We first introduce notations and discuss related work. Section 2 formalizes the problem setup. In Section 3, we present our method for predicting scaling laws via tail extrapolation. Section 4 introduces the SLG search algorithm and its theoretical analysis. Finally, Section 5 details our empirical evaluations, and Section 6 concludes with a discussion of future directions.

For any integer n⩾1n\geqslant 1, let [n]={1,…,n}[n]=\{1,\dots,n\}. We denote the PDF and CDF of the standard normal distribution by ϕ\phi and Φ\Phi, respectively, and use Φ−1\Phi^{-1} for its quantile function. We write ϕ(⋅;μ,σ2)\phi(\cdot;\mu,\sigma^{2}) for the density of a Gaussian with mean μ\mu and variance σ2\sigma^{2}.

Recent research has established inference-time compute as a scalable dimension of model performance, distinct from pre-training parameters. Empirical studies have demonstrated that quality of final outputs improves as test-time budget increases , allowing smaller models to compete with larger ones given sufficient budget (Wu et al., 2024; Chen et al., 2024; Arora and Zanette, 2025; Liu et al., 2025b; Schaeffer et al., 2025). Regarding the factors governing these laws, Snell et al. (2024) empirically found that the optimal scaling strategy depends heavily on the intrinsic difficulty of the prompt. Subsequent theoretical works have sought to explain these phenomena, typically by modeling the relationship between solution coverage and budget NN (Brown et al., 2024; Levi, 2024; Kazdan et al., 2025) or analyzing generalization error under imperfect reward models Huang et al. (2025); Di et al. (2025); Halder and Pehlevan (2025). Our work contributes to this theoretical lineage by constructing a more accurate statistical model based on distributional tail property to explain and predict test-time scaling laws.

Existing search strategies range from iterative refinement to complex structured exploration. Classical techniques like self-refinement (Madaan et al., 2023; Jiang et al., 2025) improve reasoning loops without relying on external signals. More recent approaches integrate explicit reward models to guide this search, utilizing uncertainty-aware verification (Ye et al., 2025) or generative feedback (“PRMs that think”) (Khalifa et al., 2025) to trigger revisions. At the most complex end of the spectrum, methods like Tree of Thoughts (ToT) (Yao et al., 2023) and Monte Carlo Tree Search (MCTS) frameworks such as RAP (Hao et al., 2023), TreeBoN (Qiu et al., 2024) and LATS (Zhou et al., 2023) navigate the reasoning space using reward signals. However, these methods typically rely on dense supervision from trained Process Reward Models (PRMs) or estimate state values using the empirical mean of lookahead rollouts which lacks theoretical guarantees. In contrast, we propose a novel search algorithm that leverages predicted scaling laws to guide resource allocation, offering a framework with provable performance guarantees.

We formulate the test-time alignment problem as a decision-making task under a fixed computational budget.

We model the generation process as a trajectory x=s_0→s_1→⋯→s_k→yx=s\_{0}\to s\_{1}\to\dots\to s\_{k}\to y, where xx is the initial prompt, s_is\_{i} represents an intermediate state (e.g., a reasoning step, partial plan, or draft segment), and yy is the final terminal response. From any given state ss, the language model follows a stochastic policy π_ref(⋅∣s)\pi\_{\text{ref}}(\cdot|s) to generate the subsequent state or terminate at a response yy. Our objective is to identify the generation trajectory that yields the highest reward response y\*y^{\*} subject to a total computational budget.

We assume access to a reward function r(y,x)r(y,x) that evaluates the quality of a complete response yy. For any intermediate state ss (including the prompt xx), the stochastic policy induces a distribution over potential future outcomes. Let Y_sY\_{s} denote a random final response obtained by rolling out the policy π_ref\pi\_{\text{ref}} from state ss until termination. We denote the distribution of its reward as R_s=r(Y_s,x)∼F_sR\_{s}=r(Y\_{s},x)\sim F\_{s}, and refer to F_sF\_{s} as the reward distribution associated with state ss.

To quantify the potential of a state ss, we define the value function V_N(s)V\_{N}(s) as the expected maximum reward achievable by dedicating a sampling budget of NN to that state:

V_N(s):=E[max⁡_1⩽i⩽NR_s(i)],where R_s(i)∼i.i.d.F_s.V\_{N}(s):=\mathbb{E}\Big[\max\_{1\leqslant i\leqslant N}R\_{s}^{(i)}\Big],\quad\text{where }R\_{s}^{(i)}\overset{\text{i.i.d.}}{\sim}F\_{s}.(1)

Intuitively, V_N(s)V\_{N}(s) measures the “scaling potential” of the state ss: it is the expected best outcome if we were to dedicate a budget of NN to exploring it.

We can formulate the test-time alignment task under a compute budget using the above framework. We consider the following two problems.

(1) The prediction problem. Given a state ss and a target budget NN, our first objective is to estimate the scaling behavior for state ss using only a small amount of mm samples. Concretely, we seek to construct an estimator V^_N(s)\widehat{V}\_{N}(s) that approximates the value function V_N(s)V\_{N}(s) using only m≪Nm\ll N i.i.d. reward samples D={r_1,r_2,…,r_m}\mathcal{D}=\{r\_{1},r\_{2},\dots,r\_{m}\} from the underlying distribution F_sF\_{s}.

(2) The search problem. Given an initial prompt xx and a total budget NN, our second objective is to design an algorithm that optimizes the expected reward of the maximal reward response generated within the budget. In particular, within one unit of budget, an algorithm A\mathcal{A} can sample from any states already generated (including the initial prompt). The decision of which state to sample next can depend on all previously observed states and their sampled rewards. The expected reward of algorithm A\mathcal{A} under budget NN is defined as

V_N(A;x):=E[max⁡_y∈Y_outr(y,x)],V\_{N}(\mathcal{A};x):=\mathbb{E}\Big[\max\_{y\in\mathcal{Y}\_{\text{out}}}r(y,x)\Big],(2)

where Y_out\mathcal{Y}\_{\text{out}} is the set of final responses generated by A\mathcal{A} given the initial prompt xx and budget NN. The goal is to find an algorithm A\mathcal{A} that maximizes V_N(A;x)V\_{N}(\mathcal{A};x). When it is clear from context, we will abbreviate V_N(A;x)V\_{N}(\mathcal{A};x) as V_N(A)V\_{N}(\mathcal{A}).

For the rest of the paper, we first address the prediction problem in Section 3, and then leverage the resulting estimator to design a resource-efficient search algorithm in Section 4.

3 Predicting scaling laws via tail extrapolation

Section titled “3 Predicting scaling laws via tail extrapolation”

Based on above setup, we now present our method for predicting the scaling behavior of V_N(s)V\_{N}(s) for large NN using only m≪Nm\ll N samples. The key insight is that the behavior of the maximum reward is primarily influenced by the tail of the reward distribution. Therefore, accurately modeling the tail allows us to extrapolate V_N(s)V\_{N}(s) to larger NN.

In this section, we first introduce the tail assumption underlying our approach, supported by empirical evidence. We then describe a method to estimate the tail parameters from observed samples, and finally present theoretical guarantees on the accuracy of our scaling law predictions.

3.1 Tail assumption and empirical validation

Section titled “3.1 Tail assumption and empirical validation”

As the prediction problem of test-time scaling laws requires estimating reward values beyond the observed sample range, it necessitates modeling assumptions on the reward distribution’s upper tail behavior.

We start by empirically analyzing the reward distributions obtained from LLM-generated responses. By collecting the reward distributions for various prompts and models, we observe consistent patterns in their tail behavior. In Figure 1, we present the histograms of reward samples (N=5000N=5000) from two representative examples. It can be observed that though the main body of the reward distribution is often skewed, the tail aligns closely with a truncated Gaussian distribution. The goodness-of-fit analysis and the Q-Q plots also support this observation, which is provided in Appendix A.

Figure 1 : Empirical analysis of reward distributions. We visualize reward samples ( N = 5000 N=5000 ) for two distinct partial responses generated by Llama-3.2-1B-Instruct on an AIME 2024 problem, scored by Skywork-Reward-V2 . (Left) The standard density histograms show that the distribution body may contain irregularities or deviations from a perfect bell curve. (Right) The log-density plots reveal that despite body noise, the upper tail (highlighted in color) strictly follows a parabolic decay , confirming that the tail behavior is well-approximated by Gaussian.

Motivated by these findings, we consider the following Gaussian tail assumption.

Let F_sF\_{s} be the cumulative distribution function of the reward distribution at state ss, and r_α:=F_s−1(1−α)r\_{\alpha}:=F\_{s}^{-1}(1-\alpha) be the threshold for a tail probability α∈(0,1)\alpha\in(0,1). We assume that for all r⩾r_αr\geqslant r\_{\alpha}, the reward density coincides with a Gaussian probability density function:

p_s(r)=ϕ(r;μ,σ2).p\_{s}(r)=\phi(r;\mu,\sigma^{2}).(3)

where ϕ(⋅;μ,σ2)\phi(\cdot;\mu,\sigma^{2}) denotes the PDF of a normal distribution with mean μ\mu and variance σ2\sigma^{2}. Furthermore, we assume the second moment bound E[R_s2]⩽C_R\mathbb{E}[R\_{s}^{2}]\leqslant C\_{R}.

Under Assumption 1, the full reward density p_s(r)p\_{s}(r) can be viewed as a mixture:

p_s(r)={p_body(r)if r<r_αϕ(r;μ,σ2)if r⩾r_αp\_{s}(r)=\begin{cases}p\_{\text{body}}(r)&\text{if }r<r\_{\alpha}\\ \phi(r;\mu,\sigma^{2})&\text{if }r\geqslant r\_{\alpha}\end{cases}

and we impose no constraints on the distribution’s body, allowing the majority of samples to follow an arbitrary p_bodyp\_{\text{body}}.

Under Assumption 1, the behavior of V_N(s)V\_{N}(s) for large NN is governed entirely by the tail parameters μ\mu and σ\sigma. We now present a method to estimate these parameters and provide theoretical guarantees for the estimation error.

3.2 Statistical estimation of scaling laws

Section titled “3.2 Statistical estimation of scaling laws”

We employ the Method of Moments (MoM) on the tail statistics. Let ϕ\phi and Φ\Phi denote the PDF and CDF of the standard normal distribution, respectively. Standard results for the truncated normal distribution link the observed tail moments to the generative parameters:

E[R∣R⩾R_α]\displaystyle\mathbb{E}[R\mid R\geqslant R\_{\alpha}]=μ+σλ(z_α),\displaystyle=\mu+\sigma\lambda(z\_{\alpha}),(4a)
Var[R∣R⩾R_α]\displaystyle\text{Var}[R\mid R\geqslant R\_{\alpha}]=σ2(1+z_αλ(z_α)−λ(z_α)2),\displaystyle=\sigma^{2}\left(1+z\_{\alpha}\lambda(z\_{\alpha})-\lambda(z\_{\alpha})^{2}\right),(4b)

where z_α=Φ−1(1−α)z\_{\alpha}=\Phi^{-1}(1-\alpha) and λ(z)=ϕ(z)/(1−Φ(z))\lambda(z)=\phi(z)/(1-\Phi(z)) is the inverse Mills ratio. By inverting these equations, we derive estimates for μ\mu and σ\sigma based on the empirical tail mean and variance, and thus predict V_N(s)V\_{N}(s) via extrapolation. The complete procedure is detailed in Algorithm 1.

Algorithm 1 Scaling-Law Prediction via Tail Extrapolation

0:  Reward samples D\mathcal{D}, tail fraction α\alpha, budget NN.

0:  Predicted expected maximum V^_N(s)\hat{V}\_{N}(s).

1:  Compute the empirical threshold r^_α/2\hat{r}\_{\alpha/2} as the (1−α/2)(1-\alpha/2)-quantile of D\mathcal{D}.

2:  Extract the tail set D_tail={r∈D∣r⩾r^_α/2}\mathcal{D}\_{\text{tail}}=\{r\in\mathcal{D}\mid r\geqslant\hat{r}\_{\alpha/2}\}.

3:  Compute sample mean μ^_tail\hat{\mu}\_{\text{tail}} and variance σ^2_tail\hat{\sigma}^{2}\_{\text{tail}} of D_tail\mathcal{D}\_{\text{tail}}.

4:  Estimate parameters (μ^,σ^)(\hat{\mu},\hat{\sigma}) by inverting the truncated normal moments:

σ^=σ^2_tail/δ(z),μ^=μ^_tail−σ^λ(z)\hat{\sigma}=\sqrt{\hat{\sigma}^{2}\_{\text{tail}}/{\delta(z)}},\quad\hat{\mu}=\hat{\mu}\_{\text{tail}}-\hat{\sigma}\lambda(z)(5)

where z=Φ−1(1−α/2)z=\Phi^{-1}(1-\alpha/2) and δ(z)=1+zλ(z)−λ(z)2\delta(z)=1+z\lambda(z)-\lambda(z)^{2}, λ(z)\lambda(z) is the inverse Mills ratio.

5:  Predict the expected maximum for budget NN:

V^_N(s)=μ^+σ^E(N)\hat{V}\_{N}(s)=\hat{\mu}+\hat{\sigma}E(N)

where E(N)E(N) is the expected maximum of NN i.i.d. standard normal variables.

6:  return V^_N(s)\hat{V}\_{N}(s)

Note that in Algorithm 1, we explicitly restrict estimation to the top α/2\alpha/2 quantile rather than the full α\alpha tail. This conservative threshold mitigates irregularities at the boundary, and enables us to derive the following non-asymptotic error bound for the estimation of V_N(s)V\_{N}(s).

Under Assumptions 1, for any δ∈(0,12)\delta\in(0,\frac{1}{2}), when the sample size m⩾c_1log⁡(1/δ)m\geqslant c\_{1}\log(1/\delta), then with probability at least 1−δ1-\delta,

$\displaystyle\left\hat{V}_{N}(s)-V_{N}(s)\right

where c_1,c_2c\_{1},c\_{2} are constants only depending on (α,σ,C_R)(\alpha,\sigma,C\_{R}).

See Appendix C for the proof of this theorem. Theorem 1 indicates that the estimation error decays at a rate of O(log⁡N/m)\mathcal{O}(\sqrt{\log N/m}) as the sample size mm increases, with an additional exponentially decaying term (1−α/2)N(1-\alpha/2)^{N} that becomes negligible for large NN.

Theorem 1 provides theoretical guarantees that allow us to use V^_N(s)\hat{V}\_{N}(s) as a reliable signal for decision-making. This predictive capability unlocks several critical applications. We will explore one example application in the following subsection. More importantly, we will leverage this prediction tool to design an adaptive search algorithm in Section 4.

Let us illustrate one application of our scaling law estimator V^_N(s)\hat{V}\_{N}(s) in adaptive resource allocation of computational budget across multiple prompts. Raman et al. (2025) explores this direction by estimating scaling laws using kernel density estimation (KDE) and demonstrates empirical improvements over uniform allocation. However, it is well known that KDE methods do not extrapolate well beyond the observed sample range (see e.g. Tsybakov (2008)). In contrast, our tail-based method provides robust theoretical guarantees for extrapolation, making it more suitable for high-budget predictions.

Specifically, we consider a total budget of n_totaln\_{\text{total}} to be allocated across KK prompts {x_i}_i=1K\{x\_{i}\}\_{i=1}^{K}. The goal is to maximize the weighted sum of expected maximum rewards across all prompts, for a given set of weights {w_i}_i=1K\{w\_{i}\}\_{i=1}^{K}.

max⁡_{n_i}_i=1K∑_i=1Kw_iV_n_i(x_i)s.t.∑_i=1Kn_i⩽n_total, n_i∈N_+.\displaystyle\max\_{\{n\_{i}\}\_{i=1}^{K}}\sum\_{i=1}^{K}w\_{i}V\_{n\_{i}}(x\_{i})\quad\text{s.t.}\sum\_{i=1}^{K}n\_{i}\leqslant n\_{\text{total}},~n\_{i}\in\mathbb{N}\_{+}.(6)

Using our scaling law estimator V^_n(x_i)\hat{V}\_{n}(x\_{i}), we can first allocate a small pilot budget n_pilot≪n_totaln\_{\text{pilot}}\ll n\_{\text{total}} to estimate the scaling laws for each prompt, each using n_pilot/Kn\_{\text{pilot}}/K samples. We can then solve the above optimization problem (6) by replacing V_n_i(x_i)V\_{n\_{i}}(x\_{i}) with the estimated values V^_n_i(x_i)\hat{V}\_{n\_{i}}(x\_{i}). Note that under our tail assumption, V^_n_i(x_i)\hat{V}\_{n\_{i}}(x\_{i}) is a concave function in n_in\_{i}. By relaxing the integer constraint, the resulting problem becomes a convex optimization that can be solved efficiently using standard methods. Finally, we round the solution to obtain integer allocations.

4 Scaling-Law Guided search for test-time alignment

Section titled “4 Scaling-Law Guided search for test-time alignment”

Having established a method to predict the scaling potential of a single state in Section 3, we now address the search problem defined in Section 2. Specifically, we focus on the two-stage generation setting, where the model first generates an intermediate state ss from the prompt xx, and then produces a final response yy based on ss. As defined in Section 2, the state ss can be interpreted as a chain of thought, a partial response, or one mathematical step.

We recall the search problem from Section 2, where we are given a total budget NN to allocate between generating new intermediate states ss from the prompt xx and sampling final responses yy from these states. The objective is to maximize the expected maximum reward of the final responses generated within this budget. To design an efficient search strategy, we leverage the scaling law prediction derived in Section 3. We begin by extending the local tail assumption to the global state space.

We assume Assumption 1 holds for all candidate states ss with uniform constants α\alpha and C_RC\_{R}. Furthermore, we assume that the tail parameters satisfy σ(s)∈[σ_min⁡,σ_max⁡]\sigma(s)\in[\sigma\_{\min},\sigma\_{\max}] almost surely for some constants 0<σ_min⁡⩽σ_max⁡<∞0<\sigma\_{\min}\leqslant\sigma\_{\max}<\infty , and the latent means μ(s)\mu(s) have a finite second moment E[μ(s)2]⩽M_μ\mathbb{E}[\mu(s)^{2}]\leqslant M\_{\mu}.

Since the intermediate states ss are generated by a stochastic LLM policy conditioned on the prompt xx, their associated reward parameters μ(s)\mu(s) and σ(s)\sigma(s) are inherently random variables. Assumption 2 imposes mild regularity conditions on this induced distribution: the bounds on σ(s)\sigma(s) ensure non-degenerate variance (preventing vanishing or exploding noise), while the moment condition on μ(s)\mu(s) ensures the distribution of state qualities remains well-behaved.

Leveraging the scaling law derived in Section 3, we propose an algorithm that dynamically allocates the budget NN between exploration (finding good states) and exploitation (resampling the best state), as outlined in Algorithm 2.

Specifically, the algorithm uses an estimation budget mm across KK candidate states to gather tail statistics, allowing it to extrapolate their potential to the full budget scale. Based on these predictions, it identifies the single most promising state and concentrates the remaining budget on this trajectory to maximize the final reward.

It is important to note that the SLG algorithm is highly parallelizable – the exploration phase can be executed concurrently across all KK candidate states, and the exploitation phase involves independent sampling from the selected state. Overall, the SLG algorithm only requires two sequential rounds of interaction, making it practically efficient.

Algorithm 2 Scaling-Law Guided (SLG) search

1:  Input: Prompt xx, Total Budget NN, Search Width KK, Estimation Samples mm.

2:  Output: The highest reward response y\*y^{\*}.

3:  Generate KK intermediate states {s_i}_i=1K\{s\_{i}\}\_{i=1}^{K} from prompt xx.

4:  for each state s_is\_{i} do

5:   Generate mm responses {y_i,j}_j=1m\{y\_{i,j}\}\_{j=1}^{m} from s_is\_{i} and observe their rewards {r_i,j}_j=1m\{r\_{i,j}\}\_{j=1}^{m}.

6:   Estimate V^_N(s_i)\hat{V}\_{N}(s\_{i}) using Algorithm 1 with {r_i,j}_j=1m\{r\_{i,j}\}\_{j=1}^{m}.

7:  end for

8:  Identify the optimal state: I^=\*⁡argmax_i∈[K]V^_N(s_i)\hat{I}=\operatorname\*{argmax}\_{i\in[K]}\hat{V}\_{N}(s\_{i}).

9:  Allocate remaining budget N−K⋅mN-K\cdot m to state s_I^s\_{\hat{I}} to generate additional responses.

10:  return the response y\*y^{\*} with the highest reward among all generated responses.

Recall that the performance of a search algorithm A\mathcal{A} is measured by the expected reward defined in Equation (2), which we restate here for clarity:

V_N(A):=E[max⁡_y∈Y_outr(y,x)]\displaystyle V\_{N}(\mathcal{A}):=\mathbb{E}\Big[\max\_{y\in\mathcal{Y}\_{\text{out}}}r(y,x)\Big]

where the set Y_out\mathcal{Y}\_{\text{out}} consists of final responses generated by A\mathcal{A} using budget NN.

To contextualize the performance of our SLG algorithm, we introduce two reference strategies for comparison.

First, we consider a theoretical performance ceiling that operates with perfect knowledge:

Definition 1 (Full-information oracle A\*\mathcal{A}^{\*}).
Section titled “Definition 1 (Full-information oracle A\*\mathcal{A}^{\*}A\*).”

The oracle A\*\mathcal{A}^{\*} first samples a pool of NN candidate states S_N={s_1,…,s_N}\mathcal{S}\_{N}=\{s\_{1},\dots,s\_{N}\} from the prompt xx. It then identifies the optimal state s\*=\*⁡argmax_s∈S_NV_N(s)s^{\*}=\operatorname\*{argmax}\_{s\in\mathcal{S}\_{N}}V\_{N}(s) using perfect distributional information and dedicates a budget of NN to sampling from it.

In other words, the oracle A\*\mathcal{A}^{\*} chooses the best state among NN candidates based on perfect information about their reward distributions, and fully exploits it. It is a natural enhancement of BoN with such additional knowledge. Note that A\*\mathcal{A}^{\*} is unattainable in practice as it assumes zero-cost evaluation of the tail parameters. Replicating this strategy blindly would require a budget of at least 2N2N (generating NN candidates plus sampling NN times from the best), even ignoring the cost of estimation.

Second, we define the standard Best-of-NN strategy as a baseline for measuring performance gain:

Definition 2 (Best-of-NN baseline A_BoN\mathcal{A}\_{\text{BoN}}).
Section titled “Definition 2 (Best-of-NNN baseline A_BoN\mathcal{A}\_{\text{BoN}}A_BoN).”

The Best-of-NN strategy samples NN responses directly from the prompt xx (equivalent to sampling from a random mixture of states) without any intermediate selection.

We will use the oracle A\*\mathcal{A}^{\*} to bound the regret (Section 4.2.1) and the baseline A_BoN\mathcal{A}\_{\text{BoN}} to quantify the advantage in a concrete toy example (Section 4.2.2).

We now establish the theoretical guarantees of the SLG algorithm. We first derive a lower bound on the performance of SLG compared to the full-information oracle A\*\mathcal{A}^{\*} under a slightly decreased budget.

Under Assumption 2, consider the SLG algorithm configured with estimation sample size mm and search width K=⌊N/2m⌋K=\lfloor N/2m\rfloor, consuming a total budget of NN. Then, for N⩾4(m+1)N\geqslant 4(m+1) and m⩾c_0log⁡Nm\geqslant c\_{0}\log N for some constant c_0>0c\_{0}>0, we have:

V_N(A_SLG)⩾V_⌊N/2m⌋(A\*)−clog⁡NmV\_{N}(\mathcal{A}\_{\text{SLG}})\geqslant V\_{\lfloor N/2m\rfloor}(\mathcal{A}^{\*})-c\frac{\log N}{\sqrt{m}}

where cc is a constant depending on model parameters (α,σ_min⁡(\alpha,\sigma\_{\min}, σ_max⁡,C_R,M_μ)\sigma\_{\max},C\_{R},M\_{\mu}).

See Appendix D for the proof of Theorem 2.

By setting m≍(log⁡N)αm\asymp(\log N)^{\alpha} with α>2\alpha>2, SLG achieves the same performance as A\*\mathcal{A}^{\*} with a slightly smaller budget O(N/(log⁡N)α)\mathcal{O}(N/(\log N)^{\alpha}), while the estimation error term vanishes as O((log⁡N)1−α/2)\mathcal{O}((\log N)^{1-\alpha/2}). Under practical settings, this budget reduction is negligible. For light-tailed rewards, the oracle A\*\mathcal{A}^{\*} typically satisfies a scaling law of the form V_N(A\*)≈C(log⁡N)γV\_{N}(\mathcal{A}^{\*})\approx C(\log N)^{\gamma} for some γ∈(0,1)\gamma\in(0,1).11 1 For instance, the BoN baseline satisfies this with γ=1/2\gamma=1/2, as shown in Section 3. Consequently, the performance loss due to the logarithmic budget reduction scales as:

V_N(A\*)−V_Nlog⁡αN(A\*)≍log⁡log⁡Nlog⁡1−γN,\displaystyle V\_{N}(\mathcal{A}^{\*})-V\_{\frac{N}{\log^{\alpha}N}}(\mathcal{A}^{\*})\asymp\frac{\log\log N}{\log^{1-\gamma}N},

which diminishes as NN increases. This implies that the gap between SLG and A\*\mathcal{A}^{\*} operating at the same budget NN also vanishes. Specifically, by choosing m≍(log⁡N)3m\asymp(\log N)^{3}, we have:

V_N(A\*)−V_N(A_SLG)⩽O(log⁡log⁡Nlog⁡1−γN).V\_{N}(\mathcal{A}^{\*})-V\_{N}(\mathcal{A}\_{\text{SLG}})\leqslant\mathcal{O}\left(\frac{\log\log N}{\log^{1-\gamma}N}\right).(7)

We provide the formal statement and proof of this result under mild regularity conditions in Appendix E.

To explicitly quantify the performance gain of the SLG algorithm, we apply our general framework to a concrete Gaussian example. This instantiation allows us to derive sharp, non-asymptotic bounds on the advantage gap over the Best-of-N baseline (Definition 2).

Suppose the reward distributions for all intermediate states are Gaussian p_s(r)=ϕ(r;μ(s),σ_1)p\_{s}(r)=\phi(r;\mu(s),\sigma\_{1}) with a fixed noise level σ_1>0\sigma\_{1}>0, and the latent mean parameters are drawn from a Gaussian distribution μ(s)∼N(μ_0,σ_02)\mu(s)\sim\mathcal{N}(\mu\_{0},\sigma\_{0}^{2}). We denote the noise ratio as t=σ_1σ_0t=\frac{\sigma\_{1}}{\sigma\_{0}}.

In this setting, the reward distribution of the prompt simplifies to a Gaussian mixture N(μ_0,σ_02+σ_12)\mathcal{N}(\mu\_{0},\sigma\_{0}^{2}+\sigma\_{1}^{2}). And we can explicitly quantify the advantage of our SLG algorithm over the standard Best-of-N baseline:

Consider the setting defined above. Let t=σ_1σ_0t=\frac{\sigma\_{1}}{\sigma\_{0}}. We set the estimation sample size m=t2log⁡Nm=t^{2}\log N and the number of candidates K=N(1+t)mK=\frac{N}{(1+t)m}. 22 2 We ignore integer constraints on mm and KK for clarity of exposition. For a sufficiently large sampling budget NN, the expected reward improvement of the SLG algorithm over the Best-of-N baseline is lower-bounded by:

V_N(A_SLG)−V_N(A_BoN)⩾2t4(t+1)σ_0log⁡N.V\_{N}(\mathcal{A}\_{\text{SLG}})-V\_{N}(\mathcal{A}\_{\text{BoN}})\geqslant\frac{\sqrt{2}t}{4(t+1)}\sigma\_{0}\sqrt{\log N}.

See Appendix F.1 for the proof of Proposition 1.

Proposition 1 shows that SLG strictly outperforms Best-of-NN by a margin scaling with log⁡N\sqrt{\log N}. We can translate this additive reward gain into a sample efficiency gain, demonstrating that SLG effectively amplifies the compute budget.

Under the conditions of Proposition 1. Let t=σ_1σ_0t=\frac{\sigma\_{1}}{\sigma\_{0}}. The performance of SLG with budget NN exceeds that of a Best-of-NN baseline operating with a polynomially larger budget N1+γN^{1+\gamma}:

V_N(A_SLG)⩾V_N1+γ(A_BoN),V\_{N}(\mathcal{A}\_{\text{SLG}})\geqslant V\_{N^{1+\gamma}}(\mathcal{A}\_{\text{BoN}}),

where we define γ:=2t4(t+1)1+t2>0\gamma:=\frac{\sqrt{2}t}{4(t+1)\sqrt{1+t^{2}}}>0.

See Appendix F.2 for the proof of Corollary 1.

Corollary 1 implies that SLG search yields a polynomial compute amplification over the Best-of-NN baseline. The amplification exponent γ\gamma is a function of the variance ratio t=σ_1/σ_0t=\sigma\_{1}/\sigma\_{0}. Intuitively, if the variance of either the intermediate state generation (x→sx\to s) or the final response generation (s→ys\to y) vanishes, the two-stage structure effectively collapses into a single flat layer, causing SLG to degrade to the Best-of-NN baseline.

It is also worth noting that though the scaling potential of a state is mostly determined by its reward variance σ(s)\sigma(s) (as shown in Section 3), Proposition 1 and Corollary 1 show that scaling improvements can still be achieved even when all states share the same variance level. This shows the intrinsic value of adaptive state selection based on scaling laws, beyond merely identifying high-variance states.

(a) AIME24 (1B)

In this section, we empirically validate the proposed framework. Our evaluation focuses on two key aspects: (1) Search efficiency, assessing if SLG outperforms standard Best-of-NN strategies under identical compute budgets; and (2) Robustness verification, confirming the stability of SLG across various parameter settings and model choices.

(a) Search Parameters ( K , m K,m )

Following recent work on test-time scaling in mathematical reasoning (Guha et al., 2025; Agarwal et al., 2025; Yu et al., 2025; Wang et al., 2025), we evaluate our approach on three verifiable benchmarks targeting advanced problem-solving capabilities: AMC 2023, a 40-problem subset of the 2023 American Mathematics Competitions assessing non-routine skills in algebra, geometry, and combinatorics (MAA, 2023); AIME 2024, consisting of the 30 problems from the 2024 AIME I/II competitions (MAA, 2024); and AIME 2025, the analogous set of 30 problems from the most recent 2025 cycle (MAA, 2025).

To provide the feedback signal, we utilize Skywork-Reward-V2-Llama-3.1-8B (Liu et al., 2025a), a state-of-the-art outcome reward model (ORM) that maps candidate solutions to a scalar quality score r∈Rr\in\mathbb{R}, serving as the oracle for our search optimization.

We primarily compare our Scaling-Law Guided (SLG) search against the standard Best-of-NN (BoN) baseline (Definition 2). BoN allocates the entire computational budget NN to generating independent responses and selecting the candidate with the highest reward. To assess performance, we employ the total reward as our primary metric, defined as the accumulated sum of maximum rewards across the test set:

R(A,N)=∑_x∈Xmax⁡_y∈S_A(x;N)r(y,x),\mathcal{R}(\mathcal{A},N)=\sum\_{x\in\mathcal{X}}\max\_{y\in S\_{\mathcal{A}}(x;N)}r(y,x),

where S_A(x;N)S\_{\mathcal{A}}(x;N) denotes the set of candidate responses generated by algorithm A\mathcal{A} for prompt xx under budget NN, and r(y,x)r(y,x) is the reward signal provided by the ORM. This cumulative metric directly measures the aggregate utility under a fixed compute budget, quantifying how efficiently different test-time strategies exploit the reward signal.

We specify the implementation details of our SLG algorithm below. 33 3 Our code is publicly available at https://github.com/PotatoJnny/Scaling-Law-Guided-search.

  • •

    State Definition. We define a state ss as the first-100-token partial response generated from the prompt xx.

  • •

    Hyperparameters. We fix the tail fraction α=0.2\alpha=0.2. Guided by Equation 7, we dynamically scale parameters with the budget NN, setting the estimation budget m(N)≈15(ln⁡N)3m(N)\approx\frac{1}{5}(\ln N)^{3} and search width K(N)≈N2m(N)K(N)\approx\frac{N}{2m(N)}. See Appendix B for the exact schedule.

For the small budget setting where K⩽mK\leqslant m, we implement a greedy pilot phase to initialize high-quality candidates: we first sample mm trajectories (x→s→y)(x\to s\to y) and select the top KK states ss based on their initial outcome rewards for the subsequent scaling law estimation. The configuration above, while not strictly optimal for every specific budget, yields consistent gains, indicating that our framework requires minimal hyperparameter tuning.

We evaluate SLG against the Best-of-NN (BoN) (Figure 2).

SLG strictly outperforms BoN across all budgets and experimental settings. This advantage is robust to scaling: on AIME 2024, SLG yields substantial margins for both the 1B model (120.2120.2 vs 92.992.9 at N=1000N=1000) and the stronger 7B model (256.0256.0 vs 247.1247.1), confirming that scaling-law guidance provides additive gains even for capable reasoners.

Consistent with Corollary 1, SLG acts as a compute multiplier. Notably, on AIME 2024 with Qwen-7B, SLG matches the peak performance of BoN (N=1000N=1000, score 337.9337.9) using only half the budget (N=500N=500, score 338.1338.1). Similarly, for Llama-1B, SLG (N=500N=500) surpasses BoN at N=700N=700 (133.9133.9 vs 119.8119.8). This validates that tail-guided search yields superior sample efficiency compared to naive scaling.

We validate core components using Llama-3.2-1B-Instruct on AIME 2024 dataset.

Impact of Search Parameters (KK vs. mm).
Section titled “Impact of Search Parameters (KKK vs. mmm).”

Varying the search width KK and pilot budget mm at a fixed N=300N=300 (Figure 3(a)) demonstrates SLG’s robustness; all configurations outperform the baseline. We observe a distinct performance peak at K=3,m=40K=3,m=40 (59.5 vs. 36.9), which effectively balances estimation cost against exploitation resources. This confirms that identifying the “sweet spot” between breadth (exploration) and depth (exploitation) is critical for maximizing compute gain.

Figure 3(b) compares SLG against a Mean-Selection baseline. SLG consistently dominates, particularly at N=500N=500 where it achieves a score of 91.2 versus 61.5 for the mean-based approach. This empirically confirms that for reasoning tasks requiring a single best response, explicitly modeling the reward tail is a superior proxy to maximizing expected value.

Switching the feedback signal to Skywork-Reward-V2-Qwen-8B (Figure 3(c)) preserves SLG’s significant advantage over the baseline. This indicates that our efficiency gains are intrinsic to the search dynamics and not artifacts of a specific reward model architecture.

In this work, we established a principled framework for test-time scaling that bridges the gap between statistical prediction and algorithmic search. We first introduced a methodology to predict the scaling laws of Best-of-NN performance via tail extrapolation, allowing us to estimate the “scaling potential” of intermediate states without exhaustive sampling. Building on this predictive capability, we designed the Scaling-Law Guided (SLG) search, an algorithm that utilizes these forecasts to dynamically allocate compute resources. Both our theoretical analysis and empirical results confirm that this tail-guided approach acts as a resource amplifier, consistently achieving higher rewards than the Best-of-NN baseline under identical compute budgets.

We view this work as a first step toward a rigorous theory of test-time scaling. Promising directions for future research include: (1) generalizing our framework to recursive settings like MCTS to guide pruning; (2) applying these principles to broader agentic workflows such as code generation; and (3) incorporating the error structure of imperfect reward models into scaling-law predictions.

  • Agarwal et al. (2025) A. Agarwal, A. Sengupta, and T. Chakraborty First finish search: efficient test-time scaling in large language models. arXiv preprint arXiv:2505.18149. Cited by: §5.1.
  • Arora and Zanette (2025) D. Arora and A. Zanette Training language models to reason efficiently. arXiv preprint arXiv:2502.04463. Cited by: §1.1.
  • Ben-Arous et al. (2025) G. Ben-Arous, M. A. Erdogdu, N. M. Vural, and D. Wu Learning quadratic neural networks in high dimensions: SGD dynamics and scaling laws. arXiv preprint arXiv:2508.03688. Cited by: §1.
  • Brown et al. (2024) B. Brown, J. Juravsky, R. Ehrlich, R. Clark, Q. V. Le, C. Ré, and A. Mirhoseini Large language monkeys: scaling inference compute with repeated sampling. arXiv preprint arXiv:2407.21787. Cited by: §1.1, §1.
  • Bubeck et al. (2023) S. Bubeck, V. Chandrasekaran, R. Eldan, J. Gehrke, E. Horvitz, E. Kamar, P. Lee, Y. T. Lee, Y. Li, S. Lundberg, H. Nori, H. Palangi, M. T. Ribeiro, and Y. Zhang Sparks of artificial general intelligence: early experiments with gpt-4. Cited by: §1.
  • Chen et al. (2024) L. Chen, J. Davis, B. Hanin, P. Bailis, I. Stoica, M. Zaharia, and J. Zou Are more llm calls all you need? towards the scaling properties of compound ai systems. Advances in Neural Information Processing Systems 37, pp. 45767–45790. Cited by: §1.1.
  • DeepSeekAI (2025) DeepSeekAI Deepseek-r1: incentivizing reasoning capability in LLMs via reinforcement learning. arXiv preprint arXiv:2501.12948. Cited by: §1.
  • Di et al. (2025) Q. Di, K. Ji, X. Li, H. Zhao, and Q. Gu Best-of-majority: minimax-optimal strategy for pass@ kk inference scaling. arXiv preprint arXiv:2510.03199. Cited by: §1.1.
  • Guha et al. (2025) E. Guha, R. Marten, S. Keh, N. Raoof, G. Smyrnis, H. Bansal, M. Nezhurina, J. Mercat, T. Vu, Z. Sprague, et al. OpenThoughts: data recipes for reasoning models. arXiv preprint arXiv:2506.04178. Cited by: §5.1.
  • Halder and Pehlevan (2025) I. Halder and C. Pehlevan Demystifying llm-as-a-judge: analytically tractable model for inference-time scaling. arXiv preprint arXiv:2512.19905. Cited by: §1.1.
  • Hao et al. (2023) S. Hao, Y. Gu, H. Ma, J. Hong, Z. Wang, D. Wang, and Z. Hu Reasoning with language model is planning with world model. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pp. 8154–8173. Cited by: §1.1.
  • Hoffmann et al. (2022) J. Hoffmann, S. Borgeaud, A. Mensch, E. Buchatskaya, T. Cai, E. Rutherford, D. d. L. Casas, L. A. Hendricks, J. Welbl, A. Clark, et al. Training compute-optimal large language models. arXiv preprint arXiv:2203.15556. Cited by: §1.
  • Huang et al. (2025) A. Huang, A. Block, Q. Liu, N. Jiang, A. Krishnamurthy, and D. J. Foster Is best-of-n the best of them? coverage, scaling, and optimality in inference-time alignment. arXiv preprint arXiv:2503.21878. Cited by: §1.1.
  • Jiang et al. (2025) Y. Jiang, Y. Xiong, Y. Yuan, C. Xin, W. Xu, Y. Yue, Q. Zhao, and L. Yan PAG: multi-turn reinforced llm self-correction with policy as generative verifier. arXiv preprint arXiv:2506.10406. Cited by: §1.1.
  • Kaplan et al. (2020) J. Kaplan, S. McCandlish, T. Henighan, T. B. Brown, B. Chess, R. Child, S. Gray, A. Radford, J. Wu, and D. Amodei Scaling laws for neural language models. arXiv preprint arXiv:2001.08361. Cited by: §1.
  • Kazdan et al. (2025) J. Kazdan, R. Schaeffer, Y. Allouah, C. Sullivan, K. Yu, N. Levi, and S. Koyejo Efficient prediction of pass@ k scaling in large language models. arXiv preprint arXiv:2510.05197. Cited by: §1.1.
  • Khalifa et al. (2025) M. Khalifa, R. Agarwal, L. Logeswaran, J. Kim, H. Peng, M. Lee, H. Lee, and L. Wang Process reward models that think. arXiv preprint arXiv:2504.16828. Cited by: §1.1.
  • Levi (2024) N. Levi A simple model of inference scaling laws. arXiv preprint arXiv:2410.16377. Cited by: §1.1.
  • Li et al. (2023) Y. Li D. Choi et al. Competition level code generation with alphacode. Cited by: §1.
  • Lightman et al. (2023) H. Lightman, V. Kosaraju, Y. Burda, H. Edwards, B. Baker, T. Lee, J. Leike, J. Schulman, I. Sutskever, and K. Cobbe Let’s verify step by step. In The Twelfth International Conference on Learning Representations, Cited by: §1.
  • Lin et al. (2025) L. Lin, J. Wu, and P. L. Bartlett Improved scaling laws in linear regression via data reuse. arXiv preprint arXiv:2506.08415. Cited by: §1.
  • Liu et al. (2025a) C. Y. Liu, L. Zeng, Y. Xiao, J. He, J. Liu, C. Wang, R. Yan, W. Shen, F. Zhang, J. Xu, et al. Skywork-reward-v2: scaling preference data curation via human-ai synergy. arXiv preprint arXiv:2507.01352. Cited by: §5.1.
  • Liu et al. (2025b) R. Liu, J. Gao, J. Zhao, K. Zhang, X. Li, B. Qi, W. Ouyang, and B. Zhou Can 1b llm surpass 405b llm? rethinking compute-optimal test-time scaling. arXiv preprint arXiv:2502.06703. Cited by: §1.1.
  • MAA (2023) M. A. o. A. MAA AMC2023. Note: https://artofproblemsolving.com/wiki/index.php?title=AMC_Problems_and_Solutions[Accessed 03-01-2026] Cited by: §5.1.
  • MAA (2024) M. A. o. A. MAA AIME2024. Note: https://artofproblemsolving.com/wiki/index.php/2024_AIME_I_Problems[Accessed 03-01-2026] Cited by: §5.1.
  • MAA (2025) M. A. o. A. MAA AIME2025. Note: https://artofproblemsolving.com/wiki/index.php/2025_AIME_I_Problems[Accessed 03-01-2026] Cited by: §5.1.
  • Madaan et al. (2023) A. Madaan, N. Tandon, P. Gupta, S. Hallinan, L. Gao, S. Wiegreffe, U. Alon, N. Dziri, S. Prabhumoye, Y. Yang, et al. Self-refine: iterative refinement with self-feedback. Advances in Neural Information Processing Systems 36, pp. 46534–46594. Cited by: §1.1.
  • OpenAI (2023) OpenAI GPT-4 technical report. Cited by: §1.
  • Qiu et al. (2024) J. Qiu, Y. Lu, Y. Zeng, J. Guo, J. Geng, H. Wang, K. Huang, Y. Wu, and M. Wang Treebon: enhancing inference-time alignment with speculative tree-search and best-of-n sampling. arXiv preprint arXiv:2410.16033. Cited by: §1.1.
  • Raman et al. (2025) V. Raman, H. Asi, and S. Kale ABoN: adaptive best-of-n alignment. arXiv preprint arXiv:2505.12050. Cited by: §3.2.1.
  • Sampford (1953) M. R. Sampford Some inequalities on mill’s ratio and related functions. The Annals of Mathematical Statistics 24 (1), pp. 130–132. Cited by: item 1.
  • Schaeffer et al. (2025) R. Schaeffer, J. Kazdan, J. Hughes, J. Juravsky, S. Price, A. Lynch, E. Jones, R. Kirk, A. Mirhoseini, and S. Koyejo How do large language monkeys get their power (laws)?. arXiv preprint arXiv:2502.17578. Cited by: §1.1.
  • Snell et al. (2024) C. Snell, J. Lee, K. Xu, and A. Kumar Scaling LLM test-time compute optimally can be more effective than scaling model parameters. arXiv preprint arXiv:2408.03314. Cited by: §1.1, §1.
  • Tsybakov (2008) A. B. Tsybakov Introduction to nonparametric estimation. Springer Science & Business Media. Cited by: §3.2.1.
  • Wang et al. (2025) J. Wang, W. Li, D. Paliotta, D. Ritter, A. M. Rush, and T. Dao M1: towards scalable test-time compute with mamba reasoning models. arXiv preprint arXiv:2504.10449. Cited by: §5.1.
  • Wu et al. (2024) Y. Wu, Z. Sun, S. Li, S. Welleck, and Y. Yang Inference scaling laws: an empirical analysis of compute-optimal inference for problem-solving with language models. arXiv preprint arXiv:2408.00724. Cited by: §1.1.
  • Yao et al. (2023) S. Yao, D. Yu, J. Zhao, I. Shafran, T. Griffiths, Y. Cao, and K. Narasimhan Tree of thoughts: deliberate problem solving with large language models. Advances in neural information processing systems 36, pp. 11809–11822. Cited by: §1.1.
  • Ye et al. (2025) Z. Ye, L. C. Melo, Y. Kaddar, P. Blunsom, S. Staton, and Y. Gal Uncertainty-aware step-wise verification with generative reward models. arXiv preprint arXiv:2502.11250. Cited by: §1.1.
  • Yu et al. (2025) Y. Yu, Q. Di, Q. Gu, and D. Zhou On the limits of test-time compute: sequential reward filtering for better inference. arXiv preprint arXiv:2512.04558. Cited by: §5.1.
  • Zhou et al. (2023) A. Zhou, K. Yan, M. Shlapentokh-Rothman, H. Wang, and Y. Wang Language agent tree search unifies reasoning acting and planning in language models. arXiv preprint arXiv:2310.04406. Cited by: §1.1.

Appendix A Gaussian Tail Check of Reward Distributions

Section titled “Appendix A Gaussian Tail Check of Reward Distributions”

To rigorously validate the Gaussian Tail Assumption (Assumption 1), we provide a comprehensive Q-Q (Quantile-Quantile) plot analysis comparing the global distribution fit versus the tail-specific fit.

Figure 4 presents the diagnostic plots for the two representative examples discussed in Section 3, and Table 1 summarizes the corresponding goodness-of-fit metrics (R2R^{2} values).

  • •

    Top Row (Global Fit): We fit a standard Gaussian distribution to the entire dataset (N=5000N=5000). While the fit is generally reasonable, deviations are observable in the extreme quantiles (visualized as data points diverging from the black dashed line), indicating that the body distribution is not perfectly Gaussian, which is also reflected in the lower R2R^{2} values (e.g., 0.97070.9707 for Example 2).

  • •

    Bottom Row (Tail Fit): We fit a Truncated Gaussian distribution specifically to the top 20% of the data. The data points align almost perfectly with the theoretical line, yielding significantly higher R2R^{2} values.

This comparison confirms that while the global reward distribution may be complex, the asymptotic tail behavior—which governs the scaling laws—is strictly well-behaved and accurately modeled by a Truncated Gaussian.

Figure 4 : Detailed Q-Q Plot Analysis. Top Row: Q-Q plots for the entire reward distribution against a standard Normal.

Figure 4 : Detailed Q-Q Plot Analysis. Top Row: Q-Q plots for the entire reward distribution against a standard Normal. The high density of points and slight deviations at the ends indicate body irregularities. Bottom Row: Q-Q plots for the tail region ( > R 0.2 >R_{0.2} ) against a Truncated Normal. The strictly linear alignment and near-perfect R 2 R^{2} scores confirm the validity of the Gaussian Tail Assumption for extrapolation.

Table 1: Comparison of Goodness-of-Fit (R2R^{2}). For the reward distributions shown in Figure 1, we compare the fit quality of a standard Gaussian on the entire dataset versus a Truncated Gaussian on the top 20% tail. The tail fit consistently outperforms the global fit, indicating that Gaussian properties are most dominant in the extreme tail region.

Global Fit R2R^{2}Tail Fit R2R^{2}
Example 10.98510.9957
Example 20.97070.9989

To ensure that the Gaussian tail property is not unique to the two selected examples above, we extend our analysis to the reward distributions of 9 additional states. These states are generated by Llama-3.2-1B-Instruct on randomly sampled questions from the AIME 2024 dataset, scored by Skywork-Reward-V2-Llama-3.1-8B.

Figure 5 displays the reward density histograms for these distributions. In each plot, we visualize the fit of a Gaussian curve (black dashed line) specifically to the top 20% tail (blue bars), while the remaining body of the distribution is shown in grey.

As observed in Figure 5, the distribution bodies are highly non-Gaussian, exhibiting significant skewness and multi-modality. In contrast, the tail regions consistently align with the fitted Gaussian envelope across all 9 examples. This confirms that despite the global complexity of the reward landscape, the critical tail behavior remains predictable, strictly validating our Gaussian Tail Assumption (Assumption 1).

Figure 5 : Broad Visual Validation of Gaussian Tails. We visualize the reward densities for 9 randomly sampled query instances distinct from the main text examples. Grey Bars: The distribution body ( < 80 <80 th percentile). Blue Bars: The tail region ( > 80 >80 th percentile). Dashed Line: A Gaussian distribution fitted specifically to the tail statistics. Despite the irregular and diverse shapes of the distribution bodies, the tail regions consistently follow a predictable Gaussian profile.

We list the exact hyperparameter values used in our main experiments (Section 5.2) in Table 2.

The search width KK and estimation budget mm are calculated dynamically based on the total budget NN. We first determine the estimation budget mm by scaling with ln⁡N\ln N and rounding to the nearest multiple of 5:

m(N)=5×round⁡((ln⁡N)325).m(N)=5\times\operatorname{round}\left(\frac{(\ln N)^{3}}{25}\right).

Given m(N)m(N), we calculate the target exploration width KK. To ensure the total computational cost remains within bounds, we define KK as the target ratio clipped by the maximum feasible budget:

K(N)=min⁡(round⁡(N2m(N)),  ⌊Nm(N)+2⌋).K(N)=\min\left(\operatorname{round}\left(\frac{N}{2m(N)}\right),\;\left\lfloor\frac{N}{m(N)+2}\right\rfloor\right).

This schedule balances the trade-off between accurate estimation (increasing mm) and sufficient exploration width (KK), and aligns with the theoretical insights from Corollary 2.

Table 2: Hyperparameter Schedule. The exact estimation budget (mm) and exploration width (KK) used for each total budget (NN). Calculated via the formulas: m≈15(ln⁡N)3m\approx\frac{1}{5}(\ln N)^{3} and K≈N2mK\approx\frac{N}{2m}.

Total Budget (NN)Estimation Budget (mm)Exploration Width (KK)
100202
200303
300354
500505
700556
800607
1000658

By Assumption 1, we know the density of the reward distribution p(r)=ϕ(r;μ,σ)p(r)=\phi(r;\mu,\sigma) for r⩾r_α/2r\geqslant r\_{\alpha/2}. We denote M(N)M(N) as the expected maximal value when sampling NN times from N(μ,σ2)\mathcal{N}(\mu,\sigma^{2}), then we know:

M(N)=μ+σE(N),whereE(N)=E_Z_i∼N(0,1)[max⁡_i=1NZ_i]M(N)=\mu+\sigma E(N),\quad\text{where}\quad E(N)=\mathbb{E}\_{Z\_{i}\sim\mathcal{N}(0,1)}\left[\max\_{i=1}^{N}Z\_{i}\right](8)

and V^_N(s)=μ^+σ^E(N)\hat{V}\_{N}(s)=\hat{\mu}+\hat{\sigma}E(N) is an estimator of M(N)M(N).

And we can split the total error into two parts:

$\displaystyle\leftV_{N}(s)-\hat{V}_{N}(s)\right

where the first part is the bias error induced by the Gaussian tail approximation, and the second part is the estimation error of the Gaussian maximal.

We notice that, under the Gaussian Tail Model (Assumption 1), we can write the estimation error as:

$\displaystyle\left\hat{V}_{N}-M(N)\right$
------------
$\displaystyle\leqslant\hat{\mu}-\mu

So it suffices to bound the estimation errors ∣μ^−μ∣|\hat{\mu}-\mu| and ∣σ^−σ∣|\hat{\sigma}-\sigma|, or equivalently ∣μ^_tail−E[R∣R⩾r_α/2]∣|\hat{\mu}\_{\text{tail}}-\mathbb{E}[R|R\geqslant r\_{\alpha/2}]| and ∣σ^_tail−Var⁡[R∣R⩾r_α/2]∣|\hat{\sigma}\_{\text{tail}}-\sqrt{\operatorname{Var}[R|R\geqslant r\_{\alpha/2}]}| by Equation (4), where μ^_tail\hat{\mu}\_{\text{tail}} and σ^_tail\hat{\sigma}\_{\text{tail}} are the empirical mean and standard deviation computed from the tail dataset D_tail={r_i∣r_i⩾r^_α/2,i=1,2,⋯ ,m_tail}D\_{\text{tail}}=\{r\_{i}\mid r\_{i}\geqslant\hat{r}\_{\alpha/2},i=1,2,\cdots,m\_{tail}\}.

We can decompose these errors into two components:

  • •

    Bias error: This error arises from approximating the true threshold r_α/2r\_{\alpha/2} with the empirical threshold r^_α/2\hat{r}\_{\alpha/2}. We denote:

    $\displaystyle\mu(r)=\mathbb{E}[RR\geqslant r],\quad\sigma^{2}(r)=\operatorname{Var}[R

    as the conditional mean and variance given a generic threshold RR. The bias error can then be expressed as:

    $\displaystyle\mu(\hat{r}_{\alpha/2})-\mu(r_{\alpha/2})
  • •

    Statistical error: This error stems from estimating the conditional moments μ(r^_α/2)\mu(\hat{r}\_{\alpha/2}) and σ2(r^_α/2)\sigma^{2}(\hat{r}\_{\alpha/2}) using a finite number of tail samples, and can be expressed as:

    $\displaystyle\hat{\mu}_{\text{tail}}-\mu(\hat{r}_{\alpha/2})

We first construct a high-probability bound on the error of the empirical threshold r^_α/2\hat{r}\_{\alpha/2}:

Under Assumptions 1, there exists a constant c_1>0c\_{1}>0 such that for all sample sizes mm satisfying m⩾c_1log⁡(1/δ)m\geqslant c\_{1}\log(1/\delta), with probability at least 1−δ1-\delta:

$$\left\hat{r}_{\alpha/2}-r_{\alpha/2}\right

where c_1,c_2c\_{1},c\_{2} are generic positive constants depending on (α,σ)(\alpha,\sigma).

Let F^_m(r)\hat{F}\_{m}(r) denote the empirical CDF of the reward samples {r_i}_i=1m\{r\_{i}\}\_{i=1}^{m}. By the Dvoretzky–Kiefer–Wolfowitz (DKW) inequality, the event

$$\mathcal{E}=\left{\sup_{r\in\mathbb{R}}\hat{F}_{m}(r)-F(r)

occurs with probability at least 1−δ1-\delta. We condition on E\mathcal{E} for the remainder of the proof.

Denote τ=r_α/2−r_α\tau=r\_{\alpha/2}-r\_{\alpha} where r_α=Φ−1(1−α;μ,σ)r\_{\alpha}=\Phi^{-1}(1-\alpha;\mu,\sigma) is the α\alpha-quantile of the Gaussian distribution. We first establish that r^_α/2\hat{r}\_{\alpha/2} lies within the local neighborhood N=[r_α/2−τ,r_α/2+τ]\mathcal{N}=[r\_{\alpha/2}-\tau,r\_{\alpha/2}+\tau]. By Assumption 1, the reward density p(r)p(r) equals the Gaussian density ϕ(r;μ,σ)\phi(r;\mu,\sigma) in this region, and thus p(r)⩾κ>0p(r)\geqslant\kappa>0 for all r∈Nr\in\mathcal{N}, where κ=12πσe−(r_α/2+τ−μ)22σ2\kappa=\frac{1}{\sqrt{2\pi}\sigma}e^{-\frac{(r\_{\alpha/2}+\tau-\mu)^{2}}{2\sigma^{2}}} is a constant depending on (α,σ)(\alpha,\sigma). 44 4 Since τ=σ(Φ−1(1−α/2)−Φ−1(1−α))\tau=\sigma(\Phi^{-1}(1-\alpha/2)-\Phi^{-1}(1-\alpha)) and r_α/2−μ=σΦ−1(1−α/2)r\_{\alpha/2}-\mu=\sigma\Phi^{-1}(1-\alpha/2), the constant κ\kappa is independent of μ\mu.

When m⩾4κ2τ2log⁡(1/δ)m\geqslant\frac{4}{\kappa^{2}\tau^{2}}\log(1/\delta), we have:

ϵ_m=log⁡(2/δ)2m⩽12κτ.\epsilon\_{m}=\sqrt{\frac{\log(2/\delta)}{2m}}\leqslant\frac{1}{2}\kappa\tau.

Under this condition, and utilizing the density lower bound F(r_α/2+τ)⩾(1−α/2)+κτF(r\_{\alpha/2}+\tau)\geqslant(1-\alpha/2)+\kappa\tau, we have:

F^_m(r_α/2+τ)\displaystyle\hat{F}\_{m}(r\_{\alpha/2}+\tau)⩾F(r_α/2+τ)−ϵ_m⩾(1−α/2)+κτ−12κτ>1−α/2+1m.\displaystyle\geqslant F(r\_{\alpha/2}+\tau)-\epsilon\_{m}\geqslant(1-\alpha/2)+\kappa\tau-\frac{1}{2}\kappa\tau>1-\alpha/2+\frac{1}{m}.

This implies r^_α/2⩽r_α/2+τ\hat{r}\_{\alpha/2}\leqslant r\_{\alpha/2}+\tau. A symmetric argument shows R^_α⩾R_α−τ\hat{R}\_{\alpha}\geqslant R\_{\alpha}-\tau. Thus, r^_α/2∈N\hat{r}\_{\alpha/2}\in\mathcal{N}.

Since r^_α/2∈N\hat{r}\_{\alpha/2}\in\mathcal{N}, we can invert the CDF difference using the density lower bound κ\kappa. By the Mean Value Theorem on the CDF F(⋅)F(\cdot):

$$F(\hat{r}_{\alpha/2})-F(r_{\alpha/2})

Rearranging this and relating the true CDF to the empirical quantile via the DKW bound:

$\displaystyle\hat{r}_{\alpha/2}-r_{\alpha/2}$
------------
$\displaystyle\leqslant\frac{1}{\kappa}\left(F(\hat{r}_{\alpha/2})-\hat{F}_{m}(\hat{r}_{\alpha/2})
------------
⩽1κ(ϵ_m+1m).\displaystyle\leqslant\frac{1}{\kappa}\left(\epsilon\_{m}+\frac{1}{m}\right).

Substituting ϵ_m=log⁡(2/δ)2m\epsilon\_{m}=\sqrt{\frac{\log(2/\delta)}{2m}}, we know for m⩾c_1log⁡(1/δ)m\geqslant c\_{1}\log(1/\delta), it holds with probability at least 1−δ1-\delta that:

$$\hat{r}_{\alpha/2}-r_{\alpha/2}

for some constants c_1,c_2>0c\_{1},c\_{2}>0 depending on (α,σ)(\alpha,\sigma), which completes the proof. ∎

Then for the bias error, we have the following lemma:

Under Assumptions 1, there exist constants τ>0\tau>0 and c>0c>0 (depending on α,σ\alpha,\sigma) such that for all rr satisfying Δ=∣r−r_α/2∣⩽τ\Delta=|r-r\_{\alpha/2}|\leqslant\tau, we have:

$$\left\mu(r)-\mu(r_{\alpha/2})\right

We choose τ=r_α/2−r_α=σ(Φ−1(1−α/2)−Φ−1(1−α))\tau=r\_{\alpha/2}-r\_{\alpha}=\sigma\left(\Phi^{-1}(1-\alpha/2)-\Phi^{-1}(1-\alpha)\right), and denote λ(x)=ϕ(x)1−Φ(x)\lambda(x)=\frac{\phi(x)}{1-\Phi(x)} as the inverse Mills ratio.

We prove the two claims separately:

    Bias error of mean

    Let μ_G(r)\mu\_{G}(r) denote the mean of the Gaussian distribution truncated at rr:

    μ_G(r)=∫_r∞xϕ(x;μ,σ2)dx∫_r∞ϕ(x;μ,σ2)dx.\mu\_{G}(r)=\frac{\int\_{r}^{\infty}x\phi(x;\mu,\sigma^{2})dx}{\int\_{r}^{\infty}\phi(x;\mu,\sigma^{2})dx}.

    For any rr satisfying Δ=∣r−r_α/2∣⩽τ\Delta=|r-r\_{\alpha/2}|\leqslant\tau, we know that both rr and r_α/2r\_{\alpha/2} lie in the region where the reward density p(r)p(r) equals the Gaussian density ϕ(r;μ,σ2)\phi(r;\mu,\sigma^{2}) by Assumption 1. Thus, we have:

    $\displaystyle\left\mu(r)-\mu(r_{\alpha/2})\right

    This implies that it’s equivalent to bound the difference between the mean of truncated Gaussian at two truncation points, and we know that the mean of the truncated Gaussian is given by μ+σλ(r−μσ)\mu+\sigma\lambda(\frac{r-\mu}{\sigma}). A well-known property of λ(x)\lambda(x) is that 0⩽λ′(x)⩽10\leqslant\lambda^{\prime}(x)\leqslant 1 for all x∈Rx\in\mathbb{R} [Sampford, 1953], by which we have:

    $\displaystyle\left\mu_{G}(r)-\mu_{G}(r_{\alpha/2})\right$
    ------------
    $\displaystyle\leqslant\sup_{x}f^{\prime}(x)

    This completes the proof of the first claim.

    Bias error of variance

    Let σ2_G(r)\sigma^{2}\_{G}(r) denote the variance of the Gaussian distribution truncated at rr. Again, for any rr satisfying Δ=∣r−r_α/2∣⩽τ\Delta=|r-r\_{\alpha/2}|\leqslant\tau, we have:

    $\displaystyle\left\sigma^{2}(r)-\sigma^{2}(r_{\alpha/2})\right

    We know that the variance of the truncated Gaussian can be expressed as:

    σ2_G(r)=σ2δ(r−μσ),whereδ(z)=1+zλ(z)−λ(z)2.\sigma^{2}\_{G}(r)=\sigma^{2}\delta(\frac{r-\mu}{\sigma}),\quad\text{where}\quad\delta(z)=1+z\lambda(z)-\lambda(z)^{2}.

    use the properties of the standard truncated normal variance δ(z)=1+zλ(z)−λ(z)2\delta(z)=1+z\lambda(z)-\lambda(z)^{2}. Direct calculation yields that ∣δ′(z)∣⩽1|\delta^{\prime}(z)|\leqslant 1 for all zz, we have:

    $\displaystyle\left\sigma^{2}_{G}(r)-\sigma^{2}_{G}(r_{\alpha/2})\right

    Since σ(r)>0\sigma(r)>0 and σ(r_α/2)\sigma(r\_{\alpha/2}) is a positive constant depending only on σ\sigma and α\alpha, we have:

    $\displaystyle\left\sigma(r)-\sigma(r_{\alpha/2})\right

    which completes the proof of the second claim.

∎

And for the statistical error, we have the following concentration result:

Under Assumption 1, for any δ∈(0,1)\delta\in(0,1), when the sample size m⩾c_1log⁡(1/δ)m\geqslant c\_{1}\log(1/\delta), then with probability at least 1−δ1-\delta,

$\displaystyle\left\hat{\mu}_{tail}-\mu(\hat{r}_{\alpha/2})\right$
------------
$\displaystyle\left\hat{\sigma}_{tail}-\sigma(\hat{r}_{\alpha/2})\right$

where c_1,c_2c\_{1},c\_{2} are constants only depending on (α,σ)(\alpha,\sigma).

We first define the event E_R={∣r_α/2−r^_α/2∣⩽r_α/2−r_α}E\_{R}=\left\{\left|r\_{\alpha/2}-\hat{r}\_{\alpha/2}\right|\leqslant r\_{\alpha/2}-r\_{\alpha}\right\}. Under this event, we know by Assumption 1 R∣R⩾r^_α/2R|R\geqslant\hat{r}\_{\alpha/2} is a truncated Gaussian random variable, and thus is sub-Gaussian with parameter σ\sigma. And by Lemma 1, when m⩾clog⁡(1/δ)m\geqslant c\log(1/\delta) for some constant c_1c\_{1} depending only on α\alpha and σ\sigma, we have P(E_R)⩾1−δ/3\mathbb{P}(E\_{R})\geqslant 1-\delta/3.

We further define the following two events for the concentration of the empirical mean and variance:

E_μ\displaystyle E\_{\mu}$\displaystyle=\left{\left\hat{\mu}_{tail}-\mu(\hat{r}_{\alpha/2})\right
------------
E_σ\displaystyle E\_{\sigma}$\displaystyle=\left{\left\sigma^{2}_{tail}-\sigma^{2}(\hat{r}_{\alpha/2})\right

here σ2_tail=1⌊mα/2⌋∑_r_i∈D_tail(r_i−μ(D_tail))2\sigma^{2}\_{tail}=\frac{1}{\lfloor m\alpha/2\rfloor}\sum\_{r\_{i}\in\mathcal{D}\_{tail}}(r\_{i}-\mu(\mathcal{D}\_{tail}))^{2} is the true variance of the tail dataset D_tail\mathcal{D}\_{tail}. By concentration inequality of sub-Gaussian and sub-exponential random variables, we know that under the event E_RE\_{R}, when m⩾c′log⁡(1/δ)m\geqslant c^{\prime}\log(1/\delta) for some constant c′c^{\prime} depending only on α\alpha and σ\sigma, we have P(E_μ)⩾1−δ/3\mathbb{P}(E\_{\mu})\geqslant 1-\delta/3 and P(E_σ)⩾1−δ/3\mathbb{P}(E\_{\sigma})\geqslant 1-\delta/3.

So if we define the event E=E_μ∩E_σ∩E_RE=E\_{\mu}\cap E\_{\sigma}\cap E\_{R}, then by union bound, we know that when m⩾c_1log⁡(1/δ)m\geqslant c\_{1}\log(1/\delta) for some constant c_1c\_{1} depending only on α\alpha and σ\sigma , we have P(E)⩾1−δ\mathbb{P}(E)\geqslant 1-\delta. Under the event EE, we directly obtain:

$$\left\hat{\mu}_{tail}-\mu(\hat{r}_{\alpha/2})\right

for some constant c_2c\_{2} depending only on α\alpha and σ\sigma. And for the variance estimation, conditioned on the event EE, we have:

$\displaystyle\left\hat{\sigma}^{2}_{tail}-\sigma^{2}(\hat{r}_{\alpha/2})\right$
------------
$\displaystyle\leqslant\left\frac{1}{\lfloor m\alpha/2\rfloor}\sum_{r_{i}\in\mathcal{D}_{tail}}(r_{i}-\mu(\hat{r}_{\alpha/2}))^{2}-\sigma^{2}(\hat{r}_{\alpha/2})\right
------------
⩽22σ2log⁡(6/δ)⌊mα/2⌋+2σ2log⁡(6/δ)⌊mα/2⌋\displaystyle\leqslant 2\sqrt{2}\sigma^{2}\sqrt{\frac{\log(6/\delta)}{\lfloor m\alpha/2\rfloor}}+2\sigma^{2}\frac{\log(6/\delta)}{\lfloor m\alpha/2\rfloor}
------------
⩽c_2′log⁡(1/δ)m\displaystyle\leqslant c\_{2}^{\prime}\sqrt{\frac{\log(1/\delta)}{m}}

And since σ(r^_α/2)⩾c_σ>0\sigma(\hat{r}\_{\alpha/2})\geqslant c\_{\sigma}>0 for some constant c_σc\_{\sigma} depending only on σ\sigma and α\alpha conditioned on the event E_RE\_{R}, we have:

$$\left\hat{\sigma}_{tail}-\sigma(\hat{r}_{\alpha})\right

for some constant c_2c\_{2} depending only on α\alpha and σ\sigma. This completes the proof. ∎

Concluding these lemmas, we have the following proposition on the overall estimation error of V^_N(s)\hat{V}\_{N}(s):

Under Assumptions 1, for any δ∈(0,12)\delta\in(0,\frac{1}{2}), when the sample size m⩾c_1log⁡(1/δ)m\geqslant c\_{1}\log(1/\delta), then with probability at least 1−δ1-\delta,

$$\left\hat{V}_{N}(s)-M(N)\right

where c_1,c_2c\_{1},c\_{2} are constants only depending on (α,σ)(\alpha,\sigma).

We denote the same event as in the proof of Lemma 3

E=E_R∩E_μ∩E_σ\displaystyle E=E\_{R}\cap E\_{\mu}\cap E\_{\sigma}

where E_R,E_μ,E_σE\_{R},E\_{\mu},E\_{\sigma} are defined in the proof of Lemma 3, and we know that when m⩾clog⁡(1/δ)m\geqslant c\log(1/\delta), P(E)⩾1−δ\mathbb{P}(E)\geqslant 1-\delta, for some constant c>0c>0 depending on (α,σ)(\alpha,\sigma).

And under the event EE, by Lemma 2, when m⩾c′log⁡(1/δ)m\geqslant c^{\prime}\log(1/\delta) for some constant c′>0c^{\prime}>0 depending on (α,σ)(\alpha,\sigma), we have:

$\displaystyle\mu(\hat{r}_{\alpha/2})-\mu(r_{\alpha/2})$
------------
$\displaystyle\sigma(\hat{r}_{\alpha}/2)-\sigma(r_{\alpha/2})$

for some constants c_3,c_3′>0c\_{3},c\_{3}^{\prime}>0 depending on (α,σ)(\alpha,\sigma).

Therefore, by Lemma 3 and the triangle inequality, we know when m⩾c_1log⁡(1/δ)m\geqslant c\_{1}\log(1/\delta) for some constant c_1>0c\_{1}>0 depending on (α,σ)(\alpha,\sigma) , with probability at least 1−δ1-\delta,

$\displaystyle\hat{\mu}_{tail}-\mu(r_{\alpha/2})$
------------
$\displaystyle\hat{\sigma}_{tail}-\sigma(r_{\alpha/2})$

and by the formula of μ^\hat{\mu}, σ^\hat{\sigma} in Algorithm 1 , for some constants c_μ′,c_σ′>0c\_{\mu}^{\prime},c\_{\sigma}^{\prime}>0 depending on (α,σ)(\alpha,\sigma), we have:

$\displaystyle\left\hat{\sigma}-\sigma\right$
------------
$\displaystyle\left\hat{\mu}-\mu\right$

where λ(z)\lambda(z) is the inverse Mills ratio, and δ(z)=1+zλ(z)−λ(z)2\delta(z)=1+z\lambda(z)-\lambda(z)^{2}.

Finally, we can bound the overall estimation error of V^_N\hat{V}\_{N} when m⩾c_1log⁡(1/δ)m\geqslant c\_{1}\log(1/\delta) and with probability at least 1−δ1-\delta:

$\displaystyle\hat{V}_{N}(s)-M(N)$
------------
$\displaystyle\leqslant\hat{\mu}-\mu
------------
⩽c_μ′log⁡(1/δ)m+c_σ′log⁡(1/δ)m2log⁡N\displaystyle\leqslant c\_{\mu}^{\prime}\sqrt{\frac{\log(1/\delta)}{m}}+c\_{\sigma}^{\prime}\sqrt{\frac{\log(1/\delta)}{m}}\sqrt{2\log N}
------------
⩽c_2log⁡(N)log⁡(1/δ)m\displaystyle\leqslant c\_{2}\sqrt{\log(N)}\sqrt{\frac{\log(1/\delta)}{m}}

for some constant c_2>0c\_{2}>0 depending only on (α,σ)(\alpha,\sigma). This completes the proof. ∎

We can establish a lemma bounding the approximation bias ∣V_N(s)−M(N)∣|V\_{N}(s)-M(N)|. This bias arises because the true reward distribution F_sF\_{s} differs from the Gaussian distribution in the “body” of the distribution (r<r_α/2r<r\_{\alpha/2}).

Under Assumption 1, the difference between the true expected maximum V_N(s)V\_{N}(s) and the Gaussian expected maximum M(N)M(N) satisfies:

$$V_{N}(s)-M(N)\leqslant c(1-\alpha/2)^{N},$$

where cc is a finite constant depending only on (α,σ,C_R)(\alpha,\sigma,C\_{R}).

Let F(r)F(r) be the CDF of the true reward distribution and G(r)=Φ(r;μ,σ2)G(r)=\Phi(r;\mu,\sigma^{2}) be the CDF of the Gaussian approximation. And we have:

V_N(s)−M(N)=∫_−∞∞(G(r)N−F(r)N)dr.V\_{N}(s)-M(N)=\int\_{-\infty}^{\infty}(G(r)^{N}-F(r)^{N})dr.

By Assumption 1, the CDFs are identical for r⩾r_α/2r\geqslant r\_{\alpha/2}:

F(r)=G(r),∀r⩾r_α/2,F(r)=G(r),\quad\forall r\geqslant r\_{\alpha/2},

which implies that the integral over [r_α/2,∞)[r\_{\alpha/2},\infty) is zero. Therefore, we only need to consider the integral over (−∞,r_α/2](-\infty,r\_{\alpha/2}]:

$$V_{N}(s)-M(N)=\left

For r⩽r_α/2r\leqslant r\_{\alpha/2}, both CDFs are bounded by 1−α/21-\alpha/2. Then we can further bound the integral:

$\displaystyle\int_{-\infty}^{r_{\alpha/2}}G(r)^{N}-F(r)^{N}dr$
------------
⩽(1−α/2)N−1∫_−∞r_α/2(G(r)+F(r))dr.\displaystyle\leqslant(1-\alpha/2)^{N-1}\int\_{-\infty}^{r\_{\alpha/2}}(G(r)+F(r))dr.

Let c=∫_−∞r_α/2(G(r)+F(r))drc=\int\_{-\infty}^{r\_{\alpha/2}}(G(r)+F(r))dr. By the change of variable u=r−μu=r-\mu, we observe that the integral depends only on the centered distributions and the centered threshold r_α/2−μr\_{\alpha/2}-\mu. Thus, cc is independent of the location parameter μ\mu. Finally, Assumption 1 guarantees finite second moments (E[R2]<C_R\mathbb{E}[R^{2}]<C\_{R}), which implies E[∣R∣]<∞\mathbb{E}[|R|]<\infty and ensures the integral converges to a finite constant which only depends on C_RC\_{R} and σ\sigma. This completes the proof. ∎

By the triangle inequality, we decompose the total error into the bias error and the estimation error:

$\displaystyle\hat{V}_{N}(s)-V_{N}(s)$

The first term is bounded by Proposition 2, and the second term is bounded by Lemma 4. Combining these results, we conclude that when m⩾c_1log⁡(1/δ)m\geqslant c\_{1}\log(1/\delta), with probability at least 1−δ1-\delta,

$\displaystyle\hat{V}_{N}(s)-V_{N}(s)$

This completes the proof.

∎

We first consider the selection error of our algorithm. Let KK be smaller than NN, and {s_1,…,s_K}\{s\_{1},\dots,s\_{K}\} be KK candidate states with true return levels {V_N(s_i)}_i=1K\{V\_{N}(s\_{i})\}\_{i=1}^{K} and estimators {V^_N(s_i)}_i=1K\{\hat{V}\_{N}(s\_{i})\}\_{i=1}^{K}. And we define the estimation error for each candidate as ϵ_i=V^_N(s_i)−V_N(s_i)\epsilon\_{i}=\hat{V}\_{N}(s\_{i})-V\_{N}(s\_{i}) for all i∈[K]i\in[K].

By Assumption 2, we know for any candidate ss, Theorem 1 applies with some constants c_1,c_2c\_{1},c\_{2} depending on σ(s),α\sigma(s),\alpha and C_RC\_{R}. And since σ(s)∈[σ_min,σ_max]\sigma(s)\in[\sigma\_{min},\sigma\_{max}], there exist uniform constants c_1,c_2c\_{1},c\_{2} depending only on σ_min,σ_max,α,C_R\sigma\_{min},\sigma\_{max},\alpha,C\_{R} such that Theorem 1 holds for all candidates.

We can then bound the expectation of the maximal estimation error among all candidates:

Under Assumption 2, assume the sample size mm satisfies m⩾c_0log⁡Km\geqslant c\_{0}\log K for a sufficiently large constant c_0>0c\_{0}>0 . Then for sufficiently large NN, we have:

$\displaystyle\mathbb{E}\left[\max_{i\in[K]}\epsilon_{i}

where c_1c\_{1} is a constant that depends on σ_min,σ_max,α,M_μ,C_R.\sigma\_{min},\sigma\_{max},\alpha,M\_{\mu},C\_{R}.

First, we derive a tail probability bound from Theorem 1. The theorem states that for any δ\delta satisfying the condition m⩾c_1log⁡(1/δ)m\geqslant c\_{1}\log(1/\delta) (equivalent to δ⩾e−m/c_1\delta\geqslant e^{-m/c\_{1}}), we have with probability at least 1−δ1-\delta:

$$\epsilon_{i}

For sufficiently large NN, the bias term (1−α/2)N(1-\alpha/2)^{N} is dominated by the first term, which means there exists a new constant c_2′c\_{2}^{\prime} such that:

$$\epsilon_{i}

Let tt be a positive threshold, then we know that when t⩽t_maxt\leqslant t\_{max}, the following tail bound holds:

$$\mathbb{P}(\epsilon_{i}

where t_max=c_2′log⁡Nc_1t\_{max}=c\_{2}^{\prime}\sqrt{\frac{\log N}{c\_{1}}}.

We define the good event region based on this maximum valid threshold. Let EE be the event where the error for all candidates is within the valid range of the theorem:

$$E=\left{\max_{i\in[K]}\epsilon_{i}

Note that the complement event ECE^{C} corresponds to the case where the error exceeds the range covered by the sample size condition in Theorem 1. The probability of this occurring for a single arm is at most δ_min=e−m/c_1\delta\_{min}=e^{-m/c\_{1}}. By a union bound:

P(EC)⩽Ke−m/c_1\mathbb{P}(E^{C})\leqslant Ke^{-m/c\_{1}}

We decompose the expectation:

$\displaystyle\mathbb{E}\left[\max_{i\in[K]}\epsilon_{i}\right]$

Term 1: Expectation on the Good Event. For the first term, we use the integral identity for expectation. Let M=max⁡_i∈[K]∣ϵ_i∣M=\max\_{i\in[K]}|\epsilon\_{i}|.

E[M⋅I(E)]\displaystyle\mathbb{E}[M\cdot\mathbb{I}(E)]=∫_0t_maxP(M>t)dt\displaystyle=\int\_{0}^{t\_{max}}\mathbb{P}(M>t)dt
------------
$\displaystyle\leqslant\int_{0}^{t_{max}}\min\left(1,\sum_{i=1}^{K}\mathbb{P}(\epsilon_{i}

Let λ=mc_2′2log⁡N\lambda=\frac{m}{c\_{2}^{{}^{\prime}2}\log N}. Then:

E[M⋅I(E)]\displaystyle\mathbb{E}[M\cdot\mathbb{I}(E)]⩽∫_0∞min⁡(1,Ke−λt2)dt\displaystyle\leqslant\int\_{0}^{\infty}\min\left(1,Ke^{-\lambda t^{2}}\right)dt

We split the integral at t_0=log⁡Kλt\_{0}=\sqrt{\frac{\log K}{\lambda}}. For t⩽t_0t\leqslant t\_{0}, the integrand is bounded by 1. For t>t_0t>t\_{0}, it is bounded by Ke−λt2Ke^{-\lambda t^{2}}.

∫_0∞min⁡(1,Ke−λt2)dt\displaystyle\int\_{0}^{\infty}\min\left(1,Ke^{-\lambda t^{2}}\right)dt=t_0+∫_t_0∞Ke−λt2dt\displaystyle=t\_{0}+\int\_{t\_{0}}^{\infty}Ke^{-\lambda t^{2}}dt
------------
⩽log⁡Kλ+Kλt_0e−λt_02×12(using ∫_x∞e−t2dt⩽e−x22x)\displaystyle\leqslant\sqrt{\frac{\log K}{\lambda}}+\frac{K}{\lambda t\_{0}}e^{-\lambda t\_{0}^{2}}\times\frac{1}{2}\quad\text{(using }\int\_{x}^{\infty}e^{-t^{2}}dt\leqslant\frac{e^{-x^{2}}}{2x}\text{)}
------------
=log⁡Kλ+Kλlog⁡Kλ1K⋅c\displaystyle=\sqrt{\frac{\log K}{\lambda}}+\frac{K}{\lambda\sqrt{\frac{\log K}{\lambda}}}\frac{1}{K}\cdot c
------------
⩽clog⁡Kλ=c′log⁡Nlog⁡Km\displaystyle\leqslant c\sqrt{\frac{\log K}{\lambda}}=c^{\prime}\sqrt{\frac{\log N\log K}{m}}

for some constant c,c′c,c^{\prime} depending on (σ_min,σ_max,α,C_R)(\sigma\_{min},\sigma\_{max},\alpha,C\_{R}).

Term 2: Expectation on the Bad Event. For the second term, we use the Cauchy-Schwarz inequality:

$\displaystyle\mathbb{E}\left[\max_{i\in[K]}\epsilon_{i}\cdot\mathbb{I}(E^{C})\right]$

We have derived P(EC)⩽Kexp⁡(−m/c_1)\mathbb{P}(E^{C})\leqslant K\exp(-m/c\_{1}). So it suffices to bound E[max⁡_i∈[K]ϵ_i2]\mathbb{E}\left[\max\_{i\in[K]}\epsilon\_{i}^{2}\right]. And we know:

E[max⁡_i∈[K]ϵ_i2]⩽2E[max⁡_i∈[K]V_N(X_i)2]+2E[max⁡_i∈[K]V^_N(X_i)2]\displaystyle\mathbb{E}\left[\max\_{i\in[K]}\epsilon\_{i}^{2}\right]\leqslant 2\mathbb{E}\left[\max\_{i\in[K]}V\_{N}(X\_{i})^{2}\right]+2\mathbb{E}\left[\max\_{i\in[K]}\hat{V}\_{N}(X\_{i})^{2}\right]

For the first term, we have:

E[max⁡_i∈[K]V_N(X_i)2]\displaystyle\mathbb{E}\left[\max\_{i\in[K]}V\_{N}(X\_{i})^{2}\right]=E[max⁡_i∈[K](μ_i+σ_iE(N))2]\displaystyle=\mathbb{E}\left[\max\_{i\in[K]}\left(\mu\_{i}+\sigma\_{i}E(N)\right)^{2}\right]
------------
⩽2E[max⁡_i∈[K]μ_i2]+2E(N)2σ_max2\displaystyle\leqslant 2\mathbb{E}\left[\max\_{i\in[K]}\mu\_{i}^{2}\right]+2E(N)^{2}\sigma\_{max}^{2}
------------
⩽2KE[μ_i2]+2σ_max2log⁡N\displaystyle\leqslant 2K\mathbb{E}\left[\mu\_{i}^{2}\right]+2\sigma\_{max}^{2}\log N
------------
⩽c(K+log⁡N)\displaystyle\leqslant c(K+\log N)

for some constant cc depending on (σ_max,M_μ)(\sigma\_{max},M\_{\mu}). Here the second last inequality holds since E(N)⩽2log⁡NE(N)\leqslant\sqrt{2\log N}, and the last inequality holds since by Assumption 2, μ_i\mu\_{i} is sampled from a distribution with bounded second moment E[μ_i2]⩽M_μ\mathbb{E}[\mu\_{i}^{2}]\leqslant M\_{\mu}.

And for the second term, we have:

E[max⁡_i∈[K]V^_N(X_i)2]\displaystyle\mathbb{E}\left[\max\_{i\in[K]}\hat{V}\_{N}(X\_{i})^{2}\right]⩽KE[V^_N(X_i)2]\displaystyle\leqslant K\mathbb{E}\left[\hat{V}\_{N}(X\_{i})^{2}\right]
------------
⩽2KE[μ^_i2]+2KE(N)2E[σ^_i2]\displaystyle\leqslant 2K\mathbb{E}\left[\hat{\mu}\_{i}^{2}\right]+2KE(N)^{2}\mathbb{E}\left[\hat{\sigma}\_{i}^{2}\right]

Since σ^2=Cσ^2(D_tail)\hat{\sigma}^{2}=C\hat{\sigma}^{2}(D\_{tail}) and μ^=μ^(D_tail)−Cσ^\hat{\mu}=\hat{\mu}(D\_{tail})-C\hat{\sigma} for some constant CC depending on (α,σ_min,σ_max)(\alpha,\sigma\_{min},\sigma\_{max}), we only need to bound the moments of the empirical mean and variance on the tail dataset D_tailD\_{tail} . By Assumption 2, we know E[R2]⩽C_R\mathbb{E}[R^{2}]\leqslant C\_{R}, and by properties of variance and mean, we have:

E[σ^2(D_tail)]⩽C_R,E[μ^(D_tail)2]⩽C_R\mathbb{E}[\hat{\sigma}^{2}(D\_{tail})]\leqslant C\_{R},\quad\mathbb{E}[\hat{\mu}(D\_{tail})^{2}]\leqslant C\_{R}

Therefore, there exists a constant c′c^{\prime} depending on (σ_min,σ_max,α,C_R)(\sigma\_{min},\sigma\_{max},\alpha,C\_{R}) such that:

E[max⁡_i∈[K]V^_N(X_i)2]⩽c′Klog⁡N\mathbb{E}\left[\max\_{i\in[K]}\hat{V}\_{N}(X\_{i})^{2}\right]\leqslant c^{\prime}K\log N

Considering that K+log⁡N⩽2Klog⁡NK+\log N\leqslant 2K\log N for sufficiently large NN, we know there exists a constant cc depending on (σ_min,σ_max,α,C_R,M_μ)(\sigma\_{min},\sigma\_{max},\alpha,C\_{R},M\_{\mu}) such that:

E[max⁡_i∈[K]ϵ_i2]⩽cKlog⁡N\displaystyle\mathbb{E}\left[\max\_{i\in[K]}\epsilon\_{i}^{2}\right]\leqslant cK\log N

Therefore:

$\displaystyle\mathbb{E}\left[\max_{i\in[K]}\epsilon_{i}\cdot\mathbb{I}(E^{C})\right]$
------------
=CKlog⁡Nexp⁡(−C′m)\displaystyle=CK\sqrt{\log N}\exp(-C^{\prime}m)

where C,C′C,C^{\prime} depends on (σ_min,σ_max,α,C_R,M_μ)(\sigma\_{min},\sigma\_{max},\alpha,C\_{R},M\_{\mu}).

Combining Term 1 and Term 2 gives:

$\displaystyle\mathbb{E}\left[\max_{i\in[K]}\epsilon_{i}

when m⩾c_0log⁡Km\geqslant c\_{0}\log K for constant c_0c\_{0} depending on (σ_min,σ_max,α,C_R,M_μ)(\sigma\_{min},\sigma\_{max},\alpha,C\_{R},M\_{\mu}), we know the second term is dominated by the first term, and thus we have:

$\displaystyle\mathbb{E}\left[\max_{i\in[K]}\epsilon_{i}

where c_1c\_{1} is a constant depending on (σ_min,σ_max,α,C_R,M_μ)(\sigma\_{min},\sigma\_{max},\alpha,C\_{R},M\_{\mu}). This concludes the proof. ∎

Now we are ready to prove Theorem 2.

We apply a coupling argument. Let ξ=(s_1,s_2,… )\xi=(s\_{1},s\_{2},\dots) be an infinite sequence of states sampled from the parameter prior distribution, and we condition on a fixed realization of ξ\xi.

Conditioned on ξ\xi, we know that the states sampled by Scaling-Law Guided(SLG) algorithm with budget NN and the oracle algorithm A\*\mathcal{A}^{\*} with budget ⌊N/2m⌋\lfloor N/2m\rfloor are the same since K=⌊N/2m⌋K=\lfloor N/2m\rfloor candidates are sampled in both algorithms. Denote the sampled states set as S_K={s_1,s_2,…,s_K}S\_{K}=\{s\_{1},s\_{2},\dots,s\_{K}\}, since N⩾4(m+1)N\geqslant 4(m+1), we know N−Km⩾⌊N/2m⌋N-Km\geqslant\lfloor N/2m\rfloor.

Then we can bound the performance of the oracle algorithm A\*\mathcal{A}^{\*} as follows:

E[V_⌊N/2m⌋(A\*)∣ξ]\displaystyle\mathbb{E}[V\_{\lfloor N/2m\rfloor}(\mathcal{A}^{\*})\mid\xi]=max⁡_s∈S_KV_⌊N/2m⌋(s)\displaystyle=\max\_{s\in S\_{K}}V\_{\lfloor N/2m\rfloor}(s)
------------
⩽max⁡_s∈S_KV_N−Km(s)\displaystyle\leqslant\max\_{s\in S\_{K}}V\_{N-Km}(s)

We denote s\*=arg⁡max⁡_s∈S_KV_N−Km(s)s^{\*}=\arg\max\_{s\in S\_{K}}V\_{N-Km}(s) as the optimal state, and s^=arg⁡max⁡_s∈S_KV^_N−Km(s)\hat{s}=\arg\max\_{s\in S\_{K}}\hat{V}\_{N-Km}(s) as the state selected by SLG algorithm based on the estimated expected maximal reward.

Then we can bound the difference between the oracle algorithm A\*\mathcal{A}^{\*} and SLG algorithm conditioned on ξ\xi as follows:

E[V_⌊N/2m⌋(A\*)−V_N(A_SLG)∣ξ]\displaystyle\mathbb{E}[V\_{\lfloor N/2m\rfloor}(\mathcal{A}^{\*})-V\_{N}(\mathcal{A}\_{\text{SLG}})\mid\xi]⩽V_N−Km(s\*)−V_N−Km(s^)\displaystyle\leqslant V\_{N-Km}(s^{\*})-V\_{N-Km}(\hat{s})
------------
=V_N−Km(s\*)−V^_N−Km(s\*)+V^_N−Km(s\*)−V^_N−Km(s^)+V^_N−Km(s^)−V_N−Km(s^)\displaystyle=V\_{N-Km}(s^{\*})-\hat{V}\_{N-Km}(s^{\*})+\hat{V}\_{N-Km}(s^{\*})-\hat{V}\_{N-Km}(\hat{s})+\hat{V}\_{N-Km}(\hat{s})-V\_{N-Km}(\hat{s})
------------
$\displaystyle\leqslant 2\max_{s\in S_{K}}\epsilon_{s}

where ϵ_s=V^_N−Km(s)−V_N−Km(s)\epsilon\_{s}=\hat{V}\_{N-Km}(s)-V\_{N-Km}(s) is the estimation error for each candidate state ss. Since K=⌊N/2m⌋⩽N−KmK=\lfloor N/2m\rfloor\leqslant N-Km and m⩾c_0log⁡Km\geqslant c\_{0}\log K , we can take expectation over ξ\xi on both sides and apply Lemma 5 to get:

$\displaystyle V_{\lfloor N/2m\rfloor}(\mathcal{A}^{*})-V_{N}(\mathcal{A}_{\text{SLG}})\leqslant\mathbb{E}\left[2\max_{s\in S_{K}}\epsilon_{s}

for some constant c_1c\_{1} depending on (σ_min,σ_max,α,C_R,M_μ)(\sigma\_{min},\sigma\_{max},\alpha,C\_{R},M\_{\mu}). This completes the proof.

∎

Appendix E Formal Regret Analysis under Regularity Conditions

Section titled “Appendix E Formal Regret Analysis under Regularity Conditions”

In this section, we formalize the intuition presented in Section 4.2.1 regarding the vanishing regret of SLG against the oracle A\*\mathcal{A}^{\*} operating at the same budget NN.

We first introduce the necessary regularity conditions on the latent parameter distributions.

For random state ss generated from prompt xx, the latent parameters (μ(s),σ(s))(\mu(s),\sigma(s)) satisfies

    μ(s)\mu(s) and σ(s)\sigma(s) are independent.

    The random variable σ(s)\sigma(s) has sufficient mass near its maximum: P(σ(s)⩾σ_max⁡−δ)⩾δαP(\sigma(s)\geqslant\sigma\_{\max}-\delta)\geqslant\delta^{\alpha} for some δ>0\delta>0.

    The expected maximum of the μ(s)\mu(s) scales as:

    $$\Big\mathbb{E}[\max_{i\in[N]}\mu_{i}]-(\mu_{0}+C_{\mu}(\log N)^{\gamma})\Big

    for constants μ_0,C_μ,β>0\mu\_{0},C\_{\mu},\beta>0 and tail index γ∈(0,1)\gamma\in(0,1).

And we have the following corollary of Theorem 2:

Under Assumption 2 and Assumption 3, for sufficiently large NN, by choosing the parameters K≍N(log⁡N)−3K\asymp N(\log N)^{-3} and m≍(log⁡N)3m\asymp(\log N)^{3}, we have

V_N(A\*)−V_N(A_SLG)⩽clog⁡log⁡N(log⁡N)min⁡{β,1−γ,1/2}.\displaystyle V\_{N}(\mathcal{A}^{\*})-V\_{N}(\mathcal{A}\_{\text{SLG}})\leqslant\frac{c\log\log N}{(\log N)^{\min\{\beta,1-\gamma,1/2\}}}.

for some constant c>0c>0 depending on the model parameters (α,σ_min⁡,σ_max⁡,C_R,M_μ)(\alpha,\sigma\_{\min},\sigma\_{\max},C\_{R},M\_{\mu}).

While Assumption 3 posits independence between μ(s)\mu(s) and σ(s)\sigma(s) for analytical simplicity, this condition can be relaxed. As shown in the proof provided in next section, A_SLG\mathcal{A}\_{\text{SLG}} predominantly selects states with variance near σ_max⁡\sigma\_{\max} as NN grows. Consequently, it suffices to assume that the tail-scaling property of μ(s)\mu(s) (Condition 3) holds conditional on the variance being close to σ_max⁡\sigma\_{\max}. Intuitively, this only requires that the mean and variance are not strongly negatively correlated in the high-variance region.

Conditions (2) and (3) are mild regularity conditions and are satisfied by many standard distributions. For instance, if the means μ(s)\mu(s) follow a Gaussian distribution and the variances σ(s)\sigma(s) are uniformly distributed, then the regularity conditions hold with α=1\alpha=1, γ=1/2\gamma=1/2, and any β>0\beta>0.

We provide the proof of Corollary 2 in next section.

To help us evaluate the difference between A_SLG\mathcal{A}\_{\text{SLG}} with exploration width KK and the full-information oracle A\*\mathcal{A}^{\*}, we first define an intermediate oracle algorithm A^\hat{\mathcal{A}} that knows the true expected maximal reward V_N(s)V\_{N}(s) for each candidate state ss but only selects among the KK candidates sampled beforehand.

The Oracle A^\hat{\mathcal{A}} first samples a pool of KK candidate states S_K={s_1,…,s_K}\mathcal{S}\_{K}=\{s\_{1},\dots,s\_{K}\} from the prompt xx. It then identifies the optimal state s\*=\*⁡argmax_s∈S_KV_N(s)s^{\*}=\operatorname\*{argmax}\_{s\in\mathcal{S}\_{K}}V\_{N}(s) using perfect parameter information and dedicates the entire budget NN to sampling from it.

Then we can compare the performance of A_SLG\mathcal{A}\_{\text{SLG}} with A^\hat{\mathcal{A}} first, which is shown in the following lemma.

Under Assumptions 2, let NN be the total sampling budget and mm be the estimation sample size. When we choose the sample size scales as m=c_0(NK)2/3log⁡(N)m=c\_{0}\left(\frac{N}{K}\right)^{2/3}\log(N) for some constant c_0>0c\_{0}>0, the performance gap between A_SLG\mathcal{A}\_{\text{SLG}} and the oracle A^\hat{\mathcal{A}} satisfies:

V_N(A^)−V_N(A_SLG)⩽C(KN)1/3log⁡NV\_{N}(\hat{\mathcal{A}})-V\_{N}(\mathcal{A}\_{\text{SLG}})\leqslant C\left(\frac{K}{N}\right)^{1/3}\sqrt{\log N}(11)

where CC is a constant depending on (σ_min,σ_max,α,C_R,M_μ)(\sigma\_{min},\sigma\_{max},\alpha,C\_{R},M\_{\mu}).

We apply the same coupling argument as in the proof of Theorem 2. Let ξ=(s_1,s_2,… )\xi=(s\_{1},s\_{2},\dots) be an infinite sequence of states sampled from the parameter prior distribution, and we condition on a fixed realization of τ\tau.

Conditioned on ξ\xi, we know that the states sampled by Scaling-Law Guided(SLG) algorithm and the oracle algorithm A^\hat{\mathcal{A}} are the same, and we denote s\*s^{\*} as the optimal state with the highest true expected maximal reward among the KK candidates, i.e., s\*=arg⁡max⁡_i∈[K]V_N(s_i)s^{\*}=\arg\max\_{i\in[K]}V\_{N}(s\_{i}), and s^\hat{s} as the state selected by SLG algorithm based on the estimated expected maximal reward, i.e., s^=arg⁡max⁡_i∈[K]V^_N(s_i)\hat{s}=\arg\max\_{i\in[K]}\hat{V}\_{N}(s\_{i}).

Then we can decompose the performance gap between SLG and the oracle algorithm A^\hat{\mathcal{A}} as follows:

V_N(A^)−V_N(A_SLG)\displaystyle V\_{N}(\hat{\mathcal{A}})-V\_{N}(\mathcal{A}\_{\text{SLG}})⩽E[V_N(s\*)−V_N−Km(s^)]\displaystyle\leqslant\mathbb{E}[V\_{N}(s^{\*})-V\_{N-Km}(\hat{s})]
------------
=E[V_N(s\*)−V_N(s^)]+E[V_N(s^)−V_N−Km(s^)]\displaystyle=\mathbb{E}[V\_{N}(s^{\*})-V\_{N}(\hat{s})]+\mathbb{E}[V\_{N}(\hat{s})-V\_{N-Km}(\hat{s})]

where the inequality holds because conditioned on τ\tau, the expected reward of SLG algorithm is lower bounded by the expected maximal reward of the selected state s^\hat{s} with N−KmN-Km samples.

For the first term, using the same technique as in the proof of Theorem 2 and by applying Lemma 5, we have:

E[V_N(s\*)−V_N(s^)]⩽C_1log⁡Nlog⁡Km\displaystyle\mathbb{E}[V\_{N}(s^{\*})-V\_{N}(\hat{s})]\leqslant C\_{1}\sqrt{\frac{\log N\log K}{m}}

for some constant C_1C\_{1} depending on (σ_min,σ_max,α,C_R,M_μ)(\sigma\_{min},\sigma\_{max},\alpha,C\_{R},M\_{\mu}).

For the second term, we analyze the regret caused by the reduced sample size. Using the scaling law property, we have:

V_N(s^)−V_N−Km(s^)\displaystyle V\_{N}(\hat{s})-V\_{N-Km}(\hat{s})=σ(s^)(E(N)−E(N−Km))\displaystyle=\sigma(\hat{s})(E(N)-E(N-Km))
------------
⩽σ_max(E(N)−E(N−Km))\displaystyle\leqslant\sigma\_{max}(E(N)-E(N-Km))

where E(N)E(N) is the expected maximum of NN standard normal variables. Since the above inequality holds for any fixed τ\tau, we can take expectation over τ\tau on both sides, and since E(n)−E(m)⩽2(log⁡n−log⁡m)E(n)-E(m)\leqslant 2(\sqrt{\log n}-\sqrt{\log m}) for any n>m⩾3n>m\geqslant 3, we have:

E[V_N(s^)−V_N−Km(s^)]\displaystyle\mathbb{E}\left[V\_{N}(\hat{s})-V\_{N-Km}(\hat{s})\right]⩽2σ_max(log⁡N−log⁡(N−Km))\displaystyle\leqslant 2\sigma\_{max}(\sqrt{\log N}-\sqrt{\log(N-Km)})
------------
⩽σ_maxKm(N−Km)log⁡(N−Km)\displaystyle\leqslant\sigma\_{max}\frac{Km}{(N-Km)\sqrt{\log(N-Km)}}

And considering that N−Km⩾N2N-Km\geqslant\frac{N}{2}, there exists a constant C_2C\_{2} depending on σ_max\sigma\_{max} such that:

E[V_N(s^)−V_N−Km(s^)]\displaystyle\mathbb{E}\left[V\_{N}(\hat{s})-V\_{N-Km}(\hat{s})\right]⩽C_2KNlog⁡Nm\displaystyle\leqslant C\_{2}\frac{K}{N\sqrt{\log N}}m

Combining the two parts, the total performance gap between A^\hat{\mathcal{A}} and A_SLG\mathcal{A}\_{\text{SLG}} is bounded by:

V_N(A^)−V_N(A_SLG)\displaystyle V\_{N}(\hat{\mathcal{A}})-V\_{N}(\mathcal{A}\_{\text{SLG}})⩽C_1log⁡Nlog⁡Km+C_2KmNlog⁡N\displaystyle\leqslant C\_{1}\sqrt{\frac{\log N\log K}{m}}+C\_{2}\frac{Km}{N\sqrt{\log N}}

To minimize the upper bound, we choose the sample size mm to balance the order of the two terms, which suggests setting m=c_0(N/K)2/3log⁡Nm=c\_{0}(N/K)^{2/3}\log N for some constant c_0>0c\_{0}>0. Substituting this choice of mm back into the inequality yields:

V_N(A^)−V_N(A_SLG)\displaystyle V\_{N}(\hat{\mathcal{A}})-V\_{N}(\mathcal{A}\_{\text{SLG}})⩽C(KN)1/3(log⁡N)1/2\displaystyle\leqslant C\left(\frac{K}{N}\right)^{1/3}(\log N)^{1/2}(12)

where CC is a universal constant depending on the problem parameters. This completes the proof.

∎

And then it suffices to compare the performance of A^\hat{\mathcal{A}} with the full-information oracle A\*\mathcal{A}^{\*}, which is shown in the following lemma.

Under Assumption 2 and Assumption 3 , we can bound the performance gap between the full-information oracle A\*\mathcal{A}^{\*} and the restricted oracle A^\hat{\mathcal{A}} with K≍N(log⁡N)−3K\asymp N(\log N)^{-3} as:

V_N(A\*)−V_N(A^)⩽Clog⁡log⁡N(log⁡N)min⁡{β,1−γ}.\displaystyle V\_{N}(\mathcal{A}^{\*})-V\_{N}(\hat{\mathcal{A}})\leqslant C\frac{\log\log N}{(\log N)^{\min\{\beta,1-\gamma\}}}.

where CC is a constant depending on (σ_min,σ_max,α,C_R,M_μ,C_μ,μ_0,β,γ)(\sigma\_{min},\sigma\_{max},\alpha,C\_{R},M\_{\mu},C\_{\mu},\mu\_{0},\beta,\gamma).

Let S_N\mathcal{S}\_{N} denote the set of states sampled by the oracle strategy A\*\mathcal{A}^{\*}. We upper bound the performance of A\*\mathcal{A}^{\*} as follows:

V_N(A\*)\displaystyle V\_{N}(\mathcal{A}^{\*})=E[max⁡_s∈S_NV_N(s)]\displaystyle=\mathbb{E}\left[\max\_{s\in\mathcal{S}\_{N}}V\_{N}(s)\right]
------------
=E[max⁡_s∈S_N(μ(s)+σ(s)E(N))]\displaystyle=\mathbb{E}\left[\max\_{s\in\mathcal{S}\_{N}}\left(\mu(s)+\sigma(s)E(N)\right)\right]
------------
⩽E[max⁡_s∈S_Nμ(s)]+E(N)σ_max⁡\displaystyle\leqslant\mathbb{E}\left[\max\_{s\in\mathcal{S}\_{N}}\mu(s)\right]+E(N)\sigma\_{\max}
------------
⩽μ_0+C_μ(log⁡N)γ+E(N)σ_max⁡+C(log⁡N)−β,\displaystyle\leqslant\mu\_{0}+C\_{\mu}(\log N)^{\gamma}+E(N)\sigma\_{\max}+C(\log N)^{-\beta},

where E(N)E(N) is the expected maximum of NN standard normal variables, and the last inequality follows from Assumption 3.

To establish a lower bound for A^\hat{\mathcal{A}}, we consider a weaker oracle algorithm A^_δ\hat{\mathcal{A}}\_{\delta} for some δ∈(0,1)\delta\in(0,1), constructed as follows:

  • •

    A^_δ\hat{\mathcal{A}}\_{\delta} draws KK states {s_1,…,s_K}\{s\_{1},\dots,s\_{K}\} from the prior. It has access to the true values {V_N(s_i)}_i=1K\{V\_{N}(s\_{i})\}\_{i=1}^{K}.

  • •

    Define the candidate set S_δ={s_i∣σ(s_i)⩾σ_max⁡−δ, i∈[K]}\mathcal{S}\_{\delta}=\{s\_{i}\mid\sigma(s\_{i})\geqslant\sigma\_{\max}-\delta,\,i\in[K]\}. A^_δ\hat{\mathcal{A}}\_{\delta} selects the state s\*s^{\*} that maximizes the value within S_δ\mathcal{S}\_{\delta}, i.e., s\*=arg⁡max⁡_s∈S_δV_N(s)s^{\*}=\arg\max\_{s\in\mathcal{S}\_{\delta}}V\_{N}(s). If S_δ\mathcal{S}\_{\delta} is empty, an arbitrary state is selected.

  • •

    The algorithm samples NN times from s\*s^{\*} and outputs the best response.

Since the search space of A^_δ\hat{\mathcal{A}}\_{\delta} is a subset of the space explored by A^\hat{\mathcal{A}} (with additional constraints), we have V_N(A^)⩾V_N(A^_δ)V\_{N}(\hat{\mathcal{A}})\geqslant V\_{N}(\hat{\mathcal{A}}\_{\delta}). Thus, it suffices to lower bound the performance of A^_δ\hat{\mathcal{A}}\_{\delta}.

By Assumption 3, the probability that a sampled state has variance at least σ_max⁡−δ\sigma\_{\max}-\delta is lower bounded by δα\delta^{\alpha}. This implies E[∣S_δ∣]⩾δαK\mathbb{E}[|\mathcal{S}\_{\delta}|]\geqslant\delta^{\alpha}K. Define the event E={∣S_δ∣⩾12δαK}E=\{|\mathcal{S}\_{\delta}|\geqslant\frac{1}{2}\delta^{\alpha}K\}. By a standard Chernoff bound, we have:

P(E)⩾1−exp⁡(−C′δαK),\mathbb{P}(E)\geqslant 1-\exp(-C^{\prime}\delta^{\alpha}K),

for some constant C′>0C^{\prime}>0.

Since μ\mu and σ\sigma are independent under the prior, conditioning on EE (which depends only on σ\sigma) does not alter the distribution of μ\mu for states in S_δ\mathcal{S}\_{\delta}. We invoke the mean scaling assumption with effective sample size ∣S_δ∣|\mathcal{S}\_{\delta}|:

E[max⁡_s∈S_δμ(s)∣E]\displaystyle\mathbb{E}\left[\max\_{s\in\mathcal{S}\_{\delta}}\mu(s)\mid E\right]⩾μ_0+C_μ(log⁡(δαK/2))γ−C(log⁡(δαK/2))−β.\displaystyle\geqslant\mu\_{0}+C\_{\mu}\left(\log(\delta^{\alpha}K/2)\right)^{\gamma}-C\left(\log(\delta^{\alpha}K/2)\right)^{-\beta}.

Conditioned on EE, every state in S_δ\mathcal{S}\_{\delta} satisfies σ(s)⩾σ_max⁡−δ\sigma(s)\geqslant\sigma\_{\max}-\delta. We lower bound the expected value:

V_N(A^_δ)\displaystyle V\_{N}(\hat{\mathcal{A}}\_{\delta})=E[R_N(A^_δ)]⩾E[R_N(A^_δ)∣E]P(E)\displaystyle=\mathbb{E}[R\_{N}(\hat{\mathcal{A}}\_{\delta})]\geqslant\mathbb{E}[R\_{N}(\hat{\mathcal{A}}\_{\delta})\mid E]\mathbb{P}(E)
------------
⩾(μ_0+C_μ(log⁡(δαK/2))γ−C(log⁡(δαK/2))−β+E(N)(σ_max⁡−δ))(1−exp⁡(−C′δαK)).\displaystyle\geqslant\left(\mu\_{0}+C\_{\mu}(\log(\delta^{\alpha}K/2))^{\gamma}-C(\log(\delta^{\alpha}K/2))^{-\beta}+E(N)(\sigma\_{\max}-\delta)\right)\left(1-\exp(-C^{\prime}\delta^{\alpha}K)\right).

We set δ=(log⁡N)−2\delta=(\log N)^{-2}. Recalling that K=C_KN(log⁡N)−3K=C\_{K}N(\log N)^{-3}, the failure probability exp⁡(−C′δαK)\exp(-C^{\prime}\delta^{\alpha}K) decays polynomially in NN (specifically as O(N−c)O(N^{-c}) for some c>0c>0), which is negligible compared to polylogarithmic terms.

Let P=NδαK/2P=\frac{N}{\delta^{\alpha}K/2}. We have log⁡P=O(log⁡log⁡N)\log P=O(\log\log N) and log⁡(δαK/2)=log⁡N−log⁡P\log(\delta^{\alpha}K/2)=\log N-\log P. For sufficiently large NN, using the inequality (1−x)γ⩾1−x(1-x)^{\gamma}\geqslant 1-x for x∈[0,1)x\in[0,1) and γ<1\gamma<1, the lower bound simplifies to:

V_N(A^_δ)\displaystyle V\_{N}(\hat{\mathcal{A}}\_{\delta})⩾μ_0+C_μ(log⁡N)γ(1−log⁡Plog⁡N)γ−C′′(log⁡N)−β+E(N)σ_max⁡−z_Nδ−O(N−c)\displaystyle\geqslant\mu\_{0}+C\_{\mu}(\log N)^{\gamma}\left(1-\frac{\log P}{\log N}\right)^{\gamma}-C^{\prime\prime}(\log N)^{-\beta}+E(N)\sigma\_{\max}-z\_{N}\delta-O(N^{-c})
------------
⩾μ_0+C_μ(log⁡N)γ(1−log⁡Plog⁡N)−C′′(log⁡N)−β+E(N)σ_max⁡−z_N(log⁡N)2−O(N−c).\displaystyle\geqslant\mu\_{0}+C\_{\mu}(\log N)^{\gamma}\left(1-\frac{\log P}{\log N}\right)-C^{\prime\prime}(\log N)^{-\beta}+E(N)\sigma\_{\max}-\frac{z\_{N}}{(\log N)^{2}}-O(N^{-c}).

Subtracting this from the upper bound of V_N(A\*)V\_{N}(\mathcal{A}^{\*}), we obtain:

V_N(A\*)−V_N(A^)\displaystyle V\_{N}(\mathcal{A}^{\*})-V\_{N}(\hat{\mathcal{A}})⩽V_N(A\*)−V_N(A^_δ)\displaystyle\leqslant V\_{N}(\mathcal{A}^{\*})-V\_{N}(\hat{\mathcal{A}}\_{\delta})
------------
⩽C_μ(log⁡N)γ−1log⁡P+E(N)(log⁡N)2+C(log⁡N)−β+O(N−c).\displaystyle\leqslant C\_{\mu}(\log N)^{\gamma-1}\log P+\frac{E(N)}{(\log N)^{2}}+C(\log N)^{-\beta}+O(N^{-c}).

Using the facts that log⁡P=O(log⁡log⁡N)\log P=O(\log\log N) and E(N)⩽2log⁡NE(N)\leqslant\sqrt{2\log N}, the gap is dominated by:

V_N(A\*)−V_N(A^)\displaystyle V\_{N}(\mathcal{A}^{\*})-V\_{N}(\hat{\mathcal{A}})⩽O(log⁡log⁡N(log⁡N)1−γ)+O(1(log⁡N)3/2)+O(1(log⁡N)β)\displaystyle\leqslant O\left(\frac{\log\log N}{(\log N)^{1-\gamma}}\right)+O\left(\frac{1}{(\log N)^{3/2}}\right)+O\left(\frac{1}{(\log N)^{\beta}}\right)
------------
⩽Clog⁡log⁡N(log⁡N)min⁡{β,1−γ},\displaystyle\leqslant C\frac{\log\log N}{(\log N)^{\min\{\beta,1-\gamma\}}},

for some constant C>0C>0. ∎

Then we are ready to prove Corollary 2.

We first decompose the performance gap between A\*\mathcal{A}^{\*} and Scaling-Law Guided (SLG) algorithm as follows:

V_N(A\*)−V_N(A_SLG)\displaystyle V\_{N}(\mathcal{A}^{\*})-V\_{N}(\mathcal{A}\_{\text{SLG}})=V_N(A\*)−V_N(A^)+V_N(A^)−V_N(A_SLG)\displaystyle=V\_{N}(\mathcal{A}^{\*})-V\_{N}(\hat{\mathcal{A}})+V\_{N}(\hat{\mathcal{A}})-V\_{N}(\mathcal{A}\_{\text{SLG}})

Since the choice of K,mK,m satisfies the conditions in Lemma 6, we know by Equation (12) that:

V_N(A^)−V_N(A_SLG)\displaystyle V\_{N}(\hat{\mathcal{A}})-V\_{N}(\mathcal{A}\_{\text{SLG}})⩽C(KN)1/3(log⁡N)1/2\displaystyle\leqslant C\left(\frac{K}{N}\right)^{1/3}(\log N)^{1/2}
------------
⩽C_11(log⁡N)1/2\displaystyle\leqslant C\_{1}\frac{1}{(\log N)^{1/2}}

for some constant C_1>0C\_{1}>0. And by Lemma 7, we have:

V_N(A\*)−V_N(A^)\displaystyle V\_{N}(\mathcal{A}^{\*})-V\_{N}(\hat{\mathcal{A}})⩽C_2log⁡log⁡N(log⁡N)min⁡{β,1−γ}\displaystyle\leqslant C\_{2}\frac{\log\log N}{(\log N)^{\min\{\beta,1-\gamma\}}}

for some constant C_2>0C\_{2}>0. Combining the two parts, we conclude that:

V_N(A\*)−V_N(A_SLG)\displaystyle V\_{N}(\mathcal{A}^{\*})-V\_{N}(\mathcal{A}\_{\text{SLG}})⩽C_2log⁡log⁡N(log⁡N)min⁡{β,1−γ}+C_11(log⁡N)1/2\displaystyle\leqslant C\_{2}\frac{\log\log N}{(\log N)^{\min\{\beta,1-\gamma\}}}+C\_{1}\frac{1}{(\log N)^{1/2}}
------------
⩽Clog⁡log⁡N(log⁡N)min⁡{β,1−γ,1/2}\displaystyle\leqslant C\frac{\log\log N}{(\log N)^{\min\{\beta,1-\gamma,1/2\}}}

for some constant C>0C>0 depending on the problem parameters. This completes the proof.

∎

We analyze the performance gap between SLG and Best-of-N algorithms under the homogeneous noise setting as stated in Proposition 1.

We first analyze the performance of our algorithm SLG and the Best-of-N algorithm under the homogeneous noise setting.

If we denote S_SLGS\_{\text{SLG}} as the set of states selected by SLG algorithm (where we know ∣S_SLG∣=K|S\_{\text{SLG}}|=K), and s^=arg⁡max⁡_s∈S_SLGV^_N(s)\hat{s}=\arg\max\_{s\in S\_{\text{SLG}}}\hat{V}\_{N}(s) as the candidate with the highest estimated value among the selected states, then since the variance σ(s)=σ_1\sigma(s)=\sigma\_{1} for all ss, we have:

s^=arg⁡max⁡_s∈S_SLGV^_N(s)\displaystyle\hat{s}=\arg\max\_{s\in S\_{\text{SLG}}}\hat{V}\_{N}(s)=arg⁡max⁡_s∈S_SLGμ^(s)\displaystyle=\arg\max\_{s\in S\_{\text{SLG}}}\hat{\mu}(s)

and we can lower bound the expected performance of SLG algorithm as follows:

V_N(A_SLG)\displaystyle V\_{N}(\mathcal{A}\_{\text{SLG}})⩾E[V_N−Km(s^)]\displaystyle\geqslant\mathbb{E}[V\_{N-Km}(\hat{s})]
------------
=E[μ(s^)+σ_1E(N−Km)]\displaystyle=\mathbb{E}[\mu(\hat{s})+\sigma\_{1}E(N-Km)]
------------
=E[μ(s^)]+σ_1E(N−Km)\displaystyle=\mathbb{E}[\mu(\hat{s})]+\sigma\_{1}E(N-Km)

Because we know μ^(s)∣μ(s)∼N(μ(s),σ_12/m)\hat{\mu}(s)\mid\mu(s)\sim\mathcal{N}(\mu(s),\sigma\_{1}^{2}/m) and μ(s)∼N(μ_0,σ_02)\mu(s)\sim\mathcal{N}(\mu\_{0},\sigma\_{0}^{2}), by the properties of Gaussian distribution, we have:

E[μ(s^)]\displaystyle\mathbb{E}[\mu(\hat{s})]=E_μ^[E[μ(s^)∣μ^(s^)]]\displaystyle=\mathbb{E}\_{\hat{\mu}}\left[\mathbb{E}[\mu(\hat{s})\mid\hat{\mu}(\hat{s})]\right]
------------
=E_μ^[μ_0+σ_02σ_02+σ_12/m(μ^(s^)−μ_0)]\displaystyle=\mathbb{E}\_{\hat{\mu}}\left[\mu\_{0}+\frac{\sigma\_{0}^{2}}{\sigma\_{0}^{2}+\sigma\_{1}^{2}/m}(\hat{\mu}(\hat{s})-\mu\_{0})\right]
------------
=μ_0+σ_02σ_02+σ_12/mE_μ^[μ^(s^)−μ_0]\displaystyle=\mu\_{0}+\frac{\sigma\_{0}^{2}}{\sigma\_{0}^{2}+\sigma\_{1}^{2}/m}\mathbb{E}\_{\hat{\mu}}[\hat{\mu}(\hat{s})-\mu\_{0}]
------------
=μ_0+σ_02σ_02+σ_12/mσ_02+σ_12/mE(K)\displaystyle=\mu\_{0}+\frac{\sigma\_{0}^{2}}{\sigma\_{0}^{2}+\sigma\_{1}^{2}/m}\sqrt{\sigma\_{0}^{2}+\sigma\_{1}^{2}/m}E(K)

where the last equality follows from the fact that μ^(s)∼N(μ_0,σ_02+σ_12/m)\hat{\mu}(s)\sim\mathcal{N}(\mu\_{0},\sigma\_{0}^{2}+\sigma\_{1}^{2}/m) for all ss and s^\hat{s} is the maximizer among KK i.i.d. samples. If we denote t=σ_1σ_0t=\frac{\sigma\_{1}}{\sigma\_{0}}, then we can simplify the above expression as:

E[μ(s^)]\displaystyle\mathbb{E}[\mu(\hat{s})]=μ_0+σ_01+t2/mE(K)\displaystyle=\mu\_{0}+\frac{\sigma\_{0}}{\sqrt{1+t^{2}/m}}E(K)

which leads to the following lower bound for SLG algorithm:

V_N(A_SLG)\displaystyle V\_{N}(\mathcal{A}\_{\text{SLG}})⩾μ_0+σ_0[11+t2/mE(K)+tE(N−Km)]\displaystyle\geqslant\mu\_{0}+\sigma\_{0}\left[\frac{1}{\sqrt{1+t^{2}/m}}E(K)+tE(N-Km)\right]

For the Best-of-N algorithm, since the reward distribution of the prompt xx is N(μ_0,σ_02+σ_12)\mathcal{N}(\mu\_{0},\sigma\_{0}^{2}+\sigma\_{1}^{2}), we have:

V_N(A_BoN)\displaystyle V\_{N}(\mathcal{A}\_{\text{BoN}})=E[max⁡_R_1,…,R_N∼i.i.d.N(μ_0,σ_02+σ_12)R_i]=μ_0+σ_01+t2E(N)\displaystyle=\mathbb{E}[\max\_{R\_{1},\dots,R\_{N}\stackrel{{\scriptstyle\mathrm{i.i.d.}}}{{\sim}}\mathcal{N}(\mu\_{0},\sigma\_{0}^{2}+\sigma\_{1}^{2})}R\_{i}]=\mu\_{0}+\sigma\_{0}\sqrt{1+t^{2}}E(N)

So the performance gap between the two algorithms can be lower bounded as:

V_N(A_SLG)−V_N(A_BoN)\displaystyle V\_{N}(\mathcal{A}\_{\text{SLG}})-V\_{N}(\mathcal{A}\_{\text{BoN}})⩾σ_0[11+t2/mE(K)+tE(N−Km)−1+t2E(N)].\displaystyle\geqslant\sigma\_{0}\left[\frac{1}{\sqrt{1+t^{2}/m}}E(K)+tE(N-Km)-\sqrt{1+t^{2}}E(N)\right].(13)

To proceed, we define a surrogate function to approximate the gap, and then derive a lower bound for this surrogate. Let:

G(t,N)=11+t2/m2log⁡K+t2log⁡(N−Km)−1+t22log⁡N.\displaystyle G(t,N)=\frac{1}{\sqrt{1+t^{2}/m}}\sqrt{2\log K}+t\sqrt{2\log(N-Km)}-\sqrt{1+t^{2}}\sqrt{2\log N}.

By choosing m=t2log⁡Nm=t^{2}\log N and K=N(1+t)m=N(1+t)t2log⁡NK=\frac{N}{(1+t)m}=\frac{N}{(1+t)t^{2}\log N}, we have:

11+t2/m2log⁡K\displaystyle\frac{1}{\sqrt{1+t^{2}/m}}\sqrt{2\log K}=11+1/log⁡N2log⁡N−2log⁡log⁡N−2log⁡(t2(1+t))\displaystyle=\frac{1}{\sqrt{1+1/\log N}}\sqrt{2\log N-2\log\log N-2\log(t^{2}(1+t))}
------------
⩾11+1/log⁡N2log⁡N(1−log⁡log⁡N+log⁡(t2(1+t))log⁡N)\displaystyle\geqslant\frac{1}{\sqrt{1+1/\log N}}\sqrt{2\log N}\left(1-\frac{\log\log N+\log(t^{2}(1+t))}{\log N}\right)
------------
⩾11+1/log⁡N2log⁡N−C_1log⁡log⁡Nlog⁡N\displaystyle\geqslant\frac{1}{\sqrt{1+1/\log N}}\sqrt{2\log N}-C\_{1}\frac{\log\log N}{\sqrt{\log N}}

for some constant C_1>0C\_{1}>0 depending on tt. Similarly, we have:

t2log⁡(N−Km)\displaystyle t\sqrt{2\log(N-Km)}=t2log⁡N−2log⁡(1+1/t)\displaystyle=t\sqrt{2\log N-2\log(1+1/t)}
------------
⩾t2log⁡N(1−log⁡(1+1/t)log⁡N)\displaystyle\geqslant t\sqrt{2\log N}\left(1-\frac{\log(1+1/t)}{\log N}\right)
------------
⩾t2log⁡N−C_21log⁡N\displaystyle\geqslant t\sqrt{2\log N}-C\_{2}\frac{1}{\sqrt{\log N}}

for some constant C_2>0C\_{2}>0 depending on tt. Combining these parts yields:

G(t,N)\displaystyle G(t,N)⩾(11+1/log⁡N+t−1+t2)2log⁡N−Clog⁡log⁡Nlog⁡N\displaystyle\geqslant\left(\frac{1}{\sqrt{1+1/\log N}}+t-\sqrt{1+t^{2}}\right)\sqrt{2\log N}-C\frac{\log\log N}{\sqrt{\log N}}

for some constant C>0C>0 depending on tt. When N⩾exp⁡(1+1/t)N\geqslant\exp(1+1/t), we observe:

11+1/log⁡N+t−1+t2\displaystyle\frac{1}{\sqrt{1+1/\log N}}+t-\sqrt{1+t^{2}}⩾11+tt+1+t−1+t2\displaystyle\geqslant\frac{1}{\sqrt{1+\frac{t}{t+1}}}+t-\sqrt{1+t^{2}}
------------
⩾(1−12tt+1)+t−1+t2\displaystyle\geqslant\left(1-\frac{1}{2}\frac{t}{t+1}\right)+t-\sqrt{1+t^{2}}
------------
⩾tt+1−12tt+1=12tt+1,\displaystyle\geqslant\frac{t}{t+1}-\frac{1}{2}\frac{t}{t+1}=\frac{1}{2}\frac{t}{t+1},

where the last inequality follows from the fact that t+1−1+t2⩾tt+1t+1-\sqrt{1+t^{2}}\geqslant\frac{t}{t+1} for all t>0t>0. Therefore:

G(t,N)\displaystyle G(t,N)⩾12tt+12log⁡N−Clog⁡log⁡Nlog⁡N\displaystyle\geqslant\frac{1}{2}\frac{t}{t+1}\sqrt{2\log N}-C\frac{\log\log N}{\sqrt{\log N}}

for N⩾exp⁡(1+1/t)N\geqslant\exp(1+1/t).

It suffices to analyze the approximation error between the original gap and the surrogate function, which arises from approximating E(N)E(N) by 2log⁡N\sqrt{2\log N}. Using the known bound:

$\displaystyle\leftE(N)-\sqrt{2\log N}\right$

for some constant C_3>0C\_{3}>0 and all N⩾3N\geqslant 3, we have:

$\displaystyle\quad\leftV_{N}(\mathcal{A}_{\text{SLG}})-V_{N}(\mathcal{A}_{\text{BoN}})-\sigma_{0}G(t,N)\right
------------
$\displaystyle\leqslant\sigma_{0}\left(\frac{1}{\sqrt{1+t^{2}/m}}\leftE(K)-\sqrt{2\log K}\right
------------
⩽σ_0(C_3log⁡log⁡Klog⁡K+tC_3log⁡log⁡(N−Km)log⁡(N−Km)+1+t2C_3log⁡log⁡Nlog⁡N)\displaystyle\leqslant\sigma\_{0}\left(C\_{3}\frac{\log\log K}{\sqrt{\log K}}+tC\_{3}\frac{\log\log(N-Km)}{\sqrt{\log(N-Km)}}+\sqrt{1+t^{2}}C\_{3}\frac{\log\log N}{\sqrt{\log N}}\right)
------------
⩽C_4log⁡log⁡Nlog⁡N\displaystyle\leqslant C\_{4}\frac{\log\log N}{\sqrt{\log N}}

for some constant C_4>0C\_{4}>0 depending on tt.

Combining the above results, we observe that the lower bound consists of a dominant term of order log⁡N\sqrt{\log N} and a negative error term of order log⁡log⁡Nlog⁡N\frac{\log\log N}{\sqrt{\log N}}. Since lim⁡_N→∞log⁡log⁡Nlog⁡N=0\lim\_{N\to\infty}\frac{\log\log N}{\log N}=0, there exists a threshold N_0N\_{0} (dependent on tt) such that for all N⩾N_0N\geqslant N\_{0}, the error term is at most half of the dominant term. Therefore, for N⩾N_0N\geqslant N\_{0}:

V_N(A_SLG)−V_N(A_BoN)\displaystyle V\_{N}(\mathcal{A}\_{\text{SLG}})-V\_{N}(\mathcal{A}\_{\text{BoN}})⩾t4(t+1)σ_02log⁡N\displaystyle\geqslant\frac{t}{4(t+1)}\sigma\_{0}\sqrt{2\log N}

This completes the proof. ∎

We now prove Corollary 1 by translating the performance gap into an equivalent budget amplification.

We aim to find a constant γ>0\gamma>0 such that for N⩾N_0N\geqslant N\_{0} (as defined in Proposition 1), the inequality V_N(A_SLG)⩾V_N1+γ(A_BoN)V\_{N}(\mathcal{A}\_{\text{SLG}})\geqslant V\_{N^{1+\gamma}}(\mathcal{A}\_{\text{BoN}}) holds.

From Proposition 1, the performance of the SLG algorithm is lower-bounded by the performance of the standard Best-of-NN baseline plus a strictly positive margin:

V_N(A_SLG)⩾V_N(A_BoN)+t4(t+1)σ_02log⁡N.V\_{N}(\mathcal{A}\_{\text{SLG}})\geqslant V\_{N}(\mathcal{A}\_{\text{BoN}})+\frac{t}{4(t+1)}\sigma\_{0}\sqrt{2\log N}.(14)

Now, consider the Best-of-NN baseline operating with an amplified budget N1+γN^{1+\gamma}. Its expected value is given by:

V_N1+γ(A_BoN)=μ_0+σ_01+t2E(N1+γ).V\_{N^{1+\gamma}}(\mathcal{A}\_{\text{BoN}})=\mu\_{0}+\sigma\_{0}\sqrt{1+t^{2}}E(N^{1+\gamma}).

The difference in value between the amplified baseline and the standard baseline is:

ΔV_BoN\displaystyle\Delta V\_{\text{BoN}}=V_N1+γ(A_BoN)−V_N(A_BoN)\displaystyle=V\_{N^{1+\gamma}}(\mathcal{A}\_{\text{BoN}})-V\_{N}(\mathcal{A}\_{\text{BoN}})
------------
=σ_01+t2(E(N1+γ)−E(N)).\displaystyle=\sigma\_{0}\sqrt{1+t^{2}}\left(E(N^{1+\gamma})-E(N)\right).

Since we know E(n)−E(m)⩽2(log⁡n−log⁡m)\mathbb{E}(n)-E(m)\leqslant 2(\sqrt{\log n}-\sqrt{\log m}) for any n>m⩾3n>m\geqslant 3, we can further bound the difference:

E(N1+γ)−E(N)\displaystyle E(N^{1+\gamma})-E(N)⩽2(log⁡(N1+γ)−log⁡N)\displaystyle\leqslant 2(\sqrt{\log(N^{1+\gamma})}-\sqrt{\log N})
------------
=2(1+γ−1)log⁡N.\displaystyle=2(\sqrt{1+\gamma}-1)\sqrt{\log N}.

Substituting this back into the expression for ΔV_BoN\Delta V\_{\text{BoN}}, we have:

ΔV_BoN⩽2σ_01+t2(1+γ−1)log⁡N⩽σ_01+t2γlog⁡N.\Delta V\_{\text{BoN}}\leqslant 2\sigma\_{0}\sqrt{1+t^{2}}(\sqrt{1+\gamma}-1)\sqrt{\log N}\leqslant\sigma\_{0}\sqrt{1+t^{2}}\gamma\sqrt{\log N}.

And when we choose γ=2t4(t+1)1+t2\gamma=\frac{\sqrt{2}t}{4(t+1)\sqrt{1+t^{2}}}, we have:

V_N(A_SLG)\displaystyle V\_{N}(\mathcal{A}\_{\text{SLG}})⩾V_N1+γ(A_BoN)−ΔV_BoN+t4(t+1)σ_02log⁡N\displaystyle\geqslant V\_{N^{1+\gamma}}(\mathcal{A}\_{\text{BoN}})-\Delta V\_{\text{BoN}}+\frac{t}{4(t+1)}\sigma\_{0}\sqrt{2\log N}
------------
⩾V_N1+γ(A_BoN)−σ_01+t2γlog⁡N+t4(t+1)σ_02log⁡N\displaystyle\geqslant V\_{N^{1+\gamma}}(\mathcal{A}\_{\text{BoN}})-\sigma\_{0}\sqrt{1+t^{2}}\gamma\sqrt{\log N}+\frac{t}{4(t+1)}\sigma\_{0}\sqrt{2\log N}
------------
=V_N1+γ(A_BoN)\displaystyle=V\_{N^{1+\gamma}}(\mathcal{A}\_{\text{BoN}})

This completes the proof.

∎