betaFeedback

WorksMathematics

Finite-sample certification of coverage regret for budgeted document selection under adaptive stratified auditing

Abstract

Selecting a budget-constrained set of documentary fragments, for instance the knowledge base of a retrieval-augmented generation system, raises a statistical question: how much expected query coverage is lost relative to the best feasible selection when the query distribution is unknown? We construct finite-sample, distribution-free upper confidence bounds for this coverage regret that remain valid after data-dependent selection. A pilot stage may select the document set, screen competitors, build comparison networks and learn an annotation policy. Then an independent audit acquires relevance labels with probabilities that are constant within observable strata. The main result is a simultaneous bound for all retained coverage contrasts. The bound is made observable by empirical-Bernstein variance calibration or by a one-stage construction without calibration, and it accounts for estimated stratum proportions. For maximum-type coverage we prove variance contractions for swaps of redundant fragments, give a condition under which multiscale radii improve on a direct union bound, and show that such redundancy cannot be certified from samples alone. A simulation study confirms validity and quantifies the gains from variance calibration and certified redundancy.

Introduction

Constructing a compact knowledge base from a large collection of documentary fragments, for example the retrieval corpus of a retrieval-augmented generation (RAG) system, requires choosing which fragments to retain under a storage or annotation budget. The selected collection should support future queries, whose probability distribution is generally not known in advance. This leads to a stochastic set-optimization problem: maximize expected query coverage, then certify the loss in coverage relative to the best feasible collection. The distinction between a computational approximation guarantee and a statistical coverage certificate is essential. A near-optimal value for the empirical selection objective need not imply a small population regret.

For coverage defined by maxima of nonnegative relevance scores, the population objective is monotone and submodular. This connects the selection problem to classical submodular maximization ([11, 9]). Yet the statistical component is different: relevance assessments may be costly, and queries may be deliberately oversampled in contexts believed to distinguish competing document selections. Such adaptive data acquisition must not be allowed to invalidate a confidence statement about the unknown query population.

Concentration for means with unknown variances is classical [10, 2]. Stratified empirical-Bernstein methods have been developed for other estimation problems, for instance by Burgess and Chapman [3], and context-dependent evaluation and inverse-probability correction have substantial precedents [5]. Generic chaining [12, 4] and local complexity theory [1, 8] explain why it may be possible to replace a crude logarithm of the number of candidates by a multiscale complexity. Consequently, neither stratification nor chaining is claimed to be new here. The goal is to give a self-contained and precisely scoped concentration argument for documentary coverage contrasts, including all the conditioning, sampling, and calibration steps needed to turn the inequality into a valid postselection regret certificate.

Our results are the following. First, we derive a conditional, variance-sensitive Bernstein bound for increments of the empirical coverage process (Lemma 1). Second, a pre-audit multiscale representation yields a simultaneous pathwise bound for all retained competitors (Theorem 1). Third, the variance factors can be replaced by simultaneous empirical upper confidence bounds (Theorem 2). Fourth, a separate estimate of the unknown context proportions yields an unconditional confidence certificate for reduced-universe regret (Theorem 4); we also give a complementary pooled Bennett formulation (Proposition 4). Finally, a contraction lemma links the edge variances to both semantic redundancy and the frequency with which a swapped fragment is actually responsible for coverage (Lemma 5); Corollary 4 provides an explicit condition for a two-level improvement over a direct union bound. Two complementary refinements are proved: an edgewise allocation of confidence error, which controls each distinct edge only once (Proposition 3), and a one-stage empirical-Bernstein network bound that does not require preliminary variance calibration (Theorem 3). A finite-sample rare-query example (Proposition 5) explains why empirical profile agreement cannot certify uniform approximation envelopes.

A simulation study (§ 10) confirms the validity of all certificates at the nominal level and compares their sizes; it shows when variance calibration and the multiscale network pay off, and that the latter requires certified redundancy envelopes.

The reader should distinguish validity, which is established under specified assumptions, from efficiency, which depends on the geometry of the competitors and on the audit design.

Statistical model, selection problem, and notation

Query population and document selection

Let (Q,Q)(Q,\mathcal{Q}) be a measurable query space. Let QQ have an arbitrary and unknown probability distribution PP on this space. The set of available documentary fragments is the finite nonempty set A={1,…,K}\mathcal{A} = \{1,\ldots,K\}, with deterministic costs cj>0c_j > 0. For a budget B≥0B \ge0, define the feasible selection family

HB={S⊆A:∑j∈Scj≤B}.(1)\mathcal{H}_B = \left\{S \subseteq\mathcal{A} : \sum_{j \in S} c_j \le B\right\}. \tag*{(1)}

The empty set is feasible and is assigned zero coverage. A relevance function rj:Q→[0,1]r_j : \mathcal{Q} \to[0,1] is associated with each fragment. Unless stated otherwise, these functions are fixed, measurable and evaluated without labeling error when a query is audited. The coverage of a selection SS on query qq is

hS(q)={max⁡j∈Srj(q),S≠∅,0,S=∅,F(S)=EPhS(Q).(2)h_S(q)= \begin{cases} \max_{j\in S} r_j(q), & S\ne\varnothing,\\ 0, & S=\varnothing, \end{cases} \qquad F(S)=\mathbb{E}_P h_S(Q). \tag*{(2)}

Thus 0≤hS,F(S)≤10\le h_S,F(S)\le1.

Since HB\mathcal{H}_B is finite and nonempty, there exists at least one population maximizer. Fix any

S⋆∈arg⁡max⁡S∈HBF(S),RB(S)=F(S⋆)−F(S)∈[0,1].(3)S^\star\in\arg\max_{S\in\mathcal{H}_B}F(S),\qquad R_B(S)=F(S^\star)-F(S)\in[0,1]. \tag*{(3)}

The definition does not presume that the maximum can be calculated computationally on a large instance. It provides the statistical target.

Proposition 1 (Monotonicity and submodularity). For every fixed query qq, the set function S↦hS(q)S\mapsto h_S(q) is normalized, monotone and submodular. The population function FF possesses the same properties.

Proof. Normalization follows from h∅(q)=0h_{\varnothing}(q)=0, while monotonicity follows because a maximum cannot decrease when additional elements are included. If A⊆BA\subseteq B and j∉Bj\notin B, then

hA∪{j}(q)−hA(q)=[rj(q)−hA(q)]+≥[rj(q)−hB(q)]+=hB∪{j}(q)−hB(q),h_{A\cup\{j\}}(q)-h_A(q)=[r_j(q)-h_A(q)]_+\ge[r_j(q)-h_B(q)]_+=h_{B\cup\{j\}}(q)-h_B(q),

where [x]+=max⁡(x,0)[x]_+=\max(x,0). This is the diminishing-returns characterization of submodularity. Expectations preserve normalization, monotonicity and the displayed pointwise inequality.

Pilot selection and honest screening

We use F0\mathcal{F}_0 to denote the sigma-field generated by all pilot observations and all randomness used before the independent audit and unlabelled-proportion samples. The pilot produces a feasible selected set S^∈HB\widehat{S}\in\mathcal{H}_B and a finite (possibly random) candidate family C⊆HB\mathcal{C}\subseteq\mathcal{H}_B such that S^∈C\widehat{S}\in\mathcal{C}. Both are F0\mathcal{F}_0-measurable. The documentary contrast against a competitor T∈CT\in\mathcal{C} is

DT(q)=hT(q)−hS^(q),ΔT=EPDT(Q)=F(T)−F(S^).(4)D_T(q)=h_T(q)-h_{\widehat{S}}(q),\qquad\Delta_T=\mathbb{E}_P D_T(Q)=F(T)-F(\widehat{S}). \tag*{(4)}

Every contrast is in [−1,1][-1,1] and DS^≡0D_{\widehat{S}}\equiv0. The pilot screening guarantee, when screening is used, is

P{some S⋆∈C}≥1−αs.(5)\mathbb{P}\{\text{some }S^\star\in\mathcal{C}\}\ge1-\alpha_s. \tag*{(5)}

If C=HB\mathcal{C}=\mathcal{H}_B, this property holds deterministically and αs=0\alpha_s=0. Here and below “some” allows non-uniqueness of the population optimum. A sufficient, explicitly verifiable pilot rule is established in Proposition 2.

Proposition 2 (A conservative pilot screening rule). Assume that a fully labeled iid pilot of n0n_0 queries from PP, independent of subsequent data, is available, and let F^0(S)=n0−1∑i=1n0hS(Qi(0))\widehat{F}_0(S)=n_0^{-1}\sum_{i=1}^{n_0}h_S(Q_i^{(0)}) for all S∈HBS\in\mathcal{H}_B. For 0<αs<10<\alpha_s<1, set

r0=log⁡(2∣HB∣/αs)2n0.(6)r_0=\sqrt{\frac{\log(2|\mathcal{H}_B|/\alpha_s)}{2n_0}}. \tag*{(6)}

After choosing any pilot-measurable S^∈HB\widehat{S}\in\mathcal{H}_B, let

C={S^}∪{T∈HB:F^0(T)−F^0(S^)+2r0≥0}.(7)\mathcal{C}=\{\widehat{S}\}\cup\left\{T\in\mathcal{H}_B:\widehat{F}_0(T)-\widehat{F}_0(\widehat{S})+2r_0\ge0\right\}. \tag*{(7)}

Then (5) holds.

Proof. By Hoeffding’s inequality [6] and a union bound, with probability at least 1−αs1-\alpha_s, ∣F^0(S)−F(S)∣≤r0|\widehat{F}_0(S)-F(S)|\le r_0 simultaneously for all S∈HBS\in\mathcal{H}_B. On this event, if S⋆S^\star is a population maximizer,

F^0(S⋆)−F^0(S^)+2r0≥F(S⋆)−F(S^)≥0.\widehat{F}_0(S^\star)-\widehat{F}_0(\widehat{S})+2r_0\ge F(S^\star)-F(\widehat{S})\ge0.

Thus S⋆∈CS^\star\in C. The argument remains valid when S^\widehat{S} is chosen adaptively from the same pilot, precisely because the pilot bound is uniform.

Observable contexts and the audit design

Let X=ϕ(Q)X=\phi(Q) be an observable categorical feature, inexpensive to record, with values in S={0,…,H−1}\mathcal{S}=\{0,\ldots,H-1\}, where H≥2H\ge2 is fixed. Let πh=P(X=h)>0\pi_h=\mathbb{P}(X=h)>0 and Ph(⋅)=P(Q∈⋅∣X=h)P_h(\cdot)=\mathbb{P}(Q\in\cdot\mid X=h). Both πh\pi_h and PhP_h are unknown. We distinguish an unlabelled sample, used to estimate the population proportions, from the labeled audit sample.

Assumption 1 (Independent unlabelled queries). The queries Q1(u),…,QNu(u)Q_1^{(u)},\ldots,Q_{N_u}^{(u)} are, conditionally on F0\mathcal{F}_0, iid from PP and independent of the queries and relevance labels used for audit. The empirical proportions

π^h=1Nu∑i=1Nu1{ϕ(Qi(u))=h}\widehat{\pi}_h=\frac{1}{N_u}\sum_{i=1}^{N_u}\mathbf{1}\{\phi(Q_i^{(u)})=h\}

are observed, Nu≥1N_u\ge1. The multiscale networks and acquisition policy may use this unlabelled sample, but may not use audit relevance labels.

Assumption 2 (Stratified, label-ignorable audit). Conditionally on the pilot, the unlabelled sample, and the labeled counts nh≥2n_h\ge2, the acquired audit queries Qh,1,…,Qh,nhQ_{h,1},\ldots,Q_{h,n_h} are iid from PhP_h within each stratum, and the collections are mutually independent across strata. The counts and the mechanism that chooses them contain no information about the unobserved relevance values beyond the contexts. All relevance values needed to calculate hT(Qh,i)h_T(Q_{h,i}), T∈CT\in C, are observed for an acquired query.

An important implementation satisfying Assumption 2 starts with fresh iid queries, observes XX, and acquires full relevance labels with probability ph∈(0,1]p_h\in(0,1] in stratum hh, where php_h is learned before audit and is constant within the stratum. Conditional on the resulting stratum counts (and the design information), the selected queries have the required conditional law. A design based on a new feature within an existing stratum does not generally satisfy this assumption; its selection bias must be addressed separately, for example through known-propensity estimators as in Dudík et al. [5].

The sample size nhn_h may be random. Every assertion below is conditional on the pre-audit information and on the observed admissible counts, and therefore remains valid after averaging over their joint distribution. If some nh<2n_h<2, our empirical-variance formulas are not used and the trivial regret upper bound 11 can be returned.

Conditional and population coverage contrasts

For every T∈CT\in C, write

μh,T=E[DT(Q)∣X=h],D‾h,T=1nh∑i=1nhDT(Qh,i),Δ^T=∑h∈Sπ^hD‾h,T.(8)\mu_{h,T}=\mathbb{E}[D_T(Q)\mid X=h],\qquad\overline{D}_{h,T}=\frac{1}{n_h}\sum_{i=1}^{n_h}D_T(Q_{h,i}),\qquad\widehat{\Delta}_T=\sum_{h\in\mathcal{S}}\widehat{\pi}_h\overline{D}_{h,T}. \tag*{(8)}
SymbolMeaning
HB,C,S,S⋆‾\mathcal{H}_B,\mathcal{C},\overline{\mathcal{S},\mathcal{S}^{\star}}feasible, retained, selected, optimal document sets
hS,F(S),RB(S)h_S,F(S),R_B(S)query coverage, mean coverage, population regret
DT,ΔTD_T,\Delta_Tcontrast against S^\widehat{S} and its population mean
H,πh,π^h,PhH,\pi_h,\widehat{\pi}_h,P_hnumber, true/estimated weights, conditional query law
nh,Dh,T,μh,Tn_h,D_{h,T},\mu_{h,T}audited count, sample/conditional contrast means
ZTZ_Tweighted, centered audit error
Nℓ,Πℓ,Eℓ\mathcal{N}_{\ell},\Pi_{\ell},\mathcal{E}_{\ell}networks, parent maps, distinct comparison edges
d2,d∞d_2,d_{\infty}conditional variance and range semimetrics
v‾e,be\overline{v}_e,b_evalid observable variance/range upper bounds
αs,αa,αv,απ,αg\alpha_s,\alpha_a,\alpha_v,\alpha_{\pi},\alpha_gerror budgets for screening, audit, variance, weights, means
αB,αv′,αact,αrep\alpha_B,\alpha'_v,\alpha_{\mathrm{act}},\alpha_{\mathrm{rep}}budgets for Bennett, its variances, activity, representation

Table 1. Main notation. All candidate-dependent objects may be random through pre-audit pilot information.

The population contrast decomposes as ΔT=∑hπhμh,T\Delta_T=\sum_h\pi_h\mu_{h,T}. The centered weighted audit process is

ZT=∑h∈Sπ^h(μh,T−D‾h,T),ZS^=0.(9)Z_T=\sum_{h\in\mathcal{S}}\widehat{\pi}_h(\mu_{h,T}-\overline{D}_{h,T}),\qquad Z_{\widehat{S}}=0. \tag*{(9)}

The symbols Δ^T\widehat{\Delta}_T and ZTZ_T will not be confused: the former is observable, while the latter contains unknown conditional means and is used only in the analysis.

A local Bernstein inequality for documentary increments

For document selections U,VU,V, let

GU,V(q)=hU(q)−hV(q)∈[−1,1].(10)G_{U,V}(q)=h_U(q)-h_V(q)\in[-1,1]. \tag*{(10)}

We identify the directed edge e=(U,V)e=(U,V) with Ge=GU,VG_e=G_{U,V}. For h∈Sh\in\mathcal{S}, denote

vh,e=Var⁡(Ge(Q)∣X=h),osc⁡h(Ge)=ess sup⁡PhGe−ess inf⁡PhGe.v_{h,e}=\operatorname{Var}(G_e(Q)\mid X=h),\qquad\operatorname{osc}_h(G_e)=\underset{P_h}{\operatorname{ess\,sup}}G_e-\underset{P_h}{\operatorname{ess\,inf}}G_e.

The latter is an essential range, hence is at most 2, while 0≤vh,e≤10\leq v_{h,e}\leq1. Condition on F0\mathcal{F}_0, the unlabelled observations and the counts, so that all π^h\widehat{\pi}_h, nhn_h and pre-audit edges are fixed. Define

d22(e)=∑hπ^h2nhvh,e,(11)d_2^2(e)=\sum_h\frac{\widehat{\pi}_h^2}{n_h}v_{h,e}, \tag*{(11)}
d∞(e)=max⁡hπ^hnhosc⁡h(Ge).(12)d_{\infty}(e)=\max_h\frac{\widehat{\pi}_h}{n_h}\operatorname{osc}_h(G_e). \tag*{(12)}

These are semimetrics on coverage profiles (they may vanish for distinct selections). For clarity, the square in d22d_2^2 is part of the notation.

Lemma 1 (Conditional Bernstein increment). Under Assumption 2, for every pre-audit edge e=(U,V)e=(U,V) and every t>0t>0, conditional on the pre-audit information and counts,

P{ZU−ZV>2d22(e)t+13d∞(e)t | pre-audit information, counts}≤e−t.(13)\mathbb{P}\left\{Z_U-Z_V>\sqrt{2d_2^2(e)t}+\frac{1}{3}d_{\infty}(e)t\ \middle|\ \text{pre-audit information, counts}\right\}\leq e^{-t}. \tag*{(13)}

No assumption of independence across different edges is needed.

Proof. Since DU−DV=GU,VD_U-D_V=G_{U,V}, we have

ZU−ZV=∑h∈S∑i=1nhπ^hnh(EhGe−Ge(Qh,i)).Z_U-Z_V=\sum_{h\in\mathcal{S}}\sum_{i=1}^{n_h}\frac{\widehat{\pi}_h}{n_h}\left(\mathbb{E}_hG_e-G_e(Q_{h,i})\right).

The summands are conditionally independent and centered. Their total conditional variance equals d22(e)d_2^2(e). Since EhGe\mathbb{E}_hG_e lies in the essential range of GeG_e under PhP_h, each centered summand is almost surely at most (π^h/nh)osc⁡h(Ge)≤d∞(e)(\widehat{\pi}_h/n_h)\operatorname{osc}_h(G_e)\leq d_\infty(e). By Theorem 2.10 of Boucheron et al. [2], if X1,…,XnX_1,\ldots,X_n are independent, ∑iEXi2≤v\sum_i\mathbb{E}X_i^2\leq v and ∑iE[(Xi)+q]≤q! vcq−2/2\sum_i\mathbb{E}[(X_i)_+^q]\leq q! \,v c^{q-2}/2 for all integers q≥3q\geq3, then P{∑i(Xi−EXi)≥2vt+ct}≤e−t\mathbb{P}\{\sum_i(X_i-\mathbb{E}X_i)\geq\sqrt{2vt}+ct\}\leq e^{-t} for all t>0t>0. As noted in Boucheron et al. [2], right after their Corollary 2.11, variables with Xi≤bX_i\leq b almost surely satisfy these conditions with v=∑iEXi2v=\sum_i\mathbb{E}X_i^2 and c=b/3c=b/3. Apply this to the centered summands above, for which ∑iEXi2=d22(e)\sum_i\mathbb{E}X_i^2=d_2^2(e) and b=d∞(e)b=d_\infty(e); this gives (13). If d∞(e)=0d_\infty(e)=0 or d22(e)=0d_2^2(e)=0, the summands vanish almost surely and the claim is trivial. □\square

Remark 1 (On the linear constant). The classical tail form

P{ZU−ZV≥u}≤exp⁡{−u22[d22(e)+d∞(e)u/3]},\mathbb{P}\{Z_U-Z_V\geq u\}\leq\exp\left\{-\frac{u^2}{2[d_2^2(e)+d_\infty(e)u/3]}\right\},

inequality (2.10) of Boucheron et al. [2], is usually inverted to the weaker radius 2d22(e)t+23d∞(e)t\sqrt{2d_2^2(e)t}+\frac{2}{3}d_\infty(e)t. The constant 13\frac{1}{3} in (13) comes from the sub-gamma form cited above; it is the same constant that appears in Bennett’s inequality as stated in Maurer and Pontil [10]. It is used throughout.

Remark 2 (Why the essential range still matters). Low variance alone does not eliminate the Bernstein linear term. A profile may disagree with another only on rare queries, yet a rare observation can produce a large jump. A deterministic envelope, an externally certified uniform approximation, or an explicitly valid bound on osc⁡h(Ge)\operatorname{osc}_h(G_e) is needed to shrink the linear term; numerical proximity of embeddings is not such a certificate.

A simultaneous localized multiscale inequality

Definition 1 (Pre-audit comparison network). Given C\mathcal{C} and S^\widehat{S}, fix an integer L≥1L\geq1, finite nonempty sets of document selections N0,…,NL⊆C\mathcal{N}_0,\ldots,\mathcal{N}_L\subseteq\mathcal{C} and mappings Πℓ:C→Nℓ\Pi_\ell:\mathcal{C}\to\mathcal{N}_\ell such that

N0={S^},Π0(T)=S^,ΠL(T)=Tfor every T∈C.(14)\mathcal{N}_0=\{\widehat{S}\},\quad\Pi_0(T)=\widehat{S},\quad\Pi_L(T)=T\quad\text{for every }T\in\mathcal{C}. \tag*{(14)}

The network sets and maps must be measurable with respect to the pre-audit information (which may include independent unlabelled queries). Define eℓ(T)=(Πℓ(T),Πℓ−1(T))e_\ell(T)=(\Pi_\ell(T),\Pi_{\ell-1}(T)) and let

Eℓ={eℓ(T):T∈C, Πℓ(T)≠Πℓ−1(T)},E=⋃ℓ=1LEℓ.(15)\mathcal{E}_\ell=\{e_\ell(T):T\in\mathcal{C},\ \Pi_\ell(T)\neq\Pi_{\ell-1}(T)\},\qquad\mathcal{E}=\bigcup_{\ell=1}^{L}\mathcal{E}_\ell. \tag*{(15)}

Here the sets count distinct directed edges, not paths: within a level, an edge shared by many candidates is counted once. An edge that appears at several levels is counted in each corresponding Eℓ\mathcal{E}_\ell, because the union bound in Theorem 1 is allocated level by level; Proposition 3 below avoids this repeated charge by a single union bound over distinct edges. For convenience levels with Eℓ=∅\mathcal{E}_\ell=\varnothing can be removed. We assume the displayed levels are nonempty.

The identity ZS^=0Z_{\widehat{S}}=0 gives the exact telescoping representation

ZT=∑ℓ=1L[ZΠℓ(T)−ZΠℓ−1(T)].(16)Z_T=\sum_{\ell=1}^{L}\left[Z_{\Pi_\ell(T)}-Z_{\Pi_{\ell-1}(T)}\right]. \tag*{(16)}

No probabilistic approximation is involved in this equality.

Theorem 1 (Conditional simultaneous multiscale Bernstein bound). Assume the model of Section 2. Choose numbers α1,…,αL>0\alpha_1,\ldots,\alpha_L>0 with ∑ℓ=1Lαℓ=αa<1\sum_{\ell=1}^{L}\alpha_\ell=\alpha_a<1 and let

tℓ=log⁡∣Eℓ∣αℓ.(17)t_\ell=\log\frac{|\mathcal{E}_\ell|}{\alpha_\ell}. \tag*{(17)}

Suppose that for all distinct edges e∈Ee\in\mathcal{E} there are nonnegative, possibly audit-data-dependent random variables v‾e,b‾e\overline{v}_e,\overline{b}_e such that

P{∀e∈E:d22(e)≤v‾e, d∞(e)≤b‾e | pre-audit information, counts}≥1−αv.(18)\mathbb{P}\left\{\forall e\in\mathcal{E}:d_2^2(e)\leq\overline{v}_e,\ d_\infty(e)\leq\overline{b}_e\ \middle|\ \text{pre-audit information, counts}\right\}\geq1-\alpha_v. \tag*{(18)}

Define the path-dependent radius

R(T)=∑ℓ=1L1{eℓ(T)∈Eℓ}{2v‾eℓ(T)tℓ+13b‾eℓ(T)tℓ}.(19)\mathcal{R}(T)=\sum_{\ell=1}^{L}\mathbf{1}\{e_\ell(T)\in\mathcal{E}_\ell\}\left\{\sqrt{2\overline{v}_{e_\ell(T)}t_\ell}+\frac{1}{3}\overline{b}_{e_\ell(T)}t_\ell\right\}. \tag*{(19)}

Then, conditionally on the pre-audit information and counts,

P{∀T∈C:ZT≤R(T) | pre-audit information, counts}≥1−αa−αv.(20)\mathbb{P}\left\{\forall T\in\mathcal{C}:Z_T\leq\mathcal{R}(T)\ \middle|\ \text{pre-audit information, counts}\right\}\geq1-\alpha_a-\alpha_v. \tag*{(20)}

The result remains valid when C\mathcal{C}, S^\widehat{S}, and the network are arbitrarily data-dependent through the independent pilot and unlabelled information.

Proof. For every level ℓ\ell and every e=(U,V)∈Eℓe=(U,V)\in\mathcal{E}_\ell, apply Lemma 1 with t=tℓt=t_\ell. Its one-sided failure probability is bounded by e−tℓ=αℓ/∣Eℓ∣e^{-t_\ell}=\alpha_\ell/|\mathcal{E}_\ell|. A union bound over the distinct edges in Eℓ\mathcal{E}_\ell gives failure probability at most αℓ\alpha_\ell; a second union bound over levels gives a joint event Ωa\Omega_a of probability at least 1−αa1-\alpha_a on which

ZU−ZV≤2d22(e)tℓ+13d∞(e)tℓZ_U-Z_V\leq\sqrt{2d_2^2(e)t_\ell}+\frac{1}{3}d_\infty(e)t_\ell

for every e=(U,V)∈Eℓe=(U,V)\in\mathcal{E}_\ell, ℓ=1,…,L\ell=1,\ldots,L.

On Ωa\Omega_a, use the telescoping identity (16) for each T∈CT\in\mathcal{C} and add the corresponding edge inequalities. Intersect with the calibration event in (18). The monotonicity of the square root and of the linear term permits replacement of each unknown d22(e),d∞(e)d_2^2(e),d_\infty(e) by v‾e,b‾e\overline{v}_e,\overline{b}_e without any independence assumption between Ωa\Omega_a and the calibration event. A final union bound proves (20). Conditioning is legitimate because every edge and its allocated failure probability were fixed without examining audit relevance values. □\square

Proposition 3 (A weighted, unique-edge simultaneous inequality). Let E=⋃ℓ=1LEℓ\mathcal{E}=\bigcup_{\ell=1}^{L}\mathcal{E}_\ell be the set of distinct directed edges of a pre-audit network as in Definition 1, and let 0<αa<10<\alpha_a<1. Conditionally on the pre-audit information and counts, choose weights ωe>0\omega_e>0 satisfying ∑e∈Eωe≤1\sum_{e\in\mathcal{E}}\omega_e\leq1. The weights may depend on the pilot, the unlabelled observations and the counts, but not on audit relevance labels. Put

te=log⁡1αaωe,e∈E.(21)t_e=\log\frac{1}{\alpha_a\omega_e},\qquad e\in\mathcal{E}. \tag*{(21)}

Suppose that the simultaneous edge calibration event (18) holds with conditional failure probability at most αv\alpha_v, and define

Rω(T)=∑ℓ=1L1{eℓ(T)∈Eℓ}{2vˉeℓ(T)teℓ(T)+13bˉeℓ(T)teℓ(T)}.(22)\mathcal{R}_{\omega}(T)=\sum_{\ell=1}^{L}\mathbf{1}\{e_{\ell}(T)\in\mathcal{E}_{\ell}\}\left\{\sqrt{2\bar{v}_{e_{\ell}(T)}t_{e_{\ell}(T)}}+\frac{1}{3}\bar{b}_{e_{\ell}(T)}t_{e_{\ell}(T)}\right\}. \tag*{(22)}

Then, conditionally on the pre-audit information and counts,

P{∀T∈C:ZT≤Rω(T)∣pre-audit information, counts}≥1−αa−αv.\mathbb{P}\{\forall T\in\mathcal{C}: Z_T\leq\mathcal{R}_{\omega}(T)\mid\text{pre-audit information, counts}\}\geq1-\alpha_a-\alpha_v.

The same event bounds all candidate paths, even if a directed edge appears at more than one level.

Proof. Since αaωe<1\alpha_a\omega_e<1, each tet_e is positive. For each distinct edge e=(U,V)∈Ee=(U,V)\in\mathcal{E}, apply Lemma 1 at t=tet=t_e. Its conditional failure probability is at most e−te=αaωee^{-t_e}=\alpha_a\omega_e. A single union bound over e∈Ee\in\mathcal{E} therefore has failure probability at most αa∑eωe≤αa\alpha_a\sum_e\omega_e\leq\alpha_a. On its complement every edge inequality holds, regardless of how many times that edge occurs in the telescoping paths. Intersect with the simultaneous calibration event and sum along each path exactly as in Theorem 1. No independence between these events is needed. □

Remark 3 (Uniform levels, repeated edges, and pre-audit tuning). If every edge appears at only one level, the allocation ωe=αℓ/(αa∣Eℓ∣)\omega_e=\alpha_\ell/(\alpha_a|\mathcal{E}_\ell|) for e∈Eℓe\in\mathcal{E}_\ell gives te=tℓt_e=t_\ell and recovers Theorem 1. For repeated edges, let

ωe=∑ℓ:e∈Eℓαℓαa∣Eℓ∣.\omega_e=\sum_{\ell:e\in\mathcal{E}_\ell}\frac{\alpha_\ell}{\alpha_a|\mathcal{E}_\ell|}.

These weights sum to 1, and te≤tℓt_e\leq t_\ell whenever e∈Eℓe\in\mathcal{E}_\ell. Consequently, the weighted radius is never larger than the levelwise radius (19) for this allocation, and it can be strictly smaller on paths with repeated edges. Other weights may prioritize difficult or frequently used edges, but they must be fixed without the audit relevance labels: optimizing them retrospectively from the audit is not covered by this proposition.

Remark 4 (The role of localization). The radius in (19) is pathwise localized: each TT pays only for increments along its own approximation path, and an edge with negligible variance or range contributes little. Moreover, the pilot-screened family C\mathcal{C} can be much smaller than HB\mathcal{H}_B. This does not establish a universal entropy integral or a new generic chaining inequality; the generic mixed-tail background is developed, for example, by Dirksen [4].

Observable calibration of all edge variances

Theorem 1 must not rely on oracle variances. We now provide explicit, fully observable choices of vˉe\bar{v}_e with separate statistical error control. Recall the unbiased sample variance

sn2(y1,…,yn)=1n−1∑i=1n(yi−yˉ)2.s_n^2(y_1,\ldots,y_n)=\frac{1}{n-1}\sum_{i=1}^{n}(y_i-\bar{y})^2.

Lemma 2 (Empirical Bernstein inequality for a single mean). Let Y1,…,YnY_1,\ldots,Y_n be iid in [a,b][a,b] for n≥2n\geq2 and let sn2s_n^2 be their unbiased sample variance. For 0<δ<10<\delta<1,

P{EY−Yˉ>2sn2log⁡(2/δ)n+7(b−a)log⁡(2/δ)3(n−1)}≤δ.(23)\mathbb{P}\left\{\mathbb{E}Y-\bar{Y}>\sqrt{\frac{2s_n^2\log(2/\delta)}{n}+\frac{7(b-a)\log(2/\delta)}{3(n-1)}}\right\}\leq\delta. \tag*{(23)}

The same assertion holds with Yˉ−EY\bar{Y}-\mathbb{E}Y in place of EY−Yˉ\mathbb{E}Y-\bar{Y}. Proof. For a<ba < b, apply Maurer and Pontil [10] to the rescaled observations (Yi−a)/(b−a)∈[0,1](Y_i-a)/(b-a) \in[0,1], then multiply the resulting inequality by b−ab-a. The sample variance

Vn={n(n−1)}−1∑i<j(Zi−Zj)2V_n = \{n(n-1)\}^{-1}\sum_{i<j}(Z_i-Z_j)^2

used by Maurer and Pontil [10] coincides with the unbiased sample variance sn2s_n^2, and it rescales by (b−a)2(b-a)^2. Apply the same theorem to (b−Yi)/(b−a)(b-Y_i)/(b-a) for the opposite one-sided deviation. If a=ba=b the deviations vanish identically.

Assumption 3 (Pre-audit residual predictors). For every stratum hh and every distinct edge e∈Ee \in\mathcal{E}, there is an F0\mathcal{F}_0- and/or unlabelled-sample-measurable predictor mh,e∈[−1,1]m_{h,e} \in[-1,1]. It is fixed without using the audit relevance labels.

Let

Yh,i,e=(Ge(Qh,i)−mh,e)2,Mh,e=(1+∣mh,e∣)2,Y‾h,e=1nh∑iYh,i,e,(24)Y_{h,i,e} = \left(G_e(Q_{h,i})-m_{h,e}\right)^2,\qquad M_{h,e} = \left(1+\lvert m_{h,e}\rvert\right)^2,\qquad\overline{Y}_{h,e} = \frac{1}{n_h}\sum_i Y_{h,i,e}, \tag*{(24)}

and write sY,h,e2s^2_{Y,h,e} for the sample variance of the YY’s. Since Ge∈[−1,1]G_e \in[-1,1], 0≤Yh,i,e≤Mh,e≤40 \le Y_{h,i,e} \le M_{h,e} \le4.

Lemma 3 (Uniform residual-second-moment upper bounds). Let E=∣E∣≥1E=\lvert\mathcal{E}\rvert\ge1. Set

tv=log⁡2HEαv,vh,e+=min⁡{1,Y‾h,e+2sY,h,e2tvnh+7Mh,etv3(nh−1)}.t_v = \log\frac{2HE}{\alpha_v},\qquad v^+_{h,e}=\min\left\{1,\overline{Y}_{h,e}+\sqrt{\frac{2s^2_{Y,h,e}t_v}{n_h}}+\frac{7M_{h,e}t_v}{3(n_h-1)}\right\}.

Under Assumptions 22 and 33,

P{∀h,e: vh,e≤vh,e+∣pre-audit information, counts}≥1−αv.(25)\mathbb{P}\left\{\forall h,e:\ v_{h,e}\le v^+_{h,e}\mid\text{pre-audit information, counts}\right\}\ge1-\alpha_v. \tag*{(25)}

Proof. For each fixed h,eh,e, the bias–variance decomposition gives

Eh(Ge−mh,e)2=Var⁡h(Ge)+(EhGe−mh,e)2≥vh,e.\mathbb{E}_h(G_e-m_{h,e})^2=\operatorname{Var}_h(G_e)+(\mathbb{E}_hG_e-m_{h,e})^2\ge v_{h,e}.

The predictor is fixed under the conditioning, so the residual squares are iid and bounded by Mh,eM_{h,e}. Apply the one-sided empirical Bernstein inequality of Lemma 22 (equivalently, Corollary 55 of Maurer and Pontil [10] after rescaling) with δ=αv/(HE)\delta=\alpha_v/(HE). Since log⁡(2/δ)=tv\log(2/\delta)=t_v, the displayed empirical upper expression bounds EhYh,i,e\mathbb{E}_hY_{h,i,e} except on an event of probability at most αv/(HE)\alpha_v/(HE). Union over all HEHE pairs. Finally, the separate Popoviciu bound vh,e≤(2)2/4=1v_{h,e}\le(2)^2/4=1 justifies the minimum with 11.

Theorem 2 (Observable simultaneous chaining radius). Under Assumptions 22 and 33, let bˉh,e∈[0,2]\bar b_{h,e}\in[0,2] be known pre-audit constants satisfying osc⁡h(Ge)≤bˉh,e\operatorname{osc}_h(G_e)\le\bar b_{h,e}. The universally valid choice is bˉh,e=2\bar b_{h,e}=2. Put

vˉe=∑hπ^h2nh vh,e+,bˉe=max⁡hπ^hnhbˉh,e.(26)\bar v_e=\sum_h\frac{\widehat{\pi}_h^2}{n_h}\,v^+_{h,e},\qquad\bar b_e=\max_h\frac{\widehat{\pi}_h}{n_h}\bar b_{h,e}. \tag*{(26)}

Then the radius (19) is observable from the pilot, unlabelled sample and acquired audit labels, and conclusion (20) holds with probability at least 1−αa−αv1-\alpha_a-\alpha_v.

Proof. By Lemma 33, the collection of variance bounds in (26) dominates d22(e)d_2^2(e) simultaneously with conditional probability at least 1−αv1-\alpha_v. The deterministic oscillation bounds imply d∞(e)≤bˉed_\infty(e)\le\bar b_e without additional probability loss. All requirements of Theorem 11 are satisfied.

Remark 5 (No hidden additional labeled sample). The νh,e+\nu^{+}_{h,e} may be estimated on the same audited labels used to form D‾h,T\overline{D}_{h,T}. The argument does not condition on the estimated variances; instead it intersects a Bernstein event involving the true variances with an empirical calibration event that holds simultaneously. This avoids an incorrect independence claim and does not double the annotation budget.

Remark 6 (A predictor-free alternative). Assumption 3 can be dropped at the price of a different constant. For iid observations in [a,b][a,b], inequality (3) in Theorem 10 of Maurer and Pontil [10], applied after rescaling to [0,1][0,1], gives

P{σ>sn+(b−a)2log⁡(1/δ)n−1}≤δ,\mathbb{P}\left\{\sigma>s_n+(b-a)\sqrt{\frac{2\log(1/\delta)}{n-1}}\right\}\leq\delta,

where σ2\sigma^2 is the variance and sns_n the unbiased sample standard deviation. (Their theorem is stated for EVn\sqrt{\mathbb{E}V_n}; in the iid case the expected unbiased sample variance EVn\mathbb{E}V_n equals σ2\sigma^2.) With Ge∈[−1,1]G_e\in[-1,1] and δ=αv/(HE)\delta=\alpha_v/(HE), the choice

νh,e+=min⁡{1,(sh,e+22log⁡(HE/αv)nh−1)2},\nu^{+}_{h,e}=\min\left\{1,\left(s_{h,e}+2\sqrt{\frac{2\log(HE/\alpha_v)}{n_h-1}}\right)^2\right\},

where sh,es_{h,e} is the sample standard deviation of the Ge(Qh,i)G_e(Q_{h,i}), satisfies (25) without any pre-audit predictor. Both forms have the same orders in nhn_h, namely terms of order nh−1/2n_h^{-1/2} scaled by an empirical standard deviation and terms of order nh−1n_h^{-1}. They differ in their constants and in the squared bias (EhGe−mh,e)2(\mathbb{E}_hG_e-m_{h,e})^2, which the residual form pays and the predictor-free form avoids; which one is tighter depends on the data and on the quality of the predictor.

Theorem 3 (One-stage empirical-Bernstein multiscale certificate). Assume the stratified, label-ignorable audit design (Assumption 2) and a pre-audit network as in Definition 1. For every hh and every distinct directed edge e∈Ee\in\mathcal{E}, let G‾h,e=nh−1∑i=1nhGe(Qh,i)\overline{G}_{h,e}=n_h^{-1}\sum_{i=1}^{n_h}G_e(Q_{h,i}), and let sh,e2s^2_{h,e} be the unbiased sample variance of Ge(Qh,1),…,Ge(Qh,nh)G_e(Q_{h,1}),\ldots,G_e(Q_{h,n_h}). Let b‾h,e∈[0,2]\overline{b}_{h,e}\in[0,2] be the known pre-audit constants of Theorem 2, satisfying osc⁡h(Ge)≤b‾h,e\operatorname{osc}_h(G_e)\leq\overline{b}_{h,e}. For ∑ℓαℓ=αa<1\sum_{\ell}\alpha_\ell=\alpha_a<1 set

tℓEB=log⁡2H∣Eℓ∣αℓ(27)t^{\mathrm{EB}}_{\ell}=\log\frac{2H|\mathcal{E}_{\ell}|}{\alpha_{\ell}} \tag*{(27)}

and define

REB(T)=∑ℓ=1L1{eℓ(T)∈Eℓ}∑h∈Sπ^h{2sh,eℓ(T)2tℓEBnh+7b‾h,eℓ(T)tℓEB3(nh−1)}.(28)\mathfrak{R}_{\mathrm{EB}}(T)=\sum_{\ell=1}^{L}\mathbf{1}\{e_{\ell}(T)\in\mathcal{E}_{\ell}\}\sum_{h\in\mathcal{S}}\widehat{\pi}_h\left\{\sqrt{\frac{2s^2_{h,e_{\ell}(T)}t^{\mathrm{EB}}_{\ell}}{n_h}}+\frac{7\overline{b}_{h,e_{\ell}(T)}t^{\mathrm{EB}}_{\ell}}{3(n_h-1)}\right\}. \tag*{(28)}

Then, conditionally on the pre-audit information and counts,

P{∀T∈C:ZT≤REB(T)∣pre-audit information, counts}≥1−αa.(29)\mathbb{P}\left\{\forall T\in\mathcal{C}: Z_T\leq\mathfrak{R}_{\mathrm{EB}}(T)\mid\text{pre-audit information, counts}\right\}\geq1-\alpha_a. \tag*{(29)}

In particular, this certificate requires neither pre-audit residual predictors (Assumption 3) nor the separate calibration budget αv\alpha_v.

Proof. Condition on the pre-audit information and counts, so that the π^h\widehat{\pi}_h are fixed and, for each hh and ee, the values Ge(Qh,i)G_e(Q_{h,i}) are iid. They lie almost surely in the interval between the essential infimum and supremum of GeG_e under PhP_h, whose length is osc⁡h(Ge)≤b‾h,e\operatorname{osc}_h(G_e)\leq\overline{b}_{h,e}. The endpoints need to be known, since the bound of Lemma 2 depends on the interval only through its length and is nondecreasing in it. For each level ℓ\ell, edge e∈Eℓe \in E_\ell and stratum hh, apply Lemma 2 with δ=αℓ/(H∣Eℓ∣)\delta= \alpha_\ell/(H|E_\ell|), so that log⁡(2/δ)=tℓEB\log(2/\delta) = t_\ell^{\mathrm{EB}}. This yields

EhGe−G‾h,e≤2sh,e2tℓEBnh+7b‾h,etℓEB3(nh−1).\mathbb{E}_hG_e-\overline{G}_{h,e}\leq\sqrt{\frac{2s_{h,e}^2t_\ell^{\mathrm{EB}}}{n_h}}+\frac{7\overline{b}_{h,e}t_\ell^{\mathrm{EB}}}{3(n_h-1)}.

outside an event whose conditional probability does not exceed αℓ/(H∣Eℓ∣)\alpha_\ell/(H|E_\ell|). A union bound over the H∣Eℓ∣H|E_\ell| stratum–edge pairs at level ℓ\ell, and then over levels, gives a single event with probability at least 1−αa1-\alpha_a. For e=(U,V)e=(U,V) we have

ZU−ZV=∑hπ^h(EhGe−G‾h,e).Z_U-Z_V=\sum_h\widehat{\pi}_h(\mathbb{E}_hG_e-\overline{G}_{h,e}).

On the event just described, multiply each stratum-specific bound by π^h≥0\widehat{\pi}_h\geq0, sum over strata, and telescope along every candidate path as in (16). The result is (29).

Remark 7 (No unconditional dominance). The single-stage radius (28) dispenses with αv\alpha_v, but it sums stratumwise deviations and pays the larger empirical-Bernstein linear constant 7/37/3. The calibrated Bernstein radius of Theorem 2 instead pools the variances before applying the square root, but it pays the predictor bias and the split of αv\alpha_v. Neither is uniformly smaller. Both should be computed as baselines under comparable confidence and annotation budgets. If the final reported certificate is selected as the minimum of two post-audit certificates, their failure probabilities must first be jointly budgeted (or the choice between them must have been fixed without audit labels); taking their minimum at their individual nominal failure levels does not generally preserve those levels.

Unknown stratum probabilities and certified regret

Fix stratum 00 as a reference and write, for any T∈CT\in\mathcal{C},

ΔT−Δ^T=ZT+∑h(πh−π^h)μh,T=ZT+∑h=1H−1(πh−π^h)(μh,T−μ0,T).(30)\begin{aligned} \Delta_T-\widehat{\Delta}_T&=Z_T+\sum_h(\pi_h-\widehat{\pi}_h)\mu_{h,T}\\ &=Z_T+\sum_{h=1}^{H-1}(\pi_h-\widehat{\pi}_h)(\mu_{h,T}-\mu_{0,T}). \tag*{(30)} \end{aligned}

The second identity exploits ∑h(πh−π^h)=0\sum_h(\pi_h-\widehat{\pi}_h)=0 and is useful: the cost of estimating the population weights is small when the contrasts, not necessarily the coverage levels, are similar between strata. Let J=∣C∣−1J=|\mathcal{C}|-1 be the number of nontrivial competitors, and suppose J≥1J\geq1 (the case J=0J=0 is handled below). Let

ϵπ=log⁡(2(H−1)/απ)2Nu.(31)\epsilon_\pi=\sqrt{\frac{\log(2(H-1)/\alpha_\pi)}{2N_u}}. \tag*{(31)}

For each h,Th,T denote by sh,T2s_{h,T}^2 the sample variance of the DT(Qh,i)D_T(Q_{h,i}), and define

tg=log⁡4HJαg,rh,T=2sh,T2tgnh+14tg3(nh−1).(32)t_g=\log\frac{4HJ}{\alpha_g},\qquad r_{h,T}=\sqrt{\frac{2s_{h,T}^2t_g}{n_h}+\frac{14t_g}{3(n_h-1)}}. \tag*{(32)}

and, for h=1,…,H−1h=1,\ldots,H-1, the observable factor

ρh,T=min⁡{2,∣D‾h,T−D‾0,T∣+rh,T+r0,T}.(33)\rho_{h,T}=\min\left\{2,\left|\overline{D}_{h,T}-\overline{D}_{0,T}\right|+r_{h,T}+r_{0,T}\right\}. \tag*{(33)}

The level tg=log⁡(4HJ/αg)t_g=\log(4HJ/\alpha_g) is calibrated exactly: each of the 2HJ2HJ one-sided statements used below is applied with δ=αg/(2HJ)\delta=\alpha_g/(2HJ), so that log⁡(2/δ)=tg\log(2/\delta)=t_g. No independence between these events and the chaining event is assumed. For T=S^T=\widehat{S} one has μh,S^=D‾h,S^=0\mu_{h,\widehat{S}}=\overline{D}_{h,\widehat{S}}=0 deterministically, so no probability is spent on S^\widehat{S}.

Lemma 4 (Uncertainty in unknown context proportions). Under Assumptions 1 and 2, with probability at least 1−απ−αg1-\alpha_\pi-\alpha_g, simultaneously for all T∈CT\in\mathcal{C},

∣∑h(πh−π^h)μh,T∣≤ϵπ∑h=1H−1ρh,T.(34)\left|\sum_h(\pi_h-\widehat{\pi}_h)\mu_{h,T}\right|\leq\epsilon_\pi\sum_{h=1}^{H-1}\rho_{h,T}. \tag*{(34)}

Proof. For each h=1,…,H−1h=1,\ldots,H-1, Hoeffding’s inequality, applied to the Bernoulli indicators 1{ϕ(Qi(u))=h}\mathbf{1}\{\phi(Q_i^{(u)})=h\}, gives

P{∣π^h−πh∣>ϵπ}≤2exp⁡(−2Nuϵπ2)=απ/(H−1).\mathbb{P}\left\{|\widehat{\pi}_h-\pi_h|>\epsilon_\pi\right\}\leq2\exp(-2N_u\epsilon_\pi^2)=\alpha_\pi/(H-1).

Union over the H−1H-1 nonreference strata yields the simultaneous proportion event with probability at least 1−απ1-\alpha_\pi.

Every DTD_T takes values in [−1,1][-1,1]. Apply Lemma 2 in both directions, with range 2 and δ=αg/(2HJ)\delta=\alpha_g/(2HJ) for each tail, and take a union bound over the 2HJ2HJ one-sided statements for the JJ nontrivial competitors. This gives ∣μh,T−D‾h,T∣≤rh,T|\mu_{h,T}-\overline{D}_{h,T}|\leq r_{h,T} for every hh and every T∈C∖{S^}T\in\mathcal{C}\setminus\{\widehat{S}\}, except with probability at most αg\alpha_g; for T=S^T=\widehat{S} the inequality is trivial. Now use (30), bound ∣πh−π^h∣≤ϵπ|\pi_h-\widehat{\pi}_h|\leq\epsilon_\pi, and insert

∣μh,T−μ0,T∣≤min⁡{2,∣D‾h,T−D‾0,T∣+rh,T+r0,T}=ρh,T,|\mu_{h,T}-\mu_{0,T}|\leq\min\left\{2,\left|\overline{D}_{h,T}-\overline{D}_{0,T}\right|+r_{h,T}+r_{0,T}\right\}=\rho_{h,T},

where the bound 2 holds deterministically because μh,T∈[−1,1]\mu_{h,T}\in[-1,1]. Intersection of the two events and a union bound prove the assertion.

Remark 8 (Where the cardinality of C\mathcal{C} re-enters). Because ρh,T≤2\rho_{h,T}\leq2, the weight correction never exceeds 2(H−1)ϵπ2(H-1)\epsilon_\pi. This crude level holds on the proportion event alone, does not depend on ∣C∣|\mathcal{C}|, and requires no mean intervals: if one sets ρh,T≡2\rho_{h,T}\equiv2, Lemma 4 holds with probability at least 1−απ1-\alpha_\pi and αg=0\alpha_g=0 may be used in Theorem 4. The empirical refinement through rh,Tr_{h,T}, in contrast, relies on a flat union bound over the JJ competitors, so a factor log⁡J\log J re-enters the certificate through tgt_g, multiplied by ϵπ\epsilon_\pi. The localization of Theorem 1 therefore concerns the audit fluctuation ZTZ_T; the weight-estimation term is controlled only through the factor ϵπ\epsilon_\pi, of order Nu−1/2N_u^{-1/2}, which is small when the unlabelled sample is large.

Define for every T∈C∖{S^}T\in\mathcal{C}\setminus\{\widehat{S}\}

UT=Δ^T+R(T)+ϵπ∑h=1H−1ρh,T,(35)U_T=\widehat{\Delta}_T+\mathfrak{R}(T)+\epsilon_\pi\sum_{h=1}^{H-1}\rho_{h,T}, \tag*{(35)}

and set US^:=0U_{\widehat{S}}:=0. The latter convention does not follow from (35), whose terms need not vanish at T=S^T=\widehat{S} (the path of S^\widehat{S} in the network may pass through other nodes, and ρh,S^>0\rho_{h,\widehat{S}}>0); it is legitimate because Δ^S^=0\widehat{\Delta}_{\widehat{S}}=0 deterministically, so no confidence statement is required for S^\widehat{S}. Let

R‾red=min⁡{1,max⁡{0,max⁡T∈CUT}}.(36)\overline{R}_{\mathrm{red}}=\min\left\{1,\max\left\{0,\max_{T\in\mathcal{C}}U_T\right\}\right\}. \tag*{(36)}

Theorem 4 (Honest postselection regret certificate). Let Assumptions 1, 2, and 3 hold. Suppose the pilot screening event (5) has probability at least 1−αs1-\alpha_s. Construct the pre-audit networks as in Definition 1, use the observable edge radius from Theorem 2, and form (35)–(36). If

αs+αa+αv+απ+αg≤α<1,\alpha_s+\alpha_a+\alpha_v+\alpha_\pi+\alpha_g\le\alpha<1,

then

P{RB(S^)≤R‾red}≥1−α.(37)\mathbb{P}\{R_B(\widehat{S})\le\overline{R}_{\mathrm{red}}\}\ge1-\alpha. \tag*{(37)}

If C={S^}C=\{\widehat{S}\}, define R‾red=0\overline{R}_{\mathrm{red}}=0; the statement remains valid. The distribution PP and the proportions πh\pi_h need not be known or parametrically specified.

Proof. By Theorem 2 and Lemma 4, with probability at least 1−αa−αv−απ−αg1-\alpha_a-\alpha_v-\alpha_\pi-\alpha_g, we have for every T∈C∖{S^}T\in C\setminus\{\widehat{S}\},

ΔT=Δ^T+ZT+∑h(πh−π^h)μh,T≤UT,\Delta_T=\widehat{\Delta}_T+Z_T+\sum_h(\pi_h-\widehat{\pi}_h)\mu_{h,T}\le U_T,

while ΔS^=0=US^\Delta_{\widehat{S}}=0=U_{\widehat{S}} holds deterministically. This simultaneous event is valid even though S^\widehat{S}, CC and the network were learned from the pilot, since the relevant concentration statements hold conditionally on the pre-audit information and counts. On the screening event, some population maximizer S⋆∈CS^\star\in C. Consequently,

RB(S^)=F(S⋆)−F(S^)=ΔS⋆≤US⋆≤max⁡T∈CUT.R_B(\widehat{S})=F(S^\star)-F(\widehat{S})=\Delta_{S^\star}\le U_{S^\star}\le\max_{T\in C}U_T.

Because 0≤RB(S^)≤10\le R_B(\widehat{S})\le1, truncation at 0 and 1 is harmless. The union bound with the screening failure probability proves the result. If C={S^}C=\{\widehat{S}\}, the screening event implies that S^\widehat{S} itself is optimal, hence its regret is zero; off the screening event no assertion is made.

Corollary 1 (Postselection certification without variance calibration). Let Assumptions 1 and 2 hold, let the pilot screening event (5) has probability at least 1−αs1-\alpha_s, and let the pre-audit networks be constructed as in Definition 1. For T∈C∖{S^}T\in C\setminus\{\widehat{S}\} put

UTEB=Δ^T+REB(T)+eπ∑h=1H−1ρh,T,U_T^{\mathrm{EB}}=\widehat{\Delta}_T+\mathfrak{R}_{\mathrm{EB}}(T)+e_\pi\sum_{h=1}^{H-1}\rho_{h,T},

with REB\mathfrak{R}_{\mathrm{EB}} from (28), and set US^EB:=0U_{\widehat{S}}^{\mathrm{EB}}:=0, which is legitimate because ΔS^=0\Delta_{\widehat{S}}=0. Define R‾EB=min⁡{1,max⁡(0,max⁡T∈CUTEB)}\overline{R}_{\mathrm{EB}}=\min\{1,\max(0,\max_{T\in C}U_T^{\mathrm{EB}})\}, with the same singleton convention as in Theorem 4. If αs+αa+απ+αg≤α<1\alpha_s+\alpha_a+\alpha_\pi+\alpha_g\le\alpha<1, then

P{RB(S^)≤R‾EB}≥1−α.\mathbb{P}\{R_B(\widehat{S})\le\overline{R}_{\mathrm{EB}}\}\ge1-\alpha.

No assumption on pre-audit residual predictors is needed.

Proof. Intersect the simultaneous event of Theorem 3 with the proportion and mean calibration events of Lemma 4, which uses only Assumptions 1 and 2, and with the screening event. On this intersection, identity (30) gives ΔT≤UTEB\Delta_T\le U_T^{\mathrm{EB}} for every T∈CT\in C; then argue over a screened population optimum exactly as in the proof of Theorem 4. The total failure probability is bounded by αs+αa+απ+αg\alpha_s+\alpha_a+\alpha_\pi+\alpha_g.

Corollary 2 (Reduced universe versus original corpus). Suppose the original corpus contains a larger finite feasible family HBfull⊇HB\mathcal{H}^{\mathrm{full}}_{B} \supseteq\mathcal{H}_{B} with optimal expected coverage VBfull=max⁡S∈HBfullF(S)V^{\mathrm{full}}_{B} = \max_{S \in\mathcal{H}^{\mathrm{full}}_{B}} F(S). If, with probability at least 1−αrep1-\alpha_{\mathrm{rep}},

0≤VBfull−max⁡S∈HBF(S)≤ρ‾rep,0 \le V^{\mathrm{full}}_{B} - \max_{S \in\mathcal{H}_{B}} F(S) \le\overline{\rho}_{\mathrm{rep}},

then

P{VBfull−F(S^)≤ρ‾rep+R‾red}≥1−α−αrep.\mathbb{P}\left\{V^{\mathrm{full}}_{B} - F(\widehat{S}) \le\overline{\rho}_{\mathrm{rep}} + \overline{R}_{\mathrm{red}}\right\} \ge1-\alpha-\alpha_{\mathrm{rep}}.

Proof. Decompose VBfull−F(S^)=[VBfull−max⁡S∈HBF(S)]+RB(S^)V^{\mathrm{full}}_{B} - F(\widehat{S}) = [V^{\mathrm{full}}_{B} - \max_{S \in\mathcal{H}_{B}} F(S)] + R_{B}(\widehat{S}) and intersect the two coverage events.

Corollary 3 (Uniformly bounded relevance errors). Suppose the audit measures functions r~j:Q→[0,1]\widetilde{r}_{j}: \mathcal{Q} \to[0,1] satisfying the deterministic uniform calibration condition sup⁡q,j∣r~j(q)−rj(q)∣≤η\sup_{q,j}|\widetilde{r}_{j}(q)-r_{j}(q)| \le\eta, and all hypotheses of Theorem 4 hold for the induced measured coverages h~S\widetilde{h}_{S} on the same pre-audit family C\mathcal{C}. Let U~T\widetilde{U}_{T} be their simultaneous contrast bounds and assume the true-population screening event (5) has probability at least 1−αs1-\alpha_{s} (Remark 9 gives a sufficient rule). Then the true reduced regret is bounded by

RB(S^)≤min⁡{1,max⁡(0,max⁡T∈CU~T+2η)}.R_{B}(\widehat{S}) \le\min\left\{1,\max\left(0,\max_{T \in\mathcal{C}}\widetilde{U}_{T}+2\eta\right)\right\}.

with the same joint confidence level as in Theorem 4.

Proof. The map (xj)j∈S↦max⁡j∈Sxj(x_j)_{j \in S} \mapsto\max_{j \in S} x_j is 1-Lipschitz under the supremum norm. Thus ∣hS(q)−h~S(q)∣≤η|h_{S}(q)-\widetilde{h}_{S}(q)| \le\eta for every SS and qq, so ∣ΔT−Δ~T∣≤2η|\Delta_{T}-\widetilde{\Delta}_{T}| \le2\eta for all TT. On the simultaneous measured-contrast event and the true screening event, RB(S^)=ΔS⋆≤U~S⋆+2ηR_{B}(\widehat{S}) = \Delta_{S^\star} \le\widetilde{U}_{S^\star}+2\eta. Truncation to [0,1][0,1] completes the proof.

Remark 9 (Screening with measured pilot labels). Corollary 3 requires the screening event for the true population. If the pilot of Proposition 2 is itself labeled with the measured functions r~j\widetilde{r}_{j}, its uniform Hoeffding event controls ∣F^0(S)−F~(S)∣|\widehat{F}_{0}(S)-\widetilde{F}(S)|, where F~(S)=EPh~S(Q)\widetilde{F}(S)=\mathbb{E}_{P}\widetilde{h}_{S}(Q) and ∣F~(S)−F(S)∣≤η|\widetilde{F}(S)-F(S)| \le\eta. On that event, F^0(S⋆)−F^0(S^)+2r0≥F(S⋆)−F(S^)−2η≥−2η\widehat{F}_{0}(S^\star)-\widehat{F}_{0}(\widehat{S})+2r_{0} \ge F(S^\star)-F(\widehat{S})-2\eta\ge-2\eta. Hence the rule (7) must be widened to F^0(T)−F^0(S^)+2r0+2η≥0\widehat{F}_{0}(T)-\widehat{F}_{0}(\widehat{S})+2r_{0}+2\eta\ge0; with this change the true-population screening event again has probability at least 1−αs1-\alpha_{s}.

A complementary pooled stratified Bennett certificate

Before using the full multiscale construction, one may combine the conditional stratum fluctuations using a single exponential tilt. The result is included for completeness and as a benchmark, not claimed to be an original concentration inequality.

For each candidate T∈CT \in\mathcal{C}, denote σh,T2=Var⁡(DT(Q)∣X=h)\sigma^{2}_{h,T}=\operatorname{Var}(D_{T}(Q)\mid X=h). In the formulas below take J=∣C∣−1≥1J=|\mathcal{C}|-1 \ge1. For every hh and every T∈C∖{S^}T \in\mathcal{C}\setminus\{\widehat{S}\}, use a pre-audit predictor mh,T∈[−1,1]m_{h,T}\in[-1,1] satisfying the analogue of Assumption 3, and replace GϵG_{\epsilon} by DTD_{T} in the construction of Lemma 3. The union bound now runs over the HJHJ pairs (h,T)(h,T), so tνt_{\nu} is replaced by tν′=log⁡(2HJ/αν′)t'_{\nu}=\log(2HJ/\alpha'_{\nu}). This gives simultaneous empirical upper bounds vh,T+≥σh,T2v^{+}_{h,T}\ge\sigma^{2}_{h,T} with failure probability at most αν′\alpha'_{\nu}. The budget αν′\alpha'_{\nu} is distinct from the budget αν\alpha_{\nu} of Lemma 3; both must be paid if both certificates are reported. Set

wh=π^h,βh=2whnh,KT+(λ)=∑h∈Snhvh,T+4(eλβh−1−λβh).(38)w_{h}=\widehat{\pi}_{h},\qquad\beta_{h}=\frac{2w_{h}}{n_{h}},\qquad\mathcal{K}^{+}_{T}(\lambda)=\sum_{h\in\mathcal{S}}\frac{n_{h}v^{+}_{h,T}}{4}\left(e^{\lambda\beta_{h}}-1-\lambda\beta_{h}\right). \tag*{(38)}

If wh=0w_h = 0, the corresponding summand is defined to be zero.

Proposition 4 (Pooled Bennett bound with certified residual moments). Assume the model of § 2 and let every λT>0\lambda_T > 0 be fixed conditionally on the pre-audit information and the audit stratum counts, without using audit relevance values. Then, with probability at least 1−αB−αv′1 - \alpha_B - \alpha'_v, simultaneously for all T∈C∖{S^}T \in\mathcal{C} \setminus\{\widehat{S}\},

ZT≤BT:=log⁡(J/αB)+KT+(λT)λT.(39)Z_T \le B_T := \frac{\log(J/\alpha_B) + \mathcal{K}^{+}_T(\lambda_T)}{\lambda_T}. \tag*{(39)}

Combining this with Lemma 4 and pilot screening provides an alternative population-regret certificate

R‾Ben=min⁡{1,max⁡{0,max⁡T∈C[Δ^T+BT+ϵπ∑h=1H−1ρh,T]}},(40)\overline{R}_{\mathrm{Ben}} = \min\left\{1,\max\left\{0,\max_{T\in\mathcal{C}}\left[\widehat{\Delta}_T+B_T+\epsilon_\pi\sum_{h=1}^{H-1}\rho_{h,T}\right]\right\}\right\}, \tag*{(40)}

with coverage at least 1−αs−αB−αv′−απ−αg1-\alpha_s-\alpha_B-\alpha'_v-\alpha_\pi-\alpha_g. The bracket for T=S^T=\widehat{S} is replaced by 00, which is legitimate because Δ^S^=0\widehat{\Delta}_{\widehat{S}}=0; if J=0J=0, the certificate is zero on the screening event.

Proof. Condition on the pilot, the independent unlabelled sample and the stratum counts. For each TT, define the centered summands

Yh,i,T=whnh(μh,T−DT(Qh,i)).Y_{h,i,T}=\frac{w_h}{n_h}\left(\mu_{h,T}-D_T(Q_{h,i})\right).

Their sum equals ZTZ_T, their variances are (wh/nh)2σh,T2(w_h/n_h)^2\sigma^2_{h,T}, and, since μh,T−DT≤2\mu_{h,T}-D_T\le2, they are almost surely at most βh\beta_h. Bennett’s moment-generating-function bound ([2 Theorem 2.9]), applied with n=1n=1 to a single centered random variable Y≤βY\le\beta (so that EY2\mathbb{E}Y^2 is its variance vv), gives

log⁡EeλY≤vβ2(eλβ−1−λβ)(β>0, λ>0).\log\mathbb{E}e^{\lambda Y}\le\frac{v}{\beta^2}(e^{\lambda\beta}-1-\lambda\beta)\qquad(\beta>0,\ \lambda>0).

Summing conditional cumulant bounds across the independent queries, we obtain

log⁡E[eλZT∣pre-audit information, counts]≤∑hnhσh,T24(eλβh−1−λβh).\log\mathbb{E}[e^{\lambda Z_T}\mid\text{pre-audit information, counts}] \le\sum_h\frac{n_h\sigma^2_{h,T}}{4}(e^{\lambda\beta_h}-1-\lambda\beta_h).

When βh=0\beta_h=0 the variables vanish, so their contribution is zero. Applying Markov’s inequality with the fixed λT\lambda_T to the event

ZT>log⁡(J/αB)+∑hnhσh,T24(eλTβh−1−λTβh)λT.Z_T>\frac{\log(J/\alpha_B)+\sum_h\frac{n_h\sigma^2_{h,T}}{4}(e^{\lambda_T\beta_h}-1-\lambda_T\beta_h)}{\lambda_T}.

The conditional probability is at most αB/J\alpha_B/J. A union bound over the JJ nontrivial competitors yields an event of probability at least 1−αB1-\alpha_B on which all those inequalities hold. Intersect this event with the simultaneous residual-moment event of probability at least 1−αv′1-\alpha'_v, and replace σh,T2\sigma^2_{h,T} by υh,T\upsilon_{h,T} using the monotonicity of the exponential cumulant for λT>0\lambda_T>0. This gives (39). The decomposition (30), Lemma 4, and the screening argument used in Theorem 4 complete the proof of (40) and its stated coverage probability. □

Remark 10 (Data-dependent exponential tilting). Optimizing λT\lambda_T after seeing the audit labels is not justified by Proposition 4: a fixed-λ\lambda Markov inequality is not automatically uniform in λ\lambda. A grid with an explicitly allocated union bound or a time-uniform mixture construction would be needed for such an optimization. The same caution applies to choosing a multiscale network on the audit labels without additional sample splitting or a uniform complexity argument.

Documentary activity and structural contraction

The concentration theory above is valid for arbitrary bounded coverage functions. We now exploit the particular maximum structure in (2). For a nonempty set RR, write

aR(q)=max⁡g∈Rrg(q),a∅(q)=0.a_R(q)=\max_{g\in R} r_g(q),\qquad a_{\varnothing}(q)=0.

Lemma 5 (Single-fragment swap and activity). Let j,k∉Rj,k\notin R, let S=R∪{j}S=R\cup\{j\}, T=R∪{k}T=R\cup\{k\}, and suppose sup⁡q∈Q∣rj(q)−rk(q)∣≤ε\sup_{q\in\mathcal{Q}}|r_j(q)-r_k(q)|\le\varepsilon. Define the activity event

Aj,k,R(q)=1{max⁡(rj(q),rk(q))>aR(q)},(41)A_{j,k,R}(q)=\mathbf{1}\{\max(r_j(q),r_k(q))>a_R(q)\}, \tag*{(41)}

and ah=P{Aj,k,R(Q)=1∣X=h}a_h=\mathbb{P}\{A_{j,k,R}(Q)=1\mid X=h\}. Then for every qq,

∣hS(q)−hT(q)∣≤εAj,k,R(q),(42)|h_S(q)-h_T(q)|\le\varepsilon A_{j,k,R}(q), \tag*{(42)}

and, for every stratum hh,

Var⁡(hS(Q)−hT(Q)∣X=h)≤ε2ah,osc⁡h(hS−hT)≤2ε.(43)\operatorname{Var}(h_S(Q)-h_T(Q)\mid X=h)\le\varepsilon^2a_h,\qquad\operatorname{osc}_h(h_S-h_T)\le2\varepsilon. \tag*{(43)}

Consequently the edge e=(S,T)e=(S,T) obeys

d22(e)≤ε2∑hπ^h2nhah,d∞(e)≤2εmax⁡hπ^hnh.(44)d_2^2(e)\le\varepsilon^2\sum_h\frac{\widehat{\pi}_h^2}{n_h}a_h,\qquad d_\infty(e)\le2\varepsilon\max_h\frac{\widehat{\pi}_h}{n_h}. \tag*{(44)}

Proof. For every a≥0a\ge0, the scalar map u↦max⁡(a,u)u\mapsto\max(a,u) is 1-Lipschitz. Therefore

∣hS(q)−hT(q)∣=∣max⁡(aR(q),rj(q))−max⁡(aR(q),rk(q))∣≤∣rj(q)−rk(q)∣≤ε.|h_S(q)-h_T(q)|=|\max(a_R(q),r_j(q))-\max(a_R(q),r_k(q))|\le|r_j(q)-r_k(q)|\le\varepsilon.

When Aj,k,R(q)=0A_{j,k,R}(q)=0, both rj(q)r_j(q) and rk(q)r_k(q) are at most aR(q)a_R(q), and the two coverages are identical. Combining the observations proves (42). Squaring and taking conditional expectations gives

Var⁡h(hS−hT)≤Eh(hS−hT)2≤ε2EhAj,k,R=ε2ah.\operatorname{Var}_h(h_S-h_T)\le\mathbb{E}_h(h_S-h_T)^2\le\varepsilon^2\mathbb{E}_hA_{j,k,R}=\varepsilon^2a_h.

The range inequality follows because the difference is in [−ε,ε][-\varepsilon,\varepsilon]. Substitute these bounds into (11)–(12) to obtain (44). □

Proposition 5 (Rare-query obstruction to sample-only uniform envelopes). For every finite pilot size n0≥1n_0\ge1 and every δ∈(0,1)\delta\in(0,1), there exist a two-point query distribution and two relevance functions with values in [0,1][0,1] such that, with probability exceeding 1−δ1-\delta, the pilot observes identical relevance scores for both fragments on all n0n_0 queries, although sup⁡q∣rj(q)−rk(q)∣=1\sup_q|r_j(q)-r_k(q)|=1. Consequently, an empirical supremum of observed relevance differences, without additional structural assumptions, is not a valid distribution-free upper confidence bound for the population uniform envelope.

Proof. Let Q={0,1}\mathcal{Q}=\{0,1\} with P(Q=1)=θ>0\mathbb{P}(Q=1)=\theta>0. Set rj(0)=rk(0)=0r_j(0)=r_k(0)=0, rj(1)=1r_j(1)=1, and rk(1)=0r_k(1)=0. The true uniform difference equals 1. Yet with probability (1−θ)n0(1-\theta)^{n_0} the entire iid pilot consists of queries equal to 0, on which the scores agree exactly. Choosing 0<θ<1−(1−δ)1/n00<\theta<1-(1-\delta)^{1/n_0} makes this probability greater than 1−δ1-\delta. Thus a pilot-only empirical supremum of zero is compatible with a population uniform difference of one, and it covers the true envelope with probability less than δ\delta. More generally, any procedure whose output on this all-zero pilot sample is some value c<1c<1 covers the true envelope 1 with probability at most 1−(1−θ)n0<δ1-(1-\theta)^{n_0}<\delta under this distribution. □

Proposition 6 (Simultaneously estimated activity factors). Let W\mathcal{W} be a finite set of pre-audit swap triples (j,k,R)(j,k,R) with known deterministic envelopes εj,k,R\varepsilon_{j,k,R} as in Lemma 5, and let W=∣W∣≥1W = |\mathcal{W}| \ge1. Assume that, for every acquired audit query Qh,iQ_{h,i} and every w=(j,k,R)∈Ww=(j,k,R)\in\mathcal{W}, the relevance values rj(Qh,i)r_j(Q_{h,i}), rk(Qh,i)r_k(Q_{h,i}) and rg(Qh,i)r_g(Q_{h,i}), g∈Rg\in R, are observed, so that the indicators Aw(Qh,i)A_w(Q_{h,i}) are observed. This does not follow from Assumption 2, which guarantees only the coverages hT(Qh,i)h_T(Q_{h,i}), T∈CT\in\mathcal{C}: these determine neither AwA_w when hS=hTh_S=h_T, nor any quantity involving fragments outside the retained competitor family. For each hh and triple ww, define a^h,w=nh−1∑iAw(Qh,i)\widehat{a}_{h,w}=n_h^{-1}\sum_i A_w(Q_{h,i}) and

ah,w+=min⁡{1,a^h,w+log⁡(HW/αact)2nh}.a^+_{h,w}=\min\left\{1,\widehat{a}_{h,w}+\sqrt{\frac{\log(HW/\alpha_{\mathrm{act}})}{2n_h}}\right\}.

Then with probability at least 1−αact1-\alpha_{\mathrm{act}}, simultaneously for all h,wh,w, ah,w≤ah,w+a_{h,w}\leq a^+_{h,w}. In particular,

v‾(S,T)act=εj,k,R2∑hn^h2nhah,w+\overline{v}^{\mathrm{act}}_{(S,T)}=\varepsilon_{j,k,R}^{2}\sum_h\frac{\widehat{n}_h^{2}}{n_h}a^+_{h,w}

is a simultaneous variance bound for all such swap edges. It can be combined by taking the minimum with the residual bound (26), at the additional error cost αact\alpha_{\mathrm{act}}.

Proof. For each h,wh,w, the random variables Aw(Qh,i)A_w(Q_{h,i}) are iid Bernoulli with conditional mean ah,wa_{h,w}. The one-sided Hoeffding inequality gives failure probability at most αact/(HW)\alpha_{\mathrm{act}}/(HW) for the displayed upper bound. Union over all HWHW pairs, followed by Lemma 5, proves the variance assertion. To take the minimum with the residual upper bounds, intersect their two simultaneous validity events and use another union bound.

Proposition 7 (Pathwise extension to several swaps). Suppose two selections S,TS,T can be connected by a finite path S=S0,S1,…,Sm=TS=S_0,S_1,\ldots,S_m=T in which each consecutive pair differs by a single fragment swap covered by Lemma 5, with parameters εk,ah,k\varepsilon_k,a_{h,k}. Then for each hh,

E[(hS−hT)2∣X=h]≤∑k=1mεkah,k.(45)\sqrt{\mathbb{E}[(h_S-h_T)^2\mid X=h]}\leq\sum_{k=1}^{m}\varepsilon_k\sqrt{a_{h,k}}. \tag*{(45)}

In particular,

Var⁡(hS−hT∣X=h)≤(∑k=1mεkah,k)2.\operatorname{Var}(h_S-h_T\mid X=h)\leq\left(\sum_{k=1}^{m}\varepsilon_k\sqrt{a_{h,k}}\right)^2.

Proof. Pointwise,

hS−hT=∑k=1m(hSk−1−hSk).h_S-h_T=\sum_{k=1}^{m}(h_{S_{k-1}}-h_{S_k}).

Apply Minkowski’s inequality in L2(Ph)L_2(P_h), then Lemma 5 to each summand. Variance is at most the uncentered second moment.

A two-level sufficient condition for a sharper bound

The multiscale construction is not automatically better than a direct union bound, because it splits the error probability across levels. Here is a sufficient condition for improvement. In this section condition on the pre-audit information and counts, and consider only the audit fluctuation ZTZ_T, not the common error from estimating population stratum proportions.

Corollary 4 (Two-level improvement over a flat Bernstein union bound). *Suppose the J=∣C∣−1≥2J = |\mathcal{C}| - 1 \ge2 nontrivial competitors admit K0K_0 distinct representatives, 1≤K0<J1 \le K_0 < J, and a map c:C∖{S^}→{1,…,K0}c : \mathcal{C} \setminus\{\widehat{S}\} \to\{1,\ldots,K_0\} such that every candidate T≠S^T \ne\widehat{S} is associated with a representative Vc(T)V_{c(T)} and

sup⁡q∈Q∣hT(q)−hVc(T)(q)∣≤ε,0≤ε≤1.(46)\sup_{q \in\mathcal{Q}} |h_T(q) - h_{V_{c(T)}(q)}| \le\varepsilon,\qquad0 \le\varepsilon\le1. \tag*{(46)}

Assume each representative belongs to C\mathcal{C}, and use the two-level network S^→Vc(T)→T\widehat{S} \to V_{c(T)} \to T for T≠S^T \ne\widehat{S}, while the selected set follows the constant path S^→S^→S^\widehat{S} \to\widehat{S} \to\widehat{S}. The first-level network includes S^\widehat{S} and all representatives. Define

qn=∑hπ^h2nh,bn=2max⁡hπ^hnh,Ln(t)=2qnt+13bnt.(47)q_n = \sum_h \frac{\widehat{\pi}_h^2}{n_h},\qquad b_n = 2\max_h \frac{\widehat{\pi}_h}{n_h},\qquad L_n(t) = \sqrt{2q_n t} + \frac{1}{3}b_n t. \tag*{(47)}

For α1+α2=αa\alpha_1 + \alpha_2 = \alpha_a, the uniform two-level radius is

Cchain=Ln(log⁡K0α1)+εLn(log⁡Jα2).(48)C_{\mathrm{chain}} = L_n\left(\log\frac{K_0}{\alpha_1}\right) + \varepsilon L_n\left(\log\frac{J}{\alpha_2}\right). \tag*{(48)}

The flat cardinality-based direct Bernstein radius is

Cflat=Ln(log⁡Jαa).(49)C_{\mathrm{flat}} = L_n\left(\log\frac{J}{\alpha_a}\right). \tag*{(49)}

Whenever

0≤ε<Ln(log⁡(J/αa))−Ln(log⁡(K0/α1))Ln(log⁡(J/α2)),(50)0 \le\varepsilon< \frac{L_n(\log(J/\alpha_a)) - L_n(\log(K_0/\alpha_1))}{L_n(\log(J/\alpha_2))}, \tag*{(50)}

with positive numerator, one has Cchain<CflatC_{\mathrm{chain}} < C_{\mathrm{flat}}. Both bounds apply simultaneously to all candidates with conditional failure probability at most αa\alpha_a.

Proof. For a coarse edge S^→Vk\widehat{S} \to V_k, its coverage difference lies in [−1,1][-1,1], so its variance is at most 11 and its range at most 22 in each stratum. Lemma 1 therefore bounds the coarse fluctuation by Ln(log⁡(K0/α1))L_n(\log(K_0/\alpha_1)) simultaneously over the K0K_0 distinct edges. For a fine edge Vc(T)→TV_{c(T)} \to T, (46) implies that the difference is in [−ε,ε][-\varepsilon,\varepsilon], with variance at most ε2\varepsilon^2 and range at most 2ε2\varepsilon in every stratum. Its Bernstein radius is therefore at most εLn(log⁡(J/α2))\varepsilon L_n(\log(J/\alpha_2)), simultaneously over at most JJ fine edges (at most J−K0J-K_0 when the representatives are themselves nontrivial competitors, since their fine edges are trivial; the cruder count JJ is kept for simplicity). The telescoping identity yields (48). Because all variance and range bounds used here are deterministic, no calibration budget αv\alpha_v is needed. Direct union over the JJ edges from S^\widehat{S} to each candidate yields (49). Subtracting the two deterministic expressions, and dividing by the strictly positive term Ln(log⁡(J/α2))L_n(\log(J/\alpha_2)), gives the sufficient condition (50). □

Remark 11 (Precise scope of the comparison). Corollary 4 compares two conservative Bernstein radii built from variance and range bounds, under common nominal confidence and the same audit design.

Numerical illustration (exact arithmetic on the formulas). Take J=5000J = 5000, K0=5K_0 = 5, H=2H = 2, an audit count of nh=500n_h = 500 in each of the two strata, and π^0=π^1=1/2\widehat{\pi}_0 = \widehat{\pi}_1 = 1/2. Choose αa=0.05\alpha_a = 0.05, α1=α2=0.025\alpha_1 = \alpha_2 = 0.025, and ε=0.05\varepsilon= 0.05. Then qn=0.001q_n = 0.001 and bn=0.002b_n = 0.002, so

Cflat≈0.15942,Cchain≈0.11469,Cflat−CchainCflat≈0.2806.(51)C_{\mathrm{flat}} \approx0.15942,\qquad C_{\mathrm{chain}} \approx0.11469,\qquad\frac{C_{\mathrm{flat}} - C_{\mathrm{chain}}}{C_{\mathrm{flat}}} \approx0.2806. \tag*{(51)}

The threshold on ε\varepsilon in (50) is about 0.3221. This is a deterministic illustration of the algebraic sufficient condition, not a simulation and not an experimentally measured gain in total documentary regret.

Simulation study

This section examines three questions: whether the certificates attain their nominal level in finite samples; how the observable radii of § 4–§ 7 compare in size; and when the two-level network of Corollary 4 improves on a flat union bound.

Design

Query population and fragments. There are H=3H = 3 observable strata, with probabilities π=(0.5,0.3,0.2)\boldsymbol{\pi} = (0.5, 0.3, 0.2). Given X=hX = h, a latent topic Z∈{1,…,6}Z \in\{1, \ldots, 6\} is drawn with probabilities θh\theta_h,

θ0=(.35,.25,.15,.10,.10,.05),θ1=(.05,.10,.15,.20,.20,.30),θ2=(.10,.15,.30,.25,.10,.10).\begin{aligned} \theta_0 &= (.35, .25, .15, .10, .10, .05), \\ \theta_1 &= (.05, .10, .15, .20, .20, .30), \\ \theta_2 &= (.10, .15, .30, .25, .10, .10). \end{aligned}

Each topic cc has a base relevance r~c(q)=0.75 1{Z=c}+0.25 Wc\tilde{r}_c(q) = 0.75\,1\{Z = c\} + 0.25\,W_c, with Wc∼Beta⁡(1,3)W_c \sim\operatorname{Beta}(1,3) independent. The corpus has K=30K = 30 fragments organized in six clusters of five. The first fragment of cluster cc has relevance r~c\tilde{r}_c; each other fragment jj of the cluster has rj=min⁡{1,max⁡{0,r~c+εUj}}r_j = \min\{1, \max\{0, \tilde{r}_c + \varepsilon U_j\}\}, with Uj∼U[−1,1]U_j \sim U[-1,1] independent. Hence ∣rj−r~c∣≤ε|r_j - \tilde{r}_c| \le\varepsilon deterministically: ε\varepsilon controls the functional redundancy within clusters, and ε=0\varepsilon= 0 gives exact duplicates.

Selection, competitors and samples. All costs equal 1 and B=3B = 3, so HB\mathcal{H}_B consists of the 4526 subsets of size at most 3. We take C=HB\mathcal{C} = \mathcal{H}_B, so that αs=0\alpha_s = 0 and J=4525J = 4525. In each replication, a fully labelled pilot of n0=1000n_0 = 1000 iid queries selects S^\widehat{S} by exhaustive maximization of F^0\widehat{F}_0, supplies the residual predictors mh,em_{h,e} (pilot stratum means of GeG_e) and fixes the Bennett tilts; an independent unlabelled sample of Nu=50 000N_u = 50\,000 queries gives π^h\widehat{\boldsymbol{\pi}}_h; and the audit draws nhn_h queries from each stratum. The population quantities μh,T\mu_{h,T}, F(T)F(T) and RB(S^)R_B(\widehat{S}) are computed from an independent Monte Carlo sample of 150 000 queries per stratum, with standard errors below 1.3×10−31.3 \times10^{-3}.

Networks. For T∈HBT \in\mathcal{H}_B let V(T)V(T) be the set of first fragments of the clusters met by TT. Then V(T)∈HBV(T) \in\mathcal{H}_B, and the 1-Lipschitz property of the maximum, used as in the proof of Corollary 3, gives sup⁡q∣hT(q)−hV(T)(q)∣≤ε\sup_q|h_T(q) - h_{V(T)}(q)| \le\varepsilon. The two-level network is S^→V(T)→T\widehat{S} \to V(T) \to T, with 42 coarse and 4483 fine edges in every replication; the flat network joins every competitor directly to S^\widehat{S}. In this design the envelope ε\varepsilon is known by construction; in applications it would have to be certified externally (Proposition 5).

Certificates and error budgets. All certificates have total level α=0.05\alpha= 0.05. The weight correction of Lemma 4 uses απ=αg=0.005\alpha_\pi= \alpha_g = 0.005 and is common to all of them; the remaining 0.04 is allocated to the audit fluctuation. We compare seven certificates of the form R‾=min⁡{1,max⁡(0,max⁡TUT)}\overline{R} = \min\{1, \max(0, \max_T U_T)\}:

  1. Hoeffding, flat: a union of one-sided Hoeffding bounds over the HJHJ pairs (h,T)(h,T), which gives ZT≤∑hπ^h 2{log⁡(HJ/0.04)/(2nh)}1/2Z_T \le\sum_h \widehat{\pi}_h\,2\{\log(HJ/0.04)/(2n_h)\}^{1/2},

(ii)–(iv) one-stage empirical Bernstein (Theorem 3, Corollary 1) with αa=0.04\alpha_a = 0.04: flat; two-level with α1=α2=0.02\alpha_1 = \alpha_2 = 0.02 and the known envelope bˉh,e=2ε\bar{b}_{h,e} = 2\varepsilon on fine edges; and two-level with the universal envelope bˉh,e=2\bar{b}_{h,e} = 2;

(v)–(vi) calibrated Bernstein (Lemma 3, Theorem 2, Theorem 4) with αa=0.03\alpha_a = 0.03 and αv=0.01\alpha_v = 0.01: flat, and two-level with α1=α2=0.015\alpha_1 = \alpha_2 = 0.015. On fine edges, where ∣Ge∣≤ε|G_e| \le\varepsilon, the residual range is taken as (ε+∣mh,e∣)2(\varepsilon+ |m_{h,e}|)^2 and the variance bound is truncated at ε2\varepsilon^2; both are direct consequences of Lemma 2 and of Popoviciu’s inequality for a variable with range 2ε2\varepsilon;

(vii) pooled Bennett (Proposition 4) with αB=0.03\alpha_B = 0.03 and αv′=0.01\alpha'_v = 0.01. Each λT\lambda_T minimizes, over a fixed grid, the bound (39) in which vh,T′v_{h,T}' is replaced by the same residual formula evaluated on the pilot with the known audit counts; thus λT\lambda_T uses no audit label.

We vary nh∈{100,200,400,800,1600}n_h \in\{100, 200, 400, 800, 1600\} at ε=0.05\varepsilon= 0.05, and ε∈{0,0.02,0.05,0.1,0.2,0.4}\varepsilon\in\{0, 0.02, 0.05, 0.1, 0.2, 0.4\} at nh=400n_h = 400, with 200 replications per setting.

Results

Validity. In all 10 settings and for all seven certificates, the certificate covered the true regret in every replication, and the simultaneous audit event {ZT≤radius⁡(T) ∀T}\{Z_T \le\operatorname{radius}(T)\ \forall T\} held in every replication. With 200 replications, the one-sided 95% Clopper–Pearson lower bound for each coverage probability is 0.985. As expected from union bounds with conservative constants, the certificates are valid with room to spare.

Size of the certificates. Table 2 and Figure 1 report the mean certificates at ε=0.05\varepsilon= 0.05. The calibrated Bernstein certificate of Theorem 4 and the pooled Bennett certificate are nearly indistinguishable, and both are about 2.5–2.7 times smaller than the one-stage empirical-Bernstein certificate at every nhn_h. The one-stage certificate pays the linear term 7bˉh,et/(3(nh−1))7\bar{b}_{h,e}t/(3(n_h - 1)) in every stratum; for nh≤400n_h \le400 it is even larger than the flat Hoeffding certificate, which it overtakes only for nh≥800n_h \ge800. In this design, therefore, the separate calibration budget αv\alpha_v is well spent, in line with Remark 7. All certificates remain far above the true regret, which is about 0.003: at nh=1600n_h = 1600 the smallest certificate is 0.033, of which about 0.012 is the weight-correction term. This gap is the price of a simultaneous, honest guarantee over 4525 data-dependent competitors.

Certificatenh=100n_h = 100nh=200n_h = 200nh=400n_h = 400nh=800n_h = 800nh=1600n_h = 1600
Hoeffding, flat0.5500.3810.2650.1870.134
One-stage EB, flat (Thm. 3)0.9300.5070.2760.1560.092
One-stage EB, two-level0.7440.4090.2240.1290.077
One-stage EB, two-level, bˉh,e=2\bar{b}_{h,e} = 21.0000.7230.3810.2080.117
Calibrated Bernstein, flat (Thm. 2)0.3400.1860.1010.0610.037
Calibrated Bernstein, two-level0.2930.1610.0880.0530.033
Pooled Bennett (Prop. 4)0.3320.1820.0990.0600.037
True regret0.00370.00270.00290.00350.0044
Weight correction0.0330.0280.0190.0140.012

Table 2. Mean regret certificate Rˉ\bar{R} over 200 replications, ε=0.05\varepsilon= 0.05, as a function of the number nhn_h of audited queries per stratum. Standard errors are below 0.003 in all cells. The last rows give the mean true regret RB(S^)R_B(\widehat{S}) and the mean largest weight-correction term max⁡Tϵπ∑h≥1ρh,T\max_T \epsilon_\pi\sum_{h \ge1} \rho_{h,T}, common to all certificates.

Mean regret certificate over audited queries per stratum

Figure 1. Mean regret certificate R‾\overline{R} (logarithmic scales) over 200 replications at ε=0.05\varepsilon= 0.05, as a function of the number of audited queries per stratum. The pooled Bennett certificate (dashed, open marks) nearly coincides with the flat calibrated Bernstein certificate. The dashed black line is the mean true regret.

When does the multiscale network help? Table 3 and Figure 2 vary the redundancy envelope at nh=400n_h = 400. With a known envelope, the two-level certificate is smaller than the flat one for small ε\varepsilon: by 19% (ε=0\varepsilon= 0), 13% (ε=0.05\varepsilon= 0.05) and 7% (ε=0.1\varepsilon= 0.1) for the calibrated Bernstein version, and by 25%, 19% and 13% for the one-stage version. The advantage vanishes between ε=0.1\varepsilon= 0.1 and ε=0.2\varepsilon= 0.2 for the calibrated version and at about ε=0.2\varepsilon= 0.2 for the one-stage version, and it turns into a loss at ε=0.4\varepsilon= 0.4. This crossover agrees with the deterministic threshold of Corollary 4, which equals about 0.19 for K0=42K_0 = 42, J=4525J = 4525, nh=400n_h = 400, α1=α2\alpha_1 = \alpha_2 and the present weights. The reduction of the radius at the population optimum can be much larger than the reduction of the certificate (from 0.061 to 0.013 at ε=0\varepsilon= 0 for the calibrated version), because the certificate is a maximum over all competitors. Finally, without a certified envelope (b‾h,e=2\overline{b}_{h,e} = 2 on fine edges) the two-level certificate is 35–58% larger than the flat one: splitting the error budget across levels is then not compensated by any reduction of the linear term. This illustrates why the gains of § 9 require certified, not merely empirical, envelopes (Proposition 5).

Certificateε=0\varepsilon= 0ε=0.02\varepsilon= 0.02ε=0.05\varepsilon= 0.05ε=0.1\varepsilon= 0.1ε=0.2\varepsilon= 0.2ε=0.4\varepsilon= 0.4
Calibrated Bernstein, flat0.1010.1040.1010.1040.1070.109
Calibrated Bernstein, two-level0.0820.0870.0880.0970.1130.139
ratio0.810.840.870.931.051.27
One-stage EB, flat0.2780.2800.2760.2780.2800.276
One-stage EB, two-level0.2090.2180.2240.2430.2770.337
One-stage EB, two-level, bˉh,e=2\bar{b}_{h,e} = 20.3740.3800.3810.3910.4090.436
ratio (known envelope)0.750.780.810.870.991.22
ratio (bˉh,e=2\bar{b}_{h,e} = 2)1.351.361.381.411.461.58
Pooled Bennett, flat0.0990.1020.0990.1020.1050.107

Table 3. Mean regret certificate Rˉ\bar{R} over 200 replications at nh=400n_h = 400, as a function of the redundancy envelope ε\varepsilon. Rows marked “ratio” divide the two-level certificate by the corresponding flat one.

Ratio of the mean two-level certificate to the mean flat certificate

Figure 2. Ratio of the mean two-level certificate to the mean flat certificate at nh=400n_h = 400, as a function of the redundancy envelope ε\varepsilon; values below 1 indicate a gain from the multiscale network.

Summary. All certificates are valid. Among the fully observable ones, variance calibration (Theorem 4) or the pooled Bennett tilt (Proposition 4) gives the smallest flat certificates, and the multiscale network yields an additional reduction of up to about 20% when fragments are strongly redundant and the redundancy is certified, in agreement with Corollary 4.

We have specified a complete finite-sample probability argument: pilot screening, conditional concentration of every pre-audit comparison edge, telescoping over finite multiscale networks, simultaneous empirical variance calibration, correction for unknown context proportions, and conversion to postselection regret. The redundancy lemmas give explicit variance contractions for swapping documentary fragments. The confidence level in Theorem 4 is unconditional: it averages over the pilot, whose only contribution is the screening error αs\alpha_s, and it requires no model for PP. Conditionally on F0\mathcal{F}_0, only the post-screening part of the statement holds, with level 1−αa−αv−απ−αg1 - \alpha_a - \alpha_v - \alpha_\pi- \alpha_g.

The sets Nℓ\mathcal{N}_{\ell} may be constructed using an independent pilot, including estimated similarities. Such a construction does not need to be accurate for the base theorem: validity follows from the edgewise simultaneous concentration with conservative envelopes.

References

  1. [1]Bartlett, P. L., Bousquet, O., and Mendelson, S. (2005). Local Rademacher complexities. The Annals of Statistics, 33(4), 1497–1537. doi:10.1214/009053605000000282.DOI
  2. [2]Boucheron, S., Lugosi, G., and Massart, P. (2013). Concentration Inequalities: A Nonasymptotic Theory of Independence. Oxford University Press. doi:10.1093/acprof:oso/9780199535255.001.0001.DOI
  3. [3]Burgess, M. A. and Chapman, A. C. (2021). Approximating the Shapley value using stratified empirical Bernstein sampling. In Proceedings of the 30th International Joint Conference on Artificial Intelligence, pp. 73–81. doi:10.24963/ijcai.2021/11.DOI
  4. [4]Dirksen, S. (2015). Tail bounds via generic chaining. Electronic Journal of Probability, 20(53), 1–29. doi:10.1214/EJP.v20-3760.DOI
  5. [5]Dudík, M., Langford, J., and Li, L. (2011). Doubly robust policy evaluation and learning. In Proceedings of the 28th International Conference on Machine Learning, pp. 1097–1104. https://icml.cc/2011/papers/554_icmlpaper.pdf.arxiv.org/abs/1103.4601
  6. [6]Hoeffding, W. (1963). Probability inequalities for sums of bounded random variables. Journal of the American Statistical Association, 58(301), 13–30. doi:10.1080/01621459.1963.10500830.DOI
  7. [8]Koltchinskii, V. (2006). Local Rademacher complexities and oracle inequalities in risk minimization. The Annals of Statistics, 34(6), 2593–2656. doi:10.1214/009053606000001019.DOI
  8. [9]Krause, A. and Golovin, D. (2014). Submodular function maximization. In Bordeaux, L., Hamadi, Y., and Kohli, P. (eds.), Tractability: Practical Approaches to Hard Problems, Cambridge University Press, pp. 71–104. doi:10.1017/CBO9781139177801.004.DOI
  9. [10]Maurer, A. and Pontil, M. (2009). Empirical Bernstein bounds and sample variance penalization. In Proceedings of the 22nd Annual Conference on Learning Theory (COLT). https://arxiv.org/abs/0907.3740.
  10. [11]Nemhauser, G. L., Wolsey, L. A., and Fisher, M. L. (1978). An analysis of approximations for maximizing submodular set functions—I. Mathematical Programming, 14, 265–294. doi:10.1007/BF01588971.DOI
  11. [12]Talagrand, M. (2005). The Generic Chaining: Upper and Lower Bounds of Stochastic Processes. Springer. doi:10.1007/3-540-27499-5.DOI

Paper details

vlnc:W_db5hyt5k
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents