Repository · Full text

Exact Coverage Frontiers for
Multi-Environment Jackknife+

Read PDF

HTML version 1 Added

Papers are listed without authors and are not intended for submission or formal publication.

Contents

Exact Coverage Frontiers for
Multi-Environment Jackknife+

Abstract

We answer the question raised by Duchi, Gupta, Jiang, and Sur [5] of replacing the conservative multi-environment jackknife-minmax envelope by corrected jackknife+ endpoint quantiles. Assuming exchangeability across environments and allowing arbitrary within-environment dependence, we characterize exactly when an interval covers at least a 1−α fraction of a new environment with probability at least 1−δ. The solution jointly calibrates the within-environment residual rank and the across-environment endpoint ranks. For equal-size environments, we obtain the exact worst-case failure probability and all valid finite-sample rank pairs, including rounding and ties. The limiting validity budget is a/α+2⁢b/δ≤1, where a and b are the inner and outer trimming levels. Comparison-graph degree bounds prove validity, and explicit tie-free constructions establish sharpness. For a fixed multiset of unequal environment sizes, an exact Hall-type characterization is computable in quadratic time after sorting when the induced inner ranks and outer rank are positive. In the balanced positive-rank model, asymmetric endpoint ranks offer no minimax improvement, while hidden independent global outer-rank randomization admits an exact tournament-score optimization. We also derive an exact coverage guarantee for an expanded rule under simultaneous on-sample deletion stability and sharp degradation under approximate block exchangeability. Finally, an atomless construction exhibits an arbitrarily large pathwise average-length improvement over jackknife-minmax, demonstrating the potential efficiency gain of calibrated endpoint quantiles.

Note. This paper was generated entirely by AI, including MiMo, using an automated research pipeline developed by Chenghua Liu and Hanyu Li.

1 Introduction and problem statement

Multi-environment predictive inference seeks a block-level guarantee rather than marginal coverage for one response. Given m training environments, the goal is to construct an interval-valued predictor I such that the realized fraction of responses satisfying Y∈I⁡(X) in a new environment is at least 1−α with probability at least 1−δ. Following Duchi et al. [5], we treat each complete environment—including its possibly random positive size—as one exchangeable unit and impose no independence or exchangeability condition within an environment; this formulation isolates what block exchangeability alone can guarantee.

The multi-environment jackknife-minmax method of Duchi et al. [5] obtains this distribution-free guarantee by taking extreme prediction envelopes. Their remark following Theorem 1 raises the possibility of replacing those extremes by suitably corrected lower and upper quantiles, as in jackknife+. In Appendix D (Algorithm 9 and Figure D.11), they report a shorter uncorrected rule with empirical undercoverage. The remark suggests that the arbitrariness of the block model may preclude a correction altogether. We show instead that non-extreme endpoint rules are possible, but only inside an exact two-level rank budget.

The closest benchmarks separate along the exchangeable unit and prediction target. Ordinary jackknife+ supplies the comparison-tournament factor for one response [1]. Batch predictive inference controls a covered fraction under individual-level exchangeability and uncoupled ranks [14], whereas hierarchical jackknife+ targets one new response and uses within-group assumptions [13]. Here whole environments are exchangeable, their coordinates may be arbitrarily dependent, and the endpoint candidates share coupled leave-two-environment fits.

The first level is the familiar jackknife+ comparison tournament. The second is specific to the block-fraction target: different missed coordinates of the test block can be defeated by different subsets of calibration environments. A coordinate–environment incidence count converts these misses into an outdegree demand, and the set of simultaneously satisfiable demands determines the sharp coverage frontier. This viewpoint yields the following results.

  • •

    A closed-form balanced frontier. For a fixed common block size n, Theorem 3.1 gives the exact finite-sample worst-case failure probability, including all rounding and tie effects. With N=m+1, F=⌊α⁢n⌋+1, and q=⌈⌊δ⁢N⌋/2⌉, Corollary 3.2 gives every valid positive finite-rank cell, while Corollary 3.3 shows that the Pareto antichain has exactly min⁡{F,q} points. Its limiting boundary is a/α+2⁢b/δ=1.

  • •

    Heterogeneous blocks and explicit extremizers. The comparison-graph method extends beyond equal-size blocks. Theorem 6.1 gives an exact formula for every fixed multiset of possibly unequal positive block sizes in the finite-rank regime. The formula is a degree-demand feasibility problem computable with O⁡(N2) unit-cost arithmetic operations after sorting. Matching lower bounds are realized by one additive block-permutation-invariant multiset learner and remain sharp without ties.

  • •

    Asymmetric and randomized ranks. In the balanced positive-rank model, Theorem 6.2 proves that separate lower and upper outer ranks enter the minimax law only through their maximum. Thus symmetric outer trimming is a conclusion, not an assumption. With a fixed inner rank, Theorem 6.3 exactly characterizes a hidden independent global outer rank by optimization over tournament score sequences; this value can be strictly below the corresponding convex combination, as Proposition 6.4 demonstrates.

  • •

    Robustness, impossibility, and efficiency. Under simultaneous on-sample deletion stability, the 2⁢ε-expanded rule has the exact scalar outer-rank frontier. The exact pointwise count combines with the swap-TV principle of Barber et al. [2] to give a sharp additive guarantee in the balanced finite-rank setting under approximate block exchangeability. At the negative extreme, the ordinary outer factor-two choice can have failure probability one. At the positive extreme, a valid non-extreme rule has endpoint-to-minmax pathwise average-length ratio tending to zero on an explicit atomless family.

Proof architecture.

Reveal all N=m+1 blocks and treat each label in turn as the hypothetical test block. Pairwise leave-two-block residual quantiles define an oriented comparison graph. If one hypothetical test block fails on F coordinates, an incidence count forces that vertex to exceed a rank-dependent outdegree threshold w. A sharp count then bounds the number of vertices with such high outdegree by min⁡{N,2⁢(N−w)−1}. Exchangeability turns this pointwise label count into a failure probability. For sharpness, an extremal oriented graph is realized by equal-row-sum binary incidence matrices; Gale–Ryser supplies the matrices, and a finite prediction table realizes all directed comparisons simultaneously. An additive type-count representation then turns this table into a symmetric multiset learner. For unequal sizes the vertices have different outdegree demands, whose simultaneous feasibility is exactly Hall’s condition. Random outer ranks replace a single degree threshold by a monotone payoff on tournament scores. The graph-count argument is needed only in the nontrivial 1≤t≤F branch; the other upper-bound branches are automatic, and the matching construction directly realizes the t>F case.

2 Setup and deterministic rank conventions

This section fixes the balanced statistical experiment and the admissible learners. It then defines the order-statistic conventions, endpoint rule, block-failure event, and integer ranks used throughout the paper.

2.1 Balanced exchangeable blocks and invariant learners

Let covariates take values in a standard Borel space X, let responses be real-valued, let m,n≥1, and put N:=m+1. Write

Zi=((Xji,Yji))j=1n,i=1,…,N.

Let Z:=(X×R)n be the common block space. The random blocks (Z1,…,ZN) are exchangeable: their joint law is invariant under every permutation of the N block labels. No independence or exchangeability is imposed on the n observations within a block. This common-size model is the balanced specialization of Duchi et al. [5]; their general block model permits unequal and random sizes. The exact heterogeneous extension is given in Section 6.1.

For every r≥0, a learning rule supplies a jointly measurable map

Ar:Zr×X⟶R

that is symmetric in its r block arguments. We write A⁢(T)⁢(x) when the arity is determined by the finite training sequence T. Equivalently, the rule acts on finite multisets: multiplicities are retained, deletion removes one indexed occurrence, and every sum over training blocks counts multiplicity. The main statements concern deterministic rules. Their worst-case values are unchanged for a coherently randomized family (u,T,x)↦Au⁢(T)⁢(x), jointly measurable and symmetric for almost every u, when its seed U is independent of (Z1,…,ZN) and the same realized seed is used in every augmented fit. Conditioning on U gives the deterministic upper bound, while the matching lower bound is deterministic. Independently rerandomized evaluations of the same training multiset are not covered by this coupling.

2.2 Extended order statistics

Responses and learner predictions are assumed to be finite real numbers; extended values enter only through the following convention. Write R¯:=R∪{−∞,+∞}. For u1,…,ur∈R¯, let

u(1)≤⋯≤u(r)

denote the order statistics, retaining ties with multiplicity, and set

u(0):=−∞,u(r+1):=+∞.

For η∈[0,1), define the deterministic lower and upper conformal quantiles

qr,η−⁢(u):=u(⌊η⁡(r+1)⌋),qr,η+⁢(u):=u(r+1−⌊η⁡(r+1)⌋).(2.1)

We use the extended-real conventions c−(+∞)=−∞, c+(+∞)=+∞, (−∞)−r=−∞, and (+∞)+r=+∞ for finite c∈R and r≥0. Throughout, [L,U]:={y∈R:L≤y≤U}; hence it is empty when L>U, and equality with an endpoint counts as coverage. The notation [L,U]+r:=[L−r,U+r] means endpoint inflation, interpreted by the same convention even when the original endpoints cross. Let len⁡(I) be one-dimensional Lebesgue measure, with len⁡(∅)=0 and len⁡(I)=+∞ for a nonempty unbounded interval. For an interval-valued rule I, its pathwise average length on a realized test block is

1n⁢∑j=1nlen⁡(I⁡(XjN)).

2.3 The endpoint-quantile rule

Given training blocks Z1,…,Zm, let

f^−i:=A⁡(Z1,…,Zi−1,Zi+1,…,Zm)

and define the within-environment score radius

Si⁢(a):=qn,a+⁢((|Yji−f^−i⁢(Xji)|)j=1n).(2.2)

For a covariate x, the two-level endpoint rule is

Ia,b⁢(x):=[qm,b−⁢((f^−i⁢(x)−Si⁢(a))i=1m),qm,b+⁢((f^−i⁢(x)+Si⁢(a))i=1m)].(2.3)

If the displayed lower endpoint exceeds the upper endpoint, the interval is understood to be empty. In the only regime where a nontrivial upper bound is needed, Lemma 4.1 proves that this cannot occur.

For α∈(0,1), the new block fails when

1n∑j=1n1{YjN∈Ia,b(XjN)}<1−α.(2.4)

To place the minimax value on one fixed experiment, take the universal covariate space X⋆:=[0,1] and let Z⋆:=(X⋆×R)n. The exact worst-case failure probability is

Γm,n,α⁢(a,b):=supP,APP⁢{(2.4) holds},(2.5)

where P ranges over exchangeable laws on Z⋆N and A over the measurable symmetric learners defined above. Every upper bound below holds for any fixed standard Borel covariate space X. The lower bound needs only the finite space {0,…,N−1}×{1,…,n}, and therefore embeds into any standard Borel covariate space containing at least N⁢n distinct points.

Problem 2.1 (Two-level rank correction addressed here).

For fixed m,n,α, determine Γm,n,α⁢(a,b) exactly, including finite-sample rounding and ties. For every δ∈(0,1), characterize all deterministic rank pairs for which Γm,n,α⁢(a,b)≤δ, and decide whether some valid non-extreme pair has strictly smaller pathwise average interval length across the n test coordinates than jackknife-minmax on a nondegenerate exchangeable class.

For a fixed δ∈(0,1), the minmax interval from Algorithm 1 of Duchi et al. [5], used later for comparison, can be written at x as

Imm⁢(x)=[min1≤i≤m⁡f^−i⁢(x)−Qδ,max1≤i≤m⁡f^−i⁢(x)+Qδ],Qδ:=qm,δ+⁢((Si⁢(α))i=1m).(2.6)

2.4 Integer ranks

Fix a,b∈[0,1) and set

F:=⌊α⁢n⌋+1,t:=⌊a⁡(n+1)⌋,ℓ:=⌊b⁢N⌋.(2.7)

Thus block failure means at least F misses; the inner radius in (2.2) has ascending rank n+1−t; and the outer lower and upper endpoints in (2.3) have ranks ℓ and N−ℓ, respectively, among m=N−1 candidates.

If t=0, every inner radius is +∞, while if ℓ=0, the outer endpoints are −∞ and +∞. Under (2.1), either case yields

Γm,n,α⁢(a,b)=0.(2.8)

Without extended order statistics, these rank-zero choices should instead be called undefined; they are not finite-rank rules. The remainder of the main theorem concerns

1≤t≤n,1≤ℓ≤m.(2.9)

3 Exact failure law and rank frontier

The next theorem identifies the exact minimax cost of combining the inner and outer ranks, thereby resolving problem 2.1. Its two branches separate an overaggressive inner rank from the incidence-count regime.

Theorem 3.1 (Exact worst-case failure law).

Assume (2.9). If 1≤t≤F, define

L:=min⁡{m,⌊F⁡(ℓ−1)F−t+1⌋}.(3.1)

Then

Γm,n,α⁢(a,b)={1,t>F,min⁡{1,2⁢L+1N},1≤t≤F.(3.2)

The upper bound holds uniformly over every admissible exchangeable law and learner. For every parameter tuple, a single measurable block-permutation-invariant learner and a finite exchangeable law attain equality. The attaining construction may moreover be perturbed so that all residual, comparison, endpoint, and response-on-endpoint ties are absent.

For the proof, put

d:=N−ℓ,D:=F−t+1,(3.3)

and define

w:={0,t>F,max⁡{0,⌈F⁢d−m⁡(t−1)F−t+1⌉},1≤t≤F.(3.4)

The theorem is equivalently

Γm,n,α⁢(a,b)=min⁡{N, 2⁢(N−w)−1}N.(3.5)

Indeed, when t≤F,

F⁢d−m⁡(t−1)=m⁡(F−t+1)−F⁡(ℓ−1)=m⁢D−F⁡(ℓ−1),(3.6)

so the elementary identity ⌈m−x⌉=m−⌊x⌋, together with the truncations in (3.1) and (3.4), gives

w=m−L.(3.7)

3.1 Exact lattice Pareto frontier

We first translate the exact law into a criterion at a target block-failure level δ.

Corollary 3.2 (Finite-sample validity criterion).

Let δ∈(0,1), and define

Dδ:=⌊δ⁢N⌋,q:=⌈Dδ2⌉.(3.8)

If Dδ=0, no finite-rank endpoint rule satisfies Γm,n,α⁢(a,b)≤δ. If Dδ≥1, a finite rank pair is valid if and only if

1≤t≤F,1≤ℓ≤q,F⁡(q−ℓ+1)≥q⁡(t−1)+1.(3.9)
Proof.

Every finite-rank rule has failure probability at least 1/N, proving the first assertion. Now Dδ≤N−1, so Theorem 3.1 gives

Γm,n,α(a,b)≤δ⟺2L+1≤Dδ⟺L≤q−1.

Because q−1<m, the last inequality removes the truncation in (3.1) and is equivalent to

F⁡(ℓ−1)≤q⁡(F−t+1)−1.

Rearranging gives the final inequality in (3.9); it also forces ℓ≤q. The condition t≤F is necessary because the alternative has failure probability one. ∎

For the remainder of this subsection assume Dδ≥1, and hence q≥1. For each ℓ=1,…,q, define

Tℓ:=1+⌊F⁡(q−ℓ+1)−1q⌋.(3.10)

Increasing either t or ℓ can only shrink the endpoint interval. The sequence Tℓ is nonincreasing, and the maximal valid rank pairs are

(Tℓ,ℓ),ℓ=1,…,q,

after retaining only the last pair on each plateau Tℓ=Tℓ+1. These remaining pairs form the exact lattice Pareto antichain. The continuous parameters merely label left-closed, right-open rank cells:

tn+1≤a<t+1n+1,ℓN≤b<ℓ+1N.(3.11)

For fixed data and covariate x, the interval depends on (a,b) only through (t,ℓ) and is therefore constant within each cell.

The apparently nested floor in (3.10) has a useful closed form.

Corollary 3.3 (Size and enumeration of the Pareto antichain).

For Dδ≥1,

Tℓ=⌈F⁡(q−ℓ+1)q⌉.(3.12)

After dominated plateaus are removed, the exact lattice Pareto antichain has cardinality

min⁡{F,q}.

It can therefore be enumerated with O⁡(min⁡{F,q}) arithmetic operations. If F≤q, an explicit enumeration is

(t,q−⌊q⁡(t−1)F⌋),t=1,…,F.(3.13)

If F≥q, it is

(⌈F⁢rq⌉,q−r+1),r=1,…,q.(3.14)
Proof.

For positive integers x,q, 1+⌊(x−1)/q⌋=⌈x/q⌉, which proves (3.12). Put r=q−ℓ+1. If F≥q, the sequence ⌈F⁢r/q⌉, r=1,…,q, is strictly increasing and hence has q distinct values. If F<q, consecutive values differ by at most one, the first value is one, and the last is F; it therefore takes every value in {1,…,F}. Retaining the largest ℓ on each plateau gives (3.13); there are no plateaus when F≥q, giving (3.14). ∎

3.2 Asymptotic budget

We next pass from the finite rank lattice to a continuous budget by letting both block counts diverge.

Corollary 3.4 (Asymptotic frontier).

Let min⁡{m,n}→∞ along any integer sequence and fix a,b,α,δ∈(0,1). Then

Γm,n,α⁢(a,b)⟶{min⁡{1,2⁢α⁢bα−a},a<α,1,a≥α.(3.15)

Consequently, the limiting failure probability is at most δ exactly on the side

aα+2⁢bδ≤1,(3.16)

with Pareto boundary given by equality.

Proof.

If a<α, integer rounding is asymptotically negligible, while the truncation in (3.1) gives

Lm⟶min⁡{1,α⁢bα−a}.

Substitution into (3.2) gives the first case. If a>α, eventually t>F. At a=α, one has t≤F and F−t+1∈{1,2}; moreover F⁡(ℓ−1)/m→∞, so eventually L=m. This proves (3.15), and solving its first branch for a failure probability at most δ gives (3.16). ∎

Thus the conventional outer allocation b=δ/2 exhausts the entire asymptotic budget: among positive finite-rank cells it forces a↓0, and every fixed a>0 lies on the invalid side. Conversely, if a=α, then every fixed b>0 has worst-case failure probability converging to one.

Remark 3.5 (Three boundary checks).

When t=1, (3.1) gives L=ℓ−1, so the law reduces to the ordinary outer tournament factor min⁡{1,(2⁢ℓ−1)/N}; in particular this covers n=1. When ℓ=1 and t≤F, the smallest finite failure probability is 1/N. When t>F, the worst-case failure probability is one. The intercepts a=0 and b=0 of the asymptotic line describe the closure of positive finite-rank cells; literally setting either rank to zero invokes the infinite-endpoint convention (2.8).

The exact law also identifies the entire region where endpoint quantiles can be defeated on every possible test label, rather than merely fail a prescribed δ target.

Corollary 3.6 (Complete-failure phase).

In the finite-rank regime, Γm,n,α⁢(a,b)=1 if and only if either t>F, or t≤F and

F⁡(ℓ−1)≥(F−t+1)⁢⌈m2⌉.(3.17)

For fixed positive a,b,α, the limiting failure probability in (3.15) equals one exactly when

a≥α,ora<α⁢ and ⁢aα+2⁢b≥1.(3.18)
Proof.

For t≤F, (3.2) equals one exactly when 2⁢L+1≥N=m+1, or L≥⌈m/2⌉. Substituting (3.1) gives (3.17). The asymptotic claim follows by setting the first branch of (3.15) equal to one. ∎

4 Upper bound

The upper bound augments the observed sample by treating every block label as the possible test block. An incidence argument turns coordinate misses into outdegree requirements, a graph count limits the number of such labels, and exchangeability converts that pointwise count into probability.

Reveal all N blocks. For distinct labels i,k, let

f^−{i,k}:=A⁡((Zr)r∉{i,k})

be the single predictor associated with the unordered omitted pair {i,k}, and define

Ri⁢k:=qn,a+⁢((|Yji−f^−{i,k}⁢(Xji)|)j=1n).(4.1)

If i is treated as the hypothetical test block, candidate k≠i has center and endpoints

pk⁢ji:=f^−{i,k}⁢(Xji),
Ak⁢ji:=pk⁢ji−Rk⁢i,Bk⁢ji:=pk⁢ji+Rk⁢i.(4.2)

Let A(r)⁢ji and B(r)⁢ji denote the separate order statistics over k≠i. The hypothetical interval is

Iji=[A(ℓ)⁢ji,B(d)⁢ji],d=N−ℓ.(4.3)

Define the hypothetical failure indicator

Hi(Z1,…,ZN):=1{∑j=1n1{Yji∉Iji}≥F}.(4.4)

For a permutation σ, define the relabeling action by (σ⋅Z)r:=Zσ−1⁢(r). Block-permutation invariance of the learner implies the equivariance identity

Hσ⁡(i)⁢(σ⋅Z)=Hi⁢(Z)(4.5)

for every i and σ.

Orient a strict comparison edge by

i⟶k⟺Ri⁢k>Rk⁢i.(4.6)

This is an oriented graph: each unordered pair carries at most one directed edge, and a tie carries none.

The following structural observation rules out crossed endpoints in the only regime where the graph count improves on the bound one.

Lemma 4.1 (Aggregate interval is nonempty in the nontrivial regime).

Assume 1≤t≤F and

w>⌊N−12⌋.

Then w≤d, hence ℓ≤d, and every interval in (4.3) is nonempty.

Proof.

Since d≤m and D=F−t+1>0,

F⁢d−m⁡(t−1)≤F⁢d−d⁡(t−1)=d⁢D.

The definition (3.4) therefore gives w≤d. Since w>(N−1)/2 and d is an integer, 2⁢d≥N, or equivalently ℓ=N−d≤d.

For each candidate, Ak⁢ji≤Bk⁢ji. Coordinatewise monotonicity of order statistics gives

A(ℓ)⁢ji≤B(ℓ)⁢ji≤B(d)⁢ji.

Thus the aggregate lower endpoint does not exceed the aggregate upper endpoint. ∎

The next lemma is the core link from F missed coordinates to pairwise residual comparisons. Unlike the preceding observation, it also applies when the aggregate endpoints cross.

Lemma 4.2 (Failure forces high outdegree).

Assume the positive finite-rank conditions (2.9), and let w be defined by (3.4). If Hi=1, then the outdegree zi of i in (4.6) satisfies

zi≥w.
Proof.

If t>F, then w=0, so the conclusion follows from zi≥0. Suppose henceforth that 1≤t≤F. Choose a set Ji of exactly F missed coordinates. At any j∈Ji, the interval convention above implies either

Yji⁢<A(ℓ)⁢jiorYji>⁢B(d)⁢ji.

In the first case, at least m−ℓ+1=d candidate lower endpoints exceed the response. In the second, at least d candidate upper endpoints lie below it. Hence at least d of the m candidate intervals miss at each selected coordinate.

For k≠i, let

ek:=∑j∈Ji1{Yji∉[Ak⁢ji,Bk⁢ji]}.

Then ∑k≠iek≥F⁢d. A candidate miss means

|Yji−pk⁢ji|>Rk⁢i.

If ek≥t, at least t of the n residuals defining Ri⁢k are strictly larger than Rk⁢i. Since Ri⁢k has ascending rank n+1−t,

ek≥t⟹Ri⁢k>Rk⁢i,(4.7)

so i→k.

The zi outgoing columns contain at most F incidences each, while every other column contains at most t−1. Therefore

F⁢d≤zi⁢F+(m−zi)⁢(t−1)=m⁡(t−1)+zi⁢(F−t+1).

Taking the integer ceiling and applying (3.4) yields zi≥w. ∎

It remains to bound how many vertices can meet this degree demand.

Lemma 4.3 (Sharp oriented-graph count).

Let N≥2 and w∈{0,…,N−1}. In an oriented graph on N vertices, at most

s:=min⁡{N,2⁢(N−w)−1}

vertices can have outdegree at least w.

Proof.

Let G be the set of such vertices and put g:=|G|. The case g=0 is immediate. The total outdegree from G is at least g⁢w. There are at most g⁡(N−g) directed edges from G to its complement, and an oriented graph has at most g⁡(g−1)/2 edges inside G. Hence

g⁢w≤g⁡(N−g)+g⁡(g−1)2.

Dividing by g and rearranging gives g≤2⁢(N−w)−1; also g≤N. ∎

Proof of the upper bound in Theorem 3.1.

If t>F, then w=0 and s=N, so the pointwise bound follows from Hi≤1. Suppose t≤F. If w≤⌊(N−1)/2⌋, then again s=N, and the same argument applies. Otherwise, Lemma 4.2 shows that every failing label has outdegree at least w, and Lemma 4.3 gives the pointwise inequality

∑i=1NHi≤s.(4.8)

When i=N, the leave-two fit f^−{N,k} is exactly the leave-k-out fit based on the observed blocks and Rk⁢N=Sk⁢(a). Consequently, HN is precisely the indicator of the original failure event (2.4). By exchangeability and (4.5), all Hi have the same expectation. Therefore

P{HN=1}=EHN=1NE[∑i=1NHi]≤sN.

Equations (3.5) and (3.7) give the claimed upper bound. All graph comparisons are strict. Ties can only delete edges, and hence cannot invalidate any step. ∎

5 Matching construction

We now realize every inequality in the upper bound with one block-permutation-invariant learner. Sharpness requires both an oriented graph attaining the vertex count and coordinate-incidence patterns attaining its degree requirements; the next two lemmas supply these pieces.

Lemma 5.1 (Extremal oriented graph).

Let N≥2 and w∈{0,…,N−1}. There is an oriented graph on N vertices containing a set S of

s=min⁡{N,2⁢(N−w)−1}

vertices, each with outdegree exactly w.

Proof.

If w≤⌊(N−1)/2⌋, then s=N. On the cyclic group Z/N⁢Z, orient

u⟶u+r,r=1,…,w.

There are no reciprocal arcs, and every vertex has outdegree w.

If w>⌊(N−1)/2⌋, then s=2⁢(N−w)−1 is odd. Take any set S of size s, orient every edge from S to its complement, and place a regular tournament on S. Each u∈S has outdegree

(N−s)+s−12=w.

Pairs inside the complement may remain unoriented. ∎

After fixing the graph, we realize at each selected vertex the required number of coordinate misses without creating extra outgoing comparisons.

Lemma 5.2 (Incidence realization).

For each u∈S, index the m columns by the vertices v≠u, and mark the w columns indexed by the outneighbors of u. There exists an F×m binary matrix Bu such that

  1. 1.

    every row has sum d=N−ℓ;

  2. 2.

    every marked column has sum at least t;

  3. 3.

    every unmarked column has sum at most t−1.

Proof.

If t>F, then w=0. Any F×m binary matrix with all row sums d works, because every column sum is at most F<t.

Suppose t≤F. Since F⁢d−m⁡(t−1)≤d⁡(F−t+1), the definition of w gives w≤d, whether or not the final probability bound is nontrivial. Hence

w⁢t≤d⁢F=F⁢d.

The definition of w also gives

F⁢d≤w⁢F+(m−w)⁢(t−1).

Starting with degree t in every marked column and zero in every unmarked column, add units without exceeding F on marked columns or t−1 on unmarked columns. The two inequalities show that integer column degrees c1,…,cm with total F⁢d can be chosen in the required ranges.

It remains to realize these degrees with all F row degrees equal to d. Sort c1≥⋯≥cm. The Gale–Ryser inequalities hold:

∑j=1kcj≤{F⁢k=F⁢min⁡{k,d},k≤d,F⁢d=F⁢min⁡{k,d},k>d.

Together with ∑jcj=F⁢d, the Gale–Ryser theorem [7, 16] yields the desired binary matrix. ∎

Proof of the lower bound in Theorem 3.1.

The construction proceeds in four steps: choose the extremal graph and its incidence matrices, encode their comparisons in a finite prediction table, realize that table with one multiset learner, and average the resulting label failures under a uniform type permutation.

Use the graph from Lemma 5.1 and the matrices from Lemma 5.2. Take the covariate space to be the finite discrete space

X0:={0,…,N−1}×{1,…,n}.

Choose an injection X0↪X⋆ and identify X0 with its image. Create N deterministic block types

(Xju,Yju)=((u,j),0),u=0,…,N−1,j=1,…,n.(5.1)

Uniformly permute these N fixed types among the N block positions. The resulting finite law is block exchangeable.

We first specify the pairwise prediction table. For u∈S and j≤F, set

pu⁢v⁢j:={1,Bj⁢vu=0,3,Bj⁢vu=1⁢ and ⁢v→u,2,Bj⁢vu=1⁢ and ⁢v↛u.(5.2)

Set pu⁢v⁢j=1 when j>F or u∉S. The predictor associated with the missing pair {u,v} takes value pu⁢v⁢j at (u,j) and pv⁢u⁢j at (v,j); these are different covariates, so the two assignments create no coupling conflict.

The table can be realized by an additive type-count learner. For a block Z, let χv⁢(Z) indicate that its covariate tuple is ((v,1),…,(v,n)); this ignores the responses. Put cu⁢j:=∑v≠upu⁢v⁢j, and, for a finite training multiset T, define at the designated covariates

A⁡(T)⁢(u,j):=cu⁢j−∑Z∈T∑v≠uχv⁢(Z)⁢pu⁢v⁢j,(5.3)

and define it to be zero elsewhere. If T contains precisely the N−2 types other than u,v, then (5.3) telescopes to pu⁢v⁢j. The evaluation map is measurable, additive in block-type indicators, and invariant to the ordering of T. The table has O⁡(N2⁢n) entries. After decoding a block type from its complete covariate tuple, evaluation is linear in the number of training blocks; no finite permutation orbit is stored.

We first compute its inner radii. For every u≠v,

Ru⁢v={2,u→v,1,u↛v.(5.4)

Indeed, if u→v, then v↛u because the graph is oriented. Column v of Bu is marked, contains at least t ones, and (5.2) equals 2 on those entries and 1 elsewhere. If u↛v, that column is unmarked and has at most t−1 entries exceeding 1, whether their value is 2 or 3. The (n+1−t)th order statistic is therefore respectively 2 or 1. The same conclusion holds when t>F, since every column then has fewer than t nonunit entries. If u∉S, which can occur only in the proper-subset graph construction, then u has no outneighbors and pu⁢v⁢j=1 for every v,j; hence Ru⁢v=1, again agreeing with (5.4).

Now take u∈S as the hypothetical test type. Candidate v uses radius Rv⁢u. For j≤F,

pu⁢v⁢j−Rv⁢u={1,Bj⁢vu=1,≤0,Bj⁢vu=0.(5.5)

Each row of Bu has d ones, leaving exactly m−d=ℓ−1 nonpositive lower candidates. The ℓth aggregate lower endpoint is therefore 1, while the response is 0. The first F coordinates miss, and F/n>α. At coordinates j>F, all predictions equal 1 and all radii are at least 1, so the response is covered.

If u∉S, every prediction at its covariates equals 1, again with radii at least 1, and every response is covered. Thus exactly the s types in S fail. Since the actual test position receives a uniformly random type,

P{HN=1}=sN,

which matches the upper bound. ∎

5.1 Tie-free sharpness

The discrete extremizer contains many equalities, so we verify that ties are not responsible for sharpness.

Proposition 5.3 (Quantitative removal of ties).

The matching construction can be chosen with no relevant ties. More precisely, fix 0<η<1/4. There are perturbations of every finite response and every specified prediction-table entry, each of magnitude at most η, that remove all residual ties, all equalities Ru⁢v=Rv⁢u, all candidate-endpoint ties, and every equality between a response and an aggregate endpoint, while preserving all s failing labels.

Proof.

We first show that sufficiently small perturbations preserve every strict failure margin, and then choose the perturbations in finite general position to remove all relevant equalities.

A response or prediction perturbation of size at most η changes each absolute residual by at most 2⁢η. An order statistic is one-Lipschitz in the sup norm, so each inner radius changes by at most 2⁢η. A candidate endpoint consequently changes by at most 3⁢η, and so does its outer order statistic. In the construction, the failing lower endpoint exceeds the response by one. After perturbation the gap is at least

1−3⁢η−η=1−4⁢η>0.

Hence every label in S still fails.

Choose the finitely many primitive response and table-entry perturbations and recompute the constants cu⁢j in (5.3). Choose the perturbations so that, together with 1, they are linearly independent over Q; such choices are dense in every sufficiently small cube. Since all unperturbed specified predictions are at least one, η<1/4 fixes the sign of every residual. After the residual orderings are selected, every undesired tie listed in the proposition would therefore be an affine relation with integer coefficients among 1 and the primitive perturbations. Each relation is nontrivial: residuals and radii from opposite directions use different ordered-pair/coordinate table entries, distinct candidates have distinct center entries, and a response–endpoint equality contains a center entry absent from the response. Linear independence rules out all such relations simultaneously. The additive definition and the random permutation of fixed block types preserve measurability, block-permutation invariance, and block exchangeability. Finally, the upper bound forbids any additional failing labels once the original s have been retained. ∎

6 Extensions of the exact frontier

The closed form in Theorem 3.1 is only the most symmetric instance of the comparison-graph method. This section treats unequal block sizes, asymmetric and randomized outer ranks, simultaneous on-sample deletion stability, and approximate exchangeability, in that order.

6.1 Exact frontier for unequal block sizes

For a standard Borel covariate space X, define the variable-length block space

Zvar⁢(X):=⨆r≥1(X×R)r.(6.1)

For an augmented array Z=(Z1,…,ZN), write ni:=|Zi| for the realized size at label i and

M⁡(Z):={{n1,…,nN}}(6.2)

for its unordered size multiset. Fix a multiset n of N positive integers, and let Pn be the exchangeable laws on Zvar⁢(X⋆)N satisfying P{M(Z)=n}=1. The assignment of sizes to labels may therefore be random. Learners in this subsection are the variable-length analogues of the maps in Section 2: for every r≥0,

Ar:Zvar⁢(X⋆)r×X⋆⟶R

is jointly measurable and symmetric in its r block arguments.

For the realized label sizes, define

Fi:=⌊α⁢ni⌋+1,ti:=⌊a⁡(ni+1)⌋,ℓ:=⌊b⁢N⌋,d:=N−ℓ.(6.3)

Throughout this subsection assume the genuinely finite inner-rank regime

1≤ti≤nifor every ⁢i,1≤ℓ≤m.(6.4)

This positivity condition matters: if some, but not all, ti vanish, the infinite radii couple candidate availability across vertices, so the vertexwise degree formula below no longer applies.

The heterogeneous endpoint rule uses the label-specific inner score

Si⁢(a):=qni,a+⁢((|Yji−f^−i⁢(Xji)|)j=1ni)(6.5)

in (2.3). On the revealed augmented array, for distinct i,k, set

Ri⁢k:=qni,a+⁢((|Yji−f^−{i,k}⁢(Xji)|)j=1ni),
pk⁢ji:=f^−{i,k}⁢(Xji),Ak⁢ji:=pk⁢ji−Rk⁢i,Bk⁢ji:=pk⁢ji+Rk⁢i,(6.6)

and define

Iji:=[A(ℓ)⁢ji,B(d)⁢ji],Hi:=1{∑j=1ni1{Yji∉Iji}≥Fi}.(6.7)

For i=N, this is exactly the failure event for the variable-length endpoint rule.

For each size type put

wi:={0,ti>Fi,max⁡{0,⌈Fi⁢d−m⁡(ti−1)Fi−ti+1⌉},ti≤Fi.(6.8)

Write w(1)≤⋯≤w(N) for these demands in increasing order and define

s∗⁢(n):=max⁡{s∈{0,…,N}:∑j=s−r+1sw(j)≤r⁡(2⁢N−r−1)2⁢for every ⁢1≤r≤s}.(6.9)

The constraints are vacuous for s=0. The fixed-multiset minimax value is

Γm,n,α⁢(a,b):=supP∈Pn,AEP⁢HN,(6.10)

where the learner supremum is over the admissible variable-length symmetric maps. Thus all objects in the minimax problem are defined on one sample space.

The functional s∗⁢(n) is the largest number of demands that an oriented graph can support. The next theorem shows that it is both necessary and attainable.

Theorem 6.1 (Exact heterogeneous-size frontier).

Under (6.4),

Γm,n,α⁢(a,b)=s∗⁢(n)N.(6.11)

After an O⁡(N⁢log⁡N) sort, s∗⁢(n) is computable with O⁡(N2) unit-cost arithmetic operations. Equality is attained by a finite exchangeable law and one additive block-permutation-invariant learner, and all relevant ties can be removed.

More generally, if the block-size multiset is random and the ranks ti are positive almost surely, then every exchangeable block law and admissible learner obey

P{HN=1∣M}≤s∗⁢(M)Nalmost surely,P{HN=1}≤E[s∗⁢(M)N].(6.12)
Proof.

The upper bound repeats the incidence argument with vertex-specific demands and then applies Hall-type edge capacity. For the lower bound, a matching supplies the oriented graph, Gale–Ryser supplies each coordinate-incidence matrix, and one variable-length type-count learner realizes all comparisons.

Reveal all blocks and let ni be the realized size of hypothetical test label i. The incidence proof of Lemma 4.2, with (F,t,w) replaced by (Fi,ti,wi), shows that a failing label i has outdegree at least wi. If ti>Fi, this says only zi≥0=wi; otherwise the same Fi⁢d incidence count applies even when the aggregate endpoints cross.

Let S be the set of failing labels. For every A⊆S, all outdegree contributed by vertices in A is carried by an edge incident to A. An oriented graph has at most one arc on each unordered pair, so, with r=|A|,

∑i∈Awi≤(r2)+r⁡(N−r)=r⁡(2⁢N−r−1)2.(6.13)

If g=|S|, the sum of the r largest demands among the globally smallest g demands is no larger than the sum of the r largest demands inside S. Thus (6.13) implies that g is feasible in (6.9), and g≤s∗⁢(n). The pointwise bound ∑iHi≤s∗⁢(n), followed by equivariance and exchangeability, proves the upper bound in (6.11). For random M, multiply the pointwise inequality by any bounded nonnegative function φ⁡(M). Because M is invariant under relabeling, exchangeability gives

E⁡[φ⁡(M)⁢HN]=1N⁢E⁢[φ⁡(M)⁢∑iHi]≤E⁡[φ⁡(M)⁢s∗⁢(M)N].

The defining property of conditional expectation yields the first inequality in (6.12); taking expectations yields the second.

For sharpness, let S index the s∗ smallest demands. Construct a bipartite graph with wi demand copies of each i∈S on the left and the (N2) unordered vertex pairs on the right; a copy of i is adjacent to the pairs incident to i. For a set of r vertices the union of these neighboring pairs has size (r2)+r⁡(N−r). The inequalities in (6.9) are therefore exactly Hall’s conditions [10], including subsets containing only some copies of a vertex. A matching assigns wi distinct incident pairs to each i∈S. Orient every assigned pair away from the vertex to which it was matched and leave unassigned pairs unoriented. Every i∈S now has outdegree exactly wi, while vertices outside S have outdegree zero.

For each i∈S, repeat Lemma 5.2 with an Fi×m matrix, row sum d, and column threshold ti. The same two capacity inequalities hold because

wi⁢ti≤Fi⁢d≤wi⁢Fi+(m−wi)⁢(ti−1).(6.14)

Gale–Ryser supplies the matrix. Choose an injection into X⋆ from the finite space

X0:=⨆i=1N{(i,j):1≤j≤ni},

identify X0 with its image, and give block type i the complete covariate tuple ((i,1),…,(i,ni)) and zero responses. For ordered i≠v and 1≤j≤Fi, define pi⁢v⁢j by the three cases in (5.2), using Bi; set pi⁢v⁢j=1 when Fi<j≤ni or i∉S. Let χv⁢(Z) recognize the full type-v covariate tuple and ignore responses, put ci⁢j:=∑v≠ipi⁢v⁢j, and define

A⁡(T)⁢(i,j):=ci⁢j−∑Z∈T∑v≠iχv⁢(Z)⁢pi⁢v⁢j((i,j)∈X0),

with value zero outside X0. This is one measurable symmetric learner on the variable-length block space, and omitting types i,v makes its value at (i,j) equal pi⁢v⁢j. Exactly the labels in S miss their first Fi coordinates. Uniformly permuting the fixed block types gives failure probability s∗/N. The perturbation proof of Proposition 5.3 is finite and typewise, so it also removes all relevant ties here.

After sorting, prefix sums evaluate all inequalities in (6.9) with O⁡(N2) unit-cost arithmetic operations. Feasibility is monotone in s, which completes the computational claim. ∎

When all ni=n, every demand equals the w in (3.4). For a candidate set of size s, the tightest condition in (6.9) is the one with r=s, giving s≤2⁢(N−w)−1. Thus (6.11) reduces exactly to (3.5); the heterogeneous theorem is a strict extension rather than a different bound.

6.2 Asymmetric endpoints: symmetry is minimax optimal

The rule (2.3) uses the same outer rank on both sides. To test whether that symmetry conceals a better tradeoff, let 1≤ℓ−,ℓ+≤m and define the rank-indexed asymmetric rule

Ia;ℓ−,ℓ+⁢(x):=[(f^−i⁢(x)−Si⁢(a))(ℓ−),(f^−i⁢(x)+Si⁢(a))(N−ℓ+)].(6.15)

The order statistics are over i=1,…,m, as before. Write ℓ¯:=max⁡{ℓ−,ℓ+}.

Theorem 6.2 (Exact asymmetric-rank law).

In the balanced model and finite inner-rank regime, the worst-case failure probability of (6.15) is one when t>F. If 1≤t≤F, it is

min⁡{1,2⁢L¯+1N},L¯:=min⁡{m,⌊F⁡(ℓ¯−1)F−t+1⌋}.(6.16)

Consequently, for every data set and covariate x,

Ia;ℓ¯,ℓ¯⁢(x)⊆Ia;ℓ−,ℓ+⁢(x),(6.17)

while the two rules have the same minimax failure probability. Hence every outer-rank Pareto optimum is symmetric.

Proof.

We obtain the upper bound by incidence counting, match it by construction and reflection, and finish with endpoint monotonicity.

Put d¯:=N−ℓ¯. At a lower-side miss, at least N−ℓ−≥d¯ candidate intervals miss the response; at an upper-side miss, at least N−ℓ+≥d¯ candidates miss it. The incidence proof therefore applies with d=d¯ and gives exactly the upper bound in (6.16). In the only nontrivial case, the resulting degree threshold exceeds ⌊(N−1)/2⌋. As in Lemma 4.1, it is at most d¯, so ℓ−≤ℓ¯≤d¯≤N−ℓ+; this also proves that the asymmetric aggregate interval is nonempty.

If ℓ¯=ℓ−, the matching construction of Section 5, with row sum d¯, produces the required number of lower-side failures. If ℓ¯=ℓ+, negate every specified prediction in that construction. Absolute residuals and comparison orientations are unchanged. On a failing coordinate the d¯ selected upper candidates now equal −1, all others are nonnegative, and the response zero lies strictly above the (N−ℓ+)th upper candidate. This gives the matching upper-side construction. Every reflected prediction has absolute value at least one, so the fixed-sign, tie-free perturbation argument is unchanged by reflection.

Finally, increasing ℓ− raises the lower endpoint and increasing ℓ+ lowers the upper endpoint. Raising the smaller rank to ℓ¯ therefore gives (6.17), while (6.16) is unchanged. ∎

The theorem also clarifies the zero-rank boundary. If both outer ranks vanish, the interval is R; if exactly one vanishes, the rule is one-sided and is not covered by the rank-zero identity (2.8). We restrict Theorem 6.2 to positive ranks precisely to keep these cases separate.

6.3 An exact frontier for a randomized outer rank

Randomly interpolating between integer ranks is not described by the convex hull of their separate worst-case values: the adversary must use one data law and one learner against all ranks in the mixture. We can solve this issue exactly in the balanced model when the inner rank is fixed. For a positive outer rank ℓ∈{1,…,m}, define

Iji,(ℓ):=[A(ℓ)⁢ji,B(N−ℓ)⁢ji],Hi(ℓ):=1{∑j=1n1{Yji∉Iji,(ℓ)}≥F}.(6.18)

These objects obey the same relabeling equivariance as Hi.

Let π be a distribution on {1,…,m}. The procedure draws one global rank L∼π, independently of the blocks and any learner seed, and uses it for both endpoints, all coordinates, and every hypothetical test label. The law and learner may depend on the known distribution π, but the learner does not observe the realized L; a randomized learner uses the same independent seed in every fit and rank. The corresponding minimax value is

Γm,n,απ⁢(a):=supP,A∑ℓ=1mπℓ⁢EP⁢HN(ℓ),(6.19)

with the supremum outside the rank expectation and over the balanced experiment in (2.5). If t=0, every supported rank covers. If t>F, a single adversary makes every supported rank fail: use the constant-zero learner and give each block exactly F nonzero responses and n−F zeros. Every inner radius is zero, every positive outer rank returns [0,0], and every label fails. We therefore focus below on 1≤t≤F.

Fix 1≤t≤F, let D:=F−t+1, and for each positive outer rank define

wℓ:=max{0,⌈F⁡(N−ℓ)−m⁡(t−1)D⌉},Φπ(z):=∑ℓπℓ1{z≥wℓ}.(6.20)

Let Score⁡(N) be the set of tournament outdegree sequences. Equivalently, after sorting 0≤z1≤⋯≤zN≤N−1, Landau’s theorem [12] characterizes membership by

∑i=1kzi≥(k2)(1≤k<N),∑i=1Nzi=(N2).(6.21)
Theorem 6.3 (Exact randomized-rank law).

In the balanced model, fix 1≤t≤F and a distribution π on {1,…,m}. Under the hidden global independent-rank coupling above,

Γm,n,απ⁢(a)=1N⁢max⁡∑i=1N(z1,…,zN)∈Score⁡(N)⁡Φπ⁢(zi).(6.22)

The maximum can be computed by dynamic programming with O⁡(N4) unit-cost arithmetic operations. A single finite exchangeable construction jointly realizes Hi(ℓ)=1{zi≥wℓ} for every supported rank under a maximizing tournament, thereby attaining the π-weighted objective; all relevant ties can be removed.

Proof.

The proof first bounds every rank-specific failure by a monotone payoff of one comparison-graph degree sequence. A maximizing tournament then drives one common lower construction for all ranks, and Landau’s inequalities yield the dynamic program.

For any revealed augmented data set, construct the strict-comparison oriented graph (4.6) and let zi be its outdegrees. Because every supported rank is positive and finite, Lemma 4.2 applied at rank ℓ gives

Hi(ℓ)≤1{zi≥wℓ}.

Complete every missing edge of the oriented graph in an arbitrary direction. This only increases degrees, and Φπ is nondecreasing. Averaging over the global independent rank and over hypothetical labels, then applying exchangeability, gives the upper bound in (6.22). The completion need not be measurable or equivariant because it is used only in this pointwise finite optimization.

For the converse, take a maximizing tournament and a vertex of outdegree z. Define

c⁡(z):=⌊m⁡(t−1)+z⁢DF⌋.(6.23)

Since

m⁡(t−1)+z⁢D−z⁢F=(m−z)⁢(t−1)≥0,

we have z≤c⁡(z)≤m, and

z⁢t≤F⁢c⁢(z)≤z⁢F+(m−z)⁢(t−1).(6.24)

Thus an F×m binary incidence matrix exists with every row sum c⁡(z), outneighbor columns of sum at least t, and all other columns of sum at most t−1; this is exactly the Gale–Ryser argument of Lemma 5.2.

Use these vertex-dependent matrices in the additive construction of Section 5. For a vertex of degree zi, each of the first F coordinates has exactly c⁡(zi) lower candidates equal to one and all others nonpositive, while every upper candidate lies above the response zero. It therefore fails at outer rank ℓ exactly when

c(zi)≥N−ℓ⟺zi≥wℓ.(6.25)

Uniformly permuting the block types gives equality in (6.22). This equivalence holds for every 1≤ℓ≤m; noncrossing endpoints are not required. The perturbation of Proposition 5.3 preserves every failure pair (i,ℓ) with positive πℓ-mass. Because their weighted total already equals the universal upper bound, no new positive-mass failure can be introduced; hence a tie-free extremizer exists.

For computation, sort a score sequence and let Vk⁢(r,s) be the largest payoff for a nondecreasing length-k prefix with last degree r, degree sum s, and all applicable prefix inequalities in (6.21). Initialize V1⁢(r,r)=Φπ⁢(r) for 0≤r≤N−1, set all other states to −∞, and for k≥2 use the recurrence

Vk⁢(r,s)=Φπ⁢(r)+maxr′≤r⁡Vk−1⁢(r′,s−r).

Prefix maxima make each transition constant time. There are O⁡(N4) states over all layers and O⁡(N3) rolling storage; imposing total sum (N2) at the final layer proves the arithmetic-operation claim. ∎

Proposition 6.4 (Randomization is not convexification).

Let m=6, n=1, and α=a=1/2, so N=7 and F=t=1. Let π be uniform on outer ranks two and three. Then

Γ6,n,απ⁢(a)=37<12⁢(37+57)=47,(6.26)

where 3/7 and 5/7 are the separate deterministic minimax values.

Proof.

Here w2=5, w3=4, and Φπ(z)=1{z≥5}+121{z=4}. Put A=#⁡{i:zi≥5} and B=#⁡{i:zi≥4}. The sharp single-threshold count gives A≤3 and B≤5. If A+B≥7, either A=3,B≥4, in which case the four largest degrees sum to at least 19 and the three smallest sum to at least (32)=3, or A=2,B=5, in which case the five largest degrees already sum to at least 22. Both contradict the total degree 21. Hence ∑iΦπ⁢(zi)=(A+B)/2≤3. The score sequence (0,1,2,3,5,5,5) satisfies (6.21) and attains three. The deterministic values follow from Theorem 3.1. ∎

6.4 Exact frontier for the expanded rule under on-sample deletion stability

The preceding laws are minimax over arbitrary invariant learners. When the augmented sample satisfies the event below, an explicit endpoint correction admits a substantially wider frontier. Define the leave-one reference fit

g−i:=A⁡((Zr)r≠i)

and the label-invariant augmented-sample deletion-stability event

Eε:={maxi≠kmax1≤j≤n|f^−{i,k}(Xji)−g−i(Xji)|≤ε}.(6.27)

If Ia,b⁢(x)=[La,b⁢(x),Ua,b⁢(x)], let

Ia,b+2⁢ε⁢(x):=[La,b⁢(x)−2⁢ε,Ua,b⁢(x)+2⁢ε].(6.28)

This is an explicit robustness correction, not an asymptotic stability assumption.

The next theorem compares every leave-two candidate with its leave-one reference and shows that endpoint inflation reduces failure to a scalar order-statistic event.

Theorem 6.5 (Exact frontier for the 2⁢ε-expanded rule).

In the balanced model, fix ε≥0. For any γ∈[0,1], if 1≤t≤F, 1≤ℓ≤m, and P⁡(Eε)≥1−γ, then the expanded rule satisfies

P⁡{new block fails under ⁢Ia,b+2⁢ε}≤ℓN+s−ℓN⁢γ,s:=min⁡{N,2⁢L+1},(6.29)

where L is defined in (3.1). In particular, almost-sure on-sample deletion stability gives the sharp expanded-rule bound ℓ/N.

For the full parameter range and every fixed ε≥0, the worst-case failure probability of the expanded rule over laws and learners satisfying Eε almost surely is

{0,t=0⁢ or ⁢ℓ=0,1,1≤ℓ≤m⁢ and ⁢t>F,ℓ/N,1≤t≤F,1≤ℓ≤m.(6.30)

Consequently, for δ∈(0,1) with ⌊δ⁢N⌋≥1, the unique maximal finite-rank pair for the 2⁢ε-expanded rule in the almost-sure on-sample stable class is

(t,ℓ)=(F,⌊δ⁢N⌋),(6.31)

and, along every sequence with min⁡{m,n}→∞ and fixed α,δ, the asymptotic validity region among fixed positive a,b is the rectangle

a≤α,b≤δ.(6.32)

Over all (a,b)∈[0,1)2, the full limiting region additionally contains the two degenerate rank-zero axes {a=0}∪{b=0}. Every exact-law and frontier assertion in this theorem concerns the expanded rule; when ε=0, it is the original endpoint rule.

Proof.

On Eε, we first compare every candidate endpoint with a leave-one reference endpoint and obtain a common scalar interval contained in the expanded rule. A scalar order-statistic count controls this event, the general bound controls its complement, and a constant learner gives sharpness.

Define the reference radius

Qi:=qn,a+⁢((|Yji−g−i⁢(Xji)|)j=1n).(6.33)

On Eε, the one-Lipschitz property of order statistics gives |Ri⁢k−Qi|≤ε. Each candidate endpoint for hypothetical test label i is therefore within 2⁢ε of g−i⁢(Xji)±Qk. Taking outer order statistics and then applying (6.28) shows that the expanded interval contains

[g−i⁢(Xji)−Q(d)(−i),g−i⁢(Xji)+Q(d)(−i)],d=N−ℓ,(6.34)

where Q(d)(−i) is the dth smallest of (Qk)k≠i.

If the expanded interval misses at least F coordinates, the reference residual exceeds Q(d)(−i) on at least F coordinates. Since t≤F, this forces

Qi>Q(d)(−i).(6.35)

Among N real numbers, at most ℓ indices satisfy (6.35); ties only reduce this number. Hence, pointwise on Eε, at most ℓ hypothetical labels fail the expanded rule. On its complement, expansion can only remove failures from the unexpanded rule, for which (4.8) gives at most s failures. Let HN+2⁢ε denote failure of the expanded rule. Exchangeability and the label invariance of Eε give

P{HN+2⁢ε=1}≤1N[ℓP(Eε)+sP(Eεc)]=ℓN+s−ℓNP(Eεc).

Since L≥ℓ−1, we have s≥ℓ; substituting P⁡(Eεc)≤γ proves (6.29).

For sharpness under almost-sure stability, use the constant-zero learner, which is 0-stable. Give type i exactly F positive responses of magnitude qi and set its other responses to zero, where the qi’s are strictly increasing with consecutive gaps larger than 2⁢ε. When 1≤t≤F, its inner radius is qi, and precisely the ℓ largest-radius types fail after the 2⁢ε expansion. If t>F, and 1≤ℓ≤m, give every type F responses of a common magnitude larger than 2⁢ε and all remaining responses zero. Every inner radius is zero and every type fails. Uniformly permuting the types gives an exchangeable law; arbitrarily small distinct perturbations remove residual ties while preserving the gaps. The rank-zero cases follow from (2.8). This proves (6.30); the finite and asymptotic frontier statements follow by substitution. ∎

Remark 6.6 (Endpoint inflation is essential).

For ε>0, on-sample stability alone does not improve the minimax law of the unexpanded rule at positive finite ranks 1≤t≤F and 1≤ℓ≤m. Scale every prediction in the general sharpness construction by c∈(0,ε/3] while keeping all responses zero. The leave-one reference fit is zero and every pairwise prediction differs from it by at most 3⁢c≤ε, so Eε holds. Positive scaling preserves all strict rank comparisons and failures, and the unexpanded rule still attains the corresponding general value min⁡{1,(2⁢L+1)/N}. This argument does not apply at ε=0, when the expanded and original rules coincide.

The mechanism parallels the stability analysis of ordinary jackknife+ in Barber et al. [1], but the target here is the probability that the realized covered fraction of an arbitrarily dependent test block falls below 1−α. On Eε, every candidate endpoint is within 2⁢ε of a reference endpoint, and the expanded aggregate contains the common reference interval in (6.34). The failure analysis therefore reduces to one scalar order-statistic comparison per block.

6.5 Approximate exchangeability via block swaps

The exact pointwise label count also degrades gracefully if block exchangeability is only approximate. This is an application of the swap-TV principle developed for conformal prediction beyond exchangeability by Barber et al. [2] and, in a general group-invariance form, by Dobriban and Yu [4].

Let P now be any law on the labeled N-block array, not necessarily exchangeable. For i≤N, let τi swap labels i and N, with τN the identity, and define

εswap⁢(P):=1N⁢∑i=1NdTV⁢(P,(τi)#⁢P),(6.36)

where dTV⁢(P,Q)=supA|P⁡(A)−Q⁡(A)|.

Corollary 6.7 (Sharp block-swap degradation).

In the balanced finite-rank setting, put s:=min⁡{N,2⁢(N−w)−1}. Then

PP{HN=1}≤min{1,sN+εswap(P)}.(6.37)

The coefficient one is sharp: whenever s<N, for every 0≤η≤1−s/N there are a law Pη and an admissible learner for which

εswap(Pη)=η,PPη{HN=1}=sN+η.(6.38)
Proof.

The upper bound averages the total-variation defect of each swap against the pointwise label count. Sharpness then tilts the finite extremal orbit toward the event that the designated test label fails.

Equivariance under the transposition gives

EP⁢Hi=E(τi)#⁢P⁢HN.

The defining variational property of total variation therefore implies

EP⁢HN≤EP⁢Hi+dTV⁢(P,(τi)#⁢P).

Average this inequality over i and use the pointwise count ∑iHi≤s to obtain (6.37).

For sharpness, let Q be the uniform permutation law of the extremal construction in Section 5, so exactly s hypothetical labels fail on every realization. Put γ=s/N, let A={HN=1}, and tilt Q by

d⁢Pηd⁢Q=γ+ηγ⁢1A+1−γ−η1−γ⁢1Ac.(6.39)

Then Pη⁢(A)=γ+η. Under Q, for every i≠N, the indicators HN,Hi are two draws without replacement from s ones and N−s zeros. Consequently

Q{HN≠Hi}=2⁢γ⁢(1−γ)⁢NN−1,

while the two density levels in (6.39) differ by η/[γ⁡(1−γ)]. Thus

dTV⁢(Pη,(τi)#⁢Pη)=η⁢NN−1(i≠N),

and the identity term for i=N is zero. Averaging gives εswap⁢(Pη)=η, proving (6.38). ∎

7 Consequences and efficiency

This section first instantiates the complete-failure phase at the conventional outer factor-two choice. It then gives an explicit pathwise length separation and a deterministic diagnostic for strict interval containment.

7.1 The naive outer correction can fail completely

Proposition 7.1 (Failure of the ordinary factor-two correction).

Take

m=19,n=200,α=a=δ=0.2,b=0.1=δ/2.

Then

Γ19,200,0.2⁢(0.2,0.1)=1.
Proof.

Here

N=20,F=41,t=40,ℓ=2,

and

L=min⁡{19,⌊412⌋}=19.

The conclusion follows from Theorem 3.1. Thus an exchangeable law and a block-permutation-invariant learner exist for which every possible test type misses at least 41/200 responses. ∎

The phenomenon persists asymptotically by Corollary 3.4. The ordinary outer choice b=δ/2 spends the full outer factor-two budget while leaving no budget for the inner coordinate fraction. As a smaller integer anchor, if m=n=19 with the same four levels α=a=δ=0.2, b=0.1, then

F=t=4,ℓ=2,L=4,Γ=920.

7.2 An explicit atomless pathwise average-length separation

We next show, by an explicit existence construction, that a valid frontier point can be much shorter pathwise than jackknife-minmax.

Proposition 7.2 (Atomless pathwise length separation).

Let

m=n=19,α=δ=0.2,a=b=0.1.

Then the endpoint rule is valid with

Γ19,19,0.2⁢(0.1,0.1)=320<0.2.

For the realized test block, define the pathwise average-length advantage

Δ:=119⁢∑j=119[len⁡(Imm⁢(XjN))−len⁡(Ia,b⁢(XjN))].(7.1)

For every K>0, there is an exchangeable block model on which all displayed intervals are finite and, for every realization of the type permutation,

119⁢∑j=119len⁡(Ia,b⁢(XjN))=2,119⁢∑j=119len⁡(Imm⁢(XjN))=2⁢K+3819.(7.2)

In particular, Δ=2⁢K/19, while the endpoint-to-minmax average-length ratio is

382⁢K+38⟶0.(7.3)

If the responses are replaced by independent continuous noise supported on [−ξ,ξ], with 0<ξ<K/38, the law is atomless and, pathwise,

Δ≥2⁢K−76⁢ξ19>0.(7.4)

Moreover, the endpoint-rule average length is at most 2+2⁢ξ, while the minmax average length is at least (2⁢K+38−38⁢ξ)/19. Their ratio is therefore at most

38⁢(1+ξ)2⁢K+38−38⁢ξ,(7.5)

which also tends to zero for fixed ξ.

This is an explicit-family existence separation. It does not assert expected-length minimax optimality or uniform dominance over a natural model class.

Proof.

We first verify that the selected ranks lie on the exact validity frontier. A cyclic prediction table then gives the two pathwise lengths, after which a bounded atomless response perturbation establishes the atomless claim.

The ranks are

N=20,F=4,t=2,ℓ=2,Dδ=4,q=2.

The criterion (3.9) holds because

F⁡(q−ℓ+1)=4≥3=q⁡(t−1)+1.

Moreover L=⌊4/3⌋=1, giving the stated worst-case failure probability. In addition,

T2=1+⌊4⁢(2−2+1)−12⌋=2,

so (t,ℓ)=(2,2) is a maximal point of the exact lattice Pareto antichain, not merely an interior valid pair.

For the length comparison, label the 20 block types by u∈Z/20⁢Z, give type u covariates (u,j), j=1,…,19, and uniformly permute the types. Define one learner by first specifying the following pairwise table. When the training multiset omits {u,v}, its prediction at the first coordinate of type u is

f^−{u,v}⁢(u,1)={−K,v−u≡1(mod20),K,v−u≡−1(mod20),0,otherwise.(7.6)

As v≠u varies, these values are

−K,0,…,0⏟17⁢ times,K.

At coordinates j=2,…,19 of either omitted type, set every prediction to 1. The additive type-count formula (5.3) realizes this table and is measurable and block-permutation-invariant. Initially set all responses to zero. Each calibration block has at most one residual different from 1, so both the a=0.1 score of rank 18 and the α=0.2 score of rank 16 equal 1.

At coordinate 1, the minmax interval and the endpoint interval are

[−K−1,K+1]and[−1,1],

with lengths 2⁢K+2 and 2. At each other coordinate both rules return [0,2]. This proves (7.2), (7.3), and the stated difference.

Now let every response be an independent continuous random variable supported on [−ξ,ξ], and then uniformly permute the noisy types. The learner ignores the responses and still reads only the unordered covariate-labelled training blocks. Conditional on the discrete type permutation, the response vector has a product atomless law, so the resulting exchangeable law is atomless.

Relative to the zero-response construction, every residual moves by at most ξ. The one-Lipschitz property of order statistics therefore moves each relevant inner score by at most ξ. Consequently each outer candidate endpoint, each outer endpoint quantile, and Qδ moves by at most ξ; the length of either interval changes by at most 2⁢ξ. At coordinate 1, the minmax length minus the endpoint length is thus at least 2⁢K−4⁢ξ. At each of the other 18 coordinates it is at least −4⁢ξ. Averaging gives (7.4). The bound is positive when ξ<K/38, and it holds for every realization in the support, not only in expectation. The preceding Lipschitz bound also shows that every endpoint-rule coordinate has length at most 2+2⁢ξ. Moreover, Qδ≥1−ξ, so the minmax average length is at least (2⁢K+38−38⁢ξ)/19. Dividing proves (7.5). ∎

7.3 A general strict-containment diagnostic

The preceding example isolates a general deterministic condition under which endpoint trimming strictly contracts the minmax interval.

Proposition 7.3 (A sufficient condition for strict containment).

Fix a covariate x, write

pi:=f^−i⁢(x),Ma:=maxi⁡Si⁢(a),Qδ:=qm,δ+⁢((Si⁢(α))i=1m),

and let p(1)≤⋯≤p(m). Assume the endpoint interval is nonempty, 1≤ℓ≤m, and all the displayed predictions and score radii are finite. If

p(ℓ)−p(1)>Ma−Qδ,p(m)−p(N−ℓ)>Ma−Qδ,(7.7)

then

Ia,b⁢(x)⊂int⁡Imm⁢(x).
Proof.

Coordinatewise monotonicity gives

qm,b−⁢((pi−Si⁢(a))i)≥p(ℓ)−Ma>p(1)−Qδ.

Similarly,

qm,b+⁢((pi+Si⁢(a))i)≤p(N−ℓ)+Ma<p(m)+Qδ.

These are precisely the two strict endpoint inclusions. Because the inequalities in (7.7) are strict, they describe an open class of finite endpoint and score arrays. The proposition is a pointwise diagnostic, not a claim of uniform expected-length dominance. ∎

Operationally, the condition is favored when Ma−Qδ is small relative to both prediction gaps in (7.7). This occurs, for example, when score radii are controlled and nearly homogeneous while a small number of leave-environment predictions form separated tails.

8 Meaning, related work, and boundaries

We first interpret the two terms in the rank budget and the role of learner stability. We then locate the result relative to conformal, hierarchical, and batch prediction, before recording the remaining scope boundaries.

8.1 What the exact law explains

The asymptotic budget (3.16) separates two distinct costs. The term 2⁢b/δ is the familiar outer jackknife+ tournament penalty. The new term a/α records the inner allocation needed to control a fraction of coordinates in the test block. Different coordinates can be missed by different candidate environments, so a one-response jackknife+ argument cannot simply be repeated coordinatewise.

The complete-failure region (3.17) shows that this is a phase transition, not a small undercoverage effect. Spending the entire outer factor-two budget can make every possible test label fail. The heterogeneous theorem gives the same explanation vertex by vertex: each block size induces an outdegree demand, and simultaneous failure is possible exactly when the incident-edge system can meet those demands. The asymmetric theorem then shows that assigning different budgets to the two tails cannot evade the obstruction.

The stability theorem identifies what is worst-case about that picture. On Eε, every candidate endpoint is within 2⁢ε of a reference endpoint, and the 2⁢ε-expanded aggregate interval contains the common reference interval used in the scalar comparison. When 1≤t≤F and 1≤ℓ≤m, the expanded rule then has exact worst-case failure probability ℓ/N over the almost-sure Eε class, and it has the rectangular limiting region (6.32). For ε>0, Remark 6.6 shows that this conclusion does not extend to the unexpanded rule. Thus the general frontier reflects the cost of allowing test coordinates to interact with an unrestricted leave-environment learner.

The frontier is not solely an impossibility boundary. The explicit family in Proposition 7.2 removes two separated prediction tails while keeping its pathwise average length bounded; the jackknife-minmax average length diverges, and the separation survives bounded atomless response perturbations. This is an existence separation, not a uniform efficiency claim.

8.2 Relation to prior work

Conformal and leave-one-out prediction.

Distribution-free predictive inference originates with conformal prediction [18]; cross-conformal prediction combines foldwise conformal scores from cross-fitted models [17]. The ordinary jackknife+ theorem of Barber et al. [1] proves 1−2⁢b coverage, establishes sharpness of the factor two, and recovers a 1−b guarantee with jackknife-minmax. Nested conformal and quantile out-of-bag methods provide a broader endpoint-based perspective [9]. We do not claim the comparison tournament itself as new. The new combinatorial step is the coordinate–environment incidence layer, together with an exact realization showing that no information is lost in passing from block failures to degree demands. Our stable-learner result is likewise a block-level exact analogue of the stability mechanism in ordinary jackknife+, under the simultaneous on-sample event (6.27) and endpoint expansion.

Hierarchical and multi-environment inference.

The leave-two-environment augmentation follows the proof architecture of Theorem 1 of Duchi et al. [5]. Their model permits random unequal block sizes and arbitrary conditional block laws; their extreme envelope avoids an endpoint-rank loss. Duchi et al. do not provide a finite-sample validity theorem for their Algorithm 9 and report empirical undercoverage in Appendix D. Theorem 6.1 gives the exact conditional minimax envelope for the class with a fixed realized unordered size multiset, positive induced inner ranks, and a positive outer rank, together with the conditional and expectation bounds for random sizes.

For different targets, Dunn et al. [6] study a hierarchical-i.i.d. model and predict one response from a new subject by pooling empirical distribution functions and by subsampling. Lee et al. [13] formulate hierarchical exchangeability, allowing unequal random group sizes but requiring within-group exchangeability; their hierarchical jackknife+ gives marginal coverage for one response, while their stronger repeated-measurement guarantee uses conditionally i.i.d. repeats. SymmPI [4] covers general group invariances and random imbalanced sizes, but its hierarchical specialization again assumes within-group exchangeability and targets a missing response. None of these results controls the realized covered fraction of a new block under arbitrary within-block dependence.

Exact batch coverage has a separate and closely related literature. Gazin et al. [8] derive the joint law of multiple conformal ranks, and Marques F. [15] gives the exact empirical-coverage distribution for split conformal prediction. Batch predictive inference [14] directly controls the empirical covered fraction of an exchangeable test batch and proves fixed-rank optimality from an exact test-rank law. Those results assume individual-level exchangeability of the calibration and test observations and scores not produced by coupled leave-two-environment fits. Here the exchangeable units are whole blocks, coordinates within a block may be arbitrarily dependent, and each endpoint is built from mutually coupled leave-environment predictions. The incidence and oriented-graph obstruction is absent from the individual-rank batch model. Cross-validation conformal risk control [3] also targets a batch loss, using a minmax-type union rather than the endpoint frontier studied here. Quantiles of local quantiles also appear in one-shot federated conformal prediction [11], but there the target is one test response and validity comes from exchangeable individual scores rather than coupled leave-environment fits.

Beyond exchangeability and graph realization.

Swap total-variation bounds for nonexchangeable conformal and jackknife+ procedures were developed by Barber et al. [2]; SymmPI gives a general transformation-group formulation. Corollary 6.7 specializes that principle to whole-block swaps around our sharp pointwise baseline and proves that its coefficient is attained by the same extremal orbit.

The remaining combinatorial tools are classical. Landau’s theorem characterizes tournament scores [12]; Hall’s theorem supplies the incident-edge matching for heterogeneous demands [10]; and the Gale–Ryser theorem realizes equal-row-sum binary matrices. Our claim is therefore deliberately specific: to our knowledge, prior work does not give the exact finite-sample minimax failure law, the fixed-multiset heterogeneous degree-demand frontier with positive ranks, or the hidden-global-rank tournament optimization for balanced endpoint-quantile multi-environment jackknife+ under arbitrary within-block dependence. This is not a priority claim for hierarchical conformal prediction or tournament arguments in general.

8.3 Scope and open directions

The balanced theorem covers every deterministic rank cell, while the unequal size theorem assumes ti≥1 for every realized size type. Mixed zero and positive inner ranks create infinite radii on only some vertices, coupling candidate availability across the graph; their exact frontier is open. The random-size upper bound (6.12) remains valid whenever the positive-rank condition holds almost surely.

Randomized tie-breaking cannot repair an invalid deterministic cell because Proposition 5.3 gives tie-free extremizers. Theorem 6.3 instead analyzes one global, data-independent random outer rank with fixed inner rank. Joint randomization of both levels, data-dependent selection of a Pareto point, and procedures in which the learner observes the rank coin lead to different minimax games. Valid and efficient adaptive selection among the finite frontier points is a natural next question.

The on-sample stability condition (6.27) is simultaneous over all augmented deletions and observed covariates. Weaker in-probability, average, or distribution-dependent notions may interpolate between (6.29) and the general exact law more favorably. Within-block i.i.d. sampling and smooth hierarchical models may also permit shorter intervals, but they define restricted distribution classes. Optimizing expected length over such a class, rather than exhibiting a strict pathwise gain, remains open.

Finally, a coherently randomized learner is covered when the same independent seed U is used in every augmented fit. Independently rerandomizing the same training multiset destroys the single comparison graph. The same issue arises if the learner observes the global random rank in Theorem 6.3; in either case a different coupling analysis is needed.

9 Conclusion

Endpoint quantiles can replace the extreme multi-environment prediction envelope, but their two ranks share an exact finite-sample budget. The balanced law, its lattice frontier, and the matching graph construction show that the factor-two outer penalty and the new inner incidence penalty are both structural. Hall feasibility extends the result to fixed unequal sizes with positive inner and outer ranks. In the balanced model, asymmetric ranks, a hidden global random rank, the expanded rule under on-sample deletion stability, and finite-rank approximate exchangeability identify which parts of the obstruction persist under altered assumptions.

References