Introduction
Many prediction systems transform their inputs into feature representations and fit decoders to those features. A fitted predictor may have population mean squared error (MSE) above a prescribed threshold even when another decoder in the same representation-decoder class meets that threshold. We study the infimum of population MSE over decoders using a fixed representation and satisfying a prescribed Lipschitz constraint. We construct a hierarchy of lower bounds on this optimal class risk. If a certified lower bound exceeds the prescribed threshold, no decoder in the class can meet the requirement. In industrial predictive maintenance, such a certificate could motivate revising the sensor-history representation or decoder constraint used to forecast a machine-condition indicator rather than fitting further decoders within the excluded class. To illustrate the exclusion mechanism, consider the representation Γ ( x ) = ( ∣ x 1 ∣ , ∣ x 2 ∣ ) \Gamma(x) = (|x_1|, |x_2|) Γ ( x ) = ( ∣ x 1 ∣ , ∣ x 2 ∣ ) of a two-observation history x = ( x 1 , x 2 ) x = (x_1, x_2) x = ( x 1 , x 2 ) . Suppose the histories ( − 1 , 1 ) (-1,1) ( − 1 , 1 ) and ( 1 , − 1 ) (1,-1) ( 1 , − 1 ) each occur with probability 1 / 2 1/2 1/2 , with respective deterministic targets 1 1 1 and − 1 -1 − 1 . Both histories have representation ( 1 , 1 ) (1,1) ( 1 , 1 ) , so every decoder assigns them the same prediction c c c . Its population MSE is
( 1 − c ) 2 + ( − 1 − c ) 2 2 = 1 + c 2 ≥ 1. \frac{(1-c)^2 + (-1-c)^2}{2} = 1 + c^2 \ge1. 2 ( 1 − c ) 2 + ( − 1 − c ) 2 = 1 + c 2 ≥ 1.
©2026 Mohit Kumar and Somayeh Kargaran.
License: CC-BY 4.0, see https://creativecommons.org/licenses/by/4.0/.
No decoder using this representation can meet an MSE threshold below one. Even without identical feature values, a Lipschitz constraint limits prediction differences between nearby feature vectors. If their targets differ by more than this limit, their two squared errors cannot both be zero. Our hierarchy applies these constraints jointly to blocks of independent and identically distributed (iid) observations.
Class risk and threshold decisions. Let X X X be the observed history, Y Y Y the scalar prediction target, and U = Γ ( X ) U = \Gamma(X) U = Γ ( X ) the representation in a feature space U \mathcal{U} U with a prescribed pseudometric d d d . Assume that Y Y Y lies almost surely in a known bounded interval I = [ y − , y + ] I = [y_{-}, y_{+}] I = [ y − , y + ] . For κ ≥ 0 \kappa\ge0 κ ≥ 0 , let G κ ( d ) \mathcal{G}_{\kappa}(d) G κ ( d ) be the class of measurable decoders g : U → I g : \mathcal{U} \to I g : U → I satisfying ∣ g ( u ) − g ( v ) ∣ ≤ κ d ( u , v ) |g(u) - g(v)| \le\kappa d(u,v) ∣ g ( u ) − g ( v ) ∣ ≤ κ d ( u , v ) for all u , v ∈ U u,v \in\mathcal{U} u , v ∈ U . Under the specified evaluation law, define
R ( g ) = E [ ( Y − g ( Γ ( X ) ) ) 2 ] , R κ ∗ = inf g ∈ G κ ( d ) R ( g ) . R(g) = \mathbb{E}[(Y - g(\Gamma(X)))^2], \qquad R_{\kappa}^{*} = \inf_{g \in\mathcal{G}_{\kappa}(d)} R(g). R ( g ) = E [( Y − g ( Γ ( X )) ) 2 ] , R κ ∗ = g ∈ G κ ( d ) inf R ( g ) .
The optimal class risk R κ ∗ R_{\kappa}^{*} R κ ∗ depends on the representation, feature pseudometric, Lipschitz bound, and evaluation law. It therefore measures the capability of the specified representation-decoder class, not the predictive information in the representation alone. Let g ^ : U → I \widehat{g} : \mathcal{U} \to I g : U → I be a measurable fitted decoder constructed using development data and fixed before calibration. For prespecified candidate classes and fitted decoders, we use independent iid calibration observations to construct simultaneous lower confidence bounds on optimal class risk and upper confidence bounds on fitted-predictor risk. These bounds incorporate conservative numerical estimates and prespecified failure-probability allocations. Writing the bounds as L L L and U f i t U_{\mathrm{fit}} U fit , Theorem 6 establishes
L ≤ R κ ∗ , R ( g ^ ) ≤ U f i t L \le R_{\kappa}^{*}, \qquad R(\widehat{g}) \le U_{\mathrm{fit}} L ≤ R κ ∗ , R ( g ) ≤ U fit
simultaneously with probability at least 1 − δ 1 - \delta 1 − δ , without requiring g ^ \widehat{g} g to satisfy the prescribed Lipschitz constraint. If g ^ ∈ G κ ( d ) \widehat{g} \in\mathcal{G}_{\kappa}(d) g ∈ G κ ( d ) , these inequalities additionally give
L ≤ R κ ∗ ≤ R ( g ^ ) ≤ U f i t . L \le R_{\kappa}^{*} \le R(\widehat{g}) \le U_{\mathrm{fit}}. L ≤ R κ ∗ ≤ R ( g ) ≤ U fit .
For a prespecified threshold τ \tau τ , the condition L > τ L > \tau L > τ excludes every decoder in the class. If g ^ \widehat{g} g is admissible, U f i t ≤ τ U_{\mathrm{fit}} \le\tau U fit ≤ τ establishes that the class meets the requirement. When neither conclusion is established, the certification decision remains unresolved. For a fixed dataset, verified optimization bounds concern the minimum empirical MSE on that dataset (Proposition 12 ).
The block hierarchy. For a block of b ≥ 2 b \ge2 b ≥ 2 iid feature–target observations, let T b T_b T b be the minimum total squared error under all pairwise Lipschitz constraints, divided by b − 1 b - 1 b − 1 . Writing W b = E [ T b ] W_b = \mathbb{E}[T_b] W b = E [ T b ] , we prove
0 ≤ W 2 ≤ W 3 ≤ ⋯ ≤ R κ ∗ . 0 \le W_2 \le W_3 \le\cdots\le R_{\kappa}^{*}. 0 ≤ W 2 ≤ W 3 ≤ ⋯ ≤ R κ ∗ .
On compact metric feature spaces, W b → R κ ∗ W_b \to R_{\kappa}^{*} W b → R κ ∗ as b → ∞ b \to\infty b → ∞ (Theorem 2 ). Thus, for each fixed problem and each τ < R κ ∗ \tau< R_{\kappa}^{*} τ < R κ ∗ , some finite block size has W b > τ W_b > \tau W b > τ . This convergence does not provide a uniform guarantee at any fixed block size: W b / R κ ∗ W_b/R_{\kappa}^{*} W b / R κ ∗ can be arbitrarily small across problems with R κ ∗ > 0 R_{\kappa}^{*} > 0 R κ ∗ > 0 (Proposition 3 ).
Computation and calibration. Evaluating the dual objective using numerical multipliers associated with selected pairwise Lipschitz constraints provides lower bounds on block minima and minimum empirical risk. These bounds remain valid without exact optimization (Proposition 4 ). We use these bounds in two calibration constructions. The first calibrates the expected block score from independent disjoint blocks using (16) ; the second calibrates optimal class risk from a lower bound on minimum empirical risk over all n n n calibration observations using (17) . The second construction can reuse block computations through (12) , while retaining sample size n n n in its confidence bound. In contrast, the first uses ⌊ n / b ⌋ \lfloor n/b \rfloor ⌊ n / b ⌋ independent blocks, so its confidence bound need not improve as b b b increases. Before examining the calibration observations, we fix the candidate classes, fitted predictors, types of confidence bounds to be reported, and their failure-probability allocations. For direct block calibration, we also fix the block sizes and partitions. The simultaneous guarantees support threshold decisions and bounds on the minimum assigned cost among prespecified candidate classes (Corollary 8 ).
Relation to prior work. Existing work addresses Lipschitz regression ([7 ] ), lower bounds based on sample-average optima ([15 ] ), and confidence bounds on optimal population risk ([8 , 16 ] ). Let a b a_b a b denote the minimum empirical MSE over a block of b b b observations. Although E [ a b ] \mathbb{E}[a_b] E [ a b ] is known to be nondecreasing with b b b under iid sampling, this result does not establish monotonicity of our normalized block score T b = b a b / ( b − 1 ) T_b = ba_b/(b-1) T b = b a b / ( b − 1 ) , because the factor b / ( b − 1 ) b/(b-1) b / ( b − 1 ) decreases with b b b . We prove that the expected normalized block scores are nevertheless nondecreasing and converge to optimal population class risk on compact metric feature spaces. We also establish that no fixed block size provides a uniform relative lower bound and develop class-risk certificates using verified optimization bounds and statistical calibration.
Empirical evaluation and scope. We evaluate representation–decoder classes based on Kernel Affine Hull Machines (KAHMs), raw histories, and Nystrom features. A finite-state experiment with a known evaluation distribution compares calibrated risk bounds with optimal population class risks. It also shows that a fitted predictor can meet the MSE threshold while violating the prescribed Lipschitz constraint. A separate feature-augmentation experiment examines how representation choice and calibration sample size affect class-exclusion and predictor-feasibility decisions. For the fixed PTB-XL dataset, a computed lower bound on minimum empirical MSE exceeds the prescribed threshold for the selected two-coordinate KAHM class with κ = 1 \kappa= 1 κ = 1 . Consequently, no decoder in this class can meet the empirical MSE requirement, provided that the numerical upper bounds on feature distances are valid. For the fixed Bike Sharing dataset, feasible prediction vectors provide upper bounds on minimum empirical MSE that are below the corresponding thresholds for all 54 decoder classes formed from three prediction targets and 18 feature representations. Consequently, every class contains an admissible decoder that meets its empirical MSE requirement. However, in 39 of these classes, the empirical MSE of each of the two fitted predictors (the clipped affine ridge predictor and the clipped Lipschitz-extension predictor) exceeds the corresponding threshold. This finding shows that evaluating only fitted predictors can lead to the incorrect rejection of decoder classes that contain admissible predictors meeting the empirical MSE requirement. The PTB-XL and Bike Sharing results concern empirical MSE on the evaluated datasets and do not establish population-risk guarantees.
Related Work
Representations and prediction-risk bounds. Kernel Affine Hull Machines (KAHMs) construct features from local reconstruction models ([12 , 13 , 14 ] ). Kumar and Kargaran (2026) derive lower confidence bounds on the minimum population root mean squared error when future feature vectors are predicted by linear maps with a prescribed spectral-norm bound. Their bounds use variation in future features among states sharing a reference label. In contrast, we study prediction of a common bounded scalar target from different fixed representations. We consider Lipschitz decoder classes defined by feature pseudometrics and derive a hierarchy of lower bounds on their optimal population MSE. The hierarchy is based on blockwise optimization under joint Lipschitz constraints, rather than bounds derived from variation in future feature vectors.
Lipschitz regression and pairwise error bounds. Gottlieb et al. [7 ] develop methods for Lipschitz regression in metric spaces, including approximate Lipschitz extensions and finite-sample prediction guarantees. In representation learning, Akash et al. [1 ] use a Lipschitz constraint to lower-bound the MSE of a predictor of an auxiliary continuous variable. Their bound relates differences in target values to the prediction differences permitted by the Lipschitz constraint. Our block optimization extends this pairwise comparison by enforcing the Lipschitz constraints jointly across all observations in a block. We establish the resulting hierarchy of expected lower bounds on optimal class risk (Theorem 2 ).
Sample-average minima and empirical variance. For stochastic optimization under iid sampling, Mak et al. [15 ] show that the expected minimum sample-average objective is a lower bound on the population optimum and is nondecreasing with sample size. If a b a_b a b is the minimum empirical MSE for a block of b b b observations, our normalized block score is T b = b a b / ( b − 1 ) T_b = ba_b/(b - 1) T b = b a b / ( b − 1 ) . The factor b / ( b − 1 ) b/(b - 1) b / ( b − 1 ) decreases with b b b , so monotonicity of E [ a b ] \mathbb{E}[a_b] E [ a b ] does not by itself establish monotonicity of E [ T b ] \mathbb{E}[T_b] E [ T b ] . We prove the latter property directly and characterize both the convergence of E [ T b ] \mathbb{E}[T_b] E [ T b ] to optimal class risk and the limitations of any fixed block size (Theorem 2 and Proposition 3 ). Belomestny et al. [3 ] analyze the excess population variance of functions chosen by empirical variance minimization. Our block score also equals the minimum sample variance of the residuals Y i − g ( U i ) Y_i - g(U_i) Y i − g ( U i ) over admissible Lipschitz decoders, using denominator b − 1 b - 1 b − 1 (proof of Theorem 2 ). We use the expected minimum sample variance to lower-bound optimal population MSE, rather than to bound the excess variance of an empirically selected decoder.
Confidence bounds on optimal class risk. Guigues et al. [8 ] develop non-asymptotic confidence bounds on optimal values in stochastic optimization. Müller et al. [16 ] investigate lower bounds on minimum model-class risk and establish fundamental limitations of distribution-free empirical model falsification. We consider prescribed representation-decoder classes with bounded squared loss and Lipschitz constraints. Our normalized block optimization provides a hierarchy of lower bounds on optimal population class risk. Verified evaluation of the dual objective gives lower bounds on block and full-sample empirical minima without requiring exact optimization. Under independent iid calibration, Theorem 6 converts these numerical bounds into simultaneous lower confidence bounds on optimal population class risk.
Risk control and candidate-class selection. Angelopoulos et al. [2 ] use multiple testing to control the risks of selected prediction procedures, while Jiang et al. [10 ] use statistical tests to select state abstractions in model-based reinforcement learning. Our class-exclusion decision instead asks whether the minimum population MSE over a prescribed decoder class exceeds the required threshold. An upper confidence bound on the risk of an admissible fitted decoder can establish that its class meets the threshold. For finitely many prespecified candidate classes with assigned costs, the simultaneous bounds also give lower and upper bounds on the minimum cost of meeting the threshold, without requiring the classes to be nested (Corollary 8 ).
Prediction Risk and Representation Adequacy
Prediction task and evaluation law. Let X ∈ X X \in\mathcal{X} X ∈ X denote the observed history available at prediction time, and let Y Y Y denote the scalar future observation to be predicted. A measurable representation Γ : X → U \Gamma: \mathcal{X} \to\mathcal{U} Γ : X → U maps the history to a feature vector U = Γ ( X ) U = \Gamma(X) U = Γ ( X ) , where U \mathcal{U} U is the feature space. Model development specifies the representation Γ \Gamma Γ , a feature pseudometric d d d , and a Lipschitz bound κ ≥ 0 \kappa\ge0 κ ≥ 0 that constrains the admissible decoders defined below. We call the specified joint distribution of the prediction-time history X X X and its future target Y Y Y the evaluation law . A decoder’s population risk is its expected squared prediction error under this law. The blockwise population-risk results use independent and identically distributed feature-target observations from the specified joint distribution. The confidence bounds in § 5 additionally require the evaluation observations to be independent of model-development data. The representation, feature metric, Lipschitz bound, and fitted predictor are selected using the development data and treated as fixed when computing the confidence bounds.
Allowed predictors and their risk. We equip the feature space U \mathcal{U} U with a measurable, finite-valued pseudometric d d d . It is nonnegative, symmetric, satisfies the triangle inequality, and obeys d ( u , u ) = 0 d(u,u)=0 d ( u , u ) = 0 . Unlike a metric, a pseudometric may assign zero distance to distinct feature values. We assume that the target Y Y Y lies almost surely in a known finite interval I = [ y − , y + ] I = [y_-,y_+] I = [ y − , y + ] . Let D = y + − y − > 0 D = y_+ - y_- > 0 D = y + − y − > 0 and B = D 2 B = D^2 B = D 2 . We exclude D = 0 D = 0 D = 0 , for which the target and all admissible predictions are constant and every squared prediction error is zero. For a prescribed Lipschitz bound κ ≥ 0 \kappa\ge0 κ ≥ 0 , we define the admissible decoder class and its prediction risks by
G κ ( d ) = { g : U → I measurable : ∣ g ( u ) − g ( v ) ∣ ≤ κ d ( u , v ) for all u , v } , (1) \mathcal{G}_{\kappa}(d) = \{g : \mathcal{U} \to I\ \text{measurable} : |g(u)-g(v)| \le\kappa d(u,v)\ \text{for all }u,v\}, \tag*{(1)} G κ ( d ) = { g : U → I measurable : ∣ g ( u ) − g ( v ) ∣ ≤ κ d ( u , v ) for all u , v } , (1)
R ( g ) = E [ ( Y − g ( Γ ( X ) ) ) 2 ] , R κ ∗ = inf g ∈ G κ ( d ) R ( g ) . (2) R(g) = \mathbb{E}[(Y-g(\Gamma(X)))^2], \qquad R_{\kappa}^{*} = \inf_{g\in\mathcal{G}_{\kappa}(d)} R(g). \tag*{(2)} R ( g ) = E [( Y − g ( Γ ( X )) ) 2 ] , R κ ∗ = g ∈ G κ ( d ) inf R ( g ) . (2)
The Lipschitz constraint requires every admissible decoder to assign the same prediction to feature values at zero distance. Here, R ( g ) R(g) R ( g ) denotes the population mean squared error of an individual decoder, whereas R κ ∗ R_{\kappa}^{*} R κ ∗ is the infimum of the population risks over the entire admissible class. We assume that all infima and statistics used below are measurable. Restricting decoder outputs to I I I does not increase the minimum attainable risk. To see this, define clip I ( z ) = min { y + , max { y − , z } } \operatorname{clip}_{I}(z) = \min\{y_+,\max\{y_-,z\}\} clip I ( z ) = min { y + , max { y − , z }} . Clipping the outputs of any real-valued Lipschitz decoder to I I I preserves its Lipschitz constraint and cannot increase squared error because Y ∈ I Y \in I Y ∈ I . Because both Y Y Y and g ( U ) g(U) g ( U ) lie in I I I , the squared prediction error is bounded by B = D 2 B = D^2 B = D 2 . This bound is used to construct the confidence bounds in § 5 . Moreover, the constant decoder g ( u ) = E [ Y ] g(u) = \mathbb{E}[Y] g ( u ) = E [ Y ] belongs to G κ ( d ) \mathcal{G}_{\kappa}(d) G κ ( d ) and has population risk Var ( Y ) \operatorname{Var}(Y) Var ( Y ) . Consequently,
0 ≤ R κ ∗ ≤ Var ( Y ) ≤ B / 4 , 0 \le R_{\kappa}^{*} \le\operatorname{Var}(Y) \le B/4, 0 ≤ R κ ∗ ≤ Var ( Y ) ≤ B /4 ,
where the final inequality follows from the bounded range of Y Y Y . The optimal risk R κ ∗ R_{\kappa}^{*} R κ ∗ depends on the representation Γ \Gamma Γ , the feature pseudometric d d d , the Lipschitz bound κ \kappa κ , and the specified evaluation law. It therefore characterizes the predictive capability of a representation together with its admissible decoder class, rather than the representation alone.
Three sources of unavoidable class error. The optimal class risk reflects three sources of prediction error: uncertainty about the future target, information lost through the representation, and restrictions imposed by the decoder class. To distinguish these sources, define M X = E [ Y ∣ X ] M_X = \mathbb{E}[Y \mid X] M X = E [ Y ∣ X ] and M U = E [ Y ∣ U ] M_U = \mathbb{E}[Y \mid U] M U = E [ Y ∣ U ] , where U = Γ ( X ) U = \Gamma(X) U = Γ ( X ) . Under squared loss, M X M_X M X is the optimal prediction based on the full available history, whereas M U M_U M U is the optimal prediction based only on its representation, without imposing the Lipschitz constraint. For any admissible decoder g g g , the prediction error can be written as
Y − g ( U ) = ( Y − M X ) + ( M X − M U ) + ( M U − g ( U ) ) . Y-g(U) = (Y-M_X) + (M_X-M_U) + (M_U-g(U)). Y − g ( U ) = ( Y − M X ) + ( M X − M U ) + ( M U − g ( U )) .
The first residual has conditional mean zero given X X X , and the second has conditional mean zero given U U U . Consequently, all cross terms vanish when taking the expected squared error. Taking the infimum over admissible decoders gives
R κ ∗ = E ( Y − M X ) 2 ⏟ future uncertainty + E ( M X − M U ) 2 ⏟ conditional-mean information loss + inf g ∈ G κ ( d ) E ( M U − g ( Γ ( X ) ) ) 2 ⏟ Lipschitz approximation error . (3) R_{\kappa}^{*} = \underbrace{\mathbb{E}(Y-M_X)^2}_{\text{future uncertainty}} + \underbrace{\mathbb{E}(M_X-M_U)^2}_{\text{conditional-mean information loss}} + \inf_{g\in\mathcal{G}_{\kappa}(d)} \underbrace{\mathbb{E}(M_U-g(\Gamma(X)))^2}_{\text{Lipschitz approximation error}}. \tag*{(3)} R κ ∗ = future uncertainty E ( Y − M X ) 2 + conditional-mean information loss E ( M X − M U ) 2 + g ∈ G κ ( d ) inf Lipschitz approximation error E ( M U − g ( Γ ( X )) ) 2 . (3)
The first term measures the prediction error that remains even when the full history is available. The second measures the additional error caused by replacing the history with its representation, specifically the loss of information about the conditional mean of Y Y Y . The third measures the smallest additional error introduced by restricting the decoder to the prescribed Lipschitz class. All three terms are nonnegative. A lower bound on their sum does not identify which source of error prevents the class from meeting an accuracy requirement.
A Hierarchy of Blockwise Risk Lower Bounds
A Lower Bound from Pairs of Observations
Consider two feature-target observations ( U , Y ) (U,Y) ( U , Y ) and ( U ′ , Y ′ ) (U',Y') ( U ′ , Y ′ ) . For any admissible decoder g g g , the Lipschitz constraint requires
∣ g ( U ) − g ( U ′ ) ∣ ≤ κ d ( U , U ′ ) . \lvert g(U)-g(U')\rvert\le\kappa d(U,U'). ∣ g ( U ) − g ( U ′ )∣ ≤ κ d ( U , U ′ ) .
If the difference between the targets exceeds this limit, the decoder cannot predict both targets exactly. The difference ∣ Y − Y ′ ∣ − κ d ( U , U ′ ) \lvert Y-Y'\rvert-\kappa d(U,U') ∣ Y − Y ′ ∣ − κ d ( U , U ′ ) , when positive, measures the part of the target separation that the predictions cannot reproduce. This discrepancy provides a lower bound on the combined squared prediction error of the two observations. We first consider independent draws from the evaluation law. We also allow paired observations to share a common context, represented by a random variable A A A . Conditional on A A A , the two feature-target pairs ( U , Y ) (U,Y) ( U , Y ) and ( U ′ , Y ′ ) (U',Y') ( U ′ , Y ′ ) are independent draws from the same conditional distribution. We require both ( U , Y ) (U,Y) ( U , Y ) and ( U ′ , Y ′ ) (U',Y') ( U ′ , Y ′ ) to have the same marginal distribution as ( Γ ( X ) , Y ) (\Gamma(X),Y) ( Γ ( X ) , Y ) under the specified evaluation law. The decoder uses only the representation U U U , not the auxiliary variable A A A , and the same decoder applies across all contexts. Taking A A A to be constant recovers two independent draws from the evaluation law. For example, we may pair history-target observations taken at the same time index in two independently generated episodes. Conditional on that index, the pairs are independent and identically distributed, provided the episodes follow the same generating process. The sampling procedure must preserve the specified marginal evaluation law. Define ( z ) + = max { z , 0 } (z)_+ = \max\{z,0\} ( z ) + = max { z , 0 } . The population pair score is
W κ , A = 1 2 E ( ∣ Y − Y ′ ∣ − κ d ( U , U ′ ) ) + 2 . (4) W_{\kappa,A} = \frac{1}{2}\mathbb{E}\left(\lvert Y-Y'\rvert-\kappa d(U,U')\right)_+^2. \tag*{(4)} W κ , A = 2 1 E ( ∣ Y − Y ′ ∣ − κ d ( U , U ′ ) ) + 2 . (4)
The score is positive only when the target difference exceeds the maximum prediction difference permitted by the Lipschitz constraint.
Proposition 1 (Pairwise risk lower bound) Let A A A be an auxiliary random variable such that, conditional on A A A , the feature-target pairs ( U , Y ) (U,Y) ( U , Y ) and ( U ′ , Y ′ ) (U',Y') ( U ′ , Y ′ ) are independent and identically distributed. Suppose that each pair has the same marginal distribution as ( Γ ( X ) , Y ) (\Gamma(X),Y) ( Γ ( X ) , Y ) under the specified evaluation law. Then
W κ , A ≤ R κ ∗ . W_{\kappa,A} \le R_{\kappa}^{*}. W κ , A ≤ R κ ∗ .
Proof Fix an admissible decoder g g g and define the prediction residuals r = Y − g ( U ) r = Y - g(U) r = Y − g ( U ) and r ′ = Y ′ − g ( U ′ ) r' = Y' - g(U') r ′ = Y ′ − g ( U ′ ) . Since Y − Y ′ = ( r − r ′ ) + ( g ( U ) − g ( U ′ ) ) Y - Y' = (r - r') + (g(U) - g(U')) Y − Y ′ = ( r − r ′ ) + ( g ( U ) − g ( U ′ )) , the triangle inequality and the Lipschitz constraint give
∣ Y − Y ′ ∣ ≤ ∣ r − r ′ ∣ + ∣ g ( U ) − g ( U ′ ) ∣ ≤ ∣ r − r ′ ∣ + κ d ( U , U ′ ) . |Y-Y'| \le|r-r'| + |g(U)-g(U')| \le|r-r'| + \kappa d(U,U'). ∣ Y − Y ′ ∣ ≤ ∣ r − r ′ ∣ + ∣ g ( U ) − g ( U ′ ) ∣ ≤ ∣ r − r ′ ∣ + κ d ( U , U ′ ) .
Consequently,
( ∣ Y − Y ′ ∣ − κ d ( U , U ′ ) ) + ≤ ∣ r − r ′ ∣ . \left(|Y-Y'|-\kappa d(U,U')\right)_{+} \le|r-r'|. ( ∣ Y − Y ′ ∣ − κ d ( U , U ′ ) ) + ≤ ∣ r − r ′ ∣.
Squaring and taking expectations gives
W κ , A ≤ 1 2 E ( r − r ′ ) 2 . W_{\kappa,A} \le\frac{1}{2}\mathbb{E}(r-r')^2. W κ , A ≤ 2 1 E ( r − r ′ ) 2 .
Conditional independence and identical distribution of r r r and r ′ r' r ′ given A A A imply
E [ ( r − r ′ ) 2 ∣ A ] = 2 Var ( r ∣ A ) . \mathbb{E}\left[(r-r')^2 \mid A\right] = 2\operatorname{Var}(r\mid A). E [ ( r − r ′ ) 2 ∣ A ] = 2 Var ( r ∣ A ) .
Therefore, using the conditional variance identity and E [ r 2 ] = R ( g ) \mathbb{E}[r^2] = R(g) E [ r 2 ] = R ( g ) , we obtain
W κ , A ≤ 1 2 E ( r − r ′ ) 2 = E Var ( r ∣ A ) = R ( g ) − E [ ( E [ r ∣ A ] ) 2 ] ≤ R ( g ) . W_{\kappa,A} \le\frac{1}{2}\mathbb{E}(r-r')^2 = \mathbb{E}\operatorname{Var}(r\mid A) = R(g)-\mathbb{E}\left[\left(\mathbb{E}[r\mid A]\right)^2\right] \le R(g). W κ , A ≤ 2 1 E ( r − r ′ ) 2 = E Var ( r ∣ A ) = R ( g ) − E [ ( E [ r ∣ A ] ) 2 ] ≤ R ( g ) .
Taking the infimum over g ∈ G κ ( d ) g \in\mathcal{G}_{\kappa}(d) g ∈ G κ ( d ) proves the claim.
Block Scores, Monotonicity, and Convergence
The pairwise bound provides a lower bound on optimal class risk using two observations. We extend this construction to groups of b ≥ 2 b \ge2 b ≥ 2 observations, called blocks , by requiring the predictions for all observations in a block to satisfy the Lipschitz constraints simultaneously. Let ( U i , Y i ) i = 1 b (U_i,Y_i)_{i=1}^b ( U i , Y i ) i = 1 b be independent and identically distributed observations from the feature-target distribution induced by the specified evaluation law. Let v = ( v 1 , … , v b ) ∈ R b v=(v_1,\ldots,v_b)\in\mathbb{R}^b v = ( v 1 , … , v b ) ∈ R b , where v i v_i v i denotes the predicted value assigned to feature value U i U_i U i . We define the block score as the minimum total squared prediction error subject to all pairwise Lipschitz constraints, normalized by b − 1 b-1 b − 1 :
T b = 1 b − 1 min v ∈ R b { ∑ i = 1 b ( Y i − v i ) 2 : ∣ v i − v j ∣ ≤ κ d ( U i , U j ) ( 1 ≤ i < j ≤ b ) } , W b = E [ T b ] . (5) T_b=\frac{1}{b-1}\min_{v\in\mathbb{R}^b}\left\{\sum_{i=1}^b(Y_i-v_i)^2:\ |v_i-v_j|\le\kappa d(U_i,U_j)\quad(1\le i<j\le b)\right\},\qquad W_b=\mathbb{E}[T_b]. \tag*{(5)} T b = b − 1 1 v ∈ R b min { i = 1 ∑ b ( Y i − v i ) 2 : ∣ v i − v j ∣ ≤ κ d ( U i , U j ) ( 1 ≤ i < j ≤ b ) } , W b = E [ T b ] . (5)
The block score T b T_b T b is computed from one random block of iid observations, and W b W_b W b is its expectation. The feasible set in (5) is nonempty because constant prediction vectors satisfy all pairwise Lipschitz constraints. It is closed and convex because each constraint is equivalent to two linear inequalities. The squared-error objective therefore attains a unique minimum over this set. Restricting v v v to I b I^b I b does not change the minimum: clipping each v i v_i v i to I I I preserves the pairwise Lipschitz constraints and cannot increase squared error because Y i ∈ I Y_i\in I Y i ∈ I .
Why the normalization uses b − 1 b-1 b − 1 . Let a b a_b a b denote the minimum average squared error over a block of b b b observations, so T b = b a b / ( b − 1 ) T_b=ba_b/(b-1) T b = b a b / ( b − 1 ) . To explain the normalization, fix an admissible decoder g g g and define r i = Y i − g ( U i ) r_i=Y_i-g(U_i) r i = Y i − g ( U i ) and r ˉ = b − 1 ∑ i = 1 b r i \bar r=b^{-1}\sum_{i=1}^b r_i r ˉ = b − 1 ∑ i = 1 b r i . Adding r ˉ \bar r r ˉ to every prediction g ( U i ) g(U_i) g ( U i ) preserves the pairwise Lipschitz constraints and yields residuals r i − r ˉ r_i-\bar{r} r i − r ˉ . The shifted predictions are feasible in (5) , and their normalized squared error equals the sample variance of the original residuals. Since T b T_b T b is the minimum normalized squared error over all feasible predictions, it cannot exceed this sample variance. For any fixed admissible decoder g g g , the residuals r 1 , … , r b r_1,\ldots,r_b r 1 , … , r b are iid. Their sample variance, computed with denominator b − 1 b-1 b − 1 , is therefore an unbiased estimator of Var ( Y − g ( U ) ) \operatorname{Var}(Y-g(U)) Var ( Y − g ( U )) . Since this bound holds for every admissible decoder g g g , taking the infimum gives W b ≤ R κ ∗ W_b \le R_\kappa^* W b ≤ R κ ∗ . Subtracting r ˉ \bar{r} r ˉ from each residual r i r_i r i is used only to establish the bound W b ≤ R κ ∗ W_b \le R_\kappa^* W b ≤ R κ ∗ ; it is not part of computing T b T_b T b in (5) . Although the residual sample variance is unbiased for Var ( Y − g ( U ) ) \operatorname{Var}(Y-g(U)) Var ( Y − g ( U )) , the optimized block score T b T_b T b need not be unbiased for R κ ∗ R_\kappa^* R κ ∗ .
Theorem 2 (Blockwise risk hierarchy). Let ( U i , Y i ) i = 1 b (U_i,Y_i)_{i=1}^b ( U i , Y i ) i = 1 b be iid observations distributed as ( Γ ( X ) , Y ) (\Gamma(X),Y) ( Γ ( X ) , Y ) under the evaluation law specified in § 3 , with Y i ∈ I Y_i \in I Y i ∈ I almost surely. For the block scores defined in (5) , the following hold:
For b = 2 b=2 b = 2 ,
T 2 = 1 2 ( ∣ Y 1 − Y 2 ∣ − κ d ( U 1 , U 2 ) ) + 2 . T_2=\frac{1}{2}\left(\lvert Y_1-Y_2\rvert-\kappa d(U_1,U_2)\right)_+^2. T 2 = 2 1 ( ∣ Y 1 − Y 2 ∣ − κ d ( U 1 , U 2 ) ) + 2 . Consequently, W 2 = W κ , A W_2=W_{\kappa,A} W 2 = W κ , A when A A A is constant.
The block score is bounded, and its expectation does not exceed the optimal class risk:
C b = B ⌊ b 2 / 4 ⌋ b ( b − 1 ) , 0 ≤ T b ≤ C b , W b ≤ R κ ∗ . (6) C_b=\frac{B\lfloor b^2/4\rfloor}{b(b-1)},\qquad0\le T_b\le C_b,\qquad W_b\le R_\kappa^*. \tag*{(6)} C b = b ( b − 1 ) B ⌊ b 2 /4 ⌋ , 0 ≤ T b ≤ C b , W b ≤ R κ ∗ . (6) For a subset S ⊆ { 1 , … , b } S\subseteq\{1,\ldots,b\} S ⊆ { 1 , … , b } with ∣ S ∣ = m \lvert S\rvert=m ∣ S ∣ = m , let T m ( S ) T_m(S) T m ( S ) denote the block score defined in (5) , computed using only the observations indexed by S S S and the normalization 1 / ( m − 1 ) 1/(m-1) 1/ ( m − 1 ) . For 2 ≤ m ≤ b 2\le m\le b 2 ≤ m ≤ b , the average score over all subsets of size m m m satisfies
( b m ) − 1 ∑ S ⊂ { 1 , … , b } ∣ S ∣ = m T m ( S ) ≤ T b . (7) \binom{b}{m}^{-1}\sum_{\substack{S\subset\{1,\ldots,b\}\\ \lvert S\rvert=m}}T_m(S)\le T_b. \tag*{(7)} ( m b ) − 1 S ⊂ { 1 , … , b } ∣ S ∣ = m ∑ T m ( S ) ≤ T b . (7) Consequently, W 2 ≤ W 3 ≤ ⋯ ≤ R κ ∗ W_2\le W_3\le\cdots\le R_\kappa^* W 2 ≤ W 3 ≤ ⋯ ≤ R κ ∗ .
If ( U , d ) (\mathcal{U},d) ( U , d ) is a compact metric space, then W b ↑ R κ ∗ W_b\uparrow R_\kappa^* W b ↑ R κ ∗ as b → ∞ b\to\infty b → ∞ .
Proof. Pair score. For b = 2 b=2 b = 2 , let Δ = Y 1 − Y 2 \Delta=Y_1-Y_2 Δ = Y 1 − Y 2 and L = κ d ( U 1 , U 2 ) L=\kappa d(U_1,U_2) L = κ d ( U 1 , U 2 ) . The squared-error objective can be written as
( Y 1 − v 1 ) 2 + ( Y 2 − v 2 ) 2 = 1 2 ( ( Y 1 + Y 2 ) − ( v 1 + v 2 ) ) 2 + 1 2 ( Δ − ( v 1 − v 2 ) ) 2 . (Y_1-v_1)^2+(Y_2-v_2)^2=\frac{1}{2}\bigl((Y_1+Y_2)-(v_1+v_2)\bigr)^2+\frac{1}{2}\bigl(\Delta-(v_1-v_2)\bigr)^2. ( Y 1 − v 1 ) 2 + ( Y 2 − v 2 ) 2 = 2 1 ( ( Y 1 + Y 2 ) − ( v 1 + v 2 ) ) 2 + 2 1 ( Δ − ( v 1 − v 2 ) ) 2 .
If ∣ Δ ∣ ≤ L \lvert\Delta\rvert\le L ∣ Δ ∣ ≤ L , choosing v 1 = Y 1 v_1=Y_1 v 1 = Y 1 and v 2 = Y 2 v_2=Y_2 v 2 = Y 2 satisfies the Lipschitz constraint and gives zero squared error. If ∣ Δ ∣ > L \lvert\Delta\rvert>L ∣ Δ ∣ > L , the prediction difference v 1 − v 2 v_1-v_2 v 1 − v 2 closest to Δ \Delta Δ is L L L when Δ > L \Delta>L Δ > L and − L -L − L when Δ < − L \Delta<-L Δ < − L . With v 1 + v 2 = Y 1 + Y 2 v_1+v_2=Y_1+Y_2 v 1 + v 2 = Y 1 + Y 2 , the first term vanishes, while the second equals 1 2 ( ∣ Δ ∣ − L ) 2 \frac{1}{2}(\lvert\Delta\rvert-L)^2 2 1 (∣ Δ ∣ − L ) 2 . Combining this with the zero-error case (i.e. ∣ Δ ∣ ≤ L \lvert\Delta\rvert\le L ∣ Δ ∣ ≤ L ) gives
T 2 = 1 2 ( ∣ Δ ∣ − L ) + 2 = 1 2 ( ∣ Y 1 − Y 2 ∣ − κ d ( U 1 , U 2 ) ) + 2 . T_2=\frac{1}{2}(\lvert\Delta\rvert-L)_+^2=\frac{1}{2}\bigl(\lvert Y_1-Y_2\rvert-\kappa d(U_1,U_2)\bigr)_+^2. T 2 = 2 1 (∣ Δ ∣ − L ) + 2 = 2 1 ( ∣ Y 1 − Y 2 ∣ − κ d ( U 1 , U 2 ) ) + 2 .
Taking expectations over two iid observations gives W 2 = W κ , A \mathcal{W}_2 = \mathcal{W}_{\kappa,A} W 2 = W κ , A when A A A is constant, proving the first assertion.
Risk bound and range. Fix g ∈ G κ ( d ) g \in\mathcal{G}_{\kappa}(d) g ∈ G κ ( d ) , and define r i = Y i − g ( U i ) r_i = Y_i - g(U_i) r i = Y i − g ( U i ) and r ˉ = b − 1 ∑ i = 1 b r i \bar{r} = b^{-1}\sum_{i=1}^{b} r_i r ˉ = b − 1 ∑ i = 1 b r i . Consider the shifted predictions v i = g ( U i ) + r ˉ v_i = g(U_i) + \bar{r} v i = g ( U i ) + r ˉ . Adding the same constant to every prediction preserves the pairwise Lipschitz constraints, so these predictions are feasible in (5) . The shifted predictions may lie outside I I I , but they remain feasible because (5) allows prediction vectors in R b \mathbb{R}^{b} R b subject to the pairwise Lipschitz constraints. For the shifted predictions, the residual at observation i i i is Y i − v i = r i − r ˉ Y_i - v_i = r_i - \bar{r} Y i − v i = r i − r ˉ . Therefore,
T b ≤ 1 b − 1 ∑ i = 1 b ( r i − r ˉ ) 2 . T_b \le\frac{1}{b-1}\sum_{i=1}^{b}(r_i-\bar{r})^2. T b ≤ b − 1 1 i = 1 ∑ b ( r i − r ˉ ) 2 .
For fixed g g g , the residuals are iid because the observations are iid. The expectation of their sample variance therefore equals Var ( Y − g ( U ) ) \operatorname{Var}(Y-g(U)) Var ( Y − g ( U )) . Taking expectations gives
W b ≤ Var ( Y − g ( U ) ) ≤ R ( g ) , \mathcal{W}_b \le\operatorname{Var}(Y-g(U)) \le R(g), W b ≤ Var ( Y − g ( U )) ≤ R ( g ) ,
where the second inequality follows from Var ( Y − g ( U ) ) = R ( g ) − ( E [ Y − g ( U ) ] ) 2 \operatorname{Var}(Y-g(U)) = R(g) - \left(\mathbb{E}[Y-g(U)]\right)^2 Var ( Y − g ( U )) = R ( g ) − ( E [ Y − g ( U )] ) 2 . Since this bound holds for every g ∈ G κ ( d ) g \in\mathcal{G}_{\kappa}(d) g ∈ G κ ( d ) , taking the infimum yields W b ≤ R κ ∗ \mathcal{W}_b \le R_{\kappa}^{*} W b ≤ R κ ∗ . To establish the range bound, let Y ˉ = b − 1 ∑ i = 1 b Y i \bar{Y} = b^{-1}\sum_{i=1}^{b}Y_i Y ˉ = b − 1 ∑ i = 1 b Y i and choose v i = Y ˉ v_i = \bar{Y} v i = Y ˉ for every i i i . This constant prediction vector satisfies all pairwise Lipschitz constraints. Therefore,
0 ≤ T b ≤ 1 b − 1 ∑ i = 1 b ( Y i − Y ˉ ) 2 = 1 b ( b − 1 ) ∑ i < j ( Y i − Y j ) 2 . 0 \le T_b \le\frac{1}{b-1}\sum_{i=1}^{b}(Y_i-\bar{Y})^2 = \frac{1}{b(b-1)}\sum_{i<j}(Y_i-Y_j)^2. 0 ≤ T b ≤ b − 1 1 i = 1 ∑ b ( Y i − Y ˉ ) 2 = b ( b − 1 ) 1 i < j ∑ ( Y i − Y j ) 2 .
The sample variance on the right is convex in each Y i Y_i Y i , so its maximum over I b I^b I b is attained when every target equals an endpoint of I = [ y − , y + ] I=[y_-,y_+] I = [ y − , y + ] . If k k k targets equal y + y_+ y + and the remaining b − k b-k b − k equal y − y_- y − , each upper-endpoint target forms a pair with each of the b − k b-k b − k lower-endpoint targets. Thus, exactly k ( b − k ) k(b-k) k ( b − k ) pairs have squared difference B = ( y + − y − ) 2 B=(y_+-y_-)^2 B = ( y + − y − ) 2 , while all other pairs have zero squared difference. Consequently,
0 ≤ T b ≤ max k ∈ { 0 , … , b } B k ( b − k ) b ( b − 1 ) . 0 \le T_b \le\max_{k\in\{0,\ldots,b\}}\frac{Bk(b-k)}{b(b-1)}. 0 ≤ T b ≤ k ∈ { 0 , … , b } max b ( b − 1 ) B k ( b − k ) .
Since k k k counts the targets equal to y + y_+ y + , it is an integer satisfying 0 ≤ k ≤ b 0 \le k \le b 0 ≤ k ≤ b . The product k ( b − k ) k(b-k) k ( b − k ) is maximized when k k k is closest to b / 2 b/2 b /2 , namely when k = ⌊ b / 2 ⌋ k=\lfloor b/2\rfloor k = ⌊ b /2 ⌋ or k = ⌈ b / 2 ⌉ k=\lceil b/2\rceil k = ⌈ b /2 ⌉ . Therefore,
0 ≤ T b ≤ B ⌊ b 2 / 4 ⌋ b ( b − 1 ) = C b . 0 \le T_b \le\frac{B\lfloor b^2/4\rfloor}{b(b-1)} = C_b. 0 ≤ T b ≤ b ( b − 1 ) B ⌊ b 2 /4 ⌋ = C b .
This establishes the range bound in (6) .
Subset comparison. Let v = ( v 1 , … , v b ) v=(v_1,\ldots,v_b) v = ( v 1 , … , v b ) minimize the full-block objective in (5) , and define r i = Y i − v i r_i=Y_i-v_i r i = Y i − v i . Adding any constant c c c to every v i v_i v i preserves the pairwise Lipschitz constraints and changes the sum of squared residuals to ∑ i = 1 b ( r i − c ) 2 \sum_{i=1}^{b}(r_i-c)^2 ∑ i = 1 b ( r i − c ) 2 . This expression is minimized at c = b − 1 ∑ i = 1 b r i c=b^{-1}\sum_{i=1}^{b}r_i c = b − 1 ∑ i = 1 b r i . Since v v v already minimizes the full-block objective, the minimizing shift must be c = 0 c=0 c = 0 . Hence ∑ i = 1 b r i = 0 \sum_{i=1}^{b}r_i=0 ∑ i = 1 b r i = 0 . Using the pairwise identity for squared deviations, we obtain
T b = 1 b − 1 ∑ i = 1 b r i 2 = 1 b ( b − 1 ) ∑ i < j ( r i − r j ) 2 . T_b=\frac{1}{b-1}\sum_{i=1}^{b}r_i^2=\frac{1}{b(b-1)}\sum_{i<j}(r_i-r_j)^2. T b = b − 1 1 i = 1 ∑ b r i 2 = b ( b − 1 ) 1 i < j ∑ ( r i − r j ) 2 .
Now fix a subset S ⊆ { 1 , … , b } S \subseteq\{1,\ldots,b\} S ⊆ { 1 , … , b } with ∣ S ∣ = m |S| = m ∣ S ∣ = m , and let r ˉ S = m − 1 ∑ i ∈ S r i \bar{r}_S = m^{-1}\sum_{i\in S} r_i r ˉ S = m − 1 ∑ i ∈ S r i . The predictions v i + r ˉ S v_i + \bar{r}_S v i + r ˉ S for i ∈ S i \in S i ∈ S satisfy all pairwise Lipschitz constraints within S S S . For these shifted subset predictions, the residual at observation i ∈ S i \in S i ∈ S is Y i − ( v i + r ˉ S ) = r i − r ˉ S Y_i - (v_i + \bar{r}_S) = r_i - \bar{r}_S Y i − ( v i + r ˉ S ) = r i − r ˉ S . Since T m ( S ) T_m(S) T m ( S ) is the minimum normalized squared error over all feasible predictions for the subset S S S , it cannot exceed the squared error of these shifted predictions. Thus,
T m ( S ) ≤ 1 m − 1 ∑ i ∈ S ( r i − r ˉ S ) 2 = 1 m ( m − 1 ) ∑ i < j i , j ∈ S ( r i − r j ) 2 T_m(S) \le\frac{1}{m-1}\sum_{i\in S}(r_i-\bar{r}_S)^2 = \frac{1}{m(m-1)}\sum_{\substack{i<j\\i,j\in S}}(r_i-r_j)^2 T m ( S ) ≤ m − 1 1 i ∈ S ∑ ( r i − r ˉ S ) 2 = m ( m − 1 ) 1 i < j i , j ∈ S ∑ ( r i − r j ) 2
The equality follows from the identity expressing the sample variance in terms of pairwise squared differences. For fixed indices i < j i<j i < j , a subset of size m m m containing both indices is formed by choosing the remaining m − 2 m-2 m − 2 indices from the other b − 2 b-2 b − 2 indices. Thus, each pair ( i , j ) (i,j) ( i , j ) belongs to exactly ( b − 2 m − 2 ) \binom{b-2}{m-2} ( m − 2 b − 2 ) subsets of size m m m . Summing the preceding inequality over all subsets S ⊆ { 1 , … , b } S \subseteq\{1,\ldots,b\} S ⊆ { 1 , … , b } with ∣ S ∣ = m |S|=m ∣ S ∣ = m and dividing by their number ( b m ) \binom{b}{m} ( m b ) gives
( b m ) − 1 ∑ S ⊆ { 1 , … , b } ∣ S ∣ = m T m ( S ) ≤ 1 m ( m − 1 ) ( b m ) ∑ S ⊆ { 1 , … , b } ∣ S ∣ = m ∑ i < j i , j ∈ S ( r i − r j ) 2 \binom{b}{m}^{-1}\sum_{\substack{S\subseteq\{1,\ldots,b\}\\|S|=m}}T_m(S)\le\frac{1}{m(m-1)\binom{b}{m}}\sum_{\substack{S\subseteq\{1,\ldots,b\}\\|S|=m}}\sum_{\substack{i<j\\i,j\in S}}(r_i-r_j)^2 ( m b ) − 1 S ⊆ { 1 , … , b } ∣ S ∣ = m ∑ T m ( S ) ≤ m ( m − 1 ) ( m b ) 1 S ⊆ { 1 , … , b } ∣ S ∣ = m ∑ i < j i , j ∈ S ∑ ( r i − r j ) 2
Interchanging the order of summation groups the squared residual differences by each fixed pair of indices i < j i<j i < j :
∑ S ⊆ { 1 , … , b } ∣ S ∣ = m ∑ i < j i , j ∈ S ( r i − r j ) 2 = ∑ i < j ( r i − r j ) 2 ∑ S ⊆ { 1 , … , b } ∣ S ∣ = m , i , j ∈ S 1 = ( b − 2 m − 2 ) ∑ i < j ( r i − r j ) 2 \sum_{\substack{S\subseteq\{1,\ldots,b\}\\|S|=m}}\sum_{\substack{i<j\\i,j\in S}}(r_i-r_j)^2=\sum_{i<j}(r_i-r_j)^2\sum_{\substack{S\subseteq\{1,\ldots,b\}\\|S|=m,\ i,j\in S}}1=\binom{b-2}{m-2}\sum_{i<j}(r_i-r_j)^2 S ⊆ { 1 , … , b } ∣ S ∣ = m ∑ i < j i , j ∈ S ∑ ( r i − r j ) 2 = i < j ∑ ( r i − r j ) 2 S ⊆ { 1 , … , b } ∣ S ∣ = m , i , j ∈ S ∑ 1 = ( m − 2 b − 2 ) i < j ∑ ( r i − r j ) 2
The inner sum counts the subsets of size m m m containing both indices i i i and j j j . We use the binomial identity:
( b − 2 m − 2 ) ( b m ) = m ( m − 1 ) b ( b − 1 ) \frac{\binom{b-2}{m-2}}{\binom{b}{m}}=\frac{m(m-1)}{b(b-1)} ( m b ) ( m − 2 b − 2 ) = b ( b − 1 ) m ( m − 1 )
Substituting these identities into the averaged inequality gives
( b m ) − 1 ∑ S ⊆ { 1 , … , b } ∣ S ∣ = m T m ( S ) ≤ ( b − 2 m − 2 ) m ( m − 1 ) ( b m ) ∑ i < j ( r i − r j ) 2 = 1 b ( b − 1 ) ∑ i < j ( r i − r j ) 2 = T b . (8) \binom{b}{m}^{-1}\sum_{\substack{S\subseteq\{1,\ldots,b\}\\|S|=m}}T_m(S)\le\frac{\binom{b-2}{m-2}}{m(m-1)\binom{b}{m}}\sum_{i<j}(r_i-r_j)^2=\frac{1}{b(b-1)}\sum_{i<j}(r_i-r_j)^2=T_b. \tag*{(8)} ( m b ) − 1 S ⊆ { 1 , … , b } ∣ S ∣ = m ∑ T m ( S ) ≤ m ( m − 1 ) ( m b ) ( m − 2 b − 2 ) i < j ∑ ( r i − r j ) 2 = b ( b − 1 ) 1 i < j ∑ ( r i − r j ) 2 = T b . (8)
This establishes (7). Because the observations are iid, each subset of size m m m has the same distribution as a block of m m m observations. Consequently, E [ T m ( S ) ] = W m \mathbb{E}[T_m(S)] = W_m E [ T m ( S )] = W m for every such subset S S S . Taking expectations in (7) therefore gives W m ≤ W b W_m \le W_b W m ≤ W b for every 2 ≤ m ≤ b 2 \le m \le b 2 ≤ m ≤ b .
Convergence under a fixed evaluation law. Consider an infinite iid sequence ( U i , Y i ) i ≥ 1 (U_i,Y_i)_{i\ge1} ( U i , Y i ) i ≥ 1 from the evaluation law, with each block formed from its first b b b observations. Let v = ( v 1 , … , v b ) v=(v_1,\ldots,v_b) v = ( v 1 , … , v b ) minimize the objective in (5). Clipping each v i v_i v i to I I I preserves the Lipschitz constraints and cannot increase squared error. We may therefore assume that v i ∈ I v_i\in I v i ∈ I for every i i i . Define the decoder
g v ( u ) = clip I ( min 1 ≤ j ≤ b { v j + κ d ( u , U j ) } ) . g_v(u)=\operatorname{clip}_I\left(\min_{1\le j\le b}\{v_j+\kappa d(u,U_j)\}\right). g v ( u ) = clip I ( 1 ≤ j ≤ b min { v j + κ d ( u , U j )} ) .
For each fixed j j j , the reverse triangle inequality gives
∣ d ( u , U j ) − d ( u ′ , U j ) ∣ ≤ d ( u , u ′ ) \left|d(u,U_j)-d(u',U_j)\right| \le d(u,u') ∣ d ( u , U j ) − d ( u ′ , U j ) ∣ ≤ d ( u , u ′ )
for all u , u ′ ∈ U u,u' \in\mathcal{U} u , u ′ ∈ U . Hence, u ↦ v j + κ d ( u , U j ) u \mapsto v_j+\kappa d(u,U_j) u ↦ v j + κ d ( u , U j ) is κ \kappa κ -Lipschitz. Taking the pointwise minimum of these functions and clipping to I I I preserve the Lipschitz bound. The measurability of d d d also implies that g v g_v g v is measurable. Hence g v ∈ G κ ( d ) g_v \in\mathcal{G}_{\kappa}(d) g v ∈ G κ ( d ) . For every i i i , the constraints in (5) imply
v i ≤ v j + κ d ( U i , U j ) for all j . v_i \le v_j+\kappa d(U_i,U_j) \quad\text{for all } j. v i ≤ v j + κ d ( U i , U j ) for all j .
Equality holds when j = i j=i j = i , since d ( U i , U i ) = 0 d(U_i,U_i)=0 d ( U i , U i ) = 0 . Hence,
min 1 ≤ j ≤ b { v j + κ d ( U i , U j ) } = v i . \min_{1\le j\le b}\{v_j+\kappa d(U_i,U_j)\}=v_i. 1 ≤ j ≤ b min { v j + κ d ( U i , U j )} = v i .
Since v i ∈ I v_i \in I v i ∈ I , clipping leaves this value unchanged. Therefore, g v ( U i ) = v i g_v(U_i)=v_i g v ( U i ) = v i for every i i i . Recall that a b = ( b − 1 ) T b / b a_b=(b-1)T_b/b a b = ( b − 1 ) T b / b denotes the minimum average squared error over the block in (5) . Since g v ( U i ) = v i g_v(U_i)=v_i g v ( U i ) = v i for every i i i , the empirical mean squared error of g v g_v g v equals a b a_b a b . Conversely, for any g ∈ G κ ( d ) g \in\mathcal{G}_{\kappa}(d) g ∈ G κ ( d ) , the prediction vector ( g ( U 1 ) , … , g ( U b ) ) (g(U_1),\ldots,g(U_b)) ( g ( U 1 ) , … , g ( U b )) satisfies the pairwise Lipschitz constraints in (5) . Thus, every admissible decoder produces a feasible block prediction vector, while the optimal block prediction vector is reproduced by the admissible decoder g v g_v g v . Consequently,
a b = min g ∈ G κ ( d ) 1 b ∑ i = 1 b ( Y i − g ( U i ) ) 2 . a_b=\min_{g\in\mathcal{G}_{\kappa}(d)}\frac{1}{b}\sum_{i=1}^{b}(Y_i-g(U_i))^2. a b = g ∈ G κ ( d ) min b 1 i = 1 ∑ b ( Y i − g ( U i ) ) 2 .
Every decoder in G κ ( d ) \mathcal{G}_{\kappa}(d) G κ ( d ) takes values in the bounded interval I I I and satisfies the same Lipschitz bound κ \kappa κ . Thus, G κ ( d ) \mathcal{G}_{\kappa}(d) G κ ( d ) is uniformly bounded and equicontinuous. Uniform limits of functions in G κ ( d ) \mathcal{G}_{\kappa}(d) G κ ( d ) remain I I I -valued and κ \kappa κ -Lipschitz, so the class is also closed under uniform convergence. Since ( U , d ) (\mathcal{U},d) ( U , d ) is compact, the Arzelà–Ascoli theorem implies that G κ ( d ) \mathcal{G}_{\kappa}(d) G κ ( d ) is compact in the uniform norm, defined by
∥ f − g ∥ ∞ = sup u ∈ U ∣ f ( u ) − g ( u ) ∣ . \|f-g\|_{\infty}=\sup_{u\in\mathcal{U}}|f(u)-g(u)|. ∥ f − g ∥ ∞ = u ∈ U sup ∣ f ( u ) − g ( u ) ∣.
Compactness implies that, for every ε > 0 \varepsilon>0 ε > 0 , there exists a finite set F ε ⊆ G κ ( d ) F_{\varepsilon}\subseteq\mathcal{G}_{\kappa}(d) F ε ⊆ G κ ( d ) such that every g ∈ G κ ( d ) g\in\mathcal{G}_{\kappa}(d) g ∈ G κ ( d ) has an f ∈ F ε f\in F_{\varepsilon} f ∈ F ε satisfying ∥ g − f ∥ ∞ ≤ ε \|g-f\|_{\infty}\le\varepsilon ∥ g − f ∥ ∞ ≤ ε . To obtain approximation errors that converge to zero, set ε = 1 / j \varepsilon=1/j ε = 1/ j for integers j ≥ 1 j\ge1 j ≥ 1 and denote the corresponding finite sets by F j F_j F j . Thus, for every g ∈ G κ ( d ) g\in\mathcal{G}_{\kappa}(d) g ∈ G κ ( d ) , some f ∈ F j f\in F_j f ∈ F j satisfies
∥ g − f ∥ ∞ ≤ 1 j . \|g-f\|_{\infty}\le\frac{1}{j}. ∥ g − f ∥ ∞ ≤ j 1 .
Define the empirical risk of a decoder g g g by
R ^ b ( g ) = 1 b ∑ i = 1 b ( Y i − g ( U i ) ) 2 . \widehat{R}_b(g)=\frac{1}{b}\sum_{i=1}^{b}(Y_i-g(U_i))^2. R b ( g ) = b 1 i = 1 ∑ b ( Y i − g ( U i ) ) 2 .
For any f , g ∈ G κ ( d ) f,g\in\mathcal{G}_{\kappa}(d) f , g ∈ G κ ( d ) , u ∈ U u\in\mathcal{U} u ∈ U , and y ∈ I y\in I y ∈ I , the width D = y + − y − D=y_+-y_- D = y + − y − of the target interval gives ∣ y − f ( u ) ∣ ≤ D |y-f(u)|\le D ∣ y − f ( u ) ∣ ≤ D and ∣ y − g ( u ) ∣ ≤ D |y-g(u)|\le D ∣ y − g ( u ) ∣ ≤ D . Therefore,
∣ ( y − f ( u ) ) 2 − ( y − g ( u ) ) 2 ∣ = ∣ f ( u ) − g ( u ) ∣ ∣ 2 y − f ( u ) − g ( u ) ∣ ≤ 2 D ∥ f − g ∥ ∞ . \left|(y-f(u))^2-(y-g(u))^2\right|=|f(u)-g(u)|\,|2y-f(u)-g(u)|\le2D\|f-g\|_{\infty}. ( y − f ( u ) ) 2 − ( y − g ( u ) ) 2 = ∣ f ( u ) − g ( u ) ∣ ∣2 y − f ( u ) − g ( u ) ∣ ≤ 2 D ∥ f − g ∥ ∞ .
For g ∈ G κ ( d ) g \in\mathcal{G}_{\kappa}(d) g ∈ G κ ( d ) and its approximation f ∈ F j f \in\mathcal{F}_j f ∈ F j satisfying ∥ g − f ∥ ∞ ≤ 1 / j \lVert g-f\rVert_{\infty} \le1/j ∥ g − f ∥ ∞ ≤ 1/ j , the pointwise squared-loss bound established above implies
∣ R ^ b ( g ) − R ^ b ( f ) ∣ ≤ 2 D j , ∣ R ( g ) − R ( f ) ∣ ≤ 2 D j . \left|\widehat{R}_b(g)-\widehat{R}_b(f)\right| \le\frac{2D}{j}, \qquad\left|R(g)-R(f)\right| \le\frac{2D}{j}. R b ( g ) − R b ( f ) ≤ j 2 D , ∣ R ( g ) − R ( f ) ∣ ≤ j 2 D .
by averaging over the observations and taking expectations under the evaluation law, respectively. The triangle inequality and the preceding risk bounds give
∣ R ^ b ( g ) − R ( g ) ∣ ≤ ∣ R ^ b ( g ) − R ^ b ( f ) ∣ + ∣ R ^ b ( f ) − R ( f ) ∣ + ∣ R ( f ) − R ( g ) ∣ ≤ ∣ R ^ b ( f ) − R ( f ) ∣ + 4 D j . \begin{aligned}
\left|\widehat{R}_b(g)-R(g)\right| \le\left|\widehat{R}_b(g)-\widehat{R}_b(f)\right|+\left|\widehat{R}_b(f)-R(f)\right|+\left|R(f)-R(g)\right| \\
&\le\left|\widehat{R}_b(f)-R(f)\right|+\frac{4D}{j}.
\end{aligned} R b ( g ) − R ( g ) ≤ R b ( g ) − R b ( f ) + R b ( f ) − R ( f ) + ∣ R ( f ) − R ( g ) ∣ ≤ R b ( f ) − R ( f ) + j 4 D .
Since f ∈ F j f \in\mathcal{F}_j f ∈ F j , taking the supremum over g ∈ G κ ( d ) g \in\mathcal{G}_{\kappa}(d) g ∈ G κ ( d ) yields
sup g ∈ G κ ( d ) ∣ R ^ b ( g ) − R ( g ) ∣ ≤ max f ∈ F j ∣ R ^ b ( f ) − R ( f ) ∣ + 4 D j . \sup_{g\in\mathcal{G}_{\kappa}(d)}\left|\widehat{R}_b(g)-R(g)\right| \le\max_{f\in\mathcal{F}_j}\left|\widehat{R}_b(f)-R(f)\right|+\frac{4D}{j}. g ∈ G κ ( d ) sup R b ( g ) − R ( g ) ≤ f ∈ F j max R b ( f ) − R ( f ) + j 4 D .
For each fixed j j j , the strong law of large numbers implies that the maximum over the finite set F j \mathcal{F}_j F j converges to zero almost surely as b → ∞ b \to\infty b → ∞ . Since j j j ranges over the positive integers, these convergences hold simultaneously for all j j j with probability one. Taking b → ∞ b \to\infty b → ∞ and then j → ∞ j \to\infty j → ∞ yields
sup g ∈ G κ ( d ) ∣ R ^ b ( g ) − R ( g ) ∣ ⟶ 0 almost surely . \sup_{g\in\mathcal{G}_{\kappa}(d)}\left|\widehat{R}_b(g)-R(g)\right| \longrightarrow0 \quad\text{almost surely}. g ∈ G κ ( d ) sup R b ( g ) − R ( g ) ⟶ 0 almost surely .
Since a b a_b a b is the minimum empirical risk and R κ ∗ R_{\kappa}^{*} R κ ∗ is the infimum population risk over the same decoder class, the difference between these optimal values is bounded by the maximum deviation between empirical and population risks:
∣ a b − R κ ∗ ∣ ≤ sup g ∈ G κ ( d ) ∣ R ^ b ( g ) − R ( g ) ∣ ⟶ 0 almost surely . \left|a_b-R_{\kappa}^{*}\right| \le\sup_{g\in\mathcal{G}_{\kappa}(d)}\left|\widehat{R}_b(g)-R(g)\right| \longrightarrow0 \quad\text{almost surely}. ∣ a b − R κ ∗ ∣ ≤ g ∈ G κ ( d ) sup R b ( g ) − R ( g ) ⟶ 0 almost surely .
Since T b = b a b / ( b − 1 ) T_b=ba_b/(b-1) T b = b a b / ( b − 1 ) and b / ( b − 1 ) → 1 b/(b-1) \to1 b / ( b − 1 ) → 1 as b → ∞ b \to\infty b → ∞ , it follows that T b → R κ ∗ T_b \to R_{\kappa}^{*} T b → R κ ∗ almost surely. By (6) , 0 ≤ T b ≤ C b ≤ B / 2 0 \le T_b \le C_b \le B/2 0 ≤ T b ≤ C b ≤ B /2 for every b ≥ 2 b \ge2 b ≥ 2 . Thus, T b T_b T b is uniformly bounded, and its almost-sure convergence to R κ ∗ R_{\kappa}^{*} R κ ∗ implies, by the dominated convergence theorem, that
W b = E [ T b ] ⟶ R κ ∗ as b → ∞ . \mathcal{W}_b=\mathbb{E}[T_b]\longrightarrow R_{\kappa}^{*}\quad\text{as }b\to\infty. W b = E [ T b ] ⟶ R κ ∗ as b → ∞.
Since W b \mathcal{W}_b W b is nondecreasing in b b b , we conclude that W b ↑ R κ ∗ \mathcal{W}_b \uparrow R_{\kappa}^{*} W b ↑ R κ ∗ .
Interpreting the hierarchy. Theorem 2 establishes that the expected block score W b = E [ T b ] \mathcal{W}_b=\mathbb{E}[T_b] W b = E [ T b ] is nondecreasing in b b b . This monotonicity holds in expectation, not necessarily for scores computed from individual observed blocks. For any given block, (7) guarantees that its score is at least the average score over all subsets of a fixed smaller size. It does not, however, guarantee that the block score exceeds the score of every such subset.
Limits of a Fixed Block Size
For a fixed block size b b b , the block score can be zero even when the optimal population risk R κ ∗ R_{\kappa}^{*} R κ ∗ is positive. Proposition 3 illustrates two reasons. In the first example, two low-probability feature values have targets that no admissible decoder can fit simultaneously, but a block is unlikely to contain both feature values. In the second example, the target Y Y Y is independent of the feature U U U and therefore has unavoidable prediction error. However, the feature space contains so many well-separated values that a small block is unlikely to contain repeated feature values. When all feature values in a block are distinct, the Lipschitz constraints allow the observed targets to be fitted exactly. In both examples, the expected block score W b \mathcal{W}_b W b can be arbitrarily small relative to R κ ∗ R_{\kappa}^{*} R κ ∗ for any fixed b b b , even though W b \mathcal{W}_b W b converges to R κ ∗ R_{\kappa}^{*} R κ ∗ as b b b increases for each fixed evaluation law.
Proposition 3 (Small expected block scores at a fixed block size). ** Consider the following two distributions.
Let ( U , Y ) (U,Y) ( U , Y ) take the values ( 3 , 0 ) (3,0) ( 3 , 0 ) , ( 0 , − 1 ) (0,-1) ( 0 , − 1 ) , and ( 1 , 1 ) (1,1) ( 1 , 1 ) with respective probabilities 1 − 2 ε 1-2\varepsilon 1 − 2 ε , ε \varepsilon ε , and ε \varepsilon ε , where 0 < ε < 1 / 2 0<\varepsilon<1/2 0 < ε < 1/2 . Take I = [ − 1 , 1 ] I=[-1,1] I = [ − 1 , 1 ] , d ( u , v ) = ∣ u − v ∣ d(u,v)=|u-v| d ( u , v ) = ∣ u − v ∣ , and κ = 1 \kappa=1 κ = 1 . Then
R κ ∗ = ε 2 , W b = 2 b ε − 1 + ( 1 − 2 ε ) b 4 ( b − 1 ) . (9) R_{\kappa}^{*}=\frac{\varepsilon}{2},\qquad\mathcal{W}_b=\frac{2b\varepsilon-1+(1-2\varepsilon)^b}{4(b-1)}. \tag*{(9)} R κ ∗ = 2 ε , W b = 4 ( b − 1 ) 2 b ε − 1 + ( 1 − 2 ε ) b . (9) Let U U U be uniformly distributed over M ≥ 2 M\ge2 M ≥ 2 points in a metric space, with the distance between any two distinct points at least D / κ D/\kappa D / κ , where D , κ > 0 D,\kappa>0 D , κ > 0 . Take I = [ 0 , D ] I=[0,D] I = [ 0 , D ] , and let Y Y Y be independent of U U U , with Pr ( Y = 0 ) = Pr ( Y = D ) = 1 / 2 \Pr(Y=0)=\Pr(Y=D)=1/2 Pr ( Y = 0 ) = Pr ( Y = D ) = 1/2 . Then
R κ ∗ = D 2 4 , W b = D 2 4 ( b − 1 ) [ b − M { 1 − ( 1 − 1 M ) b } ] . (10) R_{\kappa}^{*}=\frac{D^2}{4},\qquad\mathcal{W}_b=\frac{D^2}{4(b-1)}\left[b-M\left\{1-\left(1-\frac{1}{M}\right)^b\right\}\right]. \tag*{(10)} R κ ∗ = 4 D 2 , W b = 4 ( b − 1 ) D 2 [ b − M { 1 − ( 1 − M 1 ) b } ] . (10) For every fixed integer b ≥ 2 b\ge2 b ≥ 2 , the ratio W b / R κ ∗ \mathcal{W}_b/R_{\kappa}^{*} W b / R κ ∗ tends to zero as ε ↓ 0 \varepsilon\downarrow0 ε ↓ 0 in the first example or as M → ∞ M\to\infty M → ∞ in the second.
Proof. For the first distribution, let v − v_{-} v − and v + v_{+} v + denote the predictions at U = 0 U=0 U = 0 and U = 1 U=1 U = 1 . The Lipschitz constraint requires ∣ v + − v − ∣ ≤ 1 |v_{+}-v_{-}|\le1 ∣ v + − v − ∣ ≤ 1 , although the corresponding targets differ by two. Consequently,
min ∣ v + − v − ∣ ≤ 1 { ( v − + 1 ) 2 + ( v + − 1 ) 2 } = 1 2 , \min_{|v_{+}-v_{-}|\le1}\left\{(v_{-}+1)^2+(v_{+}-1)^2\right\}=\frac{1}{2}, ∣ v + − v − ∣ ≤ 1 min { ( v − + 1 ) 2 + ( v + − 1 ) 2 } = 2 1 ,
attained at v − = − 1 / 2 v_{-}=-1/2 v − = − 1/2 and v + = 1 / 2 v_{+}=1/2 v + = 1/2 . These predictions lie in I = [ − 1 , 1 ] I=[-1,1] I = [ − 1 , 1 ] , and setting the prediction at U = 3 U=3 U = 3 to zero satisfies the remaining Lipschitz constraints without introducing additional error. The frequent input contributes zero squared error. Since each rare input has probability ε \varepsilon ε and their minimum combined squared error is 1 / 2 1/2 1/2 , the minimum population risk is R κ ∗ = ε / 2 R_{\kappa}^{*}=\varepsilon/2 R κ ∗ = ε /2 . For a block of b b b observations, let N − N_{-} N − and N + N_{+} N + count the occurrences of U = 0 U=0 U = 0 and U = 1 U=1 U = 1 , respectively, and set N = N − + N + N=N_{-}+N_{+} N = N − + N + . When N > 0 N>0 N > 0 , the minimum squared residual sum at these inputs is
min ∣ v + − v − ∣ ≤ 1 { N − ( v − + 1 ) 2 + N + ( v + − 1 ) 2 } = N − N + N . \min_{|v_{+}-v_{-}|\le1}\left\{N_{-}(v_{-}+1)^2+N_{+}(v_{+}-1)^2\right\}=\frac{N_{-}N_{+}}{N}. ∣ v + − v − ∣ ≤ 1 min { N − ( v − + 1 ) 2 + N + ( v + − 1 ) 2 } = N N − N + .
The minimum is attained at v − = − N − / N v_-=-N_-/N v − = − N − / N and v + = N + / N v_+=N_+/N v + = N + / N . Together with a prediction of zero at U = 3 U=3 U = 3 , these values satisfy all Lipschitz constraints. When N = 0 N=0 N = 0 , the minimum residual sum is zero. Since N ∼ Binomial ( b , 2 ε ) N\sim\operatorname{Binomial}(b,2\varepsilon) N ∼ Binomial ( b , 2 ε ) and N − ∣ N = n ∼ Binomial ( n , 1 / 2 ) N_-\mid N=n\sim\operatorname{Binomial}(n,1/2) N − ∣ N = n ∼ Binomial ( n , 1/2 ) , for n ≥ 1 n\ge1 n ≥ 1 we obtain
E [ ( b − 1 ) T b ∣ N = n ] = E [ N − ( n − N − ) ∣ N = n ] n = n − 1 4 . \mathbb{E}[(b-1)T_b\mid N=n]=\frac{\mathbb{E}[N_-(n-N_-)\mid N=n]}{n}=\frac{n-1}{4}. E [( b − 1 ) T b ∣ N = n ] = n E [ N − ( n − N − ) ∣ N = n ] = 4 n − 1 .
Thus, using E N = 2 b ε \mathbb{E}N=2b\varepsilon E N = 2 b ε and Pr ( N ≥ 1 ) = 1 − ( 1 − 2 ε ) b \Pr(N\ge1)=1-(1-2\varepsilon)^b Pr ( N ≥ 1 ) = 1 − ( 1 − 2 ε ) b ,
( b − 1 ) W b = E N − Pr ( N ≥ 1 ) 4 = 2 b ε − 1 + ( 1 − 2 ε ) b 4 , (b-1)W_b=\frac{\mathbb{E}N-\Pr(N\ge1)}{4}=\frac{2b\varepsilon-1+(1-2\varepsilon)^b}{4}, ( b − 1 ) W b = 4 E N − Pr ( N ≥ 1 ) = 4 2 b ε − 1 + ( 1 − 2 ε ) b ,
which proves (8).
For the second distribution, let u 1 , … , u M u_1,\ldots,u_M u 1 , … , u M denote the possible values of U U U . Since any two distinct support points satisfy κ d ( u j , u k ) ≥ D \kappa d(u_j,u_k)\ge D κ d ( u j , u k ) ≥ D , every assignment of predictions in I = [ 0 , D ] I=[0,D] I = [ 0 , D ] satisfies the Lipschitz constraints between these points. Thus, predictions at distinct support points can be optimized independently, while all observations with the same input must receive the same prediction. Let N j N_j N j be the number of observations in a block with U i = u j U_i=u_j U i = u j . For N j > 0 N_j>0 N j > 0 , the squared residual sum at u j u_j u j is minimized by predicting the sample mean Y ˉ j \bar{Y}_j Y ˉ j of the corresponding targets. Because these targets are independent and have variance D 2 / 4 D^2/4 D 2 /4 , for n ≥ 1 n\ge1 n ≥ 1 ,
E [ ∑ i : U i = u j ( Y i − Y ˉ j ) 2 ∣ N j = n ] = ( n − 1 ) D 2 4 . \mathbb{E}\left[\left.\sum_{i:U_i=u_j}(Y_i-\bar{Y}_j)^2\right|N_j=n\right]=(n-1)\frac{D^2}{4}. E i : U i = u j ∑ ( Y i − Y ˉ j ) 2 N j = n = ( n − 1 ) 4 D 2 .
A support point with N j = 0 N_j=0 N j = 0 contributes zero squared error. Let O b O_b O b denote the number of distinct inputs observed in the block. Since ∑ j = 1 M N j = b \sum_{j=1}^M N_j=b ∑ j = 1 M N j = b , the expected minimum squared residual sum, conditional on the input counts, is
D 2 4 ∑ j : N j > 0 ( N j − 1 ) = D 2 4 ( b − O b ) . \frac{D^2}{4}\sum_{j:N_j>0}(N_j-1)=\frac{D^2}{4}(b-O_b). 4 D 2 j : N j > 0 ∑ ( N j − 1 ) = 4 D 2 ( b − O b ) .
Each support point has probability ( 1 − 1 / M ) b (1-1/M)^b ( 1 − 1/ M ) b of being absent from the block. Consequently,
E O b = M { 1 − ( 1 − 1 M ) b } , \mathbb{E}O_b=M\left\{1-\left(1-\frac{1}{M}\right)^b\right\}, E O b = M { 1 − ( 1 − M 1 ) b } ,
and therefore
W b = D 2 4 ( b − 1 ) ( b − E O b ) . W_b=\frac{D^2}{4(b-1)}(b-\mathbb{E}O_b). W b = 4 ( b − 1 ) D 2 ( b − E O b ) .
Substituting the expression for E O b \mathbb{E}O_b E O b gives (9). To determine the optimal population risk, recall that Y Y Y is independent of U U U , with mean D / 2 D/2 D /2 and variance D 2 / 4 D^2/4 D 2 /4 . Hence, for any admissible decoder g g g ,
E [ ( Y − g ( U ) ) 2 ∣ U ] = D 2 4 + ( g ( U ) − D 2 ) 2 . \mathbb{E}[(Y-g(U))^2\mid U]=\frac{D^2}{4}+\left(g(U)-\frac{D}{2}\right)^2. E [( Y − g ( U ) ) 2 ∣ U ] = 4 D 2 + ( g ( U ) − 2 D ) 2 .
The constant decoder g ( u ) = D / 2 g(u) = D/2 g ( u ) = D /2 is admissible and attains the lower bound D 2 / 4 D^2/4 D 2 /4 . Thus, R κ ∗ = D 2 / 4 R^*_\kappa= D^2/4 R κ ∗ = D 2 /4 . Finally, fix b ≥ 2 b \ge2 b ≥ 2 . Expanding the expressions in (9) and (10) gives
W b R κ ∗ = { b ε + O ( ε 2 ) , ε ↓ 0 (first distribution) , b 2 M + O ( M − 2 ) , M → ∞ (second distribution) . \frac{\mathcal{W}_b}{R^*_\kappa} =
\begin{cases}
b\varepsilon+ O(\varepsilon^2), & \varepsilon\downarrow0 \quad\text{(first distribution)}, \\
\frac{b}{2M} + O(M^{-2}), & M \to\infty\quad\text{(second distribution)}.
\end{cases} R κ ∗ W b = { b ε + O ( ε 2 ) , 2 M b + O ( M − 2 ) , ε ↓ 0 (first distribution) , M → ∞ (second distribution) .
Both ratios therefore converge to zero for every fixed block size b b b .
Proposition 3 shows that the expected block score can substantially underestimate the optimal population risk at a fixed block size. In the first example, W b / R κ ∗ \mathcal{W}_b/R^*_\kappa W b / R κ ∗ tends to zero as ε ↓ 0 \varepsilon\downarrow0 ε ↓ 0 , although R κ ∗ = ε / 2 R^*_\kappa= \varepsilon/2 R κ ∗ = ε /2 also tends to zero. The second example shows that the discrepancy can persist even when the optimal population risk remains strictly positive. For every fixed b b b , W b → 0 \mathcal{W}_b \to0 W b → 0 as M → ∞ M \to\infty M → ∞ , while R κ ∗ = D 2 / 4 R^*_\kappa= D^2/4 R κ ∗ = D 2 /4 remains unchanged. The second example also shows that this discrepancy does not require an increasing feature-space diameter. Indeed, we may choose d ( u j , u k ) = D / κ d(u_j,u_k) = D/\kappa d ( u j , u k ) = D / κ for all distinct support points. For every M ≥ 2 M \ge2 M ≥ 2 , the resulting metric space is finite and therefore compact, with the same diameter D / κ D/\kappa D / κ . Thus, even when the feature-space diameter and target interval are fixed, no fixed block size b b b guarantees that W b \mathcal{W}_b W b is close to R κ ∗ R^*_\kappa R κ ∗ uniformly over these distributions. This does not contradict Theorem 2 , which establishes convergence as b b b increases for each fixed evaluation law on a compact metric feature space.
Empirical Risk Bounds and Population Confidence Bounds
For a fixed dataset, we formulate the minimum empirical MSE over the Lipschitz decoder class G κ ( d ) \mathcal{G}_\kappa(d) G κ ( d ) as a constrained quadratic optimization problem. Proposition 4 establishes that the dual objective evaluated at arbitrary real-valued multipliers provides a lower bound on the minimum total squared error. This deterministic bound does not require exact optimization or sampling assumptions. For iid evaluation observations independent of model development, we construct lower confidence bounds on the minimum population risk R κ ∗ R^*_\kappa R κ ∗ using either scores computed from independent blocks of observations or lower bounds on the minimum empirical risk. We also construct upper confidence bounds on the population risk R ( g ^ ) R(\widehat{g}) R ( g ) of fitted predictors selected independently of the evaluation observations. The resulting bounds hold simultaneously for a finite collection of candidate predictor classes and fitted predictors, with probability at least 1 − δ 1-\delta 1 − δ (Theorem 6 ).
Lower Bounds for a Fixed Data Set
For a fixed data set ( u i , y i ) i = 1 n (u_i,y_i)_{i=1}^n ( u i , y i ) i = 1 n with y i ∈ I y_i \in I y i ∈ I , define the minimum empirical mean squared error over the admissible decoder class as
a n = inf g ∈ G κ ( d ) 1 n ∑ i = 1 n ( y i − g ( u i ) ) 2 . a_n = \inf_{g \in\mathcal{G}_\kappa(d)} \frac{1}{n} \sum_{i=1}^n (y_i-g(u_i))^2. a n = g ∈ G κ ( d ) inf n 1 i = 1 ∑ n ( y i − g ( u i ) ) 2 .
Unlike the optimal population risk R κ ∗ R^*_\kappa R κ ∗ , this quantity measures the minimum average squared error on the given observations. To compute a n a_n a n , let v i ∈ I v_i \in I v i ∈ I denote the prediction assigned to the observed feature value u i u_i u i . For these predictions to come from an admissible decoder, they must satisfy the Lipschitz constraints ∣ v i − v j ∣ ≤ κ d ( u i , u j ) |v_i-v_j| \le\kappa d(u_i,u_j) ∣ v i − v j ∣ ≤ κ d ( u i , u j ) for all i < j i < j i < j . Conversely, suppose v = ( v 1 , … , v n ) ∈ I n v = (v_1,\ldots,v_n) \in I^n v = ( v 1 , … , v n ) ∈ I n satisfies all pairwise Lipschitz constraints. As shown in the proof of Theorem 2 , we can define a decoder on the entire feature space by
g v ( u ) = clip I ( min 1 ≤ j ≤ n { v j + κ d ( u , u j ) } ) . g_v(u)=\operatorname{clip}_I\left(\min_{1\le j\le n}\{v_j+\kappa d(u,u_j)\}\right). g v ( u ) = clip I ( 1 ≤ j ≤ n min { v j + κ d ( u , u j )} ) .
The triangle inequality and measurability of d d d ensure that g v g_v g v is measurable and κ \kappa κ -Lipschitz. Moreover, for each observed feature value u i u_i u i , the pairwise constraints give v i ≤ v j + κ d ( u i , u j ) v_i\le v_j+\kappa d(u_i,u_j) v i ≤ v j + κ d ( u i , u j ) for every j j j , with equality when j = i j=i j = i . Since v i ∈ I v_i\in I v i ∈ I , clipping does not change this value, so g v ( u i ) = v i g_v(u_i)=v_i g v ( u i ) = v i . Thus, every prediction vector satisfying the pairwise constraints can be realized by an admissible decoder in G κ ( d ) \mathcal{G}_{\kappa}(d) G κ ( d ) .
The empirical squared error depends on a decoder g g g only through its predictions g ( u 1 ) , … , g ( u n ) g(u_1),\ldots,g(u_n) g ( u 1 ) , … , g ( u n ) at the observed feature values. As established above, the prediction vectors produced by admissible decoders are exactly those in I n I^n I n satisfying the pairwise Lipschitz constraints. Thus, optimizing over admissible decoders and optimizing over these feasible prediction vectors yield the same minimum empirical mean squared error. Consequently,
n a n = min v ∈ I n { ∑ i = 1 n ( y i − v i ) 2 : ∣ v i − v j ∣ ≤ κ d ( u i , u j ) for all i < j } . na_n=\min_{v\in I^n}\left\{\sum_{i=1}^{n}(y_i-v_i)^2: \lvert v_i-v_j\rvert\le\kappa d(u_i,u_j)\quad\text{for all }i<j\right\}. n a n = v ∈ I n min { i = 1 ∑ n ( y i − v i ) 2 : ∣ v i − v j ∣ ≤ κ d ( u i , u j ) for all i < j } .
The factor n n n converts the minimum empirical mean squared error into the minimum sum of squared errors. This equivalence holds for every fixed data set and requires no sampling assumptions. A feasible prediction vector provides an upper bound on a n a_n a n , because its empirical mean squared error cannot be smaller than the minimum over all feasible prediction vectors. To establish a lower bound on a n a_n a n , we use Lagrangian duality. The dual formulation represents observations as vertices of a graph, with each edge corresponding to a selected pairwise Lipschitz constraint. Each edge is assigned a signed real multiplier. Proposition 4 shows that the resulting dual objective provides a lower bound on the minimum sum of squared errors n a n na_n n a n . This bound is valid for any selection of edges and any finite values of the multipliers. Dividing the dual value by n n n therefore gives a lower bound on a n a_n a n . Optimizing the multipliers can improve this bound but is not required for its validity.
Proposition 4 (Lower bounds from graph constraints and disjoint subsets) Let a n a_n a n be the minimum empirical mean squared error defined above, and write y = ( y 1 , … , y n ) ⊤ y=(y_1,\ldots,y_n)^\top y = ( y 1 , … , y n ) ⊤ . Let G = ( { 1 , … , n } , E ) G= (\{1,\ldots,n\},E) G = ({ 1 , … , n } , E ) be a graph whose vertices correspond to the observations. Each edge ( i , j ) ∈ E (i,j)\in E ( i , j ) ∈ E identifies the pairwise Lipschitz constraint ∣ v i − v j ∣ ≤ κ d ( u i , u j ) \lvert v_i-v_j\rvert\le\kappa d(u_i,u_j) ∣ v i − v j ∣ ≤ κ d ( u i , u j ) used in the dual calculation. An arbitrary orientation of the edges defines the incidence matrix M ∈ R n × ∣ E ∣ M\in\mathbb{R}^{n\times\lvert E\rvert} M ∈ R n × ∣ E ∣ . For an edge directed from i i i to j j j , the corresponding column of M M M has + 1 +1 + 1 in row i i i , − 1 -1 − 1 in row j j j , and zeros elsewhere. For any vector of real-valued edge multipliers λ = ( λ e ) e ∈ E \lambda=(\lambda_e)_{e\in E} λ = ( λ e ) e ∈ E , let s = M λ s=M\lambda s = M λ . Then
D G ( λ ) = s ⊤ y − κ ∑ e = ( i , j ) ∈ E d ( u i , u j ) ∣ λ e ∣ − 1 4 ∥ s ∥ 2 2 ≤ n a n . (11) D_G(\lambda)=s^\top y-\kappa\sum_{e=(i,j)\in E}d(u_i,u_j)\lvert\lambda_e\rvert-\frac{1}{4}\lVert s\rVert_2^2\leq na_n. \tag*{(11)} D G ( λ ) = s ⊤ y − κ e = ( i , j ) ∈ E ∑ d ( u i , u j ) ∣ λ e ∣ − 4 1 ∥ s ∥ 2 2 ≤ n a n . (11) The inequality holds for any selection of edges and any multiplier vector λ \lambda λ . Using only a subset of the pairwise constraints may weaken the lower bound but does not invalidate it. A lower bound on a n a_n a n can also be obtained by combining bounds computed on disjoint subsets of the observations. Let S 1 , … , S K S_1,\ldots,S_K S 1 , … , S K be disjoint subsets of { 1 , … , n } \{1,\ldots,n\} { 1 , … , n } . For each subset S k S_k S k , let A k ≥ 0 A_k\geq0 A k ≥ 0 be a verified lower bound on the minimum sum of squared errors over predictions in I I I satisfying all pairwise Lipschitz constraints within that subset. Then
d n = 1 n ∑ k = 1 K A k ≤ a n . (12) d_n=\frac{1}{n}\sum_{k=1}^{K}A_k\leq a_n. \tag*{(12)} d n = n 1 k = 1 ∑ K A k ≤ a n . (12)
The subsets need not cover all observations. Observations outside these subsets contribute nothing to the numerator, while the denominator remains the full sample size n n n .
Proof We first prove (10). Let v ∈ I n v \in I^n v ∈ I n satisfy all pairwise Lipschitz constraints. For each selected edge e = ( i , j ) ∈ E e=(i,j) \in E e = ( i , j ) ∈ E , the corresponding component ( M T v ) e (M^{\mathsf{T}}v)_e ( M T v ) e equals v i − v j v_i-v_j v i − v j or v j − v i v_j-v_i v j − v i , depending on the chosen orientation. Hence, ∣ ( M T v ) e ∣ = ∣ v i − v j ∣ \lvert(M^{\mathsf{T}}v)_e\rvert=\lvert v_i-v_j\rvert ∣( M T v ) e ∣ = ∣ v i − v j ∣ . Hence, for any real-valued multiplier λ e \lambda_e λ e ,
λ e ( M T v ) e ≤ ∣ λ e ∣ ∣ v i − v j ∣ ≤ κ d ( u i , u j ) ∣ λ e ∣ . \lambda_e(M^{\mathsf{T}}v)_e \le\lvert\lambda_e\rvert\lvert v_i-v_j\rvert\le\kappa d(u_i,u_j)\lvert\lambda_e\rvert. λ e ( M T v ) e ≤ ∣ λ e ∣ ∣ v i − v j ∣ ≤ κ d ( u i , u j ) ∣ λ e ∣ .
Summing over the selected edges and using s = M λ s=M\lambda s = M λ gives
s T v ≤ κ ∑ e = ( i , j ) ∈ E d ( u i , u j ) ∣ λ e ∣ . s^{\mathsf{T}}v \le\kappa\sum_{e=(i,j)\in E}d(u_i,u_j)\lvert\lambda_e\rvert. s T v ≤ κ e = ( i , j ) ∈ E ∑ d ( u i , u j ) ∣ λ e ∣ .
Thus,
∥ y − v ∥ 2 2 ≥ ∥ y − v ∥ 2 2 + s T v − κ ∑ e = ( i , j ) ∈ E d ( u i , u j ) ∣ λ e ∣ = ∥ v − y + s 2 ∥ 2 2 + D G ( λ ) ≥ D G ( λ ) . \lVert y-v\rVert_2^2 \ge\lVert y-v\rVert_2^2+s^{\mathsf{T}}v-\kappa\sum_{e=(i,j)\in E}d(u_i,u_j)\lvert\lambda_e\rvert
=\left\lVert v-y+\frac{s}{2}\right\rVert_2^2+D_G(\lambda)\ge D_G(\lambda). ∥ y − v ∥ 2 2 ≥ ∥ y − v ∥ 2 2 + s T v − κ e = ( i , j ) ∈ E ∑ d ( u i , u j ) ∣ λ e ∣ = v − y + 2 s 2 2 + D G ( λ ) ≥ D G ( λ ) .
Thus, D G ( λ ) D_G(\lambda) D G ( λ ) is a lower bound on the squared residual sum of every feasible prediction vector. Taking the minimum over all feasible vectors gives D G ( λ ) ≤ n a n D_G(\lambda)\le na_n D G ( λ ) ≤ n a n . The argument uses only the constraints associated with the selected edges, so the bound remains valid when the graph does not include every observation pair.
We next prove (11). Let v v v be any prediction vector satisfying all pairwise Lipschitz constraints on the full data set. Its restriction to each subset S k S_k S k satisfies all pairwise constraints within that subset. By the definition of A k A_k A k ,
∑ i ∈ S k ( y i − v i ) 2 ≥ A k . \sum_{i\in S_k}(y_i-v_i)^2\ge A_k. i ∈ S k ∑ ( y i − v i ) 2 ≥ A k .
Since the subsets are disjoint, their squared residual sums contain no repeated terms. The squared residuals of observations outside these subsets are nonnegative. Consequently,
∑ i = 1 n ( y i − v i ) 2 = ∑ k = 1 K ∑ i ∈ S k ( y i − v i ) 2 + ∑ i ∉ ⋃ k = 1 K S k ( y i − v i ) 2 ≥ ∑ k = 1 K A k . \sum_{i=1}^{n}(y_i-v_i)^2
=\sum_{k=1}^{K}\sum_{i\in S_k}(y_i-v_i)^2+\sum_{i\notin\bigcup_{k=1}^{K}S_k}(y_i-v_i)^2
\ge\sum_{k=1}^{K}A_k. i = 1 ∑ n ( y i − v i ) 2 = k = 1 ∑ K i ∈ S k ∑ ( y i − v i ) 2 + i ∈ / ⋃ k = 1 K S k ∑ ( y i − v i ) 2 ≥ k = 1 ∑ K A k .
This inequality holds for every feasible prediction vector on the full data set. Minimizing the left-hand side over all such vectors and dividing by n n n gives d n ≤ a n d_n\le a_n d n ≤ a n , proving (11). ■
A numerically verified lower bound D G ‾ ≤ D G ( λ ) \underline{D_G}\le D_G(\lambda) D G ≤ D G ( λ ) on the dual objective gives
0 ≤ A : = max { 0 , D G ‾ } ≤ n a n . 0\le A:=\max\{0,\underline{D_G}\}\le na_n. 0 ≤ A := max { 0 , D G } ≤ n a n .
Conversely, any vector v ∈ I n v\in I^n v ∈ I n satisfying all pairwise Lipschitz constraints provides an upper bound on the minimum empirical mean squared error:
a n ≤ 1 n ∑ i = 1 n ( y i − v i ) 2 . a_n\le\frac{1}{n}\sum_{i=1}^{n}(y_i-v_i)^2. a n ≤ n 1 i = 1 ∑ n ( y i − v i ) 2 .
The dual lower bound can be computed using selected pairwise constraints, whereas a feasible upper bound must satisfy all pairwise constraints.
Combining lower bounds from disjoint blocks. Let S 1 , … , S K S_1,\ldots,S_K S 1 , … , S K be disjoint subsets of a data set containing n n n observations, with ∣ S k ∣ = b ≥ 2 \lvert S_k\rvert=b\ge2 ∣ S k ∣ = b ≥ 2 . For each block S k S_k S k , let A k ≥ 0 A_k\ge0 A k ≥ 0 be a verified lower bound on its minimum total squared error, and define T k = A k / ( b − 1 ) T_k=A_k/(b-1) T k = A k / ( b − 1 ) . Because the blocks are disjoint, ∑ k = 1 K A k \sum_{k=1}^{K}A_k ∑ k = 1 K A k is a lower bound on the minimum total squared error over the full data set. By (11),
d n = 1 n ∑ k = 1 K A k = K ( b − 1 ) n ( 1 K ∑ k = 1 K T k ) ≤ a n . (13) d_n=\frac{1}{n}\sum_{k=1}^{K}A_k=\frac{K(b-1)}{n}\left(\frac{1}{K}\sum_{k=1}^{K}T_k\right)\le a_n. \tag*{(13)} d n = n 1 k = 1 ∑ K A k = n K ( b − 1 ) ( K 1 k = 1 ∑ K T k ) ≤ a n . (13)
The denominator is the total data set size n n n , even if the blocks do not cover all observations.
Population Confidence Bounds and Simultaneous Guarantees
We next construct confidence bounds for the population mean of iid observations taking values in a known bounded interval. These bounds use the binary Kullback-Leibler (KL) divergence, defined for q , p ∈ [ 0 , 1 ] q,p\in[0,1] q , p ∈ [ 0 , 1 ] by
kl ( q ∥ p ) = q log q p + ( 1 − q ) log 1 − q 1 − p . \operatorname{kl}(q\mathbin{\|}p)=q\log\frac{q}{p}+(1-q)\log\frac{1-q}{1-p}. kl ( q ∥ p ) = q log p q + ( 1 − q ) log 1 − p 1 − q .
Terms with zero numerator are defined to be zero, whereas a positive numerator divided by zero gives infinity. For q ∈ [ 0 , 1 ] q\in[0,1] q ∈ [ 0 , 1 ] and c > 0 c>0 c > 0 , define
k − ( q , c ) = min { p ∈ [ 0 , q ] : kl ( q ∥ p ) ≤ c } , k_{-}(q,c)=\min\{p\in[0,q]:\operatorname{kl}(q\mathbin{\|}p)\le c\}, k − ( q , c ) = min { p ∈ [ 0 , q ] : kl ( q ∥ p ) ≤ c } ,
k + ( q , c ) = max { p ∈ [ q , 1 ] : kl ( q ∥ p ) ≤ c } . k_{+}(q,c)=\max\{p\in[q,1]:\operatorname{kl}(q\mathbin{\|}p)\le c\}. k + ( q , c ) = max { p ∈ [ q , 1 ] : kl ( q ∥ p ) ≤ c } .
These functions give the lower and upper endpoints of the interval of values p ∈ [ 0 , 1 ] p\in[0,1] p ∈ [ 0 , 1 ] satisfying kl ( q ∥ p ) ≤ c \operatorname{kl}(q\mathbin{\|}p)\le c kl ( q ∥ p ) ≤ c . Both sets are nonempty because kl ( q ∥ q ) = 0 ≤ c \operatorname{kl}(q\mathbin{\|}q)=0\le c kl ( q ∥ q ) = 0 ≤ c . They are also closed subsets of [ 0 , 1 ] [0,1] [ 0 , 1 ] and hence compact, so their minimum and maximum are attained. For fixed c > 0 c>0 c > 0 , both k − ( q , c ) k_{-}(q,c) k − ( q , c ) and k + ( q , c ) k_{+}(q,c) k + ( q , c ) are nondecreasing in q q q . To see this, observe that, for p , q ∈ ( 0 , 1 ) p,q\in(0,1) p , q ∈ ( 0 , 1 ) ,
∂ ∂ q kl ( q ∥ p ) = log q ( 1 − p ) p ( 1 − q ) , ∂ ∂ p kl ( q ∥ p ) = p − q p ( 1 − p ) . \frac{\partial}{\partial q}\operatorname{kl}(q\mathbin{\|}p)=\log\frac{q(1-p)}{p(1-q)},\qquad
\frac{\partial}{\partial p}\operatorname{kl}(q\mathbin{\|}p)=\frac{p-q}{p(1-p)}. ∂ q ∂ kl ( q ∥ p ) = log p ( 1 − q ) q ( 1 − p ) , ∂ p ∂ kl ( q ∥ p ) = p ( 1 − p ) p − q .
These derivatives have opposite signs whenever p ≠ q p\ne q p = q . For fixed c > 0 c>0 c > 0 , let p = p ( q ) p=p(q) p = p ( q ) denote either endpoint satisfying kl ( q ∥ p ) = c \operatorname{kl}(q\mathbin{\|}p)=c kl ( q ∥ p ) = c . Differentiating this equality with respect to q q q gives
∂ kl ∂ q + ∂ kl ∂ p d p d q = 0 , \frac{\partial\operatorname{kl}}{\partial q}+\frac{\partial\operatorname{kl}}{\partial p}\frac{dp}{dq}=0, ∂ q ∂ kl + ∂ p ∂ kl d q d p = 0 ,
and therefore
d p d q = − ∂ kl / ∂ q ∂ kl / ∂ p > 0 , \frac{dp}{dq}=-\frac{\partial\operatorname{kl}/\partial q}{\partial\operatorname{kl}/\partial p}>0, d q d p = − ∂ kl / ∂ p ∂ kl / ∂ q > 0 ,
because the two partial derivatives have opposite signs whenever p ≠ q p\ne q p = q . Thus, both endpoints increase with q q q for q ∈ ( 0 , 1 ) q\in(0,1) q ∈ ( 0 , 1 ) . Monotonicity at q = 0 q=0 q = 0 and q = 1 q=1 q = 1 follows by continuity. For fixed q q q , increasing c c c enlarges the set of values p p p satisfying kl ( q ∥ p ) ≤ c \operatorname{kl}(q\mathbin{\|}p)\le c kl ( q ∥ p ) ≤ c . Consequently, k − ( q , c ) k_{-}(q,c) k − ( q , c ) is nonincreasing in c c c , while k + ( q , c ) k_{+}(q,c) k + ( q , c ) is nondecreasing in c c c . Let V 1 , … , V N V_1,\ldots,V_N V 1 , … , V N be iid random variables taking values in [ 0 , C ] [0,C] [ 0 , C ] , where C > 0 C>0 C > 0 and N ≥ 1 N\ge1 N ≥ 1 . Write
V ‾ = 1 N ∑ i = 1 N V i , μ = E [ V 1 ] . \overline{V}=\frac{1}{N}\sum_{i=1}^{N}V_i,\qquad\mu=\mathbb{E}[V_1]. V = N 1 i = 1 ∑ N V i , μ = E [ V 1 ] .
For any 0 < α < 1 0<\alpha<1 0 < α < 1 , Hoeffding’s bounded-variable inequality (Hoeffding, 1963, Theorem 1, Eq. (2.1)), applied to V i / C V_i/C V i / C and 1 − V i / C 1-V_i/C 1 − V i / C , gives the following one-sided confidence bounds:
Pr { C k − ( V ‾ C , log ( 1 / α ) N ) ≤ μ } ≥ 1 − α , Pr { μ ≤ C k + ( V ‾ C , log ( 1 / α ) N ) } ≥ 1 − α . (14) \begin{aligned}
\Pr\left\{Ck_{-}\left(\frac{\overline{V}}{C},\frac{\log(1/\alpha)}{N}\right)\le\mu\right\}&\ge1-\alpha,\\
\Pr\left\{\mu\le Ck_{+}\left(\frac{\overline{V}}{C},\frac{\log(1/\alpha)}{N}\right)\right\}&\ge1-\alpha. \tag*{(14)}
\end{aligned} Pr { C k − ( C V , N log ( 1/ α ) ) ≤ μ } Pr { μ ≤ C k + ( C V , N log ( 1/ α ) ) } ≥ 1 − α , ≥ 1 − α . (14)
Each inequality provides a one-sided confidence bound on the population mean μ \mu μ . The probabilities refer to the randomness of the iid sample, while μ \mu μ is fixed. Each inequality holds separately with probability at least 1 − α 1-\alpha 1 − α . To ensure that both inequalities hold simultaneously with probability at least 1 − δ 1-\delta 1 − δ , it suffices to use α = δ / 2 \alpha=\delta/2 α = δ /2 in each bound. This follows from the union bound, which limits the probability that either inequality fails to at most δ \delta δ (Hoeffding, 1963, Theorem 1, equation (2.1)). If C = 0 C=0 C = 0 , the random variables are identically zero, so both bounds are zero and no division by C C C is needed.
Calibrating the empirical minimum. The concentration inequality (13) applies to averages of iid bounded random variables. For a fixed decoder g g g independent of the evaluation data, its empirical risk is such an average because the individual prediction losses are iid. In contrast, the empirical minimum a n a_n a n is obtained by minimizing over decoders using the same evaluation observations. A verified lower bound d n ≤ a n d_n\le a_n d n ≤ a n may also depend jointly on these observations through the optimization procedure. Therefore, d n d_n d n cannot generally be treated as an average of iid losses to which (13) applies directly. Nevertheless, d n d_n d n is no greater than the empirical risk of any fixed admissible decoder. Proposition 5 uses this inequality, together with (13), to obtain a lower confidence bound on the optimal population risk.
Proposition 5 (Lower confidence bound from an empirical-risk lower bound) Let ( X i , Y i ) i = 1 n (X_i,Y_i)_{i=1}^{n} ( X i , Y i ) i = 1 n be n ≥ 1 n\ge1 n ≥ 1 iid evaluation observations, and let the nonempty predictor class be fixed independently of these observations. For each admissible decoder g g g , let ℓ g ( X , Y ) = ( Y − g ( Γ ( X ) ) ) 2 \ell_g(X,Y)=(Y-g(\Gamma(X)))^2 ℓ g ( X , Y ) = ( Y − g ( Γ ( X )) ) 2 denote its squared prediction loss. As established in § 3 , this loss is measurable and takes values in [ 0 , B ] [0,B] [ 0 , B ] , where B = ( y + − y − ) 2 > 0 B=(y_{+}-y_{-})^2>0 B = ( y + − y − ) 2 > 0 is known. Let a n = inf g 1 n ∑ i = 1 n ℓ g ( X i , Y i ) a_n=\inf_g\frac{1}{n}\sum_{i=1}^{n}\ell_g(X_i,Y_i) a n = inf g n 1 ∑ i = 1 n ℓ g ( X i , Y i ) denote the minimum empirical risk, assumed measurable. Suppose a numerical procedure returns a measurable value d n d_n d n satisfying 0 ≤ d n ≤ a n 0\le d_n\le a_n 0 ≤ d n ≤ a n for every evaluation data set. Then, for any 0 < α < 1 0<\alpha<1 0 < α < 1 ,
Pr { B k − ( d n B , log ( 1 / α ) n ) ≤ inf g E [ ℓ g ( X , Y ) ] } ≥ 1 − α . (15) \Pr\left\{Bk_{-}\left(\frac{d_n}{B},\frac{\log(1/\alpha)}{n}\right)\le\inf_g\mathbb{E}[\ell_g(X,Y)]\right\}\ge1-\alpha. \tag*{(15)} Pr { B k − ( B d n , n log ( 1/ α ) ) ≤ g inf E [ ℓ g ( X , Y )] } ≥ 1 − α . (15)
Proof Let
r ∗ = inf g E [ ℓ g ( X , Y ) ] r^*=\inf_g\mathbb{E}[\ell_g(X,Y)] r ∗ = g inf E [ ℓ g ( X , Y )]
denote the minimum population risk. By the definition of the infimum, there exists a sequence of predictors g 1 , g 2 , … g_1,g_2,\ldots g 1 , g 2 , … , chosen independently of the evaluation data, whose population risks r j = r_j= r j = E [ ℓ g j ( X , Y ) ] \mathbb{E}[\ell_{g_j}(X,Y)] E [ ℓ g j ( X , Y )] decrease to r ∗ r^* r ∗ . For each g j g_j g j , define its empirical risk as
r ^ j = 1 n ∑ i = 1 n ℓ g j ( X i , Y i ) . \hat{r}_j = \frac{1}{n}\sum_{i=1}^{n}\ell_{g_j}(X_i,Y_i). r ^ j = n 1 i = 1 ∑ n ℓ g j ( X i , Y i ) .
Since d n ≤ a n d_n \le a_n d n ≤ a n and a n a_n a n is the minimum empirical risk over the predictor class,
d n ≤ a n ≤ r ^ j d_n \le a_n \le\hat{r}_j d n ≤ a n ≤ r ^ j
holds for every evaluation data set and every j j j . Let c = log ( 1 / α ) / n c = \log(1/\alpha)/n c = log ( 1/ α ) / n . Because k − ( q , c ) k_{-}(q,c) k − ( q , c ) is nondecreasing in q q q ,
B k − ( d n / B , c ) ≤ B k − ( r ^ j / B , c ) . Bk_{-}(d_n/B,c) \le Bk_{-}(\hat{r}_j/B,c). B k − ( d n / B , c ) ≤ B k − ( r ^ j / B , c ) .
For each fixed j j j , the losses ℓ g j ( X 1 , Y 1 ) , … , ℓ g j ( X n , Y n ) \ell_{g_j}(X_1,Y_1),\ldots,\ell_{g_j}(X_n,Y_n) ℓ g j ( X 1 , Y 1 ) , … , ℓ g j ( X n , Y n ) are iid and bounded by B B B . The lower confidence bound in (14) therefore gives
Pr { B k − ( r ^ j / B , c ) > r j } ≤ α . \Pr\{Bk_{-}(\hat{r}_j/B,c)>r_j\}\le\alpha. Pr { B k − ( r ^ j / B , c ) > r j } ≤ α .
Since the lower endpoint computed from d n d_n d n cannot exceed the one computed from r ^ j \hat{r}_j r ^ j , it follows that
Pr { B k − ( d n / B , c ) > r j } ≤ α \Pr\{Bk_{-}(d_n/B,c)>r_j\}\le\alpha Pr { B k − ( d n / B , c ) > r j } ≤ α
for every j j j . Finally, define
E j = { B k − ( d n / B , c ) > r j } . E_j=\{Bk_{-}(d_n/B,c)>r_j\}. E j = { B k − ( d n / B , c ) > r j } .
Since r j + 1 ≤ r j r_{j+1}\le r_j r j + 1 ≤ r j , these events satisfy E j ⊂ E j + 1 E_j\subset E_{j+1} E j ⊂ E j + 1 . Moreover, because r j ↓ r ∗ r_j\downarrow r^* r j ↓ r ∗ ,
⋃ j = 1 ∞ E j = { B k − ( d n / B , c ) > r ∗ } . \bigcup_{j=1}^{\infty}E_j=\{Bk_{-}(d_n/B,c)>r^*\}. j = 1 ⋃ ∞ E j = { B k − ( d n / B , c ) > r ∗ } .
Indeed, r j ≥ r ∗ r_j\ge r^* r j ≥ r ∗ for every j j j , and any value strictly greater than r ∗ r^* r ∗ exceeds r j r_j r j for all sufficiently large j j j . By continuity of probability for increasing sequences of events,
Pr { B k − ( d n / B , c ) > r ∗ } = lim j → ∞ Pr ( E j ) ≤ α . \Pr\{Bk_{-}(d_n/B,c)>r^*\}=\lim_{j\to\infty}\Pr(E_j)\le\alpha. Pr { B k − ( d n / B , c ) > r ∗ } = j → ∞ lim Pr ( E j ) ≤ α .
Thus, with probability at least 1 − α 1-\alpha 1 − α ,
B k − ( d n / B , c ) ≤ r ∗ , Bk_{-}(d_n/B,c)\le r^*, B k − ( d n / B , c ) ≤ r ∗ ,
which proves (15) .
Proposition 5 provides a lower confidence bound on optimal population class risk without a term depending on the size or complexity of the decoder class. Its validity follows from the inequality d n ≤ a n ≤ R ^ n ( g ) d_n\le a_n\le\widehat{R}_n(g) d n ≤ a n ≤ R n ( g ) for every admissible decoder g g g , together with the bounded-loss concentration inequality. The required uniform loss bound follows from the prescribed bounds on targets and decoder predictions.
Theorem 6 (Simultaneous confidence bounds for optimal and fitted-predictor risk). Let m = 1 , … , M m=1,\ldots,M m = 1 , … , M index prediction problems specified using development data. For candidate m m m , let Γ m \Gamma_m Γ m be its measurable representation, G m = G κ m ( d m ) \mathcal{G}_m=\mathcal{G}_{\kappa_m}(d_m) G m = G κ m ( d m ) the class of measurable κ m \kappa_m κ m -Lipschitz decoders under the feature pseudometric d m d_m d m with outputs in I = [ y − , y + ] I=[y_-,y_+] I = [ y − , y + ] , and g ^ m : U m → I \widehat{g}_m: \mathcal{U}_m\to I g m : U m → I a measurable fitted decoder. We do not require g ^ m ∈ G m \widehat{g}_m\in\mathcal{G}_m g m ∈ G m . The representation, feature pseudometric, Lipschitz bound, target interval, evaluation distribution, and fitted decoder are fixed independently of the calibration data. For each candidate, let { ( X i , Y i ) } i = 1 n \{(X_i,Y_i)\}_{i=1}^n {( X i , Y i ) } i = 1 n , n ≥ 1 n\geq1 n ≥ 1 , be iid calibration observations from its evaluation distribution, independent of the development data, with Y i ∈ I Y_i\in I Y i ∈ I almost surely. Define the population risk, optimal population risk, and minimum empirical risk by
R m ( g ) = E [ ( Y − g ( Γ m ( X ) ) ) 2 ] , R m ∗ = inf g ∈ G m R m ( g ) , R_m(g)=\mathbb{E}[(Y-g(\Gamma_m(X)))^2],\qquad R_m^*=\inf_{g\in\mathcal{G}_m}R_m(g), R m ( g ) = E [( Y − g ( Γ m ( X )) ) 2 ] , R m ∗ = g ∈ G m inf R m ( g ) , a m , n = inf g ∈ G m 1 n ∑ i = 1 n ( Y i − g ( Γ m ( X i ) ) ) 2 . a_{m,n}=\inf_{g\in\mathcal{G}_m}\frac{1}{n}\sum_{i=1}^n(Y_i-g(\Gamma_m(X_i)))^2. a m , n = g ∈ G m inf n 1 i = 1 ∑ n ( Y i − g ( Γ m ( X i )) ) 2 . Set B = ( y + − y − ) 2 > 0 B=(y_+-y_-)^2>0 B = ( y + − y − ) 2 > 0 . Candidate indices are suppressed in the calibration observations, the interval I I I , and the range bounds B , C b B,C_b B , C b . The confidence bounds to be computed, their failure probabilities, and all block sizes and block index sets are fixed before examining the calibration data. For each included block size 2 ≤ b ≤ n 2\leq b\leq n 2 ≤ b ≤ n , the block scores use K b = ⌊ n / b ⌋ K_b=\lfloor n/b\rfloor K b = ⌊ n / b ⌋ disjoint blocks of b b b observations. Let T m , b , k T_{m,b,k} T m , b , k be the minimum sum of squared errors under the pairwise Lipschitz constraints for block k k k , divided by b − 1 b-1 b − 1 , as in (5). Its expectation and range satisfy
W m , b = E [ T m , b , k ] , 0 ≤ T m , b , k ≤ C b = B ⌊ b 2 / 4 ⌋ b ( b − 1 ) . \mathcal{W}_{m,b}=\mathbb{E}[T_{m,b,k}],\qquad0\leq T_{m,b,k}\leq C_b=\frac{B\lfloor b^2/4\rfloor}{b(b-1)}. W m , b = E [ T m , b , k ] , 0 ≤ T m , b , k ≤ C b = b ( b − 1 ) B ⌊ b 2 /4 ⌋ . The fitted decoder’s squared losses are ℓ m , i = ( Y i − g ^ m ( Γ m ( X i ) ) ) 2 \ell_{m,i}=(Y_i-\widehat{g}_m(\Gamma_m(X_i)))^2 ℓ m , i = ( Y i − g m ( Γ m ( X i )) ) 2 . The numerical inputs to each included bound are measurable and satisfy, for every calibration data set, the corresponding inequalities
0 ≤ T ‾ m , b , k ≤ T m , b , k , 0 ≤ d ‾ m , n ≤ a m , n , ℓ m , i ≤ ℓ ‾ m , i ≤ B . 0\leq\underline{T}_{m,b,k}\leq T_{m,b,k},\qquad0\leq\underline{d}_{m,n}\leq a_{m,n},\qquad\ell_{m,i}\leq\overline{\ell}_{m,i}\leq B. 0 ≤ T m , b , k ≤ T m , b , k , 0 ≤ d m , n ≤ a m , n , ℓ m , i ≤ ℓ m , i ≤ B . For the included bounds, with allocated failure probabilities in ( 0 , 1 ) (0,1) ( 0 , 1 ) , define
L m , b b l k = C b κ − ( 1 K b ∑ k = 1 K b T m , b , k C b , log ( 1 / α m , b b l k ) K b ) , (16) L^{\mathrm{blk}}_{m,b}=C_b\kappa_-\left(\frac{\frac{1}{K_b}\sum_{k=1}^{K_b}T_{m,b,k}}{C_b},\frac{\log(1/\alpha^{\mathrm{blk}}_{m,b})}{K_b}\right), \tag*{(16)} L m , b blk = C b κ − ( C b K b 1 ∑ k = 1 K b T m , b , k , K b log ( 1/ α m , b blk ) ) , (16) L m e m p = B κ − ( d m , n B , log ( 1 / α m e m p ) n ) , (17) L^{\mathrm{emp}}_m=B\kappa_-\left(\frac{d_{m,n}}{B},\frac{\log(1/\alpha^{\mathrm{emp}}_m)}{n}\right), \tag*{(17)} L m emp = B κ − ( B d m , n , n log ( 1/ α m emp ) ) , (17) U m = B κ + ( 1 n ∑ i = 1 n ℓ ‾ m , i B , log ( 1 / α m u p ) n ) . (18) U_m=B\kappa_+\left(\frac{\frac{1}{n}\sum_{i=1}^n\overline{\ell}_{m,i}}{B},\frac{\log(1/\alpha^{\mathrm{up}}_m)}{n}\right). \tag*{(18)} U m = B κ + ( B n 1 ∑ i = 1 n ℓ m , i , n log ( 1/ α m up ) ) . (18) The functions κ − \kappa_- κ − and κ + \kappa_+ κ + are the lower and upper endpoints used in (13). For every candidate m m m , the simultaneous guarantee includes U m U_m U m . Let B m \mathcal{B}_m B m denote the prespecified set of block sizes for which L m , b b l k L^{\mathrm{blk}}_{m,b} L m , b blk is included. With L m e m p = 0 L^{\mathrm{emp}}_m=0 L m emp = 0 when that lower confidence bound is omitted, the combined lower confidence bound is
L m = max ( { 0 , L m e m p } ∪ { L m , b b l k : b ∈ B m } ) . L_m=\max\left(\{0,L^{\mathrm{emp}}_m\}\cup\{L^{\mathrm{blk}}_{m,b}:b\in\mathcal{B}_m\}\right). L m = max ( { 0 , L m emp } ∪ { L m , b blk : b ∈ B m } ) .
If the sum of the allocated failure probabilities over all candidates and included bounds is at most δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) , then, conditional on the development data, with probability at least 1 − δ 1-\delta 1 − δ ,
L m ≤ R m ∗ , R m ( g ^ m ) ≤ U m (19) L_m \le R_m^*, \qquad R_m(\widehat{g}_m) \le U_m \tag*{(19)} L m ≤ R m ∗ , R m ( g m ) ≤ U m (19)
hold simultaneously for every candidate m m m . For each candidate whose fitted decoder satisfies g ^ m ∈ G m \widehat{g}_m \in\mathcal{G}_m g m ∈ G m , the same event additionally gives
L m ≤ R m ∗ ≤ R m ( g ^ m ) ≤ U m . (20) L_m \le R_m^* \le R_m(\widehat{g}_m) \le U_m. \tag*{(20)} L m ≤ R m ∗ ≤ R m ( g m ) ≤ U m . (20)
On the same event, each included block-based lower bound also satisfies L m , b b l k ≤ W m , b L_{m,b}^{\mathrm{blk}} \le W_{m,b} L m , b blk ≤ W m , b . The confidence bounds may share calibration observations; independence between their confidence statements is not required.
Proof. Conditional on the development data, the predictor classes and fitted decoders are fixed. For each included pair ( m , b ) (m,b) ( m , b ) , the exact block scores T m , b , 1 , … , T m , b , K b T_{m,b,1},\ldots,T_{m,b,K_b} T m , b , 1 , … , T m , b , K b are iid in [ 0 , C b ] [0,C_b] [ 0 , C b ] with expectation W m , b W_{m,b} W m , b . Since T ‾ m , b , k ≤ T m , b , k \overline{T}_{m,b,k} \le T_{m,b,k} T m , b , k ≤ T m , b , k and k − k_- k − is nondecreasing in its first argument, the lower confidence inequality in (13) gives
Pr { L m , b b l k > W m , b ∣ development data } ≤ α m , b b l k . \Pr\left\{L_{m,b}^{\mathrm{blk}} > W_{m,b}\mathrel{\big|}\text{development data}\right\} \le\alpha_{m,b}^{\mathrm{blk}}. Pr { L m , b blk > W m , b development data } ≤ α m , b blk .
Theorem 2 establishes W m , b ≤ R m ∗ W_{m,b} \le R_m^* W m , b ≤ R m ∗ . For each included bound L m e m p L_m^{\mathrm{emp}} L m emp , the condition 0 ≤ d m , n ≤ a m , n 0 \le d_{m,n} \le a_{m,n} 0 ≤ d m , n ≤ a m , n and Proposition 5 give
Pr { L m e m p > R m ∗ ∣ development data } ≤ α m e m p . \Pr\left\{L_m^{\mathrm{emp}} > R_m^*\mathrel{\big|}\text{development data}\right\} \le\alpha_m^{\mathrm{emp}}. Pr { L m emp > R m ∗ development data } ≤ α m emp .
For each candidate m m m , the exact losses ℓ m , 1 , … , ℓ m , n \ell_{m,1},\ldots,\ell_{m,n} ℓ m , 1 , … , ℓ m , n of the fitted decoder are iid in [ 0 , B ] [0,B] [ 0 , B ] . Since ℓ m , i ≤ ℓ ‾ m , i \ell_{m,i} \le\overline{\ell}_{m,i} ℓ m , i ≤ ℓ m , i and k + k_+ k + is nondecreasing in its first argument, the upper confidence inequality in (13) gives
Pr { R m ( g ^ m ) > U m ∣ development data } ≤ α m u p . \Pr\left\{R_m(\widehat{g}_m) > U_m\mathrel{\big|}\text{development data}\right\} \le\alpha_m^{\mathrm{up}}. Pr { R m ( g m ) > U m development data } ≤ α m up .
The allocated failure probabilities sum to at most δ \delta δ . The union bound therefore gives conditional probability at least 1 − δ 1-\delta 1 − δ that all included lower and upper confidence bounds hold simultaneously. On this event, the definition of L m L_m L m and R m ∗ ≥ 0 R_m^* \ge0 R m ∗ ≥ 0 imply L m ≤ R m ∗ L_m \le R_m^* L m ≤ R m ∗ , while the fitted-risk upper bounds give R m ( g ^ m ) ≤ U m R_m(\widehat{g}_m) \le U_m R m ( g m ) ≤ U m for every candidate m m m . This proves (18). For each candidate with g ^ m ∈ G m \widehat{g}_m \in\mathcal{G}_m g m ∈ G m , the definition of optimal class risk additionally gives R m ∗ ≤ R m ( g ^ m ) R_m^* \le R_m(\widehat{g}_m) R m ∗ ≤ R m ( g m ) , establishing (19). The same event includes L m , b b l k ≤ W m , b L_{m,b}^{\mathrm{blk}} \le W_{m,b} L m , b blk ≤ W m , b for every included pair ( m , b ) (m,b) ( m , b ) . The union bound does not require independence between the confidence statements. Averaging over the development data gives the same unconditional probability guarantee. ▪
Table 1 summarizes the class decisions for a prespecified population MSE threshold τ \tau τ . The simultaneous guarantee in Theorem 6 remains valid for any candidate selected from the prespecified collection using the calibration results, without an additional allocation of failure probability. The choice of pairwise Lipschitz constraints used in (10), their dual multipliers, the optimization steps, and the disjoint subsets used in (11) may depend on the calibration data. The confidence bound (16) remains valid provided that the resulting d m , n d_{m,n} d m , n is measurable and satisfies 0 ≤ d m , n ≤ a m , n 0 \le d_{m,n} \le a_{m,n} 0 ≤ d m , n ≤ a m , n for every calibration data set. For any finite collection d m , n ( 1 ) , … , d m , n ( J ) d_{m,n}^{(1)},\ldots,d_{m,n}^{(J)} d m , n ( 1 ) , … , d m , n ( J ) satisfying these conditions for the same empirical minimum a m , n a_{m,n} a m , n ,
Table 1. Class-certification outcomes on the simultaneous confidence event of Theorem 6 .
0 ≤ max 1 ≤ j ≤ J d m , n ( j ) ≤ a m , n . 0 \le\max_{1\le j\le J} d_{m,n}^{(j)} \le a_{m,n}. 0 ≤ 1 ≤ j ≤ J max d m , n ( j ) ≤ a m , n .
Their maximum can therefore replace d m , n d_{m,n} d m , n in (17) with the same allocated failure probability α m e m p \alpha_m^{\mathrm{emp}} α m emp . For (16) , the block sizes and block index sets are fixed before examining the calibration data. Numerical optimization within these blocks may depend on the calibration observations, provided that 0 ≤ T m , b , k ≤ T ‾ m , b , k 0 \le T_{m,b,k} \le\overline{T}_{m,b,k} 0 ≤ T m , b , k ≤ T m , b , k for every data set. For fixed n n n , increasing b b b can reduce the number K b K_b K b of independent block scores. Neither L m , b b l k L_{m,b}^{\mathrm{blk}} L m , b blk nor L m e m p L_m^{\mathrm{emp}} L m emp is guaranteed to exceed the other. The guarantee in Theorem 6 does not cover new candidates, block sizes, or block index sets introduced after examining the calibration data. For repeated applications of the theorem at prespecified sample sizes n 1 , … , n J n_1,\ldots,n_J n 1 , … , n J , the included bounds and their failure probabilities are specified before calibration. If the total allocated failure probability across all candidates, bounds, and sample sizes is at most δ \delta δ , the union bound gives probability at least 1 − δ 1-\delta 1 − δ that all included bounds hold simultaneously over the J J J assessments.
Evaluation units and loss definition. Let the calibration data consist of n n n iid time-series realizations, independent of the development data. For the lower confidence bounds, a common prespecified rule is applied separately to each realization to sample one prediction origin, independently across realizations. Conditional on the development data, the resulting history-target pairs are iid. Pairs from multiple origins within the same realization need not be independent. Let ( X i , t , Y i , t ) (X_{i,t},Y_{i,t}) ( X i , t , Y i , t ) denote the history-target pair at origin t t t in realization i i i , and let p i , t p_{i,t} p i , t be the probability that the same sampling rule selects that origin. The average loss for candidate m m m on realization i i i is
V m , i = ∑ t p i , t ( Y i , t − g ^ m ( Γ m ( X i , t ) ) ) 2 , p i , t ≥ 0 , ∑ t p i , t = 1 , V_{m,i}=\sum_t p_{i,t}\left(Y_{i,t}-\widehat{g}_m(\Gamma_m(X_{i,t}))\right)^2,\qquad p_{i,t}\ge0,\qquad\sum_t p_{i,t}=1, V m , i = t ∑ p i , t ( Y i , t − g m ( Γ m ( X i , t )) ) 2 , p i , t ≥ 0 , t ∑ p i , t = 1 ,
where t t t ranges over the eligible origins in realization i i i . Conditional on the development data, the V m , i V_{m,i} V m , i are iid in [ 0 , B ] [0,B] [ 0 , B ] and satisfy E [ V m , i ∣ development data ] = R m ( g ^ m ) \mathbb{E}[V_{m,i}\mid\text{development data}]=R_m(\widehat{g}_m) E [ V m , i ∣ development data ] = R m ( g m ) . Equation (18) applies with measurable upper bounds V ‾ m , i \overline{V}_{m,i} V m , i in place of ℓ m , i \ell_{m,i} ℓ m , i , provided V m , i ≤ V ‾ m , i ≤ B V_{m,i}\le\overline{V}_{m,i}\le B V m , i ≤ V m , i ≤ B for every calibration data set. The sample size n n n counts independent time-series realizations. The assumption Y ∈ I = [ y − , y + ] Y\in I=[y_-,y_+] Y ∈ I = [ y − , y + ] almost surely applies to the evaluation distribution induced by this sampling rule. Together with decoder outputs in I I I , it gives the squared-loss bound B = ( y + − y − ) 2 B=(y_+-y_-)^2 B = ( y + − y − ) 2 . The minimum and maximum targets observed during development do not establish this assumption for future observations. If targets outside I I I are clipped, the bounds concern prediction error relative to the clipped targets. Clipping decoder outputs to I I I leaves the target unchanged. Since capped squared loss is no larger than the original squared loss, an upper confidence bound on its expectation does not, by itself, bound ordinary mean squared error.
Numerical Verification of Risk Bounds
The dual inequality (11) holds for arbitrary real-valued multipliers. We interpret the stored floating-point multipliers λ \lambda λ as exact rational values and set s = M λ s=M\lambda s = M λ . For each selected edge e = ( i , j ) e=(i,j) e = ( i , j ) , let d e + ≥ d ( u i , u j ) d_e^+\ge d(u_i,u_j) d e + ≥ d ( u i , u j ) be a verified upper bound on the corresponding feature distance. Since the distance penalty is subtracted in the dual objective, we obtain
s T y − κ ∑ e ∈ E d e + ∣ λ e ∣ − 1 4 ∥ s ∥ 2 2 ≤ D G ( λ ) ≤ n a n . s^{\mathsf{T}}y-\kappa\sum_{e\in E}d_e^{+}|\lambda_e|-\frac{1}{4}\|s\|_2^2\le D_G(\lambda)\le na_n. s T y − κ e ∈ E ∑ d e + ∣ λ e ∣ − 4 1 ∥ s ∥ 2 2 ≤ D G ( λ ) ≤ n a n .
We evaluate the expression on the left using exact rational arithmetic when its inputs are rational. Otherwise, outward-rounded interval arithmetic provides a verified lower bound D G ‾ \underline{D_G} D G on this expression. Consequently, D G ‾ ≤ n a n \underline{D_G}\le na_n D G ≤ n a n . Because the minimum total squared error is nonnegative, any downward-rounded value d n d_n d n satisfying
0 ≤ d n ≤ max { 0 , D G ‾ } n ≤ a n 0\le d_n\le\frac{\max\{0,\underline{D_G}\}}{n}\le a_n 0 ≤ d n ≤ n max { 0 , D G } ≤ a n
is a valid numerical lower bound on minimum empirical MSE. Sums of verified lower bounds and their normalizations also use downward rounding. In (15) and (16), numerical evaluation uses verified lower bounds on 1 K b C b ∑ k = 1 K b T m , b , k \frac{1}{K_bC_b}\sum_{k=1}^{K_b}T_{m,b,k} K b C b 1 ∑ k = 1 K b T m , b , k and d m , n / B d_{m,n}/B d m , n / B , respectively, as the first argument of k − k_- k − . In (17), numerical evaluation uses a verified upper bound on 1 n B ∑ i = 1 n ℓ m , i \frac{1}{nB}\sum_{i=1}^{n}\ell_{m,i} n B 1 ∑ i = 1 n ℓ m , i as the first argument of k + k_+ k + . These input bounds lie in [ 0 , 1 ] [0,1] [ 0 , 1 ] . Both calculations use an upper bound on c = log ( 1 / α ) / N c=\log(1/\alpha)/N c = log ( 1/ α ) / N , since k − k_- k − is nonincreasing and k + k_+ k + is nondecreasing in c c c . Here N = K b N=K_b N = K b in (15) and N = n N=n N = n in (16) and (17). Verified lower bounds on k − k_- k − and upper bounds on k + k_+ k + account for numerical inversion error. Interval arithmetic with outward rounding also covers normalization and rescaling. Deterministic numerical verification requires no additional statistical failure-probability allocation. Verification using stored floating-point features applies to those values. Guarantees for exact features Γ ( x ) \Gamma(x) Γ ( x ) additionally require bounds on errors in their computation. For y ∈ I y\in I y ∈ I and g ∈ G κ ( d ) g\in\mathcal{G}_{\kappa}(d) g ∈ G κ ( d ) , suppose the computed prediction y ~ \widetilde{y} y satisfies a verified bound ∣ g ( Γ ( x ) ) − y ~ ∣ ≤ ε |g(\Gamma(x))-\widetilde{y}|\le\varepsilon ∣ g ( Γ ( x )) − y ∣ ≤ ε . A verified upper bound e ‾ ≥ ( ∣ y − y ~ ∣ + ε ) 2 \overline{e}\ge(|y-\widetilde{y}|+\varepsilon)^2 e ≥ ( ∣ y − y ∣ + ε ) 2 then gives
( y − g ( Γ ( x ) ) ) 2 ≤ ℓ ‾ : = min { B , e ‾ } ≤ B . \left(y-g(\Gamma(x))\right)^2\le\underline{\ell}:=\min\{B,\overline{e}\}\le B. ( y − g ( Γ ( x )) ) 2 ≤ ℓ := min { B , e } ≤ B .
Both arguments of the minimum bound the original squared loss.
Feature Augmentation and Model Selection
Throughout this section, the optimal risks of candidate classes and the risks of their fitted predictors are evaluated under the same joint distribution of ( X , Y ) (X,Y) ( X , Y ) , with the target Y Y Y expressed in the same units for every candidate.
Nested Predictor Classes
Proposition 7 (Feature augmentation and duplicate features) Fix an integer s ≥ 1 s\ge1 s ≥ 1 , κ ≥ 0 \kappa\ge0 κ ≥ 0 , the output interval I = [ y − , y + ] I=[y_-,y_+] I = [ y − , y + ] , and measurable feature maps Φ j : X → R d j \Phi_j:\mathcal{X}\to\mathbb{R}^{d_j} Φ j : X → R d j , j = 1 , … , s + 1 j=1,\ldots,s+1 j = 1 , … , s + 1 . For r ∈ { s , s + 1 } r\in\{s,s+1\} r ∈ { s , s + 1 } , define U r = ∏ j = 1 r R d j \mathcal{U}_r=\prod_{j=1}^{r}\mathbb{R}^{d_j} U r = ∏ j = 1 r R d j , Γ r = ( Φ 1 , … , Φ r ) \Gamma_r=(\Phi_1,\ldots,\Phi_r) Γ r = ( Φ 1 , … , Φ r ) , and ρ r ( u , v ) = max j ≤ r ∥ u j − v j ∥ 2 \rho_r(u,v)=\max_{j\le r}\|u_j-v_j\|_2 ρ r ( u , v ) = max j ≤ r ∥ u j − v j ∥ 2 . Let G κ ( ρ r ) \mathcal{G}_{\kappa}(\rho_r) G κ ( ρ r ) be the class of measurable decoders g : U r → I g:\mathcal{U}_r\to I g : U r → I satisfying ∣ g ( u ) − g ( v ) ∣ ≤ κ ρ r ( u , v ) |g(u)-g(v)|\le\kappa\rho_r(u,v) ∣ g ( u ) − g ( v ) ∣ ≤ κ ρ r ( u , v ) for all u , v ∈ U r u,v\in\mathcal{U}_r u , v ∈ U r , and set H r , κ = { g ∘ Γ r : g ∈ G κ ( ρ r ) } \mathcal{H}_{r,\kappa}=\{g\circ\Gamma_r:g\in\mathcal{G}_{\kappa}(\rho_r)\} H r , κ = { g ∘ Γ r : g ∈ G κ ( ρ r )} . Define the clipped affine family
F r , κ = { x ↦ clip I ( a + ∑ j = 1 r θ j T Φ j ( x ) ) : ∑ j = 1 r ∥ θ j ∥ 2 ≤ κ } . (21) \mathcal{F}_{r,\kappa}=
\left\{
x\mapsto\operatorname{clip}_{I}\left(a+\sum_{j=1}^{r}\theta_j^{\mathsf{T}}\Phi_j(x)\right):
\sum_{j=1}^{r}\|\theta_j\|_2\le\kappa
\right\}. \tag*{(21)} F r , κ = { x ↦ clip I ( a + j = 1 ∑ r θ j T Φ j ( x ) ) : j = 1 ∑ r ∥ θ j ∥ 2 ≤ κ } . (21)
where a ∈ R a \in\mathbb{R} a ∈ R and θ j ∈ R d j \theta_j \in\mathbb{R}^{d_j} θ j ∈ R d j . Then F r , κ ⊆ H r , κ \mathcal{F}_{r,\kappa} \subseteq\mathcal{H}_{r,\kappa} F r , κ ⊆ H r , κ for r = s , s + 1 r=s,s+1 r = s , s + 1 , and adding Φ s + 1 \Phi_{s+1} Φ s + 1 gives
F s , κ ⊆ F s + 1 , κ , H s , κ ⊆ H s + 1 , κ . (22) \mathcal{F}_{s,\kappa} \subseteq\mathcal{F}_{s+1,\kappa}, \qquad\mathcal{H}_{s,\kappa} \subseteq\mathcal{H}_{s+1,\kappa}. \tag*{(22)} F s , κ ⊆ F s + 1 , κ , H s , κ ⊆ H s + 1 , κ . (22)
For a fixed joint distribution of ( X , Y ) (X,Y) ( X , Y ) with Y ∈ I Y \in I Y ∈ I almost surely,
inf f ∈ F s + 1 , κ E [ ( Y − f ( X ) ) 2 ] ≤ inf f ∈ F s , κ E [ ( Y − f ( X ) ) 2 ] , inf f ∈ H s + 1 , κ E [ ( Y − f ( X ) ) 2 ] ≤ inf f ∈ H s , κ E [ ( Y − f ( X ) ) 2 ] . (23) \begin{aligned}
\inf_{f\in\mathcal{F}_{s+1,\kappa}} \mathbb{E}[(Y-f(X))^2] &\leq\inf_{f\in\mathcal{F}_{s,\kappa}} \mathbb{E}[(Y-f(X))^2],\\
\inf_{f\in\mathcal{H}_{s+1,\kappa}} \mathbb{E}[(Y-f(X))^2] &\leq\inf_{f\in\mathcal{H}_{s,\kappa}} \mathbb{E}[(Y-f(X))^2]. \tag*{(23)}
\end{aligned} f ∈ F s + 1 , κ inf E [( Y − f ( X ) ) 2 ] f ∈ H s + 1 , κ inf E [( Y − f ( X ) ) 2 ] ≤ f ∈ F s , κ inf E [( Y − f ( X ) ) 2 ] , ≤ f ∈ H s , κ inf E [( Y − f ( X ) ) 2 ] . (23)
The added group is an exact duplicate of an existing group if, for some fixed j ∈ { 1 , … , s } j \in\{1,\ldots,s\} j ∈ { 1 , … , s } , d s + 1 = d j d_{s+1}=d_j d s + 1 = d j and Φ s + 1 ( x ) = Φ j ( x ) \Phi_{s+1}(x)=\Phi_j(x) Φ s + 1 ( x ) = Φ j ( x ) for every x ∈ X x \in\mathcal{X} x ∈ X . In this case, F s + 1 , κ = F s , κ \mathcal{F}_{s+1,\kappa}=\mathcal{F}_{s,\kappa} F s + 1 , κ = F s , κ and H s + 1 , κ = H s , κ \mathcal{H}_{s+1,\kappa}=\mathcal{H}_{s,\kappa} H s + 1 , κ = H s , κ , and, for every x , x ′ ∈ X x,x' \in\mathcal{X} x , x ′ ∈ X ,
ρ s + 1 ( Γ s + 1 ( x ) , Γ s + 1 ( x ′ ) ) = ρ s ( Γ s ( x ) , Γ s ( x ′ ) ) . \rho_{s+1}\bigl(\Gamma_{s+1}(x),\Gamma_{s+1}(x')\bigr)=\rho_s\bigl(\Gamma_s(x),\Gamma_s(x')\bigr). ρ s + 1 ( Γ s + 1 ( x ) , Γ s + 1 ( x ′ ) ) = ρ s ( Γ s ( x ) , Γ s ( x ′ ) ) .
Both inequalities in (22) hold with equality.
Proof For f ∈ F r , κ f \in\mathcal{F}_{r,\kappa} f ∈ F r , κ , write f = q r ∘ Γ r f=q_r\circ\Gamma_r f = q r ∘ Γ r , where q r ( u ) = clip I ( a + ∑ k = 1 r θ k T u k ) q_r(u)=\operatorname{clip}_I\left(a+\sum_{k=1}^{r}\theta_k^{\mathsf{T}}u_k\right) q r ( u ) = clip I ( a + ∑ k = 1 r θ k T u k ) and ∑ k = 1 r ∥ θ k ∥ 2 ≤ κ \sum_{k=1}^{r}\lVert\theta_k\rVert_2\leq\kappa ∑ k = 1 r ∥ θ k ∥ 2 ≤ κ . Clipping is 1-Lipschitz, so the triangle inequality and Cauchy-Schwarz give, for all u , v ∈ U r u,v\in\mathcal{U}_r u , v ∈ U r ,
∣ q r ( u ) − q r ( v ) ∣ ≤ ∑ k = 1 r ∥ θ k ∥ 2 ∥ u k − v k ∥ 2 ≤ κ ρ r ( u , v ) . |q_r(u)-q_r(v)|\leq\sum_{k=1}^{r}\lVert\theta_k\rVert_2\lVert u_k-v_k\rVert_2\leq\kappa\rho_r(u,v). ∣ q r ( u ) − q r ( v ) ∣ ≤ k = 1 ∑ r ∥ θ k ∥ 2 ∥ u k − v k ∥ 2 ≤ κ ρ r ( u , v ) .
Thus q r ∈ G κ ( ρ r ) q_r\in\mathcal{G}_\kappa(\rho_r) q r ∈ G κ ( ρ r ) and f ∈ H r , κ f\in\mathcal{H}_{r,\kappa} f ∈ H r , κ . For g ∈ G κ ( ρ s ) g\in\mathcal{G}_\kappa(\rho_s) g ∈ G κ ( ρ s ) , define g + ( u , w ) = g ( u ) g_+(u,w)=g(u) g + ( u , w ) = g ( u ) . For u , v ∈ U s u,v\in\mathcal{U}_s u , v ∈ U s and w , z ∈ R d s + 1 w,z\in\mathbb{R}^{d_{s+1}} w , z ∈ R d s + 1 ,
∣ g + ( u , w ) − g + ( v , z ) ∣ ≤ κ ρ s ( u , v ) ≤ κ ρ s + 1 ( ( u , w ) , ( v , z ) ) . |g_+(u,w)-g_+(v,z)|\leq\kappa\rho_s(u,v)\leq\kappa\rho_{s+1}((u,w),(v,z)). ∣ g + ( u , w ) − g + ( v , z ) ∣ ≤ κ ρ s ( u , v ) ≤ κ ρ s + 1 (( u , w ) , ( v , z )) .
Hence g + ∈ G κ ( ρ s + 1 ) g_+\in\mathcal{G}_\kappa(\rho_{s+1}) g + ∈ G κ ( ρ s + 1 ) . Moreover, g + ( Γ s + 1 ( x ) ) = g ( Γ s ( x ) ) g_+(\Gamma_{s+1}(x))=g(\Gamma_s(x)) g + ( Γ s + 1 ( x )) = g ( Γ s ( x )) for every x ∈ X x\in\mathcal{X} x ∈ X , proving the second inclusion in (21). For g = q s g=q_s g = q s , the decoder g + g_+ g + has the same intercept a a a and coefficient vectors ( θ 1 , … , θ s , 0 ) (\theta_1,\ldots,\theta_s,0) ( θ 1 , … , θ s , 0 ) . Their norm sum is ∑ k = 1 s ∥ θ k ∥ 2 + ∥ 0 ∥ 2 ≤ κ \sum_{k=1}^{s}\lVert\theta_k\rVert_2+\lVert0\rVert_2\leq\kappa ∑ k = 1 s ∥ θ k ∥ 2 + ∥ 0 ∥ 2 ≤ κ . Therefore g + ∘ Γ s + 1 = q s ∘ Γ s ∈ F s + 1 , κ g_+\circ\Gamma_{s+1}=q_s\circ\Gamma_s\in\mathcal{F}_{s+1,\kappa} g + ∘ Γ s + 1 = q s ∘ Γ s ∈ F s + 1 , κ , proving the first inclusion in (21). Now suppose that Φ s + 1 \Phi_{s+1} Φ s + 1 exactly duplicates Φ j \Phi_j Φ j . For u , v ∈ U s u,v\in\mathcal{U}_s u , v ∈ U s ,
ρ s + 1 ( ( u , u j ) , ( v , v j ) ) = max { ρ s ( u , v ) , ∥ u j − v j ∥ 2 } = ρ s ( u , v ) . \rho_{s+1}((u,u_j),(v,v_j))=\max\{\rho_s(u,v),\lVert u_j-v_j\rVert_2\}=\rho_s(u,v). ρ s + 1 (( u , u j ) , ( v , v j )) = max { ρ s ( u , v ) , ∥ u j − v j ∥ 2 } = ρ s ( u , v ) .
For any g + ∈ G κ ( ρ s + 1 ) g_+\in\mathcal{G}_\kappa(\rho_{s+1}) g + ∈ G κ ( ρ s + 1 ) , define g ( u ) = g + ( u , u j ) g(u)=g_+(u,u_j) g ( u ) = g + ( u , u j ) . Then ∣ g ( u ) − g ( v ) ∣ ≤ κ ρ s + 1 ( ( u , u j ) , ( v , v j ) ) = κ ρ s ( u , v ) |g(u)-g(v)|\leq\kappa\rho_{s+1}((u,u_j),(v,v_j))=\kappa\rho_s(u,v) ∣ g ( u ) − g ( v ) ∣ ≤ κ ρ s + 1 (( u , u j ) , ( v , v j )) = κ ρ s ( u , v ) . Since Γ s + 1 ( x ) = ( Γ s ( x ) , Φ j ( x ) ) \Gamma_{s+1}(x)=(\Gamma_s(x),\Phi_j(x)) Γ s + 1 ( x ) = ( Γ s ( x ) , Φ j ( x )) , we also have g ( Γ s ( x ) ) = g + ( Γ s + 1 ( x ) ) g(\Gamma_s(x))=g_+(\Gamma_{s+1}(x)) g ( Γ s ( x )) = g + ( Γ s + 1 ( x )) for every x ∈ X x\in\mathcal{X} x ∈ X . Thus H s + 1 , κ ⊆ H s , κ \mathcal{H}_{s+1,\kappa}\subseteq\mathcal{H}_{s,\kappa} H s + 1 , κ ⊆ H s , κ . Substituting u = Γ s ( x ) u=\Gamma_s(x) u = Γ s ( x ) and v = Γ s ( x ′ ) v=\Gamma_s(x') v = Γ s ( x ′ ) into the metric identity proves the stated equality of distances between represented histories. For any f + ∈ F s + 1 , κ f_+\in\mathcal{F}_{s+1,\kappa} f + ∈ F s + 1 , κ , choose a clipped affine decoder g + g_+ g + such that f + = g + ∘ Γ s + 1 f_+=g_+\circ\Gamma_{s+1} f + = g + ∘ Γ s + 1 , with intercept a a a and coefficients satisfying ∑ k = 1 s + 1 ∥ θ k ∥ 2 ≤ κ \sum_{k=1}^{s+1}\lVert\theta_k\rVert_2\leq\kappa ∑ k = 1 s + 1 ∥ θ k ∥ 2 ≤ κ . The decoder g ( u ) = g + ( u , u j ) g(u)=g_+(u,u_j) g ( u ) = g + ( u , u j ) has the explicit form
g ( u ) = clip I ( a + ∑ 1 ≤ k ≤ s k ≠ j θ k T u k + ( θ j + θ s + 1 ) T u j ) . g(u)=\operatorname{clip}_I\left(a+\sum_{\substack{1\leq k\leq s\\ k\ne j}}\theta_k^{\mathsf{T}}u_k+(\theta_j+\theta_{s+1})^{\mathsf{T}}u_j\right). g ( u ) = clip I a + 1 ≤ k ≤ s k = j ∑ θ k T u k + ( θ j + θ s + 1 ) T u j .
Its coefficients satisfy
∑ 1 ≤ k ≤ s + 1 k ≠ j ∥ θ k ∥ 2 + ∥ θ j + θ s + 1 ∥ 2 ≤ ∑ k = 1 s + 1 ∥ θ k ∥ 2 ≤ κ . \sum_{\substack{1\leq k\leq s+1\\k\ne j}}\lVert\theta_k\rVert_2+\lVert\theta_j+\theta_{s+1}\rVert_2\leq\sum_{k=1}^{s+1}\lVert\theta_k\rVert_2\leq\kappa. 1 ≤ k ≤ s + 1 k = j ∑ ∥ θ k ∥ 2 + ∥ θ j + θ s + 1 ∥ 2 ≤ k = 1 ∑ s + 1 ∥ θ k ∥ 2 ≤ κ .
Consequently, g ∘ Γ s = f + ∈ F s , κ g\circ\Gamma_s=f_+\in\mathcal{F}_{s,\kappa} g ∘ Γ s = f + ∈ F s , κ , so F s + 1 , κ ⊆ F s , κ \mathcal{F}_{s+1,\kappa}\subseteq\mathcal{F}_{s,\kappa} F s + 1 , κ ⊆ F s , κ . Together with (21), these two reverse inclusions establish the stated class equalities. Each left-hand infimum in (22) is taken over a class containing the corresponding class on the right, which proves both risk inequalities. For an exact duplicate, the corresponding classes are equal, so their infimum risks are equal. ■
Successively adding feature groups while keeping the existing feature maps, I I I , and κ \kappa κ fixed yields nested sequences of clipped affine and Lipschitz predictor classes.
Risk-Threshold Decisions and Minimum Cost
Candidates and their costs. A candidate m m m is a pair ( Γ m , G m ) (\Gamma_m,\mathcal{G}_m) ( Γ m , G m ) , where Γ m : X → U m \Gamma_m:\mathcal{X}\to\mathcal{U}_m Γ m : X → U m is a measurable representation of histories x ∈ X x\in\mathcal{X} x ∈ X , and G m \mathcal{G}_m G m is a specified class of measurable decoders g : U m → I g:\mathcal{U}_m\to I g : U m → I , with prediction interval I = [ y − , y + ] I=[y_-,y_+] I = [ y − , y + ] . Its predictor class is { g ∘ Γ m : g ∈ G m } \{g\circ\Gamma_m:g\in\mathcal{G}_m\} { g ∘ Γ m : g ∈ G m } . A common cost measure assigns a finite nonnegative cost c m c_m c m to candidate m m m , with the same assigned cost for every decoder choice g ∈ G m g\in\mathcal{G}_m g ∈ G m within that candidate. The candidates, cost measure, and costs are fixed before calibration. If cost is the number of feature coordinates, then c m = p m c_m=p_m c m = p m for Γ m : X → R p m \Gamma_m:\mathcal{X}\to\mathbb{R}^{p_m} Γ m : X → R p m .
Corollary 8 (Risk-threshold decisions and minimum cost) Let m = 1 , … , M m=1,\ldots,M m = 1 , … , M index a finite collection of candidates ( Γ m , G m ) (\Gamma_m,\mathcal{G}_m) ( Γ m , G m ) with costs c m c_m c m and measurable fitted decoders g ^ m : U m → I \widehat{g}_m:\mathcal{U}_m\to I g m : U m → I . Define
A = { m : g ^ m ∈ G m } . \mathcal{A}=\{m:\widehat{g}_m\in\mathcal{G}_m\}. A = { m : g m ∈ G m } . Assume the conditions of Theorem 6 for these candidates, fitted decoders, and confidence bounds L m , U m L_m,U_m L m , U m , with total allocated failure probability at most δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) . All candidates predict the same target Y Y Y , expressed in the same units, under a common evaluation distribution of ( X , Y ) (X,Y) ( X , Y ) . Define
R m ( g ) = E [ ( Y − g ( Γ m ( X ) ) ) 2 ] , R m ∗ = inf g ∈ G m R m ( g ) . R_m(g)=\mathbb{E}[(Y-g(\Gamma_m(X)))^2],\qquad R_m^*=\inf_{g\in\mathcal{G}_m}R_m(g). R m ( g ) = E [( Y − g ( Γ m ( X )) ) 2 ] , R m ∗ = g ∈ G m inf R m ( g ) . Let τ ≥ 0 \tau\geq0 τ ≥ 0 be a population mean squared error threshold fixed before calibration. With min ∅ = + ∞ \min\varnothing=+\infty min ∅ = + ∞ , define the minimum assigned cost of meeting the threshold within this candidate collection by
c ∗ = min { c m : ∃ g ∈ G m with R m ( g ) ≤ τ } . c^*=\min\{c_m:\exists g\in\mathcal{G}_m\text{ with }R_m(g)\leq\tau\}. c ∗ = min { c m : ∃ g ∈ G m with R m ( g ) ≤ τ } . By Theorem 6, conditional on the development data, with probability at least 1 − δ 1-\delta 1 − δ , the inequalities L m ≤ R m ∗ L_m\leq R_m^* L m ≤ R m ∗ and R m ( g ^ m ) ≤ U m R_m(\widehat{g}_m)\leq U_m R m ( g m ) ≤ U m hold simultaneously for all candidates m m m . On this event, for every candidate m m m ,
m ∈ A and U m ≤ τ ⟹ R m ∗ ≤ R m ( g ^ m ) ≤ τ , L m > τ ⟹ R m ( g ) > τ for every g ∈ G m . (24) \begin{aligned}
m\in\mathcal{A}\text{ and }U_m\leq\tau&\Longrightarrow R_m^*\leq R_m(\widehat{g}_m)\leq\tau,\\
L_m>\tau&\Longrightarrow R_m(g)>\tau\quad\text{for every }g\in\mathcal{G}_m. \tag*{(24)}
\end{aligned} m ∈ A and U m ≤ τ L m > τ ⟹ R m ∗ ≤ R m ( g m ) ≤ τ , ⟹ R m ( g ) > τ for every g ∈ G m . (24) On the same event, the minimum cost satisfies
c − : = min m : L m ≤ τ c m ≤ c ∗ ≤ c + : = min m ∈ A : U m ≤ τ c m . (25) c_-:=\min_{m:L_m\leq\tau}c_m\leq c^*\leq c_+:=\min_{m\in\mathcal{A}:U_m\leq\tau}c_m. \tag*{(25)} c − := m : L m ≤ τ min c m ≤ c ∗ ≤ c + := m ∈ A : U m ≤ τ min c m . (25)
If c + < ∞ c_{+}<\infty c + < ∞ , any index
m ^ ∈ arg min m ∈ A U m ≤ τ c m \widehat{m}\in\underset{m\in\mathcal{A}\\ U_m\leq\tau}{\operatorname{arg\,min}} c_m m ∈ m ∈ A U m ≤ τ arg min c m
satisfies R m ^ ( g ^ m ^ ) ≤ τ R_{\widehat{m}}(\widehat{g}_{\widehat{m}})\leq\tau R m ( g m ) ≤ τ and c m ^ = c + c_{\widehat{m}}=c_{+} c m = c + . If c − = c + < ∞ c_{-}=c_{+}<\infty c − = c + < ∞ , then c m ^ = c ∗ c_{\widehat{m}}=c^{*} c m = c ∗ . If c − = + ∞ c_{-}=+\infty c − = + ∞ , no candidate class contains a decoder with population mean squared error at most τ \tau τ .
Proof. On the simultaneous event (18), we have L m ≤ R m ∗ L_m\leq R_m^{*} L m ≤ R m ∗ and R m ( g ^ m ) ≤ U m R_m(\widehat{g}_m)\leq U_m R m ( g m ) ≤ U m for every candidate m m m . Since R m ( g ) ≥ R m ∗ R_m(g)\geq R_m^{*} R m ( g ) ≥ R m ∗ for every g ∈ G m g\in\mathcal{G}_m g ∈ G m , the condition L m > τ L_m>\tau L m > τ excludes every decoder in G m \mathcal{G}_m G m . If m ∈ A m\in\mathcal{A} m ∈ A and U m ≤ τ U_m\leq\tau U m ≤ τ , then g ^ m ∈ G m \widehat{g}_m\in\mathcal{G}_m g m ∈ G m and R m ( g ^ m ) ≤ τ R_m(\widehat{g}_m)\leq\tau R m ( g m ) ≤ τ . Consequently,
{ m ∈ A : U m ≤ τ } ⊆ { m : ∃ g ∈ G m , R m ( g ) ≤ τ } ⊆ { m : L m ≤ τ } . \{m\in\mathcal{A}:U_m\leq\tau\}\subseteq\{m:\exists g\in\mathcal{G}_m,\ R_m(g)\leq\tau\}\subseteq\{m:L_m\leq\tau\}. { m ∈ A : U m ≤ τ } ⊆ { m : ∃ g ∈ G m , R m ( g ) ≤ τ } ⊆ { m : L m ≤ τ } .
The second inclusion holds because R m ( g ) ≤ τ R_m(g)\leq\tau R m ( g ) ≤ τ implies L m ≤ R m ∗ ≤ R m ( g ) ≤ τ L_m\leq R_m^{*}\leq R_m(g)\leq\tau L m ≤ R m ∗ ≤ R m ( g ) ≤ τ . Taking the minimum assigned cost over these three sets establishes (24). If c + < ∞ c_{+}<\infty c + < ∞ , the finite, nonempty set { m ∈ A : U m ≤ τ } \{m\in\mathcal{A}:U_m\leq\tau\} { m ∈ A : U m ≤ τ } has a minimizing index m ^ \widehat{m} m . This index satisfies c m ^ = c + c_{\widehat{m}}=c_{+} c m = c + and R m ^ ( g ^ m ^ ) ≤ U m ^ ≤ τ R_{\widehat{m}}(\widehat{g}_{\widehat{m}})\leq U_{\widehat{m}}\leq\tau R m ( g m ) ≤ U m ≤ τ . If c − = c + < ∞ c_{-}=c_{+}<\infty c − = c + < ∞ , then (24) gives c m ^ = c ∗ c_{\widehat{m}}=c^{*} c m = c ∗ . If c − = + ∞ c_{-}=+\infty c − = + ∞ , then L m > τ L_m>\tau L m > τ for every candidate m m m . Hence R m ( g ) > τ R_m(g)>\tau R m ( g ) > τ for every g ∈ G m g\in\mathcal{G}_m g ∈ G m and every m m m . Theorem 6 gives conditional probability at least 1 − δ 1-\delta 1 − δ for the simultaneous event used throughout the proof.
Risk Comparisons and Sample Size Requirements
Proposition 9 (Risk comparison and necessary sample size). Assume the conditions of Theorem 6. All candidates predict the same target Y Y Y , expressed in the same units, under a common evaluation distribution of ( X , Y ) (X,Y) ( X , Y ) . Let R m ( g ) = E [ ( Y − g ( Γ m ( X ) ) ) 2 ] R_m(g)=\mathbb{E}[(Y-g(\Gamma_m(X)))^2] R m ( g ) = E [( Y − g ( Γ m ( X )) ) 2 ] denote the population mean squared error for candidate m m m . On the simultaneous event (18), which has conditional probability at least 1 − δ 1-\delta 1 − δ given the development data, every pair of candidates c , r c,r c , r with L c > U r L_c>U_r L c > U r satisfies
R c ( g ) − R r ( g ^ r ) ≥ L c − U r > 0 for every g ∈ G c . (26) R_c(g)-R_r(\widehat{g}_r)\geq L_c-U_r>0 \qquad\text{for every }g\in\mathcal{G}_c. \tag*{(26)} R c ( g ) − R r ( g r ) ≥ L c − U r > 0 for every g ∈ G c . (26) On the same event, for a population mean squared error threshold τ ≥ 0 \tau\geq0 τ ≥ 0 , the condition U r ≤ τ < L c U_r\leq\tau<L_c U r ≤ τ < L c implies R r ( g ^ r ) ≤ τ < R c ( g ) R_r(\widehat{g}_r)\leq\tau<R_c(g) R r ( g r ) ≤ τ < R c ( g ) for every g ∈ G c g\in\mathcal{G}_c g ∈ G c . For the KL upper bound U r U_r U r in (17), let n ≥ 1 n\geq1 n ≥ 1 be the number of independent calibration observations, B > 0 B>0 B > 0 the squared-loss range bound, and α = α r u p ∈ ( 0 , 1 ) \alpha=\alpha_r^{\mathrm{up}}\in(0,1) α = α r up ∈ ( 0 , 1 ) . For every calibration data set,
U r ≥ B ( 1 − α 1 / n ) > 0. (27) U_r\geq B(1-\alpha^{1/n})>0. \tag*{(27)} U r ≥ B ( 1 − α 1/ n ) > 0. (27) If all numerical loss upper bounds ℓ ‾ r , i \overline{\ell}_{r,i} ℓ r , i are zero, exact evaluation of (17) gives U r = B ( 1 − α 1 / n ) U_r=B(1-\alpha^{1/n}) U r = B ( 1 − α 1/ n ) . For 0 < τ < B 0<\tau<B 0 < τ < B , the condition U r ≤ τ U_r\leq\tau U r ≤ τ requires
n ≥ ⌈ log ( 1 / α ) − log ( 1 − τ / B ) ⌉ . (28) n\geq\left\lceil\frac{\log(1/\alpha)}{-\log(1-\tau/B)}\right\rceil. \tag*{(28)} n ≥ ⌈ − log ( 1 − τ / B ) log ( 1/ α ) ⌉ . (28)
Proof. On the simultaneous event in (18), R c ( g ) ≥ L c R_c(g)\geq L_c R c ( g ) ≥ L c for every g ∈ G c g\in\mathcal{G}_c g ∈ G c and R r ( g ^ r ) ≤ U r R_r(\widehat{g}_r)\leq U_r R r ( g r ) ≤ U r . Subtracting gives (25) when L c > U r L_c>U_r L c > U r ; the same inequalities give the threshold comparison when U r ≤ τ < L c U_r\leq\tau<L_c U r ≤ τ < L c . Since kl ( 0 ∥ p ) = − log ( 1 − p ) \operatorname{kl}(0\mathbin{\|}p)=-\log(1-p) kl ( 0 ∥ p ) = − log ( 1 − p ) , k + ( 0 , log ( 1 / α ) / n ) = 1 − α 1 / n k_{+}(0,\log(1/\alpha)/n)=1-\alpha^{1/n} k + ( 0 , log ( 1/ α ) / n ) = 1 − α 1/ n . The input ( n B ) − 1 ∑ i = 1 n ℓ ‾ r , i (nB)^{-1}\sum_{i=1}^{n}\overline{\ell}_{r,i} ( n B ) − 1 ∑ i = 1 n ℓ r , i in (17) is nonnegative, so monotonicity of k + k_{+} k + in this input gives (26), with U r = B ( 1 − α 1 / n ) U_r = B(1-\alpha^{1/n}) U r = B ( 1 − α 1/ n ) under exact evaluation when all ℓ ˉ r , i = 0 \bar{\ell}_{r,i}=0 ℓ ˉ r , i = 0 . For 0 < τ < B 0<\tau<B 0 < τ < B , (27) and U r ≤ τ U_r\le\tau U r ≤ τ imply ( 1 − τ / B ) n ≤ α (1-\tau/B)^n\le\alpha ( 1 − τ / B ) n ≤ α . Taking logarithms and using that n n n is an integer gives (28) .
For a block-based lower bound L c = L c , b l b L_c=L_{c,b}^{\mathrm{lb}} L c = L c , b lb , Appendix A gives sufficient conditions for L c > U r L_c>U_r L c > U r and U r ≤ τ < L c U_r\le\tau<L_c U r ≤ τ < L c .
Feature Representations and Evaluation Protocols
The experiments compare representations based on Kernel Affine Hull Machines (KAHMs) [12 , 13 , 14 ] with raw-history and Nyström representations. KAHM features describe how well local models reconstruct a preprocessed history. Each forecasting task specifies the history length, forecast horizon, and target normalization. Candidates within a comparison use the same target definition and evaluation law or assessment observations.
Features from Local Reconstruction Models
For a history x x x , let z ( x ) ∈ R d x z(x)\in\mathbb{R}^{d_x} z ( x ) ∈ R d x be its preprocessed vector, with preprocessing parameters fitted using development inputs. The affinity representation contains s ≥ 1 s\ge1 s ≥ 1 feature groups. Group j j j uses C j ≥ 1 C_j\ge1 C j ≥ 1 reference sets constructed from development inputs. Reference set c c c is used to fit K j c ≥ 1 K_{jc}\ge1 K j c ≥ 1 local KAHMs. Let z ~ j c k ( x ) ∈ R d x \widetilde{z}_{jck}(x)\in\mathbb{R}^{d_x} z j c k ( x ) ∈ R d x be the reconstruction returned by model k = 1 , … , K j c k=1,\ldots,K_{jc} k = 1 , … , K j c . Define the clipped cosine similarity γ j c k \gamma_{jck} γ j c k , transformed Euclidean reconstruction error E j c k E_{jck} E j c k , and normalized angular distance A j c k A_{jck} A j c k by
γ j c k ( x ) = { clip [ − 1 , 1 ] ( z ( x ) T z ~ j c k ( x ) ∥ z ( x ) ∥ 2 ∥ z ~ j c k ( x ) ∥ 2 ) , ∥ z ( x ) ∥ 2 ∥ z ~ j c k ( x ) ∥ 2 > 0 , 0 , otherwise , \gamma_{jck}(x)=
\begin{cases}
\operatorname{clip}_{[-1,1]}\left(\dfrac{z(x)^{\mathsf{T}}\widetilde{z}_{jck}(x)}{\lVert z(x)\rVert_2\lVert\widetilde{z}_{jck}(x)\rVert_2}\right), & \lVert z(x)\rVert_2\lVert\widetilde{z}_{jck}(x)\rVert_2>0,\\
0, & \text{otherwise},
\end{cases} γ j c k ( x ) = ⎩ ⎨ ⎧ clip [ − 1 , 1 ] ( ∥ z ( x ) ∥ 2 ∥ z j c k ( x ) ∥ 2 z ( x ) T z j c k ( x ) ) , 0 , ∥ z ( x ) ∥ 2 ∥ z j c k ( x ) ∥ 2 > 0 , otherwise ,
E j c k ( x ) = 1 − exp { − ∥ z ( x ) − z ~ j c k ( x ) ∥ 2 } , A j c k ( x ) = π − 1 arccos γ j c k ( x ) . E_{jck}(x)=1-\exp\{-\lVert z(x)-\widetilde{z}_{jck}(x)\rVert_2\},\qquad A_{jck}(x)=\pi^{-1}\arccos\gamma_{jck}(x). E j c k ( x ) = 1 − exp { − ∥ z ( x ) − z j c k ( x ) ∥ 2 } , A j c k ( x ) = π − 1 arccos γ j c k ( x ) .
The zero-vector convention gives A j c k ( x ) = 1 / 2 A_{jck}(x)=1/2 A j c k ( x ) = 1/2 when either vector is zero. For fixed η > 0 \eta>0 η > 0 and ω > 0 \omega>0 ω > 0 , define the reconstruction score and normalized affinity by
T j c ( x ) = min 1 ≤ k ≤ K j c E j c k ( x ) 2 + A j c k ( x ) 2 2 , Φ j c ( x ) = ( 1 − T j c ( x ) + η ) ω ∑ r = 1 C j ( 1 − T j r ( x ) + η ) ω . T_{jc}(x)=\min_{1\le k\le K_{jc}}\sqrt{\frac{E_{jck}(x)^2+A_{jck}(x)^2}{2}},\qquad
\Phi_{jc}(x)=\frac{(1-T_{jc}(x)+\eta)^\omega}{\sum_{r=1}^{C_j}(1-T_{jr}(x)+\eta)^\omega}. T j c ( x ) = 1 ≤ k ≤ K j c min 2 E j c k ( x ) 2 + A j c k ( x ) 2 , Φ j c ( x ) = ∑ r = 1 C j ( 1 − T j r ( x ) + η ) ω ( 1 − T j c ( x ) + η ) ω .
Each reference set contributes one affinity coordinate. In exact arithmetic, these coordinates are positive and sum to one within each group. Writing Φ j = ( Φ j 1 , … , Φ j C j ) \Phi_j=(\Phi_{j1},\ldots,\Phi_{jC_j}) Φ j = ( Φ j 1 , … , Φ j C j ) , the map Γ s = ( Φ 1 , … , Φ s ) \Gamma_s=(\Phi_1,\ldots,\Phi_s) Γ s = ( Φ 1 , … , Φ s ) has ∑ j = 1 s C j \sum_{j=1}^{s}C_j ∑ j = 1 s C j coordinates. The feature-augmentation experiment uses two groups containing C 1 = 2 C_1=2 C 1 = 2 and C 2 = 4 C_2=4 C 2 = 4 local KAHM models, respectively, with one model fitted to each reference set. It compares the two-coordinate representation Γ 1 = Φ 1 \Gamma_1=\Phi_1 Γ 1 = Φ 1 with the six-coordinate representation Γ 2 = ( Φ 1 , Φ 2 ) \Gamma_2=(\Phi_1,\Phi_2) Γ 2 = ( Φ 1 , Φ 2 ) . In the finite-state demonstrator, we denote the six-coordinate normalized-affinity representation by MEM. It uses the same group sizes C 1 = 2 C_1=2 C 1 = 2 and C 2 = 4 C_2=4 C 2 = 4 , but its local KAHM models are fitted separately using the demonstrator’s training data. The LOCAL representation augments MEM with affinity-weighted local projection coordinates. For each local model c c c in group j j j , let μ j c \mu_{jc} μ j c denote the mean of its reference vectors, and let the columns of P j c P_{jc} P j c contain the principal component directions retained by that model. LOCAL appends Φ j c ( x ) P j c T ( z ( x ) − μ j c ) \Phi_{jc}(x)P_{jc}^{\mathsf{T}}(z(x)-\mu_{jc}) Φ j c ( x ) P j c T ( z ( x ) − μ j c ) for each of the six local models. Each selected model retains two principal component directions, so LOCAL contains 6 + 6 × 2 = 18 6+6\times2=18 6 + 6 × 2 = 18 coordinates. Appendix B.5 describes the numerical conventions used in the feature-augmentation experiment.
Feature Geometry and Lipschitz Constraints
The feature-augmentation and PTB-XL studies use the maximum groupwise Euclidean metric ρ s ( u , v ) = max j ≤ s ∥ u j − v j ∥ 2 \rho_s(u,v)=\max_{j\le s}\lVert u_j-v_j\rVert_2 ρ s ( u , v ) = max j ≤ s ∥ u j − v j ∥ 2 . The demonstrator and Bike Sharing studies use Euclidean distance on their declared representation coordinates. In the demonstrator, these are the coordinates before the readout’s internal scaling and Nyström transformation. For Bike Sharing, each map is multiplied by the reciprocal median positive Euclidean distance between feature vectors of 32 training histories. The scale is one if no positive distance exists. The stored feature coordinates include this normalization. For the exact affinity formula, let Δ C = { p ∈ [ 0 , 1 ] C : ∑ c p c = 1 } \Delta_C=\{p\in[0,1]^C:\sum_c p_c=1\} Δ C = { p ∈ [ 0 , 1 ] C : ∑ c p c = 1 } and K s = ∏ j = 1 s Δ C j \mathcal{K}_s=\prod_{j=1}^s\Delta_{C_j} K s = ∏ j = 1 s Δ C j . Then Γ s \Gamma_s Γ s takes values in K s \mathcal{K}_s K s , which is compact and has diameter at most 2 \sqrt{2} 2 under ρ s \rho_s ρ s . Each demonstrator representation has finite support under its evaluation law, so its stored feature domain is compact under Euclidean distance. An I I I -valued κ \kappa κ -Lipschitz decoder on either domain extends to the ambient feature space with the same Lipschitz bound and the same predictions on that domain. The minimum risk under the specified evaluation law is therefore the same for the compact and ambient domains. On these compact domains, for a fixed measurable representation, fixed evaluation law, and fixed κ \kappa κ , Theorem 2 gives W b ↑ R κ ∗ W_b\uparrow R^*_\kappa W b ↑ R κ ∗ as b → ∞ b\to\infty b → ∞ under iid sampling with Y ∈ I Y\in I Y ∈ I almost surely. Changing input preprocessing can alter the fitted local models and the resulting features. For an already fixed feature map, both metrics satisfy d ( a u , a v ) = a d ( u , v ) d(au,av)=a\,d(u,v) d ( a u , a v ) = a d ( u , v ) for a > 0 a>0 a > 0 . The transformation g a ( v ) = g ( v / a ) g_a(v)=g(v/a) g a ( v ) = g ( v / a ) therefore preserves all predictions when the features are multiplied by a a a and the Lipschitz bound is changed from κ \kappa κ to κ / a \kappa/a κ / a . Holding κ \kappa κ fixed while changing feature scale can change the admissible class and its minimum risk.
Evaluation Protocols
In both controlled experiments, development data fix the representations, decoder classes, and fitted predictors before independent iid calibration observations are used. Lower confidence bounds concern minimum population risk over the specified classes. An upper confidence bound on fitted-predictor risk also bounds the class minimum when the fitted predictor is admissible. The demonstrator checks admissibility on its finite support; the feature-augmentation experiment uses the clipped affine family in (20), subject to the numerical conditions stated in § 8.2 . In feature augmentation, retaining the original feature group with the same I I I and κ \kappa κ gives nested Lipschitz and clipped affine predictor classes (Proposition 7). The demonstrator also has nested classes from MEM to LOCAL, and from short history to full history. Within each pair, I I I and κ \kappa κ agree. A decoder can therefore ignore the added coordinates because coordinate projection does not increase Euclidean distance. These inclusions concern admissible predictor classes and do not order the risks of separately fitted predictors. The PTB-XL and Bike Sharing maps are not assumed to define nested predictor classes. PTB-XL and Bike Sharing instead evaluate minimum empirical risk on fixed assessment observations. Their deterministic bounds use (34). This optimization constrains predictions to I I I while allowing assessment targets outside I I I , as occurs for Bike Sharing. The population-risk confidence bounds used here assume Y ∈ I Y\in I Y ∈ I almost surely.
Empirical Evaluation
Block Hierarchy and Verified Class-Risk Decisions
Forecasting task. We use a finite-state forecasting experiment with a known evaluation distribution to compare calibrated risk bounds with population class risks computed independently of calibration.
Let v = ( 0 , 1 / 4 , 3 / 4 , 1 ) v = (0, 1/4, 3/4, 1) v = ( 0 , 1/4 , 3/4 , 1 ) denote the observed values associated with states 0 , 1 , 2 , 3 0, 1, 2, 3 0 , 1 , 2 , 3 . Each episode begins by drawing ( S − 1 , S 0 ) (S_{-1}, S_0) ( S − 1 , S 0 ) uniformly from { 0 , 1 , 2 , 3 } 2 \{0, 1, 2, 3\}^2 { 0 , 1 , 2 , 3 } 2 . The next state S 1 S_1 S 1 is then drawn according to
Pr ( S 1 = k ∣ S − 1 = i , S 0 = j ) = 4 5 1 { k = ( i + j ) m o d 4 } + 1 20 . \Pr(S_1 = k \mid S_{-1} = i, S_0 = j) = \frac{4}{5}\mathbf{1}\{k = (i+j) \bmod4\} + \frac{1}{20}. Pr ( S 1 = k ∣ S − 1 = i , S 0 = j ) = 5 4 1 { k = ( i + j ) mod 4 } + 20 1 .
The predictor receives the two-observation history X = ( v S − 1 , v S 0 ) X = (v_{S_{-1}}, v_{S_0}) X = ( v S − 1 , v S 0 ) , ordered from previous to current observation, and predicts Y = v S 1 Y = v_{S_1} Y = v S 1 . The evaluation distribution contains 16 possible histories and 64 history-target outcomes. Calibration observations consist of independent episodes drawn from this distribution. Targets and predictions lie in I = [ 0 , 1 ] I = [0, 1] I = [ 0 , 1 ] , and the prescribed MSE threshold is τ = 0.1 \tau= 0.1 τ = 0.1 .
Representations and fitted predictors. We compare five representation-decoder classes using Euclidean feature distances. RAW consists of the two history coordinates standardized using training means and standard deviations. MEM contains six KAHM reconstruction affinities, normalized separately within groups of two and four local models. LOCAL retains the six MEM affinity coordinates and appends two affinity-weighted local projection coordinates from each of the six KAHM models, giving 18 coordinates. MEM and LOCAL use the same fitted KAHM models, each with a two-dimensional local subspace obtained by principal component analysis (PCA). The affinity exponent is ω = 16 \omega= 16 ω = 16 , and the offset is η = 10 − 6 \eta= 10^{-6} η = 1 0 − 6 . The RAW, MEM, and LOCAL classes use κ = 2 \kappa= 2 κ = 2 . The short-history control uses v S 0 v_{S_0} v S 0 , whereas the full-history control uses ( v S − 1 , v S 0 ) (v_{S_{-1}}, v_{S_0}) ( v S − 1 , v S 0 ) . Both controls use their original observation values with κ = 4 \kappa= 4 κ = 4 . The representations and fitted predictors are developed using 4096 training episodes and 1024 separate validation episodes. For RAW, MEM, and LOCAL, the fitted predictors use ridge regression on the representation coordinates and Gaussian Nystrom features, with predictions clipped to [ 0 , 1 ] [0, 1] [ 0 , 1 ] . The short-history control predicts Y Y Y using only the current observation v S 0 v_{S_0} v S 0 . Its prediction is the average target value over all training episodes with the same value of v S 0 v_{S_0} v S 0 . The full-history control predicts Y Y Y using both the previous observation v S − 1 v_{S_{-1}} v S − 1 and the current observation v S 0 v_{S_0} v S 0 . Its prediction is the average target value over all training episodes with the same ordered pair ( v S − 1 , v S 0 ) (v_{S_{-1}}, v_{S_0}) ( v S − 1 , v S 0 ) . If the current observation v S 0 v_{S_0} v S 0 does not occur in the training data, the short-history control predicts the mean target value across all training episodes. Similarly, if the ordered pair ( v S − 1 , v S 0 ) (v_{S_{-1}}, v_{S_0}) ( v S − 1 , v S 0 ) does not occur in the training data, the full-history control uses the same overall training-target mean. All representations and fitted prediction rules are fixed before calibration. The Lipschitz constraints defining each decoder class apply to the declared representation coordinates, before any internal scaling or Nyström transformation used by the fitted predictor. For the numerical assessment, we treat the stored feature vectors and fitted predictions on all 16 possible histories as exact finite tables. A fitted prediction table is admissible if its predictions lie in I I I and satisfy the prescribed Lipschitz constraints for every pair of histories. If these conditions hold, there exists a decoder defined on the entire feature space that satisfies the prescribed Lipschitz constraint and reproduces the fitted predictions for all 16 possible histories.
Calibration. We generate a calibration dataset containing 16,384 independent and identically distributed (iid) observations. For each calibration sample size n ∈ { 1024 , 4096 , 16384 } n \in\{1024, 4096, 16384\} n ∈ { 1024 , 4096 , 16384 } , we use the first n n n observations from this dataset. For each decoder class and calibration sample size, we partition the observations into consecutive, nonoverlapping blocks of each prespecified size b ∈ B = { 2 , 8 , 16 , 32 , 64 } b \in\mathcal{B} = \{2, 8, 16, 32, 64\} b ∈ B = { 2 , 8 , 16 , 32 , 64 } . Each partition contains n / b n/b n / b blocks. We compute verified lower bounds on the block optimization problem in (5) using the dual formulation of Proposition 4 . For each decoder class m m m and block, we first aggregate observations with identical feature vectors. We then use cyclic coordinate ascent with soft-thresholding to obtain numerical dual multipliers. The algorithm performs at most 100 coordinate sweeps and selects pairwise Lipschitz constraints satisfying κ m d i j + < 1 \kappa m d_{ij}^{+} < 1 κm d ij + < 1 , where d i j + d_{ij}^{+} d ij + is a verified upper bound on the Euclidean distance between the corresponding feature vectors. We evaluate the dual objective in (11) using exact rational arithmetic. The resulting nonnegative lower bound on the minimum total squared error, divided by b − 1 b-1 b − 1 , defines T ‾ m , b , k \underline{T}_{m,b,k} T m , b , k for block k k k , satisfying
0 ≤ T ‾ m , b , k ≤ T m , b , k , 0 \le\underline{T}_{m,b,k} \le T_{m,b,k}, 0 ≤ T m , b , k ≤ T m , b , k ,
where T m , b , k T_{m,b,k} T m , b , k is the exact normalized block optimum. Proposition 4 guarantees the validity of these lower bounds even if coordinate ascent does not converge. We use the verified block lower bounds in two calibration methods. Direct block calibration applies (16) to obtain L m , b b l k L^{\mathrm{blk}}_{m,b} L m , b blk from the n / b n/b n / b independent blocks. Empirical-risk calibration combines the block lower bounds to obtain
d m , n , b = b − 1 n ∑ k = 1 n / b T ‾ m , b , k ≤ a m , n , d_{m,n,b}=\frac{b-1}{n}\sum_{k=1}^{n/b}\underline{T}_{m,b,k}\le a_{m,n}, d m , n , b = n b − 1 k = 1 ∑ n / b T m , b , k ≤ a m , n ,
where a m , n a_{m,n} a m , n is the minimum empirical MSE over all n n n calibration observations. The inequality follows from (13) . Applying (17) to d m , n , b d_{m,n,b} d m , n , b gives L m , b e m p L^{\mathrm{emp}}_{m,b} L m , b emp , a lower confidence bound on optimal population class risk. We additionally compute a verified lower bound on the minimum empirical MSE by considering all n n n calibration observations jointly in a single optimization problem, using the dual procedure of Proposition 4 . Dividing the resulting lower bound on minimum total squared error by n n n gives a lower bound on a m , n a_{m,n} a m , n . Applying (17) to this bound yields L m f u l l L^{\mathrm{full}}_m L m full , a lower confidence bound on optimal population class risk. For each decoder class, the reported lower confidence bound is
L m = max { max b ∈ B L m , b b l k , max b ∈ B L m , b e m p , L m f u l l } . L_m=\max\left\{\max_{b\in\mathcal{B}}L^{\mathrm{blk}}_{m,b},\ \max_{b\in\mathcal{B}}L^{\mathrm{emp}}_{m,b},\ L^{\mathrm{full}}_m\right\}. L m = max { b ∈ B max L m , b blk , b ∈ B max L m , b emp , L m full } .
The upper confidence bound U f i t , m U_{\mathrm{fit},m} U fit , m on fitted-predictor risk is computed using (18) . For each of the five classes and three calibration sample sizes, we compute five block-calibration bounds, five empirical-risk calibration bounds, one full-sample bound, and one fitted-risk upper bound. This gives 5 × 3 × 12 = 180 5\times3\times12=180 5 × 3 × 12 = 180 confidence bounds: 165 lower bounds on optimal population class risk and 15 upper bounds on fitted-predictor risk. We allocate failure probability α = 1 / 3600 \alpha=1/3600 α = 1/3600 to each bound. Conditional on the fixed development data and under the stated iid sampling assumptions, the union bound guarantees simultaneous coverage of at least 0.95.
Effect of block size. We use the short-history class to examine how the expected block scores in Theorem 2 and their calibrated lower confidence bounds change with block size. Under the evaluation distribution, Y Y Y is uniformly distributed over the four observation values and is independent of the current observation v S 0 v_{S_0} v S 0 . The constant predictor 1 / 2 1/2 1/2 therefore attains the optimal population MSE of the short-history class, R k ∗ = Var ( Y ) = 5 / 32 R_k^*=\operatorname{Var}(Y)=5/32 R k ∗ = Var ( Y ) = 5/32 . Distinct current observation values are separated by at least 1 / 4 1/4 1/4 . Consequently, the Lipschitz constraint with κ = 4 \kappa=4 κ = 4 permits any predictions in [ 0 , 1 ] [0,1] [ 0 , 1 ] at these distinct values. For a block of b b b observations, the minimum total squared error is therefore obtained by predicting the sample mean target for each distinct current observation value. Let J b J_b J b denote the number of distinct current observation values in the block. Conditional on these values, the expected minimum total squared error is ( b − J b ) 5 / 32 (b-J_b)5/32 ( b − J b ) 5/32 . Since E [ J b ] = 4 [ 1 − ( 3 / 4 ) b ] \mathbb{E}[J_b]=4[1-(3/4)^b] E [ J b ] = 4 [ 1 − ( 3/4 ) b ] , the expected normalized block score is
W b = 5 b − 4 + 4 ( 3 / 4 ) b 32 ( b − 1 ) . (29) \mathcal{W}_b=\frac{5b-4+4(3/4)^b}{32(b-1)}. \tag*{(29)} W b = 32 ( b − 1 ) 5 b − 4 + 4 ( 3/4 ) b . (29)
In particular, W 2 = 0.0390625 \mathcal{W}_2=0.0390625 W 2 = 0.0390625 and W 8 ≈ 0.09822 \mathcal{W}_8\approx0.09822 W 8 ≈ 0.09822 are below the prescribed threshold τ = 0.1 \tau=0.1 τ = 0.1 , whereas W 16 ≈ 0.12542 \mathcal{W}_{16}\approx0.12542 W 16 ≈ 0.12542 exceeds it. Figure 1 compares these expected block scores with the lower confidence bounds obtained from the calibration dataset of size n = 16384 n = 16384 n = 16384 . The lower confidence bound from direct block calibration increases from approximately 0.03595 at b = 2 b = 2 b = 2 to 0.10960 at b = 16 b = 16 b = 16 . Block sizes 16, 32, and 64 therefore establish that the short-history class cannot meet the prescribed population MSE threshold. However, the lower confidence bound decreases from approximately 0.11918 at b = 32 b = 32 b = 32 to 0.11763 at b = 64 b = 64 b = 64 . Although the expected block score W b \mathcal{W}_b W b increases with b b b , larger blocks provide fewer independent block scores for calibration. Consequently, the finite-sample lower confidence bounds need not increase with block size. For the short-history class, the lower confidence bound obtained by optimizing all calibration observations jointly is approximately 0.11368 at n = 1024 n = 1024 n = 1024 , exceeding the prescribed MSE threshold τ = 0.1 \tau= 0.1 τ = 0.1 . At n = 16384 n = 16384 n = 16384 , this bound increases to approximately 0.14579, exceeding the lower confidence bounds obtained from separate block optimizations.
Figure 1. Short-history class at κ = 4 \kappa= 4 κ = 4 and n = 16384 n = 16384 n = 16384 . The expected block minimum W b \mathcal{W}_b W b increases toward the optimal population risk 5 / 32 5/32 5/32 . The block and empirical-risk lower confidence bounds use the same block optimization results; neither method gives the larger lower confidence bound at every displayed block size. The full-sample empirical-risk lower bound uses all calibration observations jointly. The horizontal threshold is τ = 0.1 \tau= 0.1 τ = 0.1 . All confidence bounds belong to the same prespecified family with failure allocation 1 / 3600 1/3600 1/3600 per bound.
Class decisions and admissibility. Table 2 reports the class-risk decisions for the five representation–decoder classes at calibration sample size n = 4096 n = 4096 n = 4096 and MSE threshold τ = 0.1 \tau= 0.1 τ = 0.1 . The lower confidence bounds for the MEM and short-history classes exceed the threshold, establishing their exclusion at the prescribed confidence level. For RAW, LOCAL, and full history, the fitted predictors satisfy the prescribed Lipschitz constraints, and their upper confidence bounds on
caption: Class-risk decisions for n = 4096 n = 4096 n = 4096 and τ = 0.1 \tau= 0.1 τ = 0.1 . L m L_m L m bounds optimal class risk from below, whereas U f i t , m U_{\mathrm{fit},m} U fit , m bounds the risk of the fitted prediction table from above. The MEM upper bound is not a class-risk upper bound because its fitted table is inadmissible. Displayed lower bounds are rounded downward and upper bounds upward to six decimal places; the decisions use the full-precision stored endpoints.
:::
population MSE are below the threshold. These results establish that the three corresponding decoder classes meet the MSE requirement. Both full-sample and block-based empirical-risk calibration exclude the MEM and short-history classes, whereas direct block calibration does not exclude either class. The archived numerical results show that full-sample empirical-risk calibration produces the largest lower confidence bound in all 15 combinations of five decoder classes and three calibration sample sizes. At n = 1024 n = 1024 n = 1024 , the MEM class remains unresolved: its lower confidence bound is approximately 0.09582, below the prescribed threshold τ = 0.1 \tau= 0.1 τ = 0.1 , while its fitted predictor does not satisfy the prescribed Lipschitz constraint and therefore cannot establish class feasibility. The fitted MEM predictor has population MSE approximately 0.05644, but violates the prescribed Lipschitz constraint with κ = 2 \kappa= 2 κ = 2 . Its low prediction error therefore does not contradict the exclusion of the MEM decoder class. Using the known evaluation distribution, we compute a verified lower bound on the optimal population MSE of the MEM class from the dual optimization problem and an upper bound from an admissible decoder. These bounds place the optimal population MSE between 0.13353472 and 0.13354831. This calculation does not use the calibration observations and provides a reference for evaluating the calibrated confidence bounds. The optimal population MSE of the RAW, LOCAL, and full-history classes is exactly 9 / 160 = 0.05625 9/160 = 0.05625 9/160 = 0.05625 .
Feature Augmentation and Calibration Sample Size
This experiment examines how feature augmentation and calibration sample size affect risk-threshold decisions when the observed history contains predictive information about the target and when the target is independent of the history. We repeat representation learning, predictor fitting, and calibration twelve times for each of two data-generating distributions. In both settings, the observed history is X = ( X 1 , X 2 ) X = (X_1, X_2) X = ( X 1 , X 2 ) , where X j = S j ( 0.9 + V j ) X_j = S_j(0.9 + V_j) X j = S j ( 0.9 + V j ) for j = 1 , 2 j = 1, 2 j = 1 , 2 . The variables S 1 , S 2 , V 1 , V 2 S_1, S_2, V_1, V_2 S 1 , S 2 , V 1 , V 2 are mutually independent, with Pr ( S j = 1 ) = Pr ( S j = − 1 ) = 1 / 2 \Pr(S_j = 1) = \Pr(S_j = -1) = 1/2 Pr ( S j = 1 ) = Pr ( S j = − 1 ) = 1/2 and V j ∼ Unif [ − 0.1 , 0.1 ] V_j \sim\operatorname{Unif}[-0.1, 0.1] V j ∼ Unif [ − 0.1 , 0.1 ] . Let X ′ X' X ′ be an independent copy of X X X , and let E ∼ Unif [ − 0.05 , 0.05 ] E \sim\operatorname{Unif}[-0.05, 0.05] E ∼ Unif [ − 0.05 , 0.05 ] be independent of both. In the history-dependent setting, the target is Y = 0.8 X 1 X 2 + E Y = 0.8X_1X_2 + E Y = 0.8 X 1 X 2 + E . In the independent-target setting, the target is Y = 0.8 X 1 ′ X 2 ′ + E Y = 0.8X'_1X'_2 + E Y = 0.8 X 1 ′ X 2 ′ + E . Predictors receive only X X X in both settings. The two settings have the same marginal target distribution but differ in whether Y Y Y depends on the observed history. Targets and clipped predictions lie in I = [ − 0.85 , 0.85 ] I = [-0.85, 0.85] I = [ − 0.85 , 0.85 ] , giving the squared-loss bound B = 2.89 B = 2.89 B = 2.89 . The prescribed MSE threshold is τ = 0.1 \tau= 0.1 τ = 0.1 .
Nestled representations. We compare two KAHM affinity representations. The first representation, Γ 1 = Φ 1 \Gamma_1 = \Phi_1 Γ 1 = Φ 1 , contains two affinity coordinates. The augmented representation, Γ 2 = ( Φ 1 , Φ 2 ) \Gamma_2 = (\Phi_1, \Phi_2) Γ 2 = ( Φ 1 , Φ 2 ) , retains these two coordinates and adds four affinity coordinates, giving six coordinates in total (§ 7 ). For m ∈ { 1 , 2 } m \in\{1,2\} m ∈ { 1 , 2 } , the corresponding decoder class consists of all measurable functions into I I I satisfying a Lipschitz constraint with constant κ = 2 \kappa= 2 κ = 2 under the maximum groupwise Euclidean metric d m ( u , v ) = max 1 ≤ j ≤ m ∥ u j − v j ∥ 2 d_m(u,v) = \max_{1 \le j \le m} \lVert u_j - v_j \rVert_2 d m ( u , v ) = max 1 ≤ j ≤ m ∥ u j − v j ∥ 2 . Because Γ 2 \Gamma_2 Γ 2 retains the complete representation Γ 1 \Gamma_1 Γ 1 , every admissible decoder using Γ 1 \Gamma_1 Γ 1 can also be used with Γ 2 \Gamma_2 Γ 2 by ignoring the additional feature group Φ 2 \Phi_2 Φ 2 . Consequently, the optimal population risks satisfy R 2 ∗ ≤ R 1 ∗ R_2^* \le R_1^* R 2 ∗ ≤ R 1 ∗ (Proposition 7). In the independent-target setting, Y Y Y is independent of X X X and has mean zero. Therefore, the constant zero predictor achieves the minimum population MSE for both decoder classes. Each repetition uses separately generated, disjoint datasets for representation learning, decoder fitting, validation, and calibration. We fit predictors from the clipped affine family defined in ((21) ). The representations and fitted predictors are fixed before calibration. Appendix B specifies the sample splits and hyperparameter selection.
Calibration and comparison. We compare direct block calibration and empirical-risk calibration using the same calibration observations and verified block optimization results. For each of the two data-generating settings, we perform 12 independent experimental runs. Each run uses newly generated datasets for representation learning, predictor fitting, validation, and calibration. The calibration dataset contains 4096 iid observations. We use the first n n n observations for each prespecified calibration sample size n ∈ { 256 , 1024 , 4096 } n \in\{256, 1024, 4096\} n ∈ { 256 , 1024 , 4096 } , with n = 1024 n = 1024 n = 1024 designated as primary. For each sample size, we partition the observations into consecutive, nonoverlapping blocks of sizes b ∈ B = { 2 , 4 , 8 , 16 , 32 } b \in\mathcal{B} = \{2, 4, 8, 16, 32\} b ∈ B = { 2 , 4 , 8 , 16 , 32 } . Direct block calibration applies ((16) ) to the verified lower bounds on normalized block scores and reports L m b l k = max b ∈ B L m , b b l k L^{\mathrm{blk}}_m = \max_{b \in\mathcal{B}} L^{\mathrm{blk}}_{m,b} L m blk = max b ∈ B L m , b blk . Empirical-risk calibration combines the verified block lower bounds to obtain
d m , n = max b ∈ B b − 1 n ∑ k = 1 n / b T m , b , k ≤ a m , n , d_{m,n} = \max_{b \in\mathcal{B}} \frac{b-1}{n} \sum_{k=1}^{n/b} T_{m,b,k} \le a_{m,n}, d m , n = b ∈ B max n b − 1 k = 1 ∑ n / b T m , b , k ≤ a m , n ,
where a m , n a_{m,n} a m , n is the minimum empirical MSE over all n n n calibration observations. The inequality follows from ((13) ). Applying ((17) ) to d m , n d_{m,n} d m , n yields L m e m p L^{\mathrm{emp}}_m L m emp , a lower confidence bound on optimal population class risk. For both methods, we compute the fitted-predictor risk upper bounds U f i t , m U_{\mathrm{fit},m} U fit , m using ((18) ). For each independent experimental run, we evaluate two decoder classes at three calibration sample sizes. Each class and sample size yields five direct block lower confidence bounds, one empirical-risk lower confidence bound, and one fitted-predictor risk upper confidence bound. Across the 24 experimental runs, this gives 24 × 2 × 3 × 7 = 1008 24 \times2 \times3 \times7 = 1008 24 × 2 × 3 × 7 = 1008 confidence bounds: 864 lower bounds on optimal population class risk and 144 upper bounds on fitted-predictor risk. We allocate failure probability α = 0.05 / 1008 \alpha= 0.05/1008 α = 0.05/1008 to each bound. Under the sampling assumptions and numerical requirements of Theorem 6 , the union bound guarantees simultaneous coverage of at least 0.95 across the experiment. The numerical verification is incomplete (§ 9 ).
Results and interpretation. Table 3 summarizes the threshold comparisons. The class decisions below are conditional on the numerical requirements and, for class feasibility, fitted-decoder admissibility. At the primary calibration sample size n = 1024 n = 1024 n = 1024 , both calibration methods produce conclusive decisions in all 12 runs under each setting. In the history-dependent setting, the two-coordinate decoder class is excluded, while an admissible fitted predictor using the six-coordinate representation meets the MSE threshold. In the independent-target setting, both decoder classes are excluded. At n = 256 n = 256 n = 256 , empirical-risk calibration excludes both decoder classes in all 12 runs under the independent-target setting, whereas direct block calibration does so in only one run. In the history-dependent setting, neither calibration method produces a conclusive comparison at n = 256 n = 256 n = 256 . The reason is that the upper confidence bound on fitted-predictor risk cannot be below the prescribed threshold at this sample size. Specifically, (27) gives U f i t , m ≥ B ( 1 − α 1 / 256 ) ≈ 0.10975 > τ U_{\mathrm{fit},m} \ge B(1-\alpha^{1/256}) \approx0.10975 > \tau U fit , m ≥ B ( 1 − α 1/256 ) ≈ 0.10975 > τ . This inequality holds even if the fitted predictor achieves zero empirical MSE on the calibration observations. Under the prescribed squared-loss bound and confidence allocation, (28) shows that at least 282 calibration observations are necessary for the upper confidence bound to meet τ = 0.1 \tau= 0.1 τ = 0.1 . A larger calibration sample does not guarantee this outcome, because the upper confidence bound also depends on the observed prediction errors.
Table 3. Numbers of conclusive comparisons out of 12 independent experimental runs per target setting. For method q ∈ { b l k , e m p } q \in\{\mathrm{blk},\mathrm{emp}\} q ∈ { blk , emp } , a run is counted if U f i t , 2 ≤ τ < L 1 q U_{\mathrm{fit},2} \le\tau< L_1^q U fit , 2 ≤ τ < L 1 q in the history-dependent setting, or if L 1 q > τ L_1^q > \tau L 1 q > τ and L 2 q > τ L_2^q > \tau L 2 q > τ in the independent-target setting. Both methods use the same fitted-predictor risk upper bounds, and τ = 0.1 \tau= 0.1 τ = 0.1 .
Class Exclusion on a Fixed ECG Data Set
Assessment and reference. This experiment investigates whether any decoder in a prescribed KAHM class can meet an empirical MSE threshold defined using the performance of a reference regression model. We use a fixed PTB-XL dataset containing N = 8192 N = 8192 N = 8192 history-target pairs from distinct patients, comprising 4096 calibration and 4096 final-evaluation observations, with one pair per patient ([17 , 18 ] ). Each history contains 32 past measurements spanning 310 ms. The target is the lead-II amplitude 40 ms ahead, measured in millivolts (mV), clipped to [ − 2 , 2 ] [-2, 2] [ − 2 , 2 ] , and divided by two. All reported MSE values use these normalized targets. The reference model is a histogram gradient-boosted tree regressor trained on raw histories, with at most 15 leaves per tree. Among candidate histogram gradient-boosted tree regressors, we select the model with the lowest MSE on a separate validation dataset. The selected model produces predictions clipped to [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] . Let r r e f r_{\mathrm{ref}} r ref denote the empirical MSE of this model on the fixed PTB-XL dataset. We define the threshold τ P T B \tau_{\mathrm{PTB}} τ PTB by rounding 1.1 r r e f 1.1r_{\mathrm{ref}} 1.1 r ref upward, giving τ P T B ≥ 1.1 r r e f \tau_{\mathrm{PTB}} \ge1.1r_{\mathrm{ref}} τ PTB ≥ 1.1 r ref and τ P T B ≈ 0.0058458874 \tau_{\mathrm{PTB}} \approx0.0058458874 τ PTB ≈ 0.0058458874 .
Decoder class and lower bounds. The selected two-coordinate KAHM representation Γ \Gamma Γ uses coordinatewise min–max scaling, with scaling parameters estimated from the development data, a maximum local subspace dimension of two, and affinity exponent ω = 0.5 \omega= 0.5 ω = 0.5 . We consider the class G κ ( d ) \mathcal{G}_{\kappa}(d) G κ ( d ) of all measurable decoders with predictions in [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] and Lipschitz constant at most κ \kappa κ , where d d d is the maximum groupwise Euclidean distance between feature vectors. The minimum empirical MSE over this class is
a κ = inf g ∈ G κ ( d ) 1 N ∑ i = 1 N ( y i − g ( Γ ( x i ) ) ) 2 , κ ≥ 0. a_{\kappa}=\inf_{g\in\mathcal{G}_{\kappa}(d)}\frac{1}{N}\sum_{i=1}^{N}\left(y_i-g\left(\Gamma(x_i)\right)\right)^2,\qquad\kappa\geq0. a κ = g ∈ G κ ( d ) inf N 1 i = 1 ∑ N ( y i − g ( Γ ( x i ) ) ) 2 , κ ≥ 0.
To obtain a verified lower bound on a κ a_{\kappa} a κ , we partition the N N N observations into disjoint blocks of sizes 32, 64, and 128. For each block, we evaluate the dual objective in (36) to obtain a lower bound on the minimum total squared error. Summing these lower bounds over the blocks and dividing by N N N gives a lower bound on a κ a_{\kappa} a κ (Proposition 12 ). We report the largest lower bound obtained across the block sizes and the two partitioning procedures described in Appendix B. The dual objectives are evaluated using exact rational arithmetic and conservative upper bounds on feature distances.
Results. For the selected two-coordinate KAHM representation with κ = 1 \kappa=1 κ = 1 , the verified lower bound on minimum empirical MSE satisfies a 1 ≥ 0.00643206 > τ P T B a_1\geq0.00643206>\tau_{\mathrm{PTB}} a 1 ≥ 0.00643206 > τ PTB . Consequently, no decoder in this class can meet the empirical MSE threshold defined using the reference regression model. For the separately selected six- and fourteen-coordinate KAHM representations with κ = 1 \kappa=1 κ = 1 , the corresponding verified lower bounds are 0.00515356 and 0.00495880, respectively. Both bounds are below τ P T B \tau_{\mathrm{PTB}} τ PTB and therefore do not establish class exclusion. For the two-coordinate KAHM representation, the dual calculations also establish a κ ≤ τ P T B ⇒ κ ≥ 54.82579 a_{\kappa}\leq\tau_{\mathrm{PTB}}\Rightarrow\kappa\geq54.82579 a κ ≤ τ PTB ⇒ κ ≥ 54.82579 . Thus, a decoder using this representation can meet the empirical MSE threshold only if its Lipschitz constant is at least 54.82579 under the prescribed feature metric.
Minimum Empirical Risk and Fitted-Predictor Error
Assessment and predictor classes. This experiment examines whether the empirical MSE of fitted predictors reflects the minimum empirical MSE achievable by their prescribed decoder classes. Using the Bike Sharing dataset [6 ] , we evaluate predictions of bike rental counts for casual users, registered users, and all users 24 hours ahead. For each target, we evaluate N = 172 N=172 N = 172 fixed history–target pairs using 18 feature representations: two raw-history, four Nyström, and twelve KAHM representations. This gives 54 target-representation classes. We normalize the target values by subtracting the minimum training target value and dividing by the range of the training targets, separately for each target. We define the target-specific MSE threshold τ \tau τ as 0.95 times the empirical MSE of a persistence predictor on the training data. This predictor forecasts the target value 24 hours ahead using its most recently observed value. Because normalization uses the minimum and range of the training targets, normalized targets in the evaluation dataset may lie outside [ 0 , 1 ] [0,1] [ 0 , 1 ] . These values are retained when computing empirical MSE, whereas decoder predictions are restricted to [ 0 , 1 ] [0,1] [ 0 , 1 ] . For each target-representation combination m m m , let G m \mathcal{G}_m G m denote the class of measurable decoders with predictions in I = [ 0 , 1 ] I=[0,1] I = [ 0 , 1 ] and Lipschitz constant at most κ = 2 \kappa=2 κ = 2 under Euclidean distance between feature vectors. For the stored feature vectors z m i z_{mi} z mi and normalized targets y i y_i y i , define
R ^ m ( g ) = 1 N ∑ i = 1 N ( y i − g ( z m i ) ) 2 , a m = inf g ∈ G m R ^ m ( g ) . \widehat{R}_m(g)=\frac{1}{N}\sum_{i=1}^{N}\left(y_i-g(z_{mi})\right)^2,\qquad a_m=\inf_{g\in\mathcal{G}_m}\widehat{R}_m(g). R m ( g ) = N 1 i = 1 ∑ N ( y i − g ( z mi ) ) 2 , a m = g ∈ G m inf R m ( g ) .
We treat the stored double-precision feature coordinates as exact inputs to these empirical-risk calculations.
Risk bounds and fitted predictors. For each decoder class m m m , we compute a verified lower bound a m a_m a m on its minimum empirical MSE using the dual formulation of Proposition 12 . We obtain an upper bound a ‾ m \overline{a}_m a m by constructing a prediction vector that satisfies the prescribed output and pairwise Lipschitz constraints. Proposition 12 guarantees that such a vector corresponds to an admissible decoder. Consequently, a ‾ m ≤ a m ≤ a ‾ m \underline{a}_m \le a_m \le\overline{a}_m a m ≤ a m ≤ a m . Across all 54 decoder classes, the largest difference a ‾ m − a ‾ m \overline{a}_m-\underline{a}_m a m − a m is approximately 2.181 × 10 − 14 2.181 \times10^{-14} 2.181 × 1 0 − 14 in normalized MSE units. Appendix B describes the numerical computations and verification procedures. For each decoder class, we evaluate two predictors fitted on training data: a clipped affine ridge predictor g ^ m , 1 \widehat{g}_{m,1} g m , 1 and a clipped Lipschitz-extension predictor g ^ m , 2 \widehat{g}_{m,2} g m , 2 . For each decoder class m m m and predictor index j ∈ { 1 , 2 } j \in\{1,2\} j ∈ { 1 , 2 } , let r ‾ m , j \underline{r}_{m,j} r m , j denote a verified numerical lower bound on the empirical MSE R ^ m ( g ^ m , j ) \widehat{R}_m(\widehat{g}_{m,j}) R m ( g m , j ) of the corresponding fitted predictor. The difference between the fitted predictor’s empirical MSE and the minimum empirical class risk satisfies R ^ m ( g ^ m , j ) − a m ≥ r ‾ m , j − a ‾ m \widehat{R}_m(\widehat{g}_{m,j})-a_m \ge\underline{r}_{m,j}-\overline{a}_m R m ( g m , j ) − a m ≥ r m , j − a m . If r ‾ m , j > a ‾ m \underline{r}_{m,j} > \overline{a}_m r m , j > a m , the empirical MSE of the fitted predictor exceeds the minimum empirical MSE achievable by its prescribed decoder class.
Results and interpretation. Table 4 shows that all 54 decoder classes contain an admissible decoder whose empirical MSE is below the corresponding threshold. However, in 39 of these classes, the empirical MSE of each of the two fitted predictors exceeds the threshold. Moreover, all 108 fitted predictors have empirical MSE at least 0.01794 above the minimum empirical MSE of their corresponding decoder classes, in normalized MSE units. These findings demonstrate that the empirical MSE achieved by fitted predictors can overestimate the minimum empirical MSE achievable by their decoder classes. The feasible prediction vectors used to establish class feasibility are constructed using the assessment targets and therefore do not establish predictive performance on unseen observations.
Table 4. Counts from empirical-MSE comparisons on the fixed Bike Sharing assessment sets. The three count columns require a ‾ m < τ \overline{a}_m < \tau a m < τ , min j = 1 , 2 r ‾ m , j > τ \min_{j=1,2} \underline{r}_{m,j} > \tau min j = 1 , 2 r m , j > τ , and r ‾ m , j > a ‾ m \underline{r}_{m,j} > \overline{a}_m r m , j > a m , respectively. Each target has 18 classes and 36 fitted predictors. Raw total counts equal casual plus registered counts, so the three targets are not independent replications.
Forecasting Performance and Computational Cost
Screening. We examine whether lower bounds on minimum empirical class risk can exclude candidate decoder classes before fitting their predictors. On the Beijing air-quality dataset [5 ] , screening evaluates 18 candidate classes but excludes none, so no decoder fits are avoided. Computing the lower bounds requires 18.90 seconds in the recorded experiment. In the three-target Bike Sharing experiment, screening also avoids no additional decoder fits compared with model search without screening.
PTB-XL comparison. We evaluate whether the three validation-selected KAHM predictors, using two-, six-, and fourteen-coordinate representations, satisfy both an empirical MSE requirement and a model storage requirement. The predictors are evaluated on the same 8192 PTB-XL observations used in § 8.3 . The numerical accuracy test requires an upper bound on each predictor’s empirical MSE to be no greater than a lower bound on 1.1 r r e f 1.1r_{\mathrm{ref}} 1.1 r ref , where r r e f r_{\mathrm{ref}} r ref is the empirical MSE of the histogram gradient-boosted reference model. The storage requirement is that the KAHM predictor uses fewer stored numerical bytes than the reference model. None of the three KAHM predictors passes the numerical accuracy test and, consequently, none satisfies the joint accuracy and storage requirement.
Deployment comparison. We compare KAHM predictors using normalized affinity features and clipped reconstruction-score features. The evaluation comprises five experimental runs using a hidden Markov model (HMM) and one chronological forecasting experiment using the Appliances dataset [4 ] . For each experiment, the conventional accuracy reference is selected by minimizing validation MSE. Among conventional predictors whose validation MSE is at most 1.1 times that of the accuracy reference, we select the predictor requiring the least model storage as the cost reference. Within each KAHM candidate family, we select the predictor requiring the least storage subject to the same validation-MSE criterion. Across all six evaluations, the selected predictors from both KAHM families achieve assessment MSE at most 1.1 times that of the conventional accuracy reference. However, every selected KAHM predictor requires more numerical model storage and has a longer measured inference time per observation than the corresponding conventional cost reference. Appendix B.§ 4 reports the selection procedures, measurement definitions, and numerical comparisons.
Discussion and Limitations
Interpreting class-risk bounds. Equation (3) expresses optimal class risk as the sum of irreducible prediction error given the full history, conditional-mean information loss caused by the representation, and approximation error imposed by the prescribed Lipschitz decoder class. A lower bound on optimal class risk constrains the sum of these terms but does not identify their individual contributions. The MEM experiment illustrates this distinction. All 16 possible histories have distinct MEM feature vectors, so the representation retains the information in the observed history on this finite support. Nevertheless, the prescribed MEM decoder class is excluded. The class exclusion therefore reflects the Lipschitz restriction rather than a loss of predictive information caused by the representation.
Block size and numerical optimization. Although the expected block scores W b \mathcal{W}_b W b are nondecreasing with block size, the corresponding lower confidence bounds need not increase. For a fixed calibration sample of size n n n , larger blocks provide fewer independent block scores for direct calibration through (16) . Moreover, any fixed block size can yield an arbitrarily weak lower bound relative to positive optimal class risk (Proposition 3 ). Consequently, the theoretical hierarchy does not determine which block size produces the strongest finite-sample certificate (Appendix § 13 ). Empirical-risk calibration offers another use of blockwise optimization. Verified block lower bounds can be combined into a lower bound on minimum empirical MSE through (12) and calibrated using (17) . In the finite-state experiment, full-sample optimization produces the strongest lower confidence bounds.
Interpretation of fixed-dataset results. The PTB-XL and Bike Sharing experiments establish deterministic conclusions about minimum empirical MSE on the evaluated datasets. Unlike population-risk confidence bounds, these conclusions do not require iid calibration observations. However, they do not establish guarantees for population MSE. In the Bike Sharing experiment, the feasible prediction vectors are constructed using the evaluation targets and therefore do not demonstrate predictive performance on unseen observations.
Sampling assumptions. The population-risk confidence bounds require iid calibration observations independent of model development, with targets and decoder predictions in a known bounded interval. Candidate representation-decoder classes, fitted predictors, calibration sample sizes, confidence-bound types, and failure-probability allocations are fixed before calibration. Direct block calibration also requires block sizes and partitions to be specified in advance. Numerical optimization may nevertheless use the calibration observations to select pairwise Lipschitz constraints and dual multipliers. For empirical-risk calibration, the resulting lower bound d m , n d_{m,n} d m , n must be measurable and satisfy 0 ≤ d m , n ≤ a m , n 0 \le d_{m,n} \le a_{m,n} 0 ≤ d m , n ≤ a m , n for every dataset (§ 5 ). For example, in industrial predictive maintenance, individual machine runs may constitute iid time-series realizations independent of the development data. For the lower confidence bounds, sampling one prediction origin per run as specified in § 5 yields iid history-target pairs conditional on the development data. The sample size n n n counts independent machine runs. History-target pairs from nonoverlapping windows within a run need not be independent. The stated population-risk guarantees do not directly apply to dependent calibration observations.
Numerical validity. Exact evaluation of the dual objective verifies the optimization lower bounds but does not establish the numerical accuracy of the feature representations used in their computation. The finite-state demonstrator and Bike Sharing experiments treat the stored feature coordinates as exact inputs. The PTB-XL class-exclusion result requires the supplied coordinate intervals to contain the actual KAHM feature values. In the feature-augmentation experiment, the numerical verification does not rigorously bound every error introduced during feature construction and subsequent computations (Appendix B.§ 5 ).
Computational cost and further work. Corollary 8 provides lower and upper bounds on the minimum assigned cost of meeting a prescribed MSE threshold among prespecified representation-decoder classes. These assigned costs need not equal the actual training or deployment costs of fitted predictors. In the reported experiments, class-risk screening did not reduce the number of decoder fits, and the selected KAHM predictors required more model storage and inference time than their conventional cost references (§ 8.5 ). An important direction for further work is to determine whether class-risk certificates can reduce total model-selection costs after accounting for feature construction, bound computation, decoder fitting, and numerical verification.
Conclusion
We established a hierarchy of lower bounds on the optimal population mean squared error of prescribed representation-decoder classes. The expected normalized block scores are nondecreasing and converge to optimal class risk on compact metric feature spaces, although any fixed block size can yield an arbitrarily weak relative lower bound. We combine verified numerical lower bounds on empirical risk with statistical calibration to obtain simultaneous lower confidence bounds on optimal class risk and upper confidence bounds on fitted-predictor risk under independent iid calibration.
These bounds support two distinct decisions: excluding every decoder in a class when its lower confidence bound exceeds the prescribed MSE threshold, and establishing class feasibility when an admissible fitted predictor has an upper confidence bound at most equal to the threshold. The experiments demonstrate why fitted-predictor performance alone cannot characterize the predictive capability of a prescribed decoder class. The fixed-dataset experiments establish conclusions about empirical MSE, while the reported computational comparisons do not demonstrate savings from class-risk certification.
Data and Code Availability
The demonstrator repository provides the implementation, scientific documentation, calibration plan, stored feature and prediction tables, and complete verification bundle for Section 8.1. Its README.md gives installation commands and commands for verifying the stored results. The verifier checks the stored observations, optimization bounds, confidence endpoints, fitted-table admissibility, and reported decisions. docs/SCIENTIFIC-REFERENCE.md gives self-contained definitions of the risk quantities and assumptions. The experiment repository provides code, stored inputs, and fitted models for the other experiments. REPRODUCIBILITY.md specifies dependencies, commands, and numerical scope; DATA.md identifies data sources and attribution. The reproduce.py driver checks MANIFEST.json and recomputes results from retained records, without retraining models or collecting new timing measurements. The deployment check regenerates forecasts from saved models.
Acknowledgments and Disclosure of Funding
The research reported in this paper has been supported by the GenAISpace project, co-funded by the European Union and Austrian Research Promotion Agency (FFG) under the Digital Europe Programme (Grant Agreement No. 101330264); and the Austrian Ministry for Transport, Innovation and Technology, the Federal Ministry for Digital and Economic Affairs, and the State of Upper Austria through the SCCH competence center INTEGRATE (FFG grant no. 892418), part of the FFG COMET Competence Centers for Excellent Technologies Programme.
Finite-Sample Accuracy of Risk Bounds
We bound the approximation error introduced by finite block sizes and quantify the effects of calibration sample size and numerical uncertainty on simultaneous risk bounds.
Approximation Error from Finite Blocks
Proposition 10 (Covering-number bounds on the approximation error). Let ( U i , Y i ) i = 1 b (U_i,Y_i)_{i=1}^{b} ( U i , Y i ) i = 1 b , b ≥ 2 b \ge2 b ≥ 2 , be iid copies of ( U , Y ) (U,Y) ( U , Y ) , with U ∈ U U \in\mathcal{U} U ∈ U and Y ∈ I = [ y − , y + ] Y \in I=[y_-,y_+] Y ∈ I = [ y − , y + ] almost surely, where I I I is bounded. Let d d d be a measurable, finite-valued pseudometric on U \mathcal{U} U , and let G = G κ ( d ) \mathcal{G}=\mathcal{G}_{\kappa}(d) G = G κ ( d ) be the class of all measurable κ \kappa κ -Lipschitz decoders g : U → I g:\mathcal{U}\to I g : U → I , for fixed κ ≥ 0 \kappa\ge0 κ ≥ 0 . Set D = y + − y − > 0 D=y_+-y_->0 D = y + − y − > 0 and B = D 2 B=D^2 B = D 2 , and define
R ( g ) = E [ ( Y − g ( U ) ) 2 ] , R κ ∗ = inf g ∈ G R ( g ) , a b = inf g ∈ G 1 b ∑ i = 1 b ( Y i − g ( U i ) ) 2 . R(g)=\mathbb{E}[(Y-g(U))^2],\qquad R_\kappa^*=\inf_{g\in\mathcal{G}}R(g),\qquad a_b=\inf_{g\in\mathcal{G}}\frac{1}{b}\sum_{i=1}^{b}(Y_i-g(U_i))^2. R ( g ) = E [( Y − g ( U ) ) 2 ] , R κ ∗ = g ∈ G inf R ( g ) , a b = g ∈ G inf b 1 i = 1 ∑ b ( Y i − g ( U i ) ) 2 . Assume a b a_b a b is measurable, and set T b = b a b / ( b − 1 ) T_b=ba_b/(b-1) T b = b a b / ( b − 1 ) , W b = E [ T b ] W_b=\mathbb{E}[T_b] W b = E [ T b ] , and Δ b = R κ ∗ − W b \Delta_b=R_\kappa^*-W_b Δ b = R κ ∗ − W b . Fix a measurable set S ⊆ U S\subseteq\mathcal{U} S ⊆ U with Pr ( U ∈ S ) = 1 \Pr(U\in S)=1 Pr ( U ∈ S ) = 1 . For η > 0 \eta>0 η > 0 , let N G ( η ) N_{\mathcal{G}}(\eta) N G ( η ) be the smallest number N ≥ 1 N\ge1 N ≥ 1 of decoders g 1 , … , g N ∈ G g_1,\ldots,g_N\in\mathcal{G} g 1 , … , g N ∈ G satisfying
min 1 ≤ j ≤ N sup u ∈ S ∣ g ( u ) − g j ( u ) ∣ ≤ η for every g ∈ G , \min_{1\le j\le N}\sup_{u\in S}|g(u)-g_j(u)|\le\eta\qquad\text{for every }g\in\mathcal{G}, 1 ≤ j ≤ N min u ∈ S sup ∣ g ( u ) − g j ( u ) ∣ ≤ η for every g ∈ G ,
with N G ( η ) = ∞ N_{\mathcal{G}}(\eta)=\infty N G ( η ) = ∞ if no finite cover exists. For every η > 0 \eta>0 η > 0 with N G ( η ) < ∞ N_{\mathcal{G}}(\eta)<\infty N G ( η ) < ∞ ,
0 ≤ Δ b ≤ min { B 4 , 2 D η + B log N G ( η ) 2 b } . (30) 0\leq\Delta_b\leq\min\left\{\frac{B}{4},\,2D\eta+B\sqrt{\frac{\log N_{\mathcal{G}}(\eta)}{2b}}\right\}. \tag*{(30)} 0 ≤ Δ b ≤ min { 4 B , 2 D η + B 2 b log N G ( η ) } . (30)
For r > 0 r>0 r > 0 , let M ( r ) M(r) M ( r ) be the smallest number of closed radius-r r r balls with centers in U \mathcal{U} U covering S S S , or ∞ \infty ∞ if no finite cover exists. For κ > 0 \kappa>0 κ > 0 and η > 0 \eta>0 η > 0 , set J η = 1 + ⌈ 2 D / η ⌉ J_\eta=1+\lceil2D/\eta\rceil J η = 1 + ⌈ 2 D / η ⌉ . Then
log N G ( η ) ≤ M ( η 4 κ ) log J η . (31) \log N_{\mathcal{G}}(\eta)\leq M\left(\frac{\eta}{4\kappa}\right)\log J_\eta. \tag*{(31)} log N G ( η ) ≤ M ( 4 κ η ) log J η . (31)
For κ = 0 \kappa=0 κ = 0 , Δ b = 0 \Delta_b=0 Δ b = 0 .
Proof. The proof of Theorem 2 shows that the minimum sum of squared errors in (5) equals b a b ba_b b a b . Write R ^ b ( g ) = b − 1 ∑ i ( Y i − g ( U i ) ) 2 \widehat{R}_b(g)=b^{-1}\sum_i(Y_i-g(U_i))^2 R b ( g ) = b − 1 ∑ i ( Y i − g ( U i ) ) 2 . Take a cover of size N = N G ( η ) < ∞ N=N_{\mathcal{G}}(\eta)<\infty N = N G ( η ) < ∞ and set Z j = R ( g j ) − R ^ b ( g j ) Z_j=R(g_j)-\widehat{R}_b(g_j) Z j = R ( g j ) − R b ( g j ) . For y , v , w ∈ I y,v,w\in I y , v , w ∈ I , ∣ ( y − v ) 2 − ( y − w ) 2 ∣ ≤ 2 D ∣ v − w ∣ \lvert(y-v)^2-(y-w)^2\rvert\leq2D\lvert v-w\rvert ∣( y − v ) 2 − ( y − w ) 2 ∣ ≤ 2 D ∣ v − w ∣ . The covering property and R ( g j ) ≥ R κ ∗ R(g_j)\geq R_\kappa^* R ( g j ) ≥ R κ ∗ therefore give
a b ≥ min j R ^ b ( g j ) − 2 D η ≥ R κ ∗ − max j Z j − 2 D η . a_b\geq\min_j\widehat{R}_b(g_j)-2D\eta\geq R_\kappa^*-\max_j Z_j-2D\eta. a b ≥ j min R b ( g j ) − 2 D η ≥ R κ ∗ − j max Z j − 2 D η .
For each fixed decoder g j g_j g j , the variables R ( g j ) − ( Y i − g j ( U i ) ) 2 R(g_j)-(Y_i-g_j(U_i))^2 R ( g j ) − ( Y i − g j ( U i ) ) 2 , i = 1 , … , b i=1,\ldots,b i = 1 , … , b , are iid, have mean zero, and lie in an interval of length B B B . Hoeffding’s lemma therefore gives
E [ e t Z j ] ≤ exp ( t 2 B 2 8 b ) , t > 0. \mathbb{E}[e^{tZ_j}]\leq\exp\left(\frac{t^2B^2}{8b}\right),\qquad t>0. E [ e t Z j ] ≤ exp ( 8 b t 2 B 2 ) , t > 0.
Using Jensen’s inequality and e t max j Z j ≤ ∑ j = 1 N e t Z j e^{t\max_j Z_j}\leq\sum_{j=1}^{N}e^{tZ_j} e t m a x j Z j ≤ ∑ j = 1 N e t Z j , we obtain
E [ max 1 ≤ j ≤ N Z j ] ≤ inf t > 0 1 t log ( ∑ j = 1 N E [ e t Z j ] ) ≤ inf t > 0 { log N t + t B 2 8 b } = B log N 2 b . \mathbb{E}\left[\max_{1\leq j\leq N}Z_j\right]\leq\inf_{t>0}\frac{1}{t}\log\left(\sum_{j=1}^{N}\mathbb{E}[e^{tZ_j}]\right)\leq\inf_{t>0}\left\{\frac{\log N}{t}+\frac{tB^2}{8b}\right\}=B\sqrt{\frac{\log N}{2b}}. E [ 1 ≤ j ≤ N max Z j ] ≤ t > 0 inf t 1 log ( j = 1 ∑ N E [ e t Z j ] ) ≤ t > 0 inf { t log N + 8 b t B 2 } = B 2 b log N .
Taking expectations and using W b ≥ E [ a b ] W_b\geq\mathbb{E}[a_b] W b ≥ E [ a b ] gives the second upper bound in (29). Theorem 2 and the constant midpoint decoder give 0 ≤ Δ b ≤ R κ ∗ ≤ B / 4 0\leq\Delta_b\leq R_\kappa^*\leq B/4 0 ≤ Δ b ≤ R κ ∗ ≤ B /4 . For (30), suppose κ > 0 \kappa>0 κ > 0 and M ( r ) < ∞ M(r)<\infty M ( r ) < ∞ , where r = η / ( 4 κ ) r=\eta/(4\kappa) r = η / ( 4 κ ) . Partition I I I into at most J η J_\eta J η intervals of width at most η / 2 \eta/2 η /2 . If two decoders take values in the same interval at every cover center, the Lipschitz constraints bound their difference on S S S by 2 κ r + η / 2 = η 2\kappa r+\eta/2=\eta 2 κ r + η /2 = η . Selecting one decoder for each interval assignment realized by some g ∈ G g\in\mathcal{G} g ∈ G gives a cover with at most J η M ( r ) J_\eta^{M(r)} J η M ( r ) representatives, proving (30). If M ( r ) = ∞ M(r)=\infty M ( r ) = ∞ , the inequality is immediate. For κ = 0 \kappa=0 κ = 0 , all decoders are constant and the empirical minimizer is the sample mean. Thus T b T_b T b is the unbiased sample variance and W b = Var ( Y ) = R κ ∗ W_b=\operatorname{Var}(Y)=R_\kappa^* W b = Var ( Y ) = R κ ∗ .
Finite-Sample Accuracy and Risk Comparisons
Theorem 11 (Accuracy of simultaneous risk bounds). For m ∈ { c , r } m\in\{c,r\} m ∈ { c , r } , let Γ m : X → U m \Gamma_m:\mathcal{X}\to\mathcal{U}_m Γ m : X → U m be measurable and d m d_m d m a measurable, finite-valued pseudometric on U m \mathcal{U}_m U m . Let G m = G κ m ( d m ) \mathcal{G}_m=\mathcal{G}_{\kappa_m}(d_m) G m = G κ m ( d m ) be the class of all measurable κ m \kappa_m κ m -Lipschitz decoders U m → I \mathcal{U}_m\to I U m → I , with κ m ≥ 0 \kappa_m\geq0 κ m ≥ 0 and a common bounded interval I = [ y − , y + ] I=[y_-,y_+] I = [ y − , y + ] . The representations and decoder classes are fixed using development data.
The fitted decoder g ^ r : U r → I \hat{g}_r: \mathcal{U}_r \to I g ^ r : U r → I is measurable and fixed independently of the calibration data. It need not belong to G r \mathcal{G}_r G r . Their risks use the same joint distribution of ( X , Y ) (X,Y) ( X , Y ) , with Y ∈ I Y \in I Y ∈ I almost surely and B = ( y + − y − ) 2 > 0 B=(y_+-y_-)^2>0 B = ( y + − y − ) 2 > 0 :
R m ( g ) = E [ ( Y − g ( Γ m ( X ) ) ) 2 ] , R c ∗ = inf g ∈ G c R c ( g ) . R_m(g)=\mathbb{E}[(Y-g(\Gamma_m(X)))^2], \qquad R_c^*=\inf_{g\in\mathcal{G}_c}R_c(g). R m ( g ) = E [( Y − g ( Γ m ( X )) ) 2 ] , R c ∗ = g ∈ G c inf R c ( g ) .
The classes need not be nested. Let n ≥ b ≥ 2 n\ge b\ge2 n ≥ b ≥ 2 and N ≥ 1 N\ge1 N ≥ 1 . The calibration samples ( X i , Y i ) i = 1 n (X_i,Y_i)_{i=1}^n ( X i , Y i ) i = 1 n and ( X i ′ , Y i ′ ) i = 1 N (X'_i,Y'_i)_{i=1}^N ( X i ′ , Y i ′ ) i = 1 N are each iid from this distribution and independent of development data; they may overlap. The block scores T k T_k T k , k = 1 , … , K k=1,\ldots,K k = 1 , … , K , use K = ⌊ n / b ⌋ K=\lfloor n/b\rfloor K = ⌊ n / b ⌋ disjoint blocks of b b b observations. Each score is the minimum total squared error under class c c c ’s pairwise Lipschitz constraints, divided by b − 1 b-1 b − 1 , as in (5). The fitted-predictor losses are ℓ i = ( Y i ′ − g ^ r ( Γ r ( X i ′ ) ) ) 2 \ell_i=(Y'_i-\hat{g}_r(\Gamma_r(X'_i)))^2 ℓ i = ( Y i ′ − g ^ r ( Γ r ( X i ′ )) ) 2 . The sample sizes, block size, block index sets, and probabilities α L , α U , β L , β U ∈ ( 0 , 1 ) \alpha_L,\alpha_U,\beta_L,\beta_U\in(0,1) α L , α U , β L , β U ∈ ( 0 , 1 ) are fixed before examining calibration data. Set C b = B ⌊ b 2 / 4 ⌋ / [ b ( b − 1 ) ] C_b=B\lfloor b^2/4\rfloor/[b(b-1)] C b = B ⌊ b 2 /4 ⌋ / [ b ( b − 1 )] , W c , b = E [ T k ] \mathcal{W}_{c,b}=\mathbb{E}[T_k] W c , b = E [ T k ] , and Δ b = R c ∗ − W c , b ≥ 0 \Delta_b=R_c^*-\mathcal{W}_{c,b}\ge0 Δ b = R c ∗ − W c , b ≥ 0 . Suppose measurable numerical intervals and upper bounds ν L , ν U \nu_L,\nu_U ν L , ν U on their mean widths satisfy, for every calibration data set,
0 ≤ T ‾ k ≤ T k ≤ T ‾ k ≤ C b , 0 ≤ ℓ ‾ i ≤ ℓ i ≤ ℓ ‾ i ≤ B , 0\le\underline{T}_k\le T_k\le\overline{T}_k\le C_b,\qquad0\le\underline{\ell}_i\le\ell_i\le\overline{\ell}_i\le B, 0 ≤ T k ≤ T k ≤ T k ≤ C b , 0 ≤ ℓ i ≤ ℓ i ≤ ℓ i ≤ B ,
ν L ≥ 1 K ∑ k = 1 K ( T ‾ k − T ‾ k ) , ν U ≥ 1 N ∑ i = 1 N ( ℓ ‾ i − ℓ ‾ i ) . \nu_L\ge\frac{1}{K}\sum_{k=1}^{K}(\overline{T}_k-\underline{T}_k),\qquad
\nu_U\ge\frac{1}{N}\sum_{i=1}^{N}(\overline{\ell}_i-\underline{\ell}_i). ν L ≥ K 1 k = 1 ∑ K ( T k − T k ) , ν U ≥ N 1 i = 1 ∑ N ( ℓ i − ℓ i ) .
Using k − k_- k − and k + k_+ k + from (13), define the exact KL endpoints and assume the measurable reported bounds L , U L,U L , U satisfy
L K L = C b k − − ( K − 1 ∑ k T ‾ k C b , log ( 1 / α L ) K ) , L K L − w L ≤ L ≤ L K L , L^{\mathrm{KL}}=C_bk_--\left(\frac{K^{-1}\sum_k\overline{T}_k}{C_b},\frac{\log(1/\alpha_L)}{K}\right),\qquad L^{\mathrm{KL}}-w_L\le L\le L^{\mathrm{KL}}, L KL = C b k − − ( C b K − 1 ∑ k T k , K log ( 1/ α L ) ) , L KL − w L ≤ L ≤ L KL ,
U K L = B k + + ( N − 1 ∑ i ℓ ‾ i B , log ( 1 / α U ) N ) , U K L ≤ U ≤ U K L + w U . U^{\mathrm{KL}}=Bk_++\left(\frac{N^{-1}\sum_i\overline{\ell}_i}{B},\frac{\log(1/\alpha_U)}{N}\right),\qquad U^{\mathrm{KL}}\le U\le U^{\mathrm{KL}}+w_U. U KL = B k + + ( B N − 1 ∑ i ℓ i , N log ( 1/ α U ) ) , U KL ≤ U ≤ U KL + w U .
The numerical inequalities hold for every data set, with measurable w L , w U ≥ 0 w_L,w_U\ge0 w L , w U ≥ 0 . Define
E L = C b ( log ( 1 / α L ) 2 K + log ( 1 / β L ) 2 K ) + ν L + w L , E_L=C_b\left(\sqrt{\frac{\log(1/\alpha_L)}{2K}}+\sqrt{\frac{\log(1/\beta_L)}{2K}}\right)+\nu_L+w_L, E L = C b ( 2 K log ( 1/ α L ) + 2 K log ( 1/ β L ) ) + ν L + w L ,
E U = B ( log ( 1 / α U ) 2 N + log ( 1 / β U ) 2 N ) + ν U + w U . E_U=B\left(\sqrt{\frac{\log(1/\alpha_U)}{2N}}+\sqrt{\frac{\log(1/\beta_U)}{2N}}\right)+\nu_U+w_U. E U = B ( 2 N log ( 1/ α U ) + 2 N log ( 1/ β U ) ) + ν U + w U .
All probability statements below are conditional on development data. With probability at least 1 − α L − α U 1-\alpha_L-\alpha_U 1 − α L − α U , L ≤ R c ∗ L\le R_c^* L ≤ R c ∗ and R r ( g ^ r ) ≤ U R_r(\hat{g}_r)\le U R r ( g ^ r ) ≤ U . With probability at least 1 − β L − β U 1-\beta_L-\beta_U 1 − β L − β U ,
R c ∗ − L ≤ Δ b + E L , (32) R_c^*-L\le\Delta_b+E_L, \tag*{(32)} R c ∗ − L ≤ Δ b + E L , (32)
U − R r ( g ^ r ) ≤ E U , (33) U-R_r(\hat{g}_r)\le E_U, \tag*{(33)} U − R r ( g ^ r ) ≤ E U , (33)
L − U ≥ R c ∗ − R r ( g ^ r ) − Δ b − E L − E U . (34) L-U\ge R_c^*-R_r(\hat{g}_r)-\Delta_b-E_L-E_U. \tag*{(34)} L − U ≥ R c ∗ − R r ( g ^ r ) − Δ b − E L − E U . (34)
These inequalities and the coverage inequalities hold jointly with probability at least 1 − α L − α U − β L − β U 1-\alpha_L-\alpha_U-\beta_L-\beta_U 1 − α L − α U − β L − β U . On this joint event, R c ∗ − R r ( g ^ r ) > Δ b + E L + E U R_c^*-R_r(\hat{g}_r)>\Delta_b+E_L+E_U R c ∗ − R r ( g ^ r ) > Δ b + E L + E U implies L > U L>U L > U , so the fitted predictor has smaller population risk than every decoder in G c \mathcal{G}_c G c . For a fixed MSE threshold τ ≥ 0 \tau\ge0 τ ≥ 0 , the conditions
R c ∗ − τ > Δ b + E L , τ − R r ( g ^ r ) ≥ E U R_c^*-\tau>\Delta_b+E_L,\qquad\tau-R_r(\hat{g}_r)\ge E_U R c ∗ − τ > Δ b + E L , τ − R r ( g ^ r ) ≥ E U
imply, on this joint event, U ≤ τ < L U\le\tau<L U ≤ τ < L and R r ( g ^ r ) ≤ τ < R c ( g ) R_r(\hat{g}_r)\le\tau<R_c(g) R r ( g ^ r ) ≤ τ < R c ( g ) for every g ∈ G c g\in\mathcal{G}_c g ∈ G c . Proof Write T ˉ = K − 1 ∑ k = 1 K T k \bar{T}=K^{-1}\sum_{k=1}^{K}T_k T ˉ = K − 1 ∑ k = 1 K T k and ℓ ˉ = N − 1 ∑ i = 1 N ℓ i \bar{\ell}=N^{-1}\sum_{i=1}^{N}\ell_i ℓ ˉ = N − 1 ∑ i = 1 N ℓ i . Since T k ≤ T ‾ k T_k\leq\overline{T}_k T k ≤ T k and ℓ i ≤ ℓ ‾ i \ell_i\leq\overline{\ell}_i ℓ i ≤ ℓ i , the monotonicity of k − k_- k − and k + k_+ k + in their first arguments gives, on the respective confidence events in (14) ,
L ≤ L K L ≤ C b k − ( T ˉ C b , log ( 1 / α L ) K ) ≤ W c , b ≤ R c ∗ . L\leq L^{\mathrm{KL}}\leq Cb_{k_-}\left(\frac{\bar{T}}{C_b},\frac{\log(1/\alpha_L)}{K}\right)\leq\mathcal{W}_{c,b}\leq R_c^*. L ≤ L KL ≤ C b k − ( C b T ˉ , K log ( 1/ α L ) ) ≤ W c , b ≤ R c ∗ .
R r ( g ^ r ) ≤ B k + ( ℓ ˉ B , log ( 1 / α U ) N ) ≤ U K L ≤ U . R_r(\hat{g}_r)\leq Bk_+\left(\frac{\bar{\ell}}{B},\frac{\log(1/\alpha_U)}{N}\right)\leq U^{\mathrm{KL}}\leq U. R r ( g ^ r ) ≤ B k + ( B ℓ ˉ , N log ( 1/ α U ) ) ≤ U KL ≤ U .
The first confidence event has probability at least 1 − α L 1-\alpha_L 1 − α L , and the second has probability at least 1 − α U 1-\alpha_U 1 − α U . The union bound therefore establishes simultaneous coverage with probability at least 1 − α L − α U 1-\alpha_L-\alpha_U 1 − α L − α U . The binary Pinsker inequality kl ( q ∥ p ) ≥ 2 ( q − p ) 2 \operatorname{kl}(q\mathbin{\|}p)\geq2(q-p)^2 kl ( q ∥ p ) ≥ 2 ( q − p ) 2 gives
C k − ( q , ε ) ≥ C q − C ε / 2 , C k + ( q , ε ) ≤ C q + C ε / 2 . Ck_-(q,\varepsilon)\geq Cq-C\sqrt{\varepsilon/2},\qquad Ck_+(q,\varepsilon)\leq Cq+C\sqrt{\varepsilon/2}. C k − ( q , ε ) ≥ C q − C ε /2 , C k + ( q , ε ) ≤ C q + C ε /2 .
for C > 0 C>0 C > 0 , q ∈ [ 0 , 1 ] q\in[0,1] q ∈ [ 0 , 1 ] , and ε ≥ 0 \varepsilon\geq0 ε ≥ 0 . The interval enclosures imply K − 1 ∑ k T k ≥ T ˉ − ν L K^{-1}\sum_k T_k\geq\bar{T}-\nu_L K − 1 ∑ k T k ≥ T ˉ − ν L and N − 1 ∑ i ℓ i ≤ ℓ ˉ + ν U N^{-1}\sum_i\ell_i\leq\bar{\ell}+\nu_U N − 1 ∑ i ℓ i ≤ ℓ ˉ + ν U . Combining these inequalities with Hoeffding’s inequality gives, jointly with probability at least 1 − β L − β U 1-\beta_L-\beta_U 1 − β L − β U ,
L ≥ T ˉ − ν L − C b log ( 1 / α L ) 2 K − w L ≥ W c , b − E L . L\geq\bar{T}-\nu_L-C_b\sqrt{\frac{\log(1/\alpha_L)}{2K}}-w_L\geq\mathcal{W}_{c,b}-E_L. L ≥ T ˉ − ν L − C b 2 K log ( 1/ α L ) − w L ≥ W c , b − E L .
U ≤ ℓ ˉ + ν U + B log ( 1 / α U ) 2 N + w U ≤ R r ( g ^ r ) + E U . U\leq\bar{\ell}+\nu_U+B\sqrt{\frac{\log(1/\alpha_U)}{2N}}+w_U\leq R_r(\hat{g}_r)+E_U. U ≤ ℓ ˉ + ν U + B 2 N log ( 1/ α U ) + w U ≤ R r ( g ^ r ) + E U .
Substituting W c , b = R c ∗ − Δ b \mathcal{W}_{c,b}=R_c^*-\Delta_b W c , b = R c ∗ − Δ b gives (32) and (33) ; subtracting the two endpoint bounds gives (34) . The union bound gives the joint probability. The risk-gap condition makes the right-hand side of (34) positive. The threshold conditions give L > τ L>\tau L > τ from (32) and U ≤ τ U\leq\tau U ≤ τ from (33) . On the joint event, R r ( g ^ r ) ≤ U R_r(\hat{g}_r)\leq U R r ( g ^ r ) ≤ U and R c ( g ) ≥ R c ∗ ≥ L R_c(g)\geq R_c^*\geq L R c ( g ) ≥ R c ∗ ≥ L for every g ∈ G c g\in\mathcal{G}_c g ∈ G c , which proves the population-risk comparisons.
Experimental Protocols and Risk Bounds on Fixed Data Sets
The controlled experiments use iid calibration observations independent of development data. The PTB-XL and Bike Sharing studies use fixed assessment data.
Development and Calibration with iid Observations
Demonstrator development. The development search in § 8.1 compares KAHM models with maximum local subspace dimensions r max ∈ { 1 , 2 } r_{\max}\in\{1,2\} r m a x ∈ { 1 , 2 } , keeping ω = 16 \omega=16 ω = 16 and η = 10 − 6 \eta=10^{-6} η = 1 0 − 6 fixed. For RAW, MEM, and LOCAL, the Gaussian Nyström readout uses the same 16 distinct training histories as landmarks. Representation coordinates are standardized using their training means and standard deviations before kernel evaluation. The resulting Nyström features are standardized separately using the training sample. In both steps, a standard deviation below 10 − 8 10^{-8} 1 0 − 8 is replaced by one. For standardized representation coordinates u , v u,v u , v , the kernel is exp { − ∥ u − v ∥ 2 2 / ( 2 σ 2 ) } \exp\{-\lVert u-v\rVert_2^2/(2\sigma^2)\} exp { − ∥ u − v ∥ 2 2 / ( 2 σ 2 )} . We use σ 2 = max ( q 2 δ , 10 − 12 ) \sigma^2=\max(q^2\delta,10^{-12}) σ 2 = max ( q 2 δ , 1 0 − 12 ) , where q ∈ { 1 / 4 , 1 / 2 , 1 , 2 , 4 } q\in\{1/4,1/2,1,2,4\} q ∈ { 1/4 , 1/2 , 1 , 2 , 4 } and δ \delta δ is the median squared distance between standardized landmark pairs with squared distance above 10 − 14 10^{-14} 1 0 − 14 ; δ = 1 \delta=1 δ = 1 if no such pair exists. The ridge penalties are 10 − 6 , 10 − 5 , … , 10 2 10^{-6},10^{-5},\ldots,10^2 1 0 − 6 , 1 0 − 5 , … , 1 0 2 . The ridge objective is mean squared training error plus the penalty times the squared coefficient norm, with an unpenalized intercept. For each candidate maximum local subspace dimension r max ∈ { 1 , 2 } r_{\max} \in\{1,2\} r m a x ∈ { 1 , 2 } , we select the Nyström bandwidth multiplier and ridge penalty separately for the MEM and LOCAL readouts, minimizing the validation MSE of their clipped predictions. We then select a common value of r max r_{\max} r m a x for both representations by minimizing the average of their two resulting validation MSEs. RAW selects its readout independently over the same 45 bandwidth-penalty pairs. Thus the search fits 45 RAW, 90 MEM, and 90 LOCAL predictors. Ties prefer the smaller bandwidth multiplier, then the smaller ridge penalty; a tie between values of r max r_{\max} r m a x favors r max = 1 r_{\max}=1 r m a x = 1 . The selected predictors retain their training-fitted parameters. Calibration observations and population risks under the known law do not enter this selection.
Feature-augmentation development. Each of the twelve repetitions under each of the two joint distributions of ( X , Y ) (X,Y) ( X , Y ) in § 8.2 uses disjoint iid samples: 256 observations for representation fitting, 512 for decoder training, 256 for validation, 4096 for calibration, and 1024 for final evaluation. The representation search uses min-max or standard scaling, maximum local subspace dimensions r max ∈ { 1 , 2 } r_{\max} \in\{1,2\} r m a x ∈ { 1 , 2 } , and affinity exponents ω ∈ { 0.5 , 4 , 16 , 64 } \omega\in\{0.5,4,16,64\} ω ∈ { 0.5 , 4 , 16 , 64 } . The ridge penalties are 0, 10 − 4 10^{-4} 1 0 − 4 , 10 − 2 10^{-2} 1 0 − 2 . The six-coordinate predictor with the smallest validation MSE determines the shared feature hyperparameters. The two-coordinate representation retains its first feature group, and validation selects that representation’s ridge penalty separately from the same set. Both fitted decoders use the clipped affine family in (21) , with κ = 2 \kappa=2 κ = 2 and I = [ − 0.85 , 0.85 ] I=[-0.85,0.85] I = [ − 0.85 , 0.85 ] . The selected representations and predictors remain fixed during calibration and final evaluation.
Minimum Empirical Risk on a Fixed Data Set
Proposition 12 (Deterministic bounds on minimum empirical risk). Let U U U be a measurable space with a measurable finite-valued pseudometric d d d . Fix observations z i ∈ U z_i \in U z i ∈ U and y i ∈ R y_i \in\mathbb{R} y i ∈ R , i = 1 , … , M i=1,\ldots,M i = 1 , … , M , with M ≥ 1 M \ge1 M ≥ 1 . Let F \mathcal{F} F be the class of measurable κ \kappa κ -Lipschitz maps from ( U , d ) (U,d) ( U , d ) to I = [ y − , y + ] I=[y_-,y_+] I = [ y − , y + ] , where κ ≥ 0 \kappa\ge0 κ ≥ 0 and − ∞ < y − ≤ y + < ∞ -\infty< y_- \le y_+ < \infty − ∞ < y − ≤ y + < ∞ . The targets may lie outside I I I . Define R M ( h ) = M − 1 ∑ i ( h ( z i ) − y i ) 2 R_M(h)=M^{-1}\sum_i(h(z_i)-y_i)^2 R M ( h ) = M − 1 ∑ i ( h ( z i ) − y i ) 2 for h : U → R h:U\to\mathbb{R} h : U → R , and R M ⋆ = inf f ∈ F R M ( f ) R_M^\star=\inf_{f\in\mathcal{F}}R_M(f) R M ⋆ = inf f ∈ F R M ( f ) . This infimum is attained and equals
R M ⋆ = 1 M min v ∈ I M { ∑ i ( v i − y i ) 2 : ∣ v i − v j ∣ ≤ κ d ( z i , z j ) ( i < j ) } . (35) R_M^\star=\frac{1}{M}\min_{v\in I^M}\left\{\sum_i(v_i-y_i)^2: |v_i-v_j|\le\kappa d(z_i,z_j)\quad(i<j)\right\}. \tag*{(35)} R M ⋆ = M 1 v ∈ I M min { i ∑ ( v i − y i ) 2 : ∣ v i − v j ∣ ≤ κ d ( z i , z j ) ( i < j ) } . (35) For every i < j i<j i < j , suppose 0 ≤ d i j − ≤ d ( z i , z j ) ≤ d i j + < ∞ 0\le d^-_{ij}\le d(z_i,z_j)\le d^+_{ij}<\infty 0 ≤ d ij − ≤ d ( z i , z j ) ≤ d ij + < ∞ . For arbitrary real multipliers λ i j \lambda_{ij} λ ij , i < j i<j i < j , set s i = ∑ j > i λ i j − ∑ j < i λ j i s_i=\sum_{j>i}\lambda_{ij}-\sum_{j<i}\lambda_{ji} s i = ∑ j > i λ ij − ∑ j < i λ j i . Then
D ( λ ) = ∑ i min t ∈ I { ( t − y i ) 2 + s i t } − κ ∑ i < j d i j + ∣ λ i j ∣ ≤ M R M ⋆ . (36) D(\lambda)=\sum_i\min_{t\in I}\{(t-y_i)^2+s_i t\}-\kappa\sum_{i<j}d^+_{ij}|\lambda_{ij}|\le MR_M^\star. \tag*{(36)} D ( λ ) = i ∑ t ∈ I min {( t − y i ) 2 + s i t } − κ i < j ∑ d ij + ∣ λ ij ∣ ≤ M R M ⋆ . (36) The i i i th scalar minimum occurs at clip I ( y i − s i / 2 ) \operatorname{clip}_I(y_i-s_i/2) clip I ( y i − s i /2 ) . For any v ∈ I M v\in I^M v ∈ I M satisfying ∣ v i − v j ∣ ≤ κ d i j − |v_i-v_j|\le\kappa d^-_{ij} ∣ v i − v j ∣ ≤ κ d ij − for all i < j i<j i < j , define
L 0 = 1 M max { D ( λ ) , ∑ i ( y i − clip I ( y i ) ) 2 } , U 0 = 1 M ∑ i ( v i − y i ) 2 . L_0=\frac{1}{M}\max\left\{D(\lambda),\sum_i(y_i-\operatorname{clip}_I(y_i))^2\right\},\qquad U_0=\frac{1}{M}\sum_i(v_i-y_i)^2. L 0 = M 1 max { D ( λ ) , i ∑ ( y i − clip I ( y i ) ) 2 } , U 0 = M 1 i ∑ ( v i − y i ) 2 . Numerical endpoints L ≤ L 0 L\le L_0 L ≤ L 0 and U ≥ U 0 U\ge U_0 U ≥ U 0 satisfy L ≤ R M ⋆ ≤ U L\le R_M^\star\le U L ≤ R M ⋆ ≤ U . For any predictor h h h with ℓ h ≤ R M ( h ) ≤ u h \ell_h\le R_M(h)\le u_h ℓ h ≤ R M ( h ) ≤ u h ,
ℓ h − U ≤ R M ( h ) − R M ⋆ ≤ u h − L . \ell_h-U\le R_M(h)-R_M^\star\le u_h-L. ℓ h − U ≤ R M ( h ) − R M ⋆ ≤ u h − L .
If h ∈ F h \in\mathcal{F} h ∈ F , then R M ( h ) − R M ⋆ ≥ max { 0 , ℓ h − U } R_M(h) - R_M^\star\ge\max\{0,\ell_h-U\} R M ( h ) − R M ⋆ ≥ max { 0 , ℓ h − U } . For any τ ≥ 0 \tau\ge0 τ ≥ 0 , L > τ L > \tau L > τ implies R M ( f ) > τ R_M(f) > \tau R M ( f ) > τ for every f ∈ F f \in\mathcal{F} f ∈ F , and U ≤ τ U \le\tau U ≤ τ implies that some f ∈ F f \in\mathcal{F} f ∈ F satisfies R M ( f ) ≤ τ R_M(f) \le\tau R M ( f ) ≤ τ .
Proof. Every f ∈ F f \in\mathcal{F} f ∈ F gives a feasible vector in (34). Conversely, a feasible vector v v v extends to f v ( u ) = clip I ( min j { v j + κ d ( u , z j ) } ) f_v(u) = \operatorname{clip}_I(\min_j\{v_j+\kappa d(u,z_j)\}) f v ( u ) = clip I ( min j { v j + κ d ( u , z j )}) ([7 ] ). Each function u ↦ v j + κ d ( u , z j ) u \mapsto v_j+\kappa d(u,z_j) u ↦ v j + κ d ( u , z j ) is measurable and κ \kappa κ -Lipschitz. Their finite minimum has both properties, and clipping to I I I is measurable and 1-Lipschitz. Hence f v ∈ F f_v \in\mathcal{F} f v ∈ F . At u = z i u=z_i u = z i , every term in the minimum is at least v i v_i v i by the pairwise constraints, and the i i i th term equals v i v_i v i . Since v i ∈ I v_i \in I v i ∈ I , f v ( z i ) = v i f_v(z_i)=v_i f v ( z i ) = v i . This proves (34). Constant vectors in I M I^M I M are feasible, and the feasible set is compact, so the continuous objective attains its minimum. For every v v v feasible in (34), s T v = ∑ i < j λ i j ( v i − v j ) ≤ κ ∑ i < j d i j + ∣ λ i j ∣ s^\mathsf{T}v=\sum_{i<j}\lambda_{ij}(v_i-v_j)\le\kappa\sum_{i<j}d_{ij}^{+}|\lambda_{ij}| s T v = ∑ i < j λ ij ( v i − v j ) ≤ κ ∑ i < j d ij + ∣ λ ij ∣ . The scalar minima defining D ( λ ) D(\lambda) D ( λ ) are no greater than their values at v i v_i v i , so D ( λ ) ≤ ∑ i ( v i − y i ) 2 D(\lambda)\le\sum_i(v_i-y_i)^2 D ( λ ) ≤ ∑ i ( v i − y i ) 2 . Minimizing over feasible v v v proves (35). Completing the square gives the scalar minimizers. Setting λ = 0 \lambda=0 λ = 0 gives D ( 0 ) = ∑ i ( y i − clip I ( y i ) ) 2 D(0)=\sum_i(y_i-\operatorname{clip}_I(y_i))^2 D ( 0 ) = ∑ i ( y i − clip I ( y i ) ) 2 . The inequalities ∣ v i − v j ∣ ≤ κ d i j − ≤ κ d ( z i , z j ) |v_i-v_j|\le\kappa d_{ij}^{-}\le\kappa d(z_i,z_j) ∣ v i − v j ∣ ≤ κ d ij − ≤ κ d ( z i , z j ) establish feasibility for the true distances, yielding L ≤ L 0 ≤ R M ⋆ ≤ U 0 ≤ U L\le L_0\le R_M^\star\le U_0\le U L ≤ L 0 ≤ R M ⋆ ≤ U 0 ≤ U . Subtracting the bounds on R M ⋆ R_M^\star R M ⋆ from those on R M ( h ) R_M(h) R M ( h ) gives the predictor comparison; h ∈ F h\in\mathcal{F} h ∈ F additionally implies R M ( h ) ≥ R M ⋆ R_M(h)\ge R_M^\star R M ( h ) ≥ R M ⋆ . The threshold implications follow from the risk bounds and attainment.
PTB-XL and Bike Sharing Calculations
PTB-XL. The assessment set combines 4096 calibration and 4096 final-evaluation observations from distinct PTB-XL 1.0.3 patients, with one history-target pair per patient ([17 , 18 ] ). For each separately selected two-, six-, or fourteen-coordinate map, two partitions use groups of 32 observations. One follows row order; the other repeatedly groups the lowest-index unused row with its 31 nearest unused neighbors using Euclidean distances between the stored feature vectors, breaking ties by row index. Within each partition, merging two or four successive groups of 32 gives groups of 64 and 128. The class constraints use the maximum Euclidean distance over feature groups. For each partition and block size b ∈ { 32 , 64 , 128 } b \in\{32,64,128\} b ∈ { 32 , 64 , 128 } , we sum the verified dual lower bounds on block squared errors and divide by N = 8192 N=8192 N = 8192 . For each representation and prescribed Lipschitz constant, the reported lower bound on minimum empirical MSE is the maximum of the six resulting values. Dual objectives are evaluated exactly using distance upper bounds from the supplied feature intervals. Validity assumes these intervals contain the exact feature coordinates. To obtain the necessary bound on κ \kappa κ reported in Section 8.3, we keep the recorded dual multipliers fixed while varying κ \kappa κ . For each partition and block size, summing the dual objectives in (35) gives N a κ ≥ A − κ P Na_\kappa\ge A-\kappa P N a κ ≥ A − κ P , P = ∑ k ∑ i < j d i j , k + ∣ λ i j , k ∣ ≥ 0 P=\sum_k\sum_{i<j}d^+_{ij,k}|\lambda_{ij,k}|\ge0 P = ∑ k ∑ i < j d ij , k + ∣ λ ij , k ∣ ≥ 0 , where A A A is the sum of the terms independent of κ \kappa κ , and k k k indexes the blocks. For P > 0 P>0 P > 0 , this inequality implies a κ ≤ τ P T B ⟹ κ ≥ max { 0 , A − N τ P T B P } a_\kappa\le\tau_{\mathrm{PTB}} \implies\kappa\ge\max\left\{0,\frac{A-N\tau_{\mathrm{PTB}}}{P}\right\} a κ ≤ τ PTB ⟹ κ ≥ max { 0 , P A − N τ PTB } . The largest such bound across the two partitions and three block sizes for the two-coordinate KAHM representation is 54.82579, after conservative downward rounding.
Bike Sharing. The casual, registered, and total rental targets each have M = 172 M=172 M = 172 observations and 18 feature maps ([6 ] ). The maps combine min-max or standard scaling with 24 raw-history coordinates, 8 or 24 Nyström coordinates, or 8 or 24 KAHM coordinates with maximum local subspace dimensions r max ∈ { 4 , 12 , 20 } r_{\max}\in\{4,12,20\} r m a x ∈ { 4 , 12 , 20 } . KAHM retains the first group of 8 coordinates or both groups of 8 and 16 coordinates. Each class uses Euclidean distance, κ = 2 \kappa=2 κ = 2 , and I = [ 0 , 1 ] I=[0,1] I = [ 0 , 1 ] . Stored binary64 feature vectors z i z_i z i are exact inputs; losses use the unclipped, training-normalized targets (Section 8). Distance bounds 0 ≤ d i j − ≤ ∥ z i − z j ∥ 2 ≤ d i j + 0\le d_{ij}^{-}\le\lVert z_i-z_j\rVert_2\le d_{ij}^{+} 0 ≤ d ij − ≤ ∥ z i − z j ∥ 2 ≤ d ij + are multiples of 2 − 80 2^{-80} 2 − 80 , verified by exact squared comparisons. Each initial prediction vector q ∈ [ 0 , 1 ] M q \in[0,1]^M q ∈ [ 0 , 1 ] M is obtained by clipping an approximate quadratic-programming solution or the assessment targets to [ 0 , 1 ] [0,1] [ 0 , 1 ] , then rounding to multiples of 2 − 40 2^{-40} 2 − 40 . Signed dual multipliers use the same rounding grid. Let ρ i j \rho_{ij} ρ ij be shortest-path distances on the complete graph of observations with edge weights 2 d i j 2d_{ij} 2 d ij . The vectors v ˉ i − = min j { q j + ρ i j } \bar{v}_i^- = \min_j\{q_j+\rho_{ij}\} v ˉ i − = min j { q j + ρ ij } , v ˉ i + = max j { q j − ρ i j } \bar{v}_i^+ = \max_j\{q_j-\rho_{ij}\} v ˉ i + = max j { q j − ρ ij } belong to I M I^M I M and satisfy ∣ v ˉ i + − v ˉ j − ∣ ≤ ρ i j ≤ 2 d i j |\bar{v}_i^+ - \bar{v}_j^-| \le\rho_{ij} \le2d_{ij} ∣ v ˉ i + − v ˉ j − ∣ ≤ ρ ij ≤ 2 d ij . For every t ∈ [ 0 , 1 ] t \in[0,1] t ∈ [ 0 , 1 ] , the prediction vector v ( t ) = ( 1 − t ) v ˉ − + t v ˉ + v(t)=(1-t)\bar{v}^-+t\bar{v}^+ v ( t ) = ( 1 − t ) v ˉ − + t v ˉ + belongs to I M I^M I M and satisfies the prescribed pairwise Lipschitz constraints, since these constraints are preserved under convex combinations. Consequently, R M ⋆ ≤ min 0 ≤ t ≤ 1 1 M ∑ i = 1 M ( y i − ( 1 − t ) v ˉ i − − t v ˉ i + ) 2 R_M^\star\le\min_{0\le t\le1}\frac{1}{M}\sum_{i=1}^M\left(y_i-(1-t)\bar{v}_i^- -t\bar{v}_i^+\right)^2 R M ⋆ ≤ min 0 ≤ t ≤ 1 M 1 ∑ i = 1 M ( y i − ( 1 − t ) v ˉ i − − t v ˉ i + ) 2 . We evaluate this one-dimensional minimum exactly to obtain an upper bound on the minimum empirical MSE. The lower bound is L 0 L_0 L 0 in Proposition 12, using d i j + d_{ij}^+ d ij + in the dual objective. The reported upper bounds on minimum empirical MSE use initial prediction vectors q q q obtained from approximate quadratic-programming solutions in 52 decoder classes and from the observed targets in the remaining two classes. To assess empirical class feasibility, we initialize q q q using the observed targets for all 54 classes and apply the feasible prediction-vector construction described above. For every class, the resulting prediction vector satisfies the prescribed Lipschitz constraints and achieves empirical MSE below its target-specific threshold.
Forecasting Comparisons and Computational Cost
Screening comparisons. In the Beijing air-quality and Bike Sharing experiments, we compare the number of decoder fits required by candidate search with and without class-risk screening. Screening excludes a candidate decoder class before model fitting when a verified lower bound on its minimum empirical MSE exceeds the prescribed threshold. Both experiments use the target normalization and persistence-based MSE threshold defined in § 8.4 .
PTB-XL comparison. The evaluation uses three KAHM predictors with two-, six-, and fourteen-coordinate representations, selected using validation MSE. Their empirical MSEs are evaluated on the same 8192 PTB-XL observations used in § 8.3 . For each selected predictor h h h , let r ˉ ( h ) \bar{r}(h) r ˉ ( h ) denote a numerical upper bound on its empirical MSE, and let τ P T B − \tau_{\mathrm{PTB}}^- τ PTB − denote a downward-rounded lower bound on 1.1 r r e f 1.1r_{\mathrm{ref}} 1.1 r ref , where r r e f r_{\mathrm{ref}} r ref is the empirical MSE of the histogram gradient-boosted reference model. The numerical accuracy test requires r ˉ ( h ) ≤ τ P T B − \bar{r}(h) \le\tau_{\mathrm{PTB}}^- r ˉ ( h ) ≤ τ PTB − . To satisfy the joint accuracy and storage requirement, the predictor must additionally use fewer stored numerical bytes than the reference model.
Deployment selection and assessment. The forecast horizon is four steps for the hidden Markov model and six steps for the Appliances dataset. For each experiment, we select the conventional predictor with the lowest validation MSE as the accuracy reference h a c c h_{\mathrm{acc}} h acc . Among conventional predictors whose validation MSE is at most 1.1 times that of h a c c h_{\mathrm{acc}} h acc , we select the predictor requiring the fewest stored numerical bytes as the cost reference h c o s t h_{\mathrm{cost}} h cost . Separately, within each KAHM candidate family, we select the predictor requiring the fewest stored numerical bytes subject to the same validation-MSE criterion. For each selected KAHM predictor h h h , we evaluate the joint accuracy, storage, and inference-time requirements R ˉ ( h ) ≤ 1.1 R ˉ ( h a c c ) \bar{R}(h) \le1.1\bar{R}(h_{\mathrm{acc}}) R ˉ ( h ) ≤ 1.1 R ˉ ( h acc ) , S ( h ) < S ( h c o s t ) S(h)<S(h_{\mathrm{cost}}) S ( h ) < S ( h cost ) , T ( h ) ≤ T ( h c o s t ) T(h)\le T(h_{\mathrm{cost}}) T ( h ) ≤ T ( h cost ) , where R ˉ \bar{R} R ˉ denotes empirical MSE computed from the stored double-precision predictions and assessment targets. The storage measure S S S and inference-time measure T T T are defined below. Table 5 reports the corresponding numerical comparisons.
Table 5. Deployment comparisons for normalized affinity features and clipped reconstruction-score features. The ratios are r R = R ^ ( h ) / R ^ ( h a c c ) r_R = \hat{R}(h)/\hat{R}(h_{\mathrm{acc}}) r R = R ^ ( h ) / R ^ ( h acc ) , r S = S ( h ) / S ( h c o s t ) r_S = S(h)/S(h_{\mathrm{cost}}) r S = S ( h ) / S ( h cost ) , and r T = T ( h ) / T ( h c o s t ) r_T = T(h)/T(h_{\mathrm{cost}}) r T = T ( h ) / T ( h cost ) . The required conditions are r R ≤ 1.1 r_R \le1.1 r R ≤ 1.1 , r S < 1 r_S < 1 r S < 1 , and r T ≤ 1 r_T \le1 r T ≤ 1 . Ratios are rounded for display; comparisons use the unrounded recorded values.
Storage and inference time. The storage measure S S S counts retained encoder and decoder arrays and numerical scalars in bytes. Each timed batch uses the first 512 raw assessment histories and includes input scaling, feature computation, and prediction. After warm-up, nine batches are timed with single-threaded execution. The measure T T T is the median batch time divided by 512. The reproduction scripts recompute these summaries from the stored timing measurements.
Feature Computation and Numerical Conventions
The feature-augmentation experiment in § 8.2 uses the KAHM implementation documented in the standalone feature-computation reference. Local subspaces are constructed by principal component analysis (PCA). The parameter r max r_{\max} r m a x specifies the maximum local subspace dimension, d x d_x d x the input dimension, and N l o c N_{\mathrm{loc}} N loc the number of reference vectors after subsampling or augmentation. The initial requested subspace dimension is min ( r max , d x , N l o c − 1 ) \min(r_{\max}, d_x, N_{\mathrm{loc}} - 1) min ( r m a x , d x , N loc − 1 ) . Only leading covariance eigenvectors with computed eigenvalues above 2 − 52 2^{-52} 2 − 52 are retained. The requested subspace dimension is reduced until all projected reference coordinates have range at least 10 − 3 10^{-3} 1 0 − 3 or the requested dimension reaches one. A fit with no retained direction fails. Local reconstructions are computed as kernel-weighted averages of the reference vectors. The interval evaluation of each reconstruction requires an interval for the sum of kernel weights that excludes zero. If this condition is not established, the arithmetic precision is increased. Unresolved evaluations are reported as failures without discarding observations. For the numerical feature values, we evaluate the normalized affinity formula with η = 10 − 6 \eta= 10^{-6} η = 1 0 − 6 at the midpoints of the reconstruction-score intervals using 160-bit arithmetic. The resulting feature coordinates are stored in double precision. Separately, we propagate the full reconstruction-score intervals through the normalized affinity formula to obtain intervals containing the exact feature coordinates for the stored inputs and model parameters. The lower interval endpoints are rounded downward and the upper endpoints upward.