arXiv reader

When is a better LLM worth paying for? Stochastic Optimization with Switching Mixed-Fidelity Oracles

Swati Gupta and Tianjiao Li

arXiv
2610.21139v1 · PDF · 15 October 2026
Categories
math.OC, cs.AI, cs.LG
Licence
CC BY 4.0 The site shows the text.

Abstract

Large language models (LLMs) are increasingly used upstream of decision-making to clean data, detect label errors, and reconstruct missing values. Yet LLM-assisted data curation creates a new operational tradeoff: higher-fidelity models and richer prompts can be substantially more expensive, while the value of this additional fidelity depends on the downstream optimization accuracy. This raises the central question of this work: when should one pay for a better LLM, given a specific downstream task at hand? We study this question through stochastic optimization with mixed-fidelity first-order oracles, which can have systematic bias and state-dependent variance. We develop two cost-aware algorithmic frameworks that allow adaptive switching between stochastic oracles. With known bias, the first meta-algorithm applies a restarted, cost-aware policy that adaptively selects oracle fidelity across optimization stages. Its cumulative cost is no larger than that of the best fixed oracle in hindsight and can be substantially smaller. With unknown bias, we develop a budgeted certification scheme that uses occasional trusted-gradient evaluations to certify the optimization progress and eliminate unsuccessful oracle sources, and show an explicit tradeoff between certification cost and delayed detection of biased sources. We provide concrete realizations of these meta-algorithms by applying biased stochastic gradient extrapolation (SGE) and recursive regularization under state-dependent noise as subroutines. Synthetic and LLM-completion experiments illustrate the qualitative switching behavior predicted by the theory: the adaptive policy skips several expensive LLM oracles and substantially reduces cumulative cost relative to fixed high-fidelity alternatives while achieving comparable accuracy.

Items 27

Definition

Definition 1 (Distance-contraction subroutine)

D4NI

Consider an optimization subroutine \mathsf{Contract}(y,R;\mathrm{SO}_\lambda), which takes an initial point y, a target radius R, and a stochastic oracle \mathrm{SO}_\lambda as inputs. Associated with the subroutine are a bias-admissibility condition \mathsf{Adm}_{\rm C}(R,\mathcal{B}_\lambda) and an oracle complexity bound T(R,\lambda).

We say that \mathsf{Contract} is a valid distance-contraction subroutine if, whenever

\mathbb{E}\|y-x^*\|^2\le R^2 \quad\text{and}\quad \mathsf{Adm}_{\rm C}(R,\mathcal{B}_\lambda)\text{ holds},

it uses at most T(R,\lambda) calls to \mathrm{SO}_\lambda and returns y^+ satisfying \mathbb{E}\|y^+-x^*\|^2\le \frac{R^2}{2}.

Used by Proof, Proof
Proposition

Proposition 1 (Stagewise convergence)

JONM

Suppose \mathbb{E}\|y^0-x^*\|^2\le R_0^2 and the admissible set \ensuremath{\mathcal{P}}_s in Algorithm ? is nonempty at every completed stage. Then

\mathbb{E}\|y^s-x^*\|^2\le R_s^2=2^{-s}R_0^2.

Consequently, after K=\lceil\log_2(R_0^2/\epsilon)\rceil stages, we have \mathbb{E}\|y^K-x^*\|^2\le\epsilon.

Proof of Proposition 1

The claim follows by induction. At stage s, the selected oracle \lambda_s is admissible, so Definition 1 guarantees \mathbb{E}\|y^s-x^*\|^2\le R_{s-1}^2/2=R_s^2.

Theorem

Theorem 1 (Biased SGE)

BB8W

Let \{x_t\} be generated by Algorithm ?. Set \alpha_t=\frac{t-1}{t}, \tau_t=\frac{t-1}{3}, \eta_t=\frac{\eta}{t} for t\le2, and \eta_t=\frac{\eta}{t}+\frac{\mu(t-3)}{2} for t\ge3, where \eta\ge\max\{24L,\frac{54\ensuremath{\mathcal{L}}}{m} + \frac{162\ensuremath{\mathcal{L}}^2}{\mu m^2}\}. Then(The second inequality in (1) is proved using \nabla f(x^*) = 0, and the first inequality is proved without this assumption.), for k\ge3,

\begin{aligned} \mathbb{E}[f(x_k)-f^*] \le &\left( \tfrac{72L}{k(k+2)} +\tfrac{162\ensuremath{\mathcal{L}}}{mk(k+2)} +\tfrac{486\ensuremath{\mathcal{L}}^2}{\mu m^2k(k+2)} \right)\|x_0-x^*\|^2 + \tfrac{2}{9k(k+2)}[f(x_0)-f^*]+\tfrac{192\sigma_*^2}{\mu m(k+2)} +\tfrac{216\mathcal{B}^2}{\mu}\\ \le& \left( \tfrac{73L}{k(k+2)} +\tfrac{162\ensuremath{\mathcal{L}}}{mk(k+2)} +\tfrac{486\ensuremath{\mathcal{L}}^2}{\mu m^2k(k+2)} \right)\|x_0-x^*\|^2 +\tfrac{192\sigma_*^2}{\mu m(k+2)} +\tfrac{216\mathcal{B}^2}{\mu}. \end{aligned}

In particular, for m = 1 and k \geq \max \{98\sqrt{\tfrac{L}{\mu}}, 144\sqrt{\tfrac{\ensuremath{\mathcal{L}}}{\mu}}, \tfrac{102\ensuremath{\mathcal{L}}}{\mu}, \tfrac{3072\sigma_*^2}{\mu^2\|x_0-x^*\|^2}\}, we have

\begin{aligned} \mathbb{E}\|x_k - x^*\|^2 \leq \tfrac{2}{\mu}\mathbb{E}[f(x_k)-f^*] \leq \tfrac{1}{4}\|x_0-x^*\|^2 + \tfrac{432 \mathcal{B}^2}{\mu^2}. \end{aligned}
Proof sketch (sketch) of Theorem 1

To prove the claim, we need to control the state-dependent variance, and also bound the error introduced by the persistent oracle bias. We begin with the SGE recursion stated in Proposition 4, whose proof follows from a similar analysis of SGE as in [ilandarideva2025state] (see Appendix ?). With this recursion, we can handle the state-dependent variance and systematic bias transparently. Our parameter choices ensure that the state-dependent variance terms can be absorbed into the converging function-value terms in this recursion. Taking the telescoping sum over the recursions yields

A_k \mathbb{E}[f(x_k)-f^\ast] +\frac{P_k}{2}\mathbb{E}\|z_k-x^\ast\|^2 \leq \Gamma_k+B\sum_{t=1}^k(3t-2)\mathbb{E}\|z_t-x^\ast\|,

where A_k and P_k grow quadratically in k, and \Gamma_k contains the initial-error and residual-variance terms. To bound the accumulated bias, observe that the same inequality controls the distance of each z_t from x^\ast. Thus, the distances appearing on the right-hand side can themselves be bounded in terms of the accumulated error. Applying Young’s inequality provides a bound of the form 2\Gamma_k+O(k^2B^2/\mu), and dividing both sides of the inequality by A_k yields the stated function-value bound. By further using the strong convexity property, we can obtain the distance-contraction guarantee. The full proof is deferred to Appendix ?.

Corollary

Corollary 1 (Comparison with the best fixed oracle)

OKB4

Suppose all oracles are unbiased, i.e., B_\lambda = 0,~\forall \lambda. Define A_\lambda=c_\lambda \max \left\{98\sqrt{\frac{L}{\mu}}, 144\sqrt{\tfrac{\ensuremath{\mathcal{L}}_\lambda}{\mu}}, \tfrac{102\ensuremath{\mathcal{L}}_\lambda}{\mu}\right\} and B_\lambda=c_\lambda \cdot \frac{3072\sigma^2_{\lambda,*}}{\mu^2R_0^2}. For \epsilon >0, let K=\lceil\log_2(R_0^2/\epsilon)\rceil. Then the total costs of Algorithm ? and using the best-fixed oracle throughout satisfy

\begin{aligned} \mathrm{Cost}_{\rm adap}(\epsilon)&=\sum_{s=1}^K\min_\lambda\max\{A_\lambda,B_\lambda2^{s-1}\}, \\ \mathrm{Cost}_{\rm fixed}(\epsilon)&=\min_\lambda\sum_{s=1}^K\max\{A_\lambda,B_\lambda2^{s-1}\} = \mathcal{O}\left( \min_{\lambda} \left\{c_\lambda \cdot \left(\sqrt{\tfrac{L}{\mu}}\log_2\tfrac{R_0^2}{\epsilon} +\tfrac{\ensuremath{\mathcal{L}}_\lambda}{\mu}\log_2\tfrac{R_0^2}{\epsilon} + \tfrac{\sigma_{\lambda,*}^2}{\mu^2 \epsilon}\right)\right\} \right), \end{aligned}

hence \mathrm{Cost}_{\rm adap}(\epsilon)\le\mathrm{Cost}_{\rm fixed}(\epsilon). Moreover, there exist instances for which \frac{\mathrm{Cost}_{\rm fixed}(\epsilon)} {\mathrm{Cost}_{\rm adap}(\epsilon)}= \Theta\!\left(\tfrac{K}{\log K}\right) = \Theta\!\left( \tfrac{\log(R_0^2/\epsilon)} {\log\log(R_0^2/\epsilon)} \right), and this order is tight for stage costs of the form \max\{A_\lambda,B_\lambda2^{s-1}\}.

Proof sketch (sketch) of Corollary 1

The comparison with the best fixed oracle follows directly from minimizing the cost at each stage: the sum of the stagewise minima is no larger than the minimum of the sums. It remains to show how large this improvement can be.

We first construct two oracles. The first has a smaller coarse-scale cost but a larger residual-variance term, whereas the second has a constant stage cost of M throughout the optimization horizon. The parameters are chosen so that the first oracle is cheaper until the final m=\lceil\log_2 K\rceil stages. Thus, the adaptive policy incurs a total cost of \Theta(M\log K), while the best fixed oracle incurs a cost of MK.

To show that this order cannot be improved, let d_s denote the minimum cost at stage s, and consider an oracle attaining d_{K-m}. Its cost over all K stages is at most O(Kd_{K-m}). On the other hand, because d_s is nondecreasing, the adaptive policy pays at least (m+1)d_{K-m} over the final m+1 stages. Combining these bounds gives an improvement of at most O(K/\log K). The construction with tight examples, and the complete bounds are presented in Appendix ?.

Remark

Remark 1 (Domination)

V3ZA

Oracle \nu dominates oracle \lambda if

\mathcal{B}_\nu\le\mathcal{B}_\lambda, \quad c_\nu D_\nu\le c_\lambda D_\lambda, \quad c_\nu\sigma_{\nu,*}^2\le c_\lambda\sigma_{\lambda,*}^2.

Then \nu is admissible whenever \lambda is, and C_\nu(R)\le C_\lambda(R) for every R; hence Algorithm ? with SGE subroutine never selects \lambda.

Remark

Remark 2

Q4FO

We analyze exact trusted-gradient certification in order to isolate this certification-frequency tradeoff from the statistical problem of constructing the certificate itself. In applications, the certification module \ensuremath{\mathcal{C}} may instead be constructed using a sufficiently large trusted sample, expert-reviewed observations, or repeated measurements. Standard concentration arguments can then construct a high-probability confidence bound for the projected-gradient norm. We leave the joint tradeoff among trusted-sample size, statistical precision, and certification frequency for a stochastic certification oracle to future work.

Lemma

Lemma 1 (Projected-gradient certificate)

XG7X

Let X be closed and convex and suppose x^*\in X. For any \gamma\le2/L, we have

\begin{aligned} f(x) - f(x^+) \geq (\gamma - \tfrac{\gamma^2L}{2}) \|\mathsf{G}_{X,\gamma}(x)\|^2, \end{aligned}

and

\begin{aligned} \|x-x^*\| \le \tfrac{2}{\mu} \|\mathsf{G}_{X,\gamma}(x)\|. \end{aligned}

Consequently, \|\mathsf{G}_{X,\gamma}(x)\| \le \tfrac{\sqrt{2}\mu R}{4} implies \|x-x^*\|^2\le\tfrac{R^2}{2}.

Used by Proof
Definition

Definition 2 (Projected-gradient reduction subroutine)

5VXO

Consider a subroutine \mathsf{PGReduce}(y,R;\mathrm{SO}_\lambda), where y is an initial point, R is the current radius, and \mathrm{SO}_\lambda is the stochastic oracle used for training. Associated with the subroutine are a bias-admissibility condition \mathsf{Adm}_{\rm PG}(R,\mathcal{B}_\lambda) and a known oracle complexity \widetilde T(R,\lambda).

We say that \mathsf{PGReduce} is valid if, whenever

\mathbb{E}\|y-x^*\|^2\le R^2 \quad\text{and}\quad \mathsf{Adm}_{\rm PG}(R,\mathcal{B}_\lambda)\text{ holds},

it uses at most \widetilde T(R,\lambda) oracle calls to \mathrm{SO}_\lambda and returns a candidate y^+\in X satisfying

\mathbb{E}\|\mathsf{G}_{X}(y^+)\|\le \tfrac{\sqrt{2}\mu R}{16}.
Used by Proof
Lemma

Lemma 2 (Validity of an admissible block)

V50X

Suppose y^s is certified at level s, and let \lambda be block-admissible for a planned block (s,t). Then the output point z=\mathsf{Block}(y^s;s,t,\lambda) satisfies

\mathbb{E}\|\mathsf{G}_X(z)\| \le \tfrac{\sqrt{2}\mu R_{t-1}}{16},

and consequently

\ensuremath{{\mathbb{P}}}\left( \|\mathsf{G}_X(z)\| \le \tfrac{\sqrt{2}\mu R_{t-1}}{4} \right) \ge \tfrac34.
Used by Proof, Proof, Proof
Proof of Lemma 2

Let u_s:=y^s, thus \|u_s-x^*\|^2\le R_s^2. For k=s,\ldots,t-2 define

u_{k+1} := \mathsf{Contract}(u_k,R_k;\mathrm{SO}_\lambda).

By Definition 1 and the contraction-admissibility conditions in (?), a simple induction implies

\mathbb{E}\|u_k-x^*\|^2\le R_k^2, \quad \text{for } k=s,\ldots,t-1.

Therefore, the input u_{t-1} to the terminal projected-gradient reduction satisfies the mean-square warm-start condition at radius R_{t-1}. Definition 2 and the terminal PG-admissibility condition then imply (2). By applying Markov’s inequality, we have

\ensuremath{{\mathbb{P}}}\left( \|\mathsf{G}_X(z)\|> \tfrac{\sqrt{2}\mu R_{t-1}}{4} \right) \le \tfrac{ \mathbb{E}\|\mathsf{G}_X(z)\| }{ \sqrt{2}\mu R_{t-1}/4 } \le \tfrac14,

which proves (2).

Lemma

Lemma 3 (Sequential certification)

U18X

Suppose a planned block is block-admissible, and let N be the number of trials used by the sequential rule in Algorithm ?, truncated after \mathcal R trials. Then

\ensuremath{{\mathbb{P}}}(\text{the block certification fails}) \le4^{-\mathcal R}, \quad \text{and}\quad \mathbb{E}[N]\le\tfrac43.
Proof of Lemma 3

By Lemma 2, every independent block trial succeeds with probability at least 3/4. Hence the probability that the first r trials all fail is at most 4^{-r}. Therefore

\ensuremath{{\mathbb{P}}}(\text{the block certification fails}) \le 4^{-\mathcal R}.

The expectation for the total number of trials for a successful certification is bounded by

\mathbb{E}[N] = \sum_{r=0}^{\mathcal R-1}\ensuremath{{\mathbb{P}}}(N>r) \le \sum_{r=0}^{\mathcal R-1}4^{-r} \le \tfrac43,

which completes the proof.

Uses Lemma 2
Proposition

Proposition 2 (High-probability convergence guarantee of budgeted certification)

GD94

Let K=\lceil\log_2(R_0^2/\epsilon)\rceil and choose \mathcal R \ge \left\lceil \log_4\frac{K+\ell}{\delta} \right\rceil. Suppose that whenever Algorithm ? has not yet reached certified level K, the current pool contains at least one oracle that is block-admissible.

Then, with probability at least 1-\delta, the algorithm terminates with a certified point y satisfying \|y-x^*\|^2\le\epsilon.

The total number of blocks is bounded by K+\ell = O\!\left( \ell+\log\tfrac{R_0^2}{\epsilon} \right), and the number of trusted-gradient evaluations is at most

O\!\left\{ \left( \ell+\log\tfrac{R_0^2}{\epsilon} \right) \log\!\left( \tfrac{\ell+\log(R_0^2/\epsilon)}{\delta} \right) \right\}.
Used by Proof
Proof of Proposition 2

Consider a block-admissible oracle. By Lemma 2, one independent block trial fails to certify the full target with probability at most 1/4. Therefore all \mathcal R independent trials fail with probability at most 4^{-\mathcal R}\le\tfrac{\delta}{K+\ell}. Every fully successful block advances the certified level by at least one, so there can be at most K such blocks. Every unsuccessful block permanently removes one oracle, so there can be at most \ell unsuccessful blocks. A union bound over at most K+\ell block decisions shows that, with probability at least 1-\delta, no block-admissible oracle is incorrectly removed.

Every advancement of the certified level, whether a full-block success or the partial progress, is justified by the exact projected-gradient certificate in Lemma 1. Thus the certified state always satisfies \|y^s-x^*\|^2\le R_s^2. Under the stated availability condition, an unfinished level cannot exhaust all block-admissible oracles on the above high-probability event. Thus the certified level eventually reaches K, where R_K^2\le\epsilon.

Finally, each certification round queries the trusted certification module at most \mathcal{R} times. Multiplying \mathcal{R} by K + \ell yields the stated trusted-gradient complexity.

Theorem

Theorem 2 (RR+SGE projected-gradient reduction)

UXZN

Set S=1+\left\lceil\log_2\frac{L}{\mu}\right\rceil. Suppose the initial point \widehat x_0 satisfies \mathbb{E}\|\widehat x_0-x^*\|^2\le R^2. There exists a universal constant c_0>0 such that, if

\mathcal{B} \le \tfrac{c_0\mu R}{S},

then Algorithm ? returns a point \widehat y\in X satisfying

\mathbb{E}\|\mathsf{G}_{X}(\widehat y)\| \le \tfrac{\sqrt{2}\mu R}{16}, ~~\text{and hence}~~\ensuremath{{\mathbb{P}}}\!\left( \|\mathsf{G}_{X}(\widehat y)\| \le \tfrac{\sqrt{2}\mu R}{4} \right) \ge\tfrac34.

The total number of stochastic-gradient evaluations is at most

\mathcal{O}\left( S\left( \sqrt{\tfrac{L}{\mu}} + \tfrac{\ensuremath{\mathcal{L}}}{\mu} \right) + \tfrac{S^3\sigma_*^2}{\mu^2R^2} \right).

Consequently, Algorithm ? is a valid projected-gradient reduction subroutine \mathsf{PGReduce}^{\rm RR+SGE}(y,R;\mathrm{SO}_\lambda) with \mathcal{B}_\lambda\le \tfrac{c_0\mu R}{1+\lceil\log_2(L/\mu)\rceil} as the bias-admissibility condition \mathsf{Adm}_{\rm PG}^{\rm RR+SGE}(R,\mathcal{B}_\lambda)

and

\widetilde T^{\rm RR+SGE}(R,\lambda) = \widetilde O\!\left(T^{\rm SGE}(R,\lambda)\right).
Used by Proof, Proof
Proof

Proof (ingredients)

3J72

We next work toward proving Theorem 2. Throughout the proof, define

x_j^*\in\arg\min_{x\in Y}\phi_j(x), \quad \phi_j^*=\phi_j(x_j^*),

and let

\ensuremath{\mathcal{G}}_j(x,\xi) = \ensuremath{\mathcal{G}}(x,\xi) + \sum_{i=1}^j\rho_i(x-\widehat x_i), \quad g_j(x) = g(x) + \sum_{i=1}^j\rho_i(x-\widehat x_i).

Note that the original oracle satisfies \|g(x)-\nabla f(x)\|_* \le \mathcal{B}, and

\begin{aligned} \mathbb{E}\|\ensuremath{\mathcal{G}}(x,\xi)-g(x)\|_*^2 \le \ensuremath{\mathcal{L}}(f(x)-f^*)+\sigma_*^2. \end{aligned}

The first lemma shows that recursive regularization preserves the oracle bias and the state-dependent form of its variance.

Lemma (State-dependent noise under recursive regularization).

suppose \mathbb{E}\bigl[ \phi_{j-1}(\widehat x_j)-\phi_{j-1}^* \bigr] \le \delta_j. Then the bias satisfies

\|g_j(x)-\nabla\phi_j(x)\|_* \le \mathcal{B}.

Moreover, conditioned on the previous recursive-regularization iterates, the state-dependent variance satisfies

\mathbb{E}\|\ensuremath{\mathcal{G}}_j(x,\xi)-g_j(x)\|_*^2 \le \ensuremath{\mathcal{L}}\bigl(\phi_j(x)-\phi_j^*\bigr) +\widehat\sigma_{j,*}^2,

where \widehat\sigma_{j,*}^2 := \sigma_*^2 + \ensuremath{\mathcal{L}} \sum_{i=1}^j \tfrac{\rho_i}{2} \|x_{i-1}^*-\widehat x_i\|^2. In particular, \mathbb{E}[\widehat\sigma_{j,*}^2] \le \sigma_*^2 + \ensuremath{\mathcal{L}}\sum_{i=1}^j\delta_i.

We defer the proof of Lemma ? to Appendix ?.

The second ingredient is the deterministic RR reduction: sufficiently accurate solutions of the regularized subproblems imply a small projected-gradient mapping for the original objective.

Proposition (Recursive-regularization reduction; cf. [allen2018gradient, foster2019complexity]).

Let S := 1+\left\lceil\log_2\tfrac{L}{\mu}\right\rceil, \rho_j:=2^{j-1}\mu. For j=1,\ldots,S, suppose \widehat x_j is an approximate minimizer of \phi_{j-1} over X satisfying \mathbb{E}[ \phi_{j-1}(\widehat x_j)-\phi_{j-1}^* ] \le\delta_j. Then, with \gamma=\frac{1}{2L}, the final point \widehat x_S satisfies

\begin{aligned} \mathbb{E}\|\mathsf{G}_{X}(\widehat x_S)\| \le (2+\sqrt{2})\sum_{j=1}^{S-1}\sqrt{\rho_j\delta_j} + 6\sqrt{\rho_S\delta_S}. \end{aligned}

The proof of Proposition ? follows from the analysis techniques in [allen2018gradient, foster2019complexity]. For the sake of completeness, we provide a complete proof in Appendix ?.

Proof

Proof (Theorem :rr-sge-subroutine)

UDHL
Proof.

For a sufficiently small universal constant a>0, set

\delta_j := \tfrac{a\mu^2R^2}{S^2\rho_j}, \quad \rho_j=2^{j-1}\mu, \quad j=1,\ldots,S.

We show that SGE can solve every recursively regularized subproblem to the accuracy \delta_j with the stated total complexity by inductive arguments.

For the first subproblem, condition on the possibly random warm start \widehat x_0, apply the SGE bound in Theorem 1, and then average over \widehat x_0. Since \mathbb{E}\|\widehat x_0-x^*\|^2\le R^2, the resulting first-stage bound is identical to the deterministic-warm-start case. Applying (1) with mini-batch size m=1, it suffices to use

k_1 = O\left( S\sqrt{\tfrac{L}{\mu}} + \tfrac{S\ensuremath{\mathcal{L}}}{\mu} + \tfrac{S^2\sigma_*^2}{\mu^2R^2} \right)

iterations to make all vanishing terms in the SGE bound smaller than a fixed fraction of \delta_1. Note that the bias floor in Ineq. (1) is O(\mathcal{B}^2/\mu), condition (?), with c_0 sufficiently small, ensures \tfrac{\mathcal{B}^2}{\mu} \lesssim \tfrac{a\mu R^2}{S^2} = \delta_1, and consequently \mathbb{E}[\phi_{0}(\widehat x_{1}) - \phi^*_{0}] \leq \delta_{1}.

Now consider j\ge2. Assume \widehat x_{j-1} is a \delta_{j-1}-approximate minimizer of \phi_{j-2}, i.e., \mathbb{E}[\phi_{j-2}(\widehat x_{j-1}) - \phi^*_{j-2}] \leq \delta_{j-1}. Then Ineq. (?) indicates that the initial distance to the optimal solution \mathbb{E}\|\widehat x_{j-1}-x_{j-1}^*\|^2 \le \tfrac{\delta_{j-1}}{\rho_{j-1}}, and the initial optimality gap

\mathbb{E}[\phi_{j-1}(\widehat x_{j-1}) -\phi_{j-1}^*] \le \mathbb{E}[\phi_{j-2}(\widehat x_{j-1}) -\phi_{j-2}^*]\leq {\delta_{j-1}},

In the proof of Proposition ?, we show that the j-th subproblem \phi_{j-1} is \rho_j-strongly convex and has smoothness at most 2L. By Lemma ?, the effective residual variance at this level satisfies

\mathbb{E}[\widehat\sigma_{j-1,*}^2] \le \sigma_*^2 + \ensuremath{\mathcal{L}}\sum_{i=1}^{j-1}\delta_i \le \sigma_*^2 + \tfrac{2a\ensuremath{\mathcal{L}}\mu R^2}{S^2}.

where the second inequality follows from (Proof). By the first inequality in (1) of Theorem 1, we have

\begin{aligned} \mathbb{E}[\phi_{j-1}(x_{k_j})-\phi_{j-1}^*] \le &\mathcal{O}\left(\left(\tfrac{L}{k_j^2}+\tfrac{\ensuremath{\mathcal{L}}}{mk_j^2}+\tfrac{\ensuremath{\mathcal{L}}^2}{\rho_j m^2k_j^2}\right)\tfrac{\delta_{j-1}}{\rho_{j-1}}+ \tfrac{\delta_{j-1}}{k_j^2}+\tfrac{\sigma_*^2}{\rho_j mk_j} + \tfrac{a \ensuremath{\mathcal{L}}\mu R^2}{\rho_jS^2 m k_j}+\tfrac{\mathcal{B}^2}{\rho_j }\right). \end{aligned}

Note that \tfrac{ \delta_{j-1} }{\rho_{j-1}\delta_j} = \tfrac{4}{\rho_j}. Therefore, with mini-batch size m=1, it suffices to use

k_j = O\left( \sqrt{\tfrac{L}{\rho_j}} + \tfrac{\ensuremath{\mathcal{L}}}{\rho_j} + \tfrac{S^2\sigma_*^2}{\mu^2R^2} + \tfrac{\ensuremath{\mathcal{L}}}{\mu} \right)

to make all vanishing terms (terms other than \tfrac{\mathcal{B}^2}{\rho_j}) smaller than a fixed fraction of \delta_j. Meanwhile, condition (?) suggests that, when c_0 is sufficiently small, the bias floor satisfies \tfrac{\mathcal{B}^2}{\rho_j} \lesssim \tfrac{a\mu^2R^2}{S^2\rho_j} = \delta_j. As a consequence, we have \mathbb{E}[\phi_{j-1}(\widehat x_{j}) - \phi^*_{j-1}] \leq \delta_{j}, and the inductive argument is complete.

Now we check the total sample complexity. Summing up k_j over all S=O(\log(L/\mu)) recursive-regularization levels, we obtain

\begin{aligned} \sum_{j=1}^S k_j = \mathcal{O}\left( S\sqrt{\tfrac{L}{\mu}} + \tfrac{S\ensuremath{\mathcal{L}}}{\mu} + \tfrac{S^3\sigma_*^2}{\mu^2R^2} \right). \end{aligned}

It remains to prove the projected-gradient guarantee. By Ineq. (?) in Proposition ? and Ineq. (Proof),

\begin{aligned} \mathbb{E}\|\mathsf{G}_{X}(\widehat y)\| \leq (2+\sqrt{2})\sum_{j=1}^{S-1}\sqrt{\rho_j\delta_j} + 6\sqrt{\rho_S\delta_S} = \big((2+\sqrt{2})S + 4 -\sqrt{2}\big)\tfrac{\sqrt a\mu R}{S} \leq 6 \sqrt a\mu R. \end{aligned}

Choosing \sqrt{a}\le\sqrt{2}/96 yields \mathbb{E}\|\mathsf{G}_{X}(\widehat y)\| \le \tfrac{\sqrt{2}\mu R}{16}, which proves the first inequality in Ineq. (?). Finally, by using Markov’s inequality, we have \ensuremath{{\mathbb{P}}}\left( \|\mathsf{G}_{X}(\widehat y)\| > \tfrac{\sqrt{2}\mu R}{4} \right) \le \tfrac{\sqrt{2}\mu R/16}{\sqrt{2}\mu R/4} = \tfrac14, which proves the second inequality in Ineq. (?) and completes the proof.

Lemma

Lemma 5 (Economic switches)

XUAR

Under the SGE stage-cost (?), we have Q\le\binom{\ell}{2}.

Proof of Lemma 5

From (?), the stage cost of SGE has the form C_k(\lambda)=\max\{\alpha_\lambda,\beta_\lambda2^k\}. For any two oracles \lambda and \nu, their strict ordering can change at most once as k increases.

Thus one unordered stochastic oracle pair can trigger at most one strict economic switch. Since removed oracles never return to the pool, we have Q\le\binom{\ell}{2}.

Theorem

Theorem 3 (Cost of budgeted sparse certification)

6FI6

Consider Algorithm ? on the high-probability event in Proposition 2. For B>0, let \bar B:=\min\{B,C_{\rm sw}^{\rm PG}\}. We have

\begin{aligned} \mathrm{Cost}_B \le\;& \mathcal R \left[ \zeta C_{\rm sw}^{\rm PG} + C_{\rm bad}^{\rm PG} + M\bar B \right] \\ &+ \mathcal R c_{\rm cert} \left[ \min\left\{ K,\, \left\lceil\frac{C_{\rm sw}^{\rm PG}}{B}\right\rceil+Q+1 \right\} +M \right]. \end{aligned}
Used by Proof
Proof of Theorem 3

First, note that the fully successful blocks cover disjoint certified level intervals. By (?), every contraction stage in such blocks costs no more than the corresponding stage of our benchmark, while the cost of the PG stage is at most \zeta times its SGE-equivalent stage cost by (?). Therefore, the single-trial stochastic-training cost of all fully successful blocks is at most \zeta C_{\rm sw}^{\rm PG}.(Here, we do not carefully distinguish the cost of the contraction stage and PG stage, as \zeta is only a logarithmic factor of the condition number.) Considering the sequential implementation rule with at most \mathcal{R} trials, we have

\begin{aligned} \mathrm{Cost}(\text{all fully successful blocks}) \leq \mathcal{R}\zeta C_{\rm sw}^{\rm PG}. \end{aligned}

For a failed block, by the budget constraint rule in (?), the uncertified training cost of all contraction stages is at most B, as shown in Ineq. (?). Meanwhile, in case B is very large or even \infty, we can always bound the block’s contraction cost by C_{\rm sw}^{\rm PG} due to (?). Therefore, the total cost of the contraction stages in all failed blocks is bounded by

\begin{aligned} \mathrm{Cost}(\text{all contraction stages in all failed blocks}) \leq \mathcal{R}M \min\{B, C_{\rm sw}^{\rm PG}\}= \mathcal{R}M \bar B. \end{aligned}

It remains to account for the terminal PG costs of failed blocks, i.e.,

\mathrm{Cost}(\text{PG stages in all failed blocks}) = \mathcal{R}\sum_{b\ {\rm failed}} \widetilde C_{k_b}(\lambda_b),

where \lambda_b and k_b are the oracle and terminal stage of failed block b. On the high-probability event under consideration, a removed oracle cannot be PG-admissible at its terminal stage: for the SGE/RR+SGE implementation, terminal PG-admissibility makes the whole block block-admissible, and Lemma 2 together with Proposition 2 rules out such a false rejection on this event. Thus k_b\ge\kappa_{\lambda_b}. Moreover, because \lambda_b is selected at k_b while the current pool contains an oracle attaining C_{k_b}^\star, we have C_{k_b}(\lambda_b)\le C_{k_b}^\star by (?). Therefore the terminal PG cost of each failed oracle is bounded by its corresponding summand in (?). Since each oracle can fail at most once, we have

\mathrm{Cost}(\text{PG stages in all failed blocks})\le \mathcal{R}C_{\rm bad}^{\rm PG}.

Finally, we need to compute the total certification cost. To do so, we need to count the successful certification blocks. If a fully successful block is terminated by the budget condition and its terminal stage is t-1, then

\sum_{k=s}^{t-2}A_k(\lambda)+A_{t-1}(\lambda)>B.

The corresponding successful block intervals are disjoint, and their total (single-trial) contraction subroutine cost is at most C_{\rm sw}^{\rm PG} by (?). Therefore, there are at most \lceil C_{\rm sw}^{\rm PG}/B\rceil budget-triggered successful blocks. In addition there are Q economic-switch blocks and at most one final block, while the total number of successful blocks is at most K. Thus, the total number of successful blocks is bounded by \min\left\{ K,\, \left\lceil\tfrac{C_{\rm sw}^{\rm PG}}{B}\right\rceil+Q+1 \right\}, and the total number of certification blocks is at most \min\left\{ K,\, \left\lceil\tfrac{C_{\rm sw}^{\rm PG}}{B}\right\rceil+Q+1 \right\} +M, indicating a total certification cost of

\mathrm{Cost}(\text{all certification steps})\le \mathcal{R}c_{\rm cert} \left[ \min\left\{ K,\, \left\lceil\tfrac{C_{\rm sw}^{\rm PG}}{B}\right\rceil+Q+1 \right\} +M \right].

Combining Ineqs. (Proof), (?), (?), and (?) proves Ineq. (3).

Corollary

Corollary 2 (U-shaped certification tradeoff)

MVJ0

For 0<B\le C_{\rm sw}^{\rm PG}, define

C_{\rm B-independent} := \mathcal R \left[ \zeta C_{\rm sw}^{\rm PG} + C_{\rm bad}^{\rm PG} \right] + \mathcal R c_{\rm cert} \left[ \binom{\ell}{2}+\ell+2 \right].

Then we have

\mathrm{Cost}_B \le C_{\rm B-independent} + \mathcal R \left[ \ell B + \tfrac{c_{\rm cert}C_{\rm sw}^{\rm PG}}{B} \right].

The B-dependent upper bound is minimized at B^\star = \sqrt{ \tfrac{c_{\rm cert}C_{\rm sw}^{\rm PG}}{\ell} }, whenever B^\star\le C_{\rm sw}^{\rm PG}, with \mathrm{Cost}_{B^*} \le C_{\rm B-independent} +2\mathcal R \sqrt{ \ell c_{\rm cert}C_{\rm sw}^{\rm PG} }.

Proof of Corollary 2

For B\le C_{\rm sw}^{\rm PG}, we have \bar B=B and \lceil C_{\rm sw}^{\rm PG}/B\rceil \le C_{\rm sw}^{\rm PG}/B+1. Also recall the upper bound M\leq \ell and Q\leq \binom{\ell}{2} in Lemma 5. Applying these inequalities in (3) yields (2). By minimizing the two B-dependent terms, we can show B^* and \mathrm{Cost}_{B^*}.

Proposition

Proposition 4 (SGE recursion)

YQ70

Suppose \{z_t\} and \{x_t\} are generated by Algorithm ?. Let the algorithm parameters \{\alpha_t\}, \{\eta_t\} and \{\tau_t\} satisfy \tau_1 \geq 0, \tau_t > 0 for all t\geq 2, along with relations

\begin{align} \theta_{t-1} &= \alpha_t \theta_t, ~~\eta_t \le \alpha_t (\eta_{t-1} + \mu\alpha_{t-1}) , ~~ t= 2, \ldots,k \\ \tfrac{\eta_t \tau_{t-1}}{\alpha_{t}} &\ge{4}L, \quad t= 3, \ldots, k \\ \tfrac{\eta_1\eta_2}{\alpha_2} &\geq {16}L^2, ~~\eta_k \tau_k \ge 2L, \end{align}

for some \theta_t \ge 0. Then for all x \in X

\begin{aligned} &\sum_{t=1}^k \theta_t \left\{ \tau_t [f(x_t) -f(x_{t-1})]- [\langle \nabla f(x_t), x - x_t \rangle + \tfrac{\mu}{2}\|x_t-x\|^2]\right\} + \tfrac{\theta_k}{2}(\tfrac{\eta_k}{2} + \mu\alpha_k ) \|z_k-x\|^2 \\ &\leq \tfrac{\theta_1\eta_1}{2}\|x_0-x\|^2 - \tfrac{\theta_k \mu}{2}\|x_k-x\|^2- \sum_{t=1}^k \theta_t \langle {b(x_{t-1}) + \alpha_t (b(x_{t-1}) - b(x_{t-2}))}, z_t - x\rangle\\ &\quad + \sum_{t=0}^{k-1}\left[ \tfrac{2\theta_{t+1}(1+\alpha_{t+1}^2)}{\eta_{t+1}}\|\delta_t(x_t)\|^2 + \tfrac{2\theta_{t+2}\alpha_{t+2}^2}{\eta_{t+2}}\|\delta_{t+1}(x_t)\|^2 \right]\\ &\quad + {\sum_{t=0}^{k-1} \theta_{t+1} \langle\alpha_{t+1} \delta_{t}(x_{t-1})- (1+\alpha_{t+1})\delta_{t}(x_{t}), z_{t} - x\rangle}. \end{aligned}

where g(x) := \mathbb{E}[G_t(x)], b(x) := g(x)-\nabla f(x), and

\delta_t(x):=G_t(x)-g(x).

Used by Proof sketch

Source and licence

The text on this page is from arXiv:2610.21139v1 by Swati Gupta and Tianjiao Li, under the licence CC BY 4.0. The corpus made these changes: it read the items out of the LaTeX source, it expanded the macros of the paper, it put each proof after its statement, and it converted the text to HTML. The formulas are the TeX of the paper, and KaTeX renders them. A formula or a reference can look different from the PDF. The page is published under CC BY 4.0.

The record of each item is in analysis/objects/2610/2610.21139.jsonl.