Introduction
Regression is a fundamental problem in statistics and machine learning and often an intermediate step in a downstream decision problem, with a quantity of interest being the underlying conditional mean. We study bounded regression, where ( X , Y ) (X,Y) ( X , Y ) denotes a covariate–response pair with Y ∈ [ 0 , 1 ] Y \in[0,1] Y ∈ [ 0 , 1 ] , and evaluate a predictor f f f by its expected absolute discrepancy from the conditional mean, ε 1 ( f ) : = E [ ∣ f ( X ) − η ( X ) ∣ ] \varepsilon_1(f) := \mathbb{E}[|f(X) - \eta(X)|] ε 1 ( f ) := E [ ∣ f ( X ) − η ( X ) ∣ ] , where η ( x ) : = E [ Y ∣ X = x ] \eta(x) := \mathbb{E}[Y \mid X = x] η ( x ) := E [ Y ∣ X = x ] .
The L 1 L_1 L 1 accuracy of a conditional-mean predictor has several downstream interpretations. For binary responses, it controls the excess risk of the plug-in classifier g f ( x ) : = 1 { f ( x ) ≥ 1 / 2 } g_f(x) := \mathbf{1}\{f(x) \ge1/2\} g f ( x ) := 1 { f ( x ) ≥ 1/2 } relative to the Bayes classifier g ∗ ( x ) : = 1 { η ( x ) ≥ 1 / 2 } g^*(x) := \mathbf{1}\{\eta(x) \ge1/2\} g ∗ ( x ) := 1 { η ( x ) ≥ 1/2 } . Writing R c l s ( g ) : = P ( g ( X ) ≠ Y ) R_{\mathrm{cls}}(g) := \mathbb{P}(g(X) \ne Y) R cls ( g ) := P ( g ( X ) = Y ) for the classification risk, the standard comparison inequality gives R c l s ( g f ) − R c l s ( g ∗ ) ≤ 2 ε 1 ( f ) R_{\mathrm{cls}}(g_f) - R_{\mathrm{cls}}(g^*) \le2\varepsilon_1(f) R cls ( g f ) − R cls ( g ∗ ) ≤ 2 ε 1 ( f ) ([3 ] ). The L 1 L_1 L 1 metric is also natural for downstream decision problems such as bandits and reinforcement learning, where policy suboptimality is typically controlled through differences in expected rewards or costs rather than their squares [4 ] . Finally, when f f f is used as a reward model to select the highest-scoring response among N N N candidates, each marginally distributed according to P X P_X P X , the expected reward loss relative to the best candidate in the same set is at most N ε 1 ( f ) N\varepsilon_1(f) N ε 1 ( f ) . This connects L 1 L_1 L 1 reward-model accuracy to recent analyses of Best-of-N N N and related inference-time selection procedures [15 ] . See derivations in Appendix § 8.1 .
Regression under misspecification. Let F \mathcal{F} F be a class of [ 0 , 1 ] [0,1] [ 0 , 1 ] -valued predictors and define ε 1 , ∗ : = inf f ∈ F ε 1 ( f ) \varepsilon_{1,*} := \inf_{f \in\mathcal{F}} \varepsilon_1(f) ε 1 , ∗ := inf f ∈ F ε 1 ( f ) . Under misspecification, we do not assume that η ∈ F \eta\in\mathcal{F} η ∈ F . We ask whether a learner can compete with the best achievable L 1 L_1 L 1 error within the class. Ideally, an oracle inequality of the form
ε 1 ( f ^ ) ≤ C a p x ε 1 , ∗ + r n , r n → 0 as n → ∞ , (1) \varepsilon_1(\widehat{f}) \le C_{\mathrm{apx}}\varepsilon_{1,*} + r_n,\qquad r_n \to0 \quad\text{as } n \to\infty, \tag*{(1)} ε 1 ( f ) ≤ C apx ε 1 , ∗ + r n , r n → 0 as n → ∞ , (1)
where C a p r x C_{\mathrm{aprx}} C aprx is a universal constant. We call C a p r x C_{\mathrm{aprx}} C aprx the approximation factor and r n r_n r n the estimation term . Beyond requiring r n r_n r n to vanish, we seek guarantees that adapt to the expected conditional variance E [ Var ( Y ∣ X ) ] \mathbb{E}[\operatorname{Var}(Y \mid X)] E [ Var ( Y ∣ X )] and become sharper when this quantity is small. This leads to two central questions:
What approximation and noise-adaptive guarantees are achievable for L 1 L_1 L 1 conditional-mean estimation under model misspecification? When the learner is required to return a member of F \mathcal{F} F , what is the smallest universal approximation factor in a distribution-free high-probability oracle inequality?
Why standard regression objectives do not resolve the problem. A loss that identifies the conditional mean under unrestricted optimization can select an approximation to η \eta η that differs from the best L 1 L_1 L 1 approximation when the model class is misspecified. Squared loss is the canonical example: minimizing its population risk over F \mathcal{F} F selects the best L 2 L_2 L 2 approximation to η \eta η , rather than the best L 1 L_1 L 1 approximation targeted by (1). More generally, standard losses such as squared and log loss induce their own notions of projection onto F \mathcal{F} F under misspecification [18 ] . We show that this mismatch is fundamental: e.g., squared-loss ERM admits an L 1 L_1 L 1 guarantee whose approximation term scales as ε 1 , ∗ \sqrt{\varepsilon_{1,*}} ε 1 , ∗ , and this dependence is unavoidable even in a noiseless problem with a function class of size 2. Consequently, squared-loss ERM cannot satisfy (1) with C a p r x C_{\mathrm{aprx}} C aprx being a universal constant. A second issue is statistical adaptation. Although an n − 1 / 2 n^{-1/2} n − 1/2 estimation term is unavoidable in the worst case over distributions of ( X , Y ) (X,Y) ( X , Y ) with Y ∈ [ 0 , 1 ] Y \in[0,1] Y ∈ [ 0 , 1 ] [21 , 23 ] , it can be overly pessimistic when the conditional variance of the labels is small [9 , 17 ] . Our goal is to achieve linear dependence on the best L 1 L_1 L 1 approximation error ε 1 , ∗ \varepsilon_{1,*} ε 1 , ∗ together with adaptation to low noise. As we show in § 3 , the standard regression objectives considered therein do not, in general, provide either of these desiderata.
Sign-Betting Regression. We study a min-max estimator introduced by Baraud & Maillard (2025) for fixed-design regression with possibly heteroscedastic and heavy-tailed errors. We refer to this procedure as Sign-Betting Regression (SBR) , reflecting the directional betting interpretation developed in § 4.2 .
Our results. Our first main result is a high-probability generalization inequality for SBR. In the general misspecified setting, it implies ε 1 ( f ^ ) ≤ 3 ε 1 , ∗ + r n \varepsilon_1(\widehat{f}) \le3\varepsilon_{1,*} + r_n ε 1 ( f ) ≤ 3 ε 1 , ∗ + r n , where the estimation term r n r_n r n adapts to the residual second moment of an L 1 L_1 L 1 -optimal comparator. Under realizability, the approximation terms disappear and the leading statistical term adapts directly to the average conditional variance E [ Var ( Y ∣ X ) ] \mathbb{E}[\operatorname{Var}(Y \mid X)] E [ Var ( Y ∣ X )] , recovering the variance-adaptive rate of Li et al. [17 ] . Our second main result identifies the optimal universal approximation factor for proper learning. We prove that, for proper learning, (1) cannot hold with any universal constant C a p r x < 3 C_{\mathrm{aprx}} < 3 C aprx < 3 and any distribution-independent r n r_n r n . Since SBR achieves factor 3, this characterizes the optimal universal proper approximation factor under our learning criterion. Finally, we extend the upper-bound analysis beyond finite classes and complement our theoretical results with experiments on synthetic data, real-world datasets, and LLM model selection.
Our setting and questions differ from those of Baraud & Maillard (2025) in several respects. They study fixed-design regression and expected L 1 L_1 L 1 error evaluated on the observed design points. We instead consider i.i.d. random design and study high-probability oracle inequalities for the population error ∥ f − η ∥ L 1 ( P X ) \|f-\eta\|_{L_1(P_X)} ∥ f − η ∥ L 1 ( P X ) . A direct black-box conversion—conditioning on the covariates, applying their fixed-design result, and then using global uniform convergence—yields a population guarantee in expectation but incurs a variance-independent n − 1 / 2 n^{-1/2} n − 1/2 generalization term, which can be substantially larger than our bound on low-noise instances. Our direct random-design analysis achieves variance adaptation. See Appendix § 8.9 for details.
Paper organization. § 2 formalizes the learning problem, the L 1 L_1 L 1 oracle criterion, and the noise quantities used throughout the paper. § 3 shows how standard regression objectives can fail both the desired approximation and noise-adaptation guarantees. § 4 develops the population geometry of sign betting and establishes our main variance-adaptive oracle inequality. § 5 characterizes the optimal universal approximation factor for proper learning, and § 6 extends the upper-bound framework beyond finite classes. Appendix § 8.2 discusses related work and connections to prior results, and Appendix § 8.13 presents the experiments. The remaining appendices contain proofs and supporting technical material.
Problem setting and learning objective
Setting and notation. Let X \mathcal{X} X be a measurable input space, and let P P P be an unknown distribution over X × [ 0 , 1 ] \mathcal{X} \times[0,1] X × [ 0 , 1 ] . We observe n n n i.i.d. samples ( X i , Y i ) i = 1 n ∼ P (X_i,Y_i)_{i=1}^{n} \sim P ( X i , Y i ) i = 1 n ∼ P . We write P X P_X P X for the marginal distribution of X X X and η ( x ) : = E [ Y ∣ X = x ] \eta(x) := \mathbb{E}[Y \mid X = x] η ( x ) := E [ Y ∣ X = x ] for the regression function. We consider a nonempty class F ⊆ { f : X → [ 0 , 1 ] } \mathcal{F} \subseteq\{f : \mathcal{X} \to[0,1]\} F ⊆ { f : X → [ 0 , 1 ]} of measurable predictors, without assuming that η ∈ F \eta\in\mathcal{F} η ∈ F . For a measurable g : X → R g : \mathcal{X} \to\mathbb{R} g : X → R and p ∈ [ 1 , ∞ ) p \in[1,\infty) p ∈ [ 1 , ∞ ) , we write ∥ g ∥ p : = ( E X ∼ P X ∣ g ( X ) ∣ p ) 1 / p \|g\|_p := (\mathbb{E}_{X \sim P_X} |g(X)|^p)^{1/p} ∥ g ∥ p := ( E X ∼ P X ∣ g ( X ) ∣ p ) 1/ p . For a measurable function Z = Z ( X , Y ) Z = Z(X,Y) Z = Z ( X , Y ) , we use the shorthand P Z : = E [ Z ( X , Y ) ] PZ := \mathbb{E}[Z(X,Y)] P Z := E [ Z ( X , Y )] and P n Z : = n − 1 ∑ i = 1 n Z ( X i , Y i ) P_nZ := n^{-1}\sum_{i=1}^{n} Z(X_i,Y_i) P n Z := n − 1 ∑ i = 1 n Z ( X i , Y i ) .
Approximation error. For p ∈ [ 1 , ∞ ) p \in[1,\infty) p ∈ [ 1 , ∞ ) and f ∈ F f \in\mathcal{F} f ∈ F , define ε p ( f ) : = ∥ f − η ∥ p \varepsilon_p(f) := \|f-\eta\|_p ε p ( f ) := ∥ f − η ∥ p and ε p , ∗ : = inf f ∈ F ε p ( f ) \varepsilon_{p,*} := \inf_{f \in\mathcal{F}} \varepsilon_p(f) ε p , ∗ := inf f ∈ F ε p ( f ) . Our main performance criterion is the L 1 L_1 L 1 conditional-mean approximation error ε 1 ( f ) = ∥ f − η ∥ 1 = E ∣ f ( X ) − η ( X ) ∣ \varepsilon_1(f) = \|f-\eta\|_1 = \mathbb{E}|f(X)-\eta(X)| ε 1 ( f ) = ∥ f − η ∥ 1 = E ∣ f ( X ) − η ( X ) ∣ , and ε 1 , ∗ \varepsilon_{1,*} ε 1 , ∗ is the smallest such error attainable within F \mathcal{F} F . When the infimum exists, we let f ⋆ ∈ arg min f ∈ F ε 1 ( f ) f_\star\in\arg\min_{f \in\mathcal{F}} \varepsilon_1(f) f ⋆ ∈ arg min f ∈ F ε 1 ( f ) denote a best L 1 L_1 L 1 approximation to η \eta η in F \mathcal{F} F . In particular, such a minimizer always exists for the finite classes considered in our main results. We say that ( P , F ) (P,\mathcal{F}) ( P , F ) is realizable (or well-specified ) if η ∈ F \eta\in\mathcal{F} η ∈ F , and misspecified otherwise. For a finite class, realizability is equivalent to ε 1 , ∗ = 0 \varepsilon_{1,*} = 0 ε 1 , ∗ = 0 . Our results do not assume realizability. Under misspecification, our guarantees compare the learned predictor with arbitrary comparators f 0 ∈ F f_0 \in\mathcal{F} f 0 ∈ F , allowing the bound to trade off their approximation error (how well f 0 f_0 f 0 approximates η \eta η ) and comparator-dependent estimation terms. We distinguish this criterion in Appendix E from the absolute-loss risk E ∣ Y − f ( X ) ∣ \mathbb{E}|Y-f(X)| E ∣ Y − f ( X ) ∣ , which is generally a different population objective.
Noise and approximation decomposition. Let ξ : = Y − η ( X ) \xi:= Y-\eta(X) ξ := Y − η ( X ) , σ 2 ( X ) : = Var ( Y ∣ X ) = E [ ξ 2 ∣ X ] \sigma^2(X) := \operatorname{Var}(Y \mid X) = \mathbb{E}[\xi^2 \mid X] σ 2 ( X ) := Var ( Y ∣ X ) = E [ ξ 2 ∣ X ] , and σ ˉ 2 : = E [ σ 2 ( X ) ] \bar{\sigma}^2 := \mathbb{E}[\sigma^2(X)] σ ˉ 2 := E [ σ 2 ( X )] . Then E [ ξ ∣ X ] = 0 \mathbb{E}[\xi\mid X] = 0 E [ ξ ∣ X ] = 0 , and for every predictor f f f , E [ ( Y − f ( X ) ) 2 ∣ X ] = σ 2 ( X ) + ( η ( X ) − f ( X ) ) 2 \mathbb{E}[(Y-f(X))^2 \mid X] = \sigma^2(X) + (\eta(X)-f(X))^2 E [( Y − f ( X ) ) 2 ∣ X ] = σ 2 ( X ) + ( η ( X ) − f ( X ) ) 2 . The first term is the conditional label variance, while the second is the squared approximation error. This decomposition will enter the variance-dependent bounds under misspecification.
Proper learning. A learner is proper with respect to F \mathcal{F} F if it always returns a predictor f ^ ∈ F \hat{f} \in\mathcal{F} f ^ ∈ F ; otherwise it is improper . Our main results focus on proper learning: our main algorithm is proper, and our lower bound characterizes the best universal approximation factor achievable by proper learners.
Limitations of standard regression objectives
We first ask whether familiar regression objectives already provide the L 1 L_1 L 1 oracle guarantee in (1). We focus here on squared loss and log loss, while deferring absolute loss to Appendix E and betting loss of Li et al. [17 ] to Appendix F. These objectives fail for two conceptually different reasons. Absolute loss is misaligned with the target itself: its population minimizer is generally a conditional median rather than the conditional mean η \eta η . By contrast, squared loss, log loss, and betting loss are all aligned with conditional-mean regression under realizability, with betting loss enjoying variance-adaptive guarantees [17 ] . Nevertheless, under model misspecification, squared loss, log loss, and betting loss may not produce a predictor whose L 1 L_1 L 1 error is within any universal constant factor of ε 1 , ∗ \varepsilon_{1,*} ε 1 , ∗ . These limitations motivate an objective that achieves an L 1 L_1 L 1 oracle guarantee with a universal constant approximation factor under misspecification while enjoying variance-adaptive statistical guarantees.
Squared-loss ERM
We begin with the familiar squared-loss ERM, f ^ s q ∈ arg min f ∈ F 1 n ∑ i = 1 n ( Y i − f ( X i ) ) 2 \hat{f}_{\mathrm{sq}} \in\arg\min_{f \in\mathcal{F}} \frac{1}{n}\sum_{i=1}^{n}(Y_i-f(X_i))^2 f ^ sq ∈ arg min f ∈ F n 1 ∑ i = 1 n ( Y i − f ( X i ) ) 2 . Squared loss is calibrated to the conditional mean when optimization is unrestricted. Under misspecification, however, minimizing squared loss over F \mathcal{F} F does not yield the best L 1 L_1 L 1 approximation to η \eta η . Indeed, for every f ∈ F f \in\mathcal{F} f ∈ F ,
E [ ( Y − f ( X ) ) 2 ] = E [ Var ( Y ∣ X ) ] + ∥ f − η ∥ 2 2 (2) \mathbb{E}[(Y-f(X))^2] = \mathbb{E}[\operatorname{Var}(Y \mid X)] + \|f-\eta\|_2^2 \tag*{(2)} E [( Y − f ( X ) ) 2 ] = E [ Var ( Y ∣ X )] + ∥ f − η ∥ 2 2 (2)
Thus, at the population level, squared loss selects an L 2 L_2 L 2 -optimal approximation to η \eta η , whereas our benchmark ε 1 , ∗ \varepsilon_{1,*} ε 1 , ∗ is defined by the best L 1 L_1 L 1 approximation. The following proposition quantifies the resulting finite-sample guarantee. The proof is deferred to Appendix C.1.
Proposition 1 (L 1 L_1 L 1 guarantee for squared-loss ERM). Suppose Y ∈ [ 0 , 1 ] Y \in[0,1] Y ∈ [ 0 , 1 ] and F ⊆ [ 0 , 1 ] X \mathcal{F} \subseteq[0,1]^\mathcal{X} F ⊆ [ 0 , 1 ] X is finite. There exists a universal constant C > 0 C > 0 C > 0 such that, with probability at least 1 − δ 1-\delta 1 − δ ,
ε 1 ( f ^ s q ) ≤ ε 2 , ∗ + C log ( 2 ∣ F ∣ 2 / δ ) n ≤ ε 1 , ∗ + C log ( 2 ∣ F ∣ 2 / δ ) n . (3) \varepsilon_1(\hat{f}_{\mathrm{sq}}) \le\varepsilon_{2,*} + C\sqrt{\frac{\log(2|\mathcal{F}|^2/\delta)}{n}} \le\sqrt{\varepsilon_{1,*}} + C\sqrt{\frac{\log(2|\mathcal{F}|^2/\delta)}{n}}. \tag*{(3)} ε 1 ( f ^ sq ) ≤ ε 2 , ∗ + C n log ( 2∣ F ∣ 2 / δ ) ≤ ε 1 , ∗ + C n log ( 2∣ F ∣ 2 / δ ) . (3)
The first inequality in (3) reflects the natural geometry of squared loss: apart from estimation error, squared-loss ERM competes with ε 2 , ∗ \varepsilon_{2,*} ε 2 , ∗ . The second inequality follows from ε 2 , ∗ ≤ ε 1 , ∗ \varepsilon_{2,*} \le\sqrt{\varepsilon_{1,*}} ε 2 , ∗ ≤ ε 1 , ∗ for [ 0 , 1 ] [0,1] [ 0 , 1 ] -valued hypothesis class F \mathcal{F} F . Next, we show in Proposition 2 that this square-root dependence on ε 1 , ∗ \varepsilon_{1,*} ε 1 , ∗ is not merely an artifact of converting an L 2 L_2 L 2 bound to L 1 L_1 L 1 .
Proposition 2 (Squared loss has no constant L 1 L_1 L 1 approximation factor). For every p ∈ ( 0 , 1 / 4 ) p \in(0,1/4) p ∈ ( 0 , 1/4 ) , there exists a noiseless regression problem and a two-element class F ⊆ [ 0 , 1 ] X \mathcal{F} \subseteq[0,1]^\mathcal{X} F ⊆ [ 0 , 1 ] X such that ε 1 , ∗ = p \varepsilon_{1,*}=p ε 1 , ∗ = p , while the unique population squared-loss minimizer, f s q ∗ ∈ arg min f ∈ F E [ ( Y − f ( X ) ) 2 ] f^*_{\mathrm{sq}} \in\arg\min_{f\in\mathcal{F}} \mathbb{E}[(Y-f(X))^2] f sq ∗ ∈ arg min f ∈ F E [( Y − f ( X ) ) 2 ] , satisfies
ε 1 ( f s q ∗ ) = 1 2 ε 1 , ∗ . (4) \varepsilon_1(f^*_{\mathrm{sq}})=\frac{1}{2}\sqrt{\varepsilon_{1,*}}. \tag*{(4)} ε 1 ( f sq ∗ ) = 2 1 ε 1 , ∗ . (4)
Consequently, squared-loss ERM cannot satisfy the basic goal (1) for any finite universal approximation factor.
Proposition 2 shows that the ε 1 , ∗ \sqrt{\varepsilon_{1,*}} ε 1 , ∗ dependence in (3) is unavoidable up to a universal constant. This is a population-level obstruction: even with noiseless labels and arbitrarily many samples, squared loss can prefer an L 2 L_2 L 2 -better predictor whose L 1 L_1 L 1 error is of order ε 1 , ∗ \sqrt{\varepsilon_{1,*}} ε 1 , ∗ rather than ε 1 , ∗ \varepsilon_{1,*} ε 1 , ∗ . Appendix C.2 gives a sharper result (with proof) that, for any γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) , one can construct an instance satisfying ε 1 ( f s q ∗ ) = ( 1 − γ ) ε 1 , ∗ \varepsilon_1(f^*_{\mathrm{sq}})=(1-\gamma)\sqrt{\varepsilon_{1,*}} ε 1 ( f sq ∗ ) = ( 1 − γ ) ε 1 , ∗ . Proposition 2 is a specialization with γ = 1 / 2 \gamma=1/2 γ = 1/2 .
The n − 1 / 2 n^{-1/2} n − 1/2 statistical term in (3) cannot be improved in general. Standard minimax lower bounds show an Ω ( n − 1 / 2 ) \Omega(n^{-1/2}) Ω ( n − 1/2 ) error for arbitrary estimators in simple bounded mean-estimation problems; see, e.g., [21 , 23 ] . The limitation of the estimation error from squared-loss ERM is the failure to adapt to easier instances. In realizable full-information cost-sensitive classification, Foster & Krishnamurthy [9 ] show that least-squares plug-in prediction can incur Ω ( n − 1 / 2 ) \Omega(n^{-1/2}) Ω ( n − 1/2 ) excess risk even when the first-order rate is O ( 1 / n ) O(1/n) O ( 1/ n ) . Analogously, in realizable [ 0 , 1 ] [0,1] [ 0 , 1 ] -valued regression, Li et al. [17 ] show that squared-loss ERM can incur Ω ( n − 1 / 2 ) \Omega(n^{-1/2}) Ω ( n − 1/2 ) L 1 L_1 L 1 error even when the first-order rate is O ( 1 / n ) O(1/n) O ( 1/ n ) .
Taken together, these results identify two distinct limitations of squared-loss ERM for our objective. Under misspecification, its L 2 L_2 L 2 approximation can be arbitrarily worse than the best L 1 L_1 L 1 approximation in multiplicative terms; even under realizability, squared-loss ERM does not adapt to favorable conditional variance.
Log-loss ERM
Another natural choice for conditional-mean estimation is log loss, which is widely used for learning probabilistic predictions. Recall the log-loss ERM
f ^ log ∈ arg min f ∈ F 1 n ∑ i = 1 n ℓ log ( Y i , f ( X i ) ) , ℓ log ( y , q ) : = − y log q − ( 1 − y ) log ( 1 − q ) . (5) \widehat{f}_{\log} \in\arg\min_{f\in\mathcal{F}} \frac{1}{n}\sum_{i=1}^{n}\ell_{\log}(Y_i,f(X_i)), \qquad\ell_{\log}(y,q):=-y\log q-(1-y)\log(1-q). \tag*{(5)} f l o g ∈ arg f ∈ F min n 1 i = 1 ∑ n ℓ l o g ( Y i , f ( X i )) , ℓ l o g ( y , q ) := − y log q − ( 1 − y ) log ( 1 − q ) . (5)
For any Y ∈ [ 0 , 1 ] Y \in[0,1] Y ∈ [ 0 , 1 ] , conditioning on X = x X=x X = x gives
E [ ℓ log ( Y , q ) ∣ X = x ] = − η ( x ) log q − ( 1 − η ( x ) ) log ( 1 − q ) , \mathbb{E}[\ell_{\log}(Y,q)\mid X=x]=-\eta(x)\log q-(1-\eta(x))\log(1-q), E [ ℓ l o g ( Y , q ) ∣ X = x ] = − η ( x ) log q − ( 1 − η ( x )) log ( 1 − q ) ,
which is uniquely minimized at q = η ( x ) q=\eta(x) q = η ( x ) . Thus, like squared loss, log loss is calibrated to the conditional mean when optimization is unrestricted.
Log loss is particularly relevant to our comparison because, under realizability, it can exhibit favorable first-order behavior that squared loss fails to achieve. In the cost-sensitive classification setting, Foster & Krishnamurthy [9 ] show that log-loss regression yields a first-order guarantee. More directly for our regression setting, Li et al. [17 ] establish a first-order guarantee for log-loss ERM measured in the same L 1 L_1 L 1 prediction error considered in this paper. This motivates asking whether it also avoids the other deficiency of squared loss under misspecification: the mismatch between its population objective and the best L 1 L_1 L 1 approximation in F \mathcal{F} F . We show that it does not. Even when all predictions are uniformly bounded away from 0 and 1, log-loss ERM can incur L 1 L_1 L 1 error of order ε 1 , ∗ \sqrt{\varepsilon_{1,*}} ε 1 , ∗ , and therefore cannot achieve a universal constant-factor L 1 L_1 L 1 oracle guarantee.
For p ∈ [ 0 , 1 ] p \in[0,1] p ∈ [ 0 , 1 ] and q ∈ ( 0 , 1 ) q \in(0,1) q ∈ ( 0 , 1 ) , let kl ( p , q ) : = p log p q + ( 1 − p ) log 1 − p 1 − q \operatorname{kl}(p,q):=p\log\frac{p}{q}+(1-p)\log\frac{1-p}{1-q} kl ( p , q ) := p log q p + ( 1 − p ) log 1 − q 1 − p , with the convention 0 log 0 = 0 0\log0=0 0 log 0 = 0 . At the population level (see Appendix D.1 for the derivation),
E [ ℓ log ( Y , f ( X ) ) − ℓ log ( Y , η ( X ) ) ] = E [ kl ( η ( X ) , f ( X ) ) ] . (6) \mathbb{E}\left[\ell_{\log}(Y,f(X))-\ell_{\log}(Y,\eta(X))\right]=\mathbb{E}\left[\operatorname{kl}(\eta(X),f(X))\right]. \tag*{(6)} E [ ℓ l o g ( Y , f ( X )) − ℓ l o g ( Y , η ( X )) ] = E [ kl ( η ( X ) , f ( X )) ] . (6)
Thus, under misspecification, population log-loss minimization selects a KL-optimal approximation to η \eta η , which may not coincide with the best L 1 L_1 L 1 approximation.
Because log loss becomes increasingly sensitive as predictions approach 0 or 1, an L 1 L_1 L 1 guarantee in terms of ε 1 , ∗ \varepsilon_{1,*} ε 1 , ∗ requires explicit control of the prediction range. The following proposition gives the resulting guarantee under a restricted boundary condition.
Proposition 3 (L 1 L_1 L 1 guarantee for log-loss ERM). Suppose Y ∈ [ 0 , 1 ] Y \in[0,1] Y ∈ [ 0 , 1 ] , F \mathcal{F} F is finite, and, for some γ ∈ ( 0 , 1 / 2 ) \gamma\in(0,1/2) γ ∈ ( 0 , 1/2 ) , F ⊆ [ γ , 1 − γ ] X \mathcal{F} \subseteq[\gamma,1-\gamma]^{\mathcal{X}} F ⊆ [ γ , 1 − γ ] X . Then, with probability at least 1 − δ 1-\delta 1 − δ ,
ε 1 ( f ^ log ) ≤ log ( 1 / γ ) 1 − γ ε 1 , ∗ + ( 2 + 2 3 log 1 γ ) log ( 2 ∣ F ∣ 2 / δ ) n . (7) \varepsilon_1(\widehat{f}_{\log}) \leq\sqrt{\frac{\log(1/\gamma)}{1-\gamma}\varepsilon_{1,*}}+\sqrt{\left(2+\frac{2}{3}\log\frac{1}{\gamma}\right)\frac{\log(2|\mathcal{F}|^2/\delta)}{n}}. \tag*{(7)} ε 1 ( f l o g ) ≤ 1 − γ log ( 1/ γ ) ε 1 , ∗ + ( 2 + 3 2 log γ 1 ) n log ( 2∣ F ∣ 2 / δ ) . (7) In particular, for every fixed γ \gamma γ , ε 1 ( f ^ log ) ≲ γ ε 1 , ∗ + log ( ∣ F ∣ / δ ) / n \varepsilon_1(\widehat{f}_{\log}) \lesssim_\gamma\sqrt{\varepsilon_{1,*}}+\sqrt{\log(|\mathcal{F}|/\delta)/n} ε 1 ( f l o g ) ≲ γ ε 1 , ∗ + log ( ∣ F ∣/ δ ) / n .
The proof is deferred to Appendix D.2. Proposition 3 shows that, even under a restricted boundary condition, the natural L 1 L_1 L 1 guarantee for log-loss ERM scales as ε 1 , ∗ \sqrt{\varepsilon_{1,*}} ε 1 , ∗ rather than linearly with ε 1 , ∗ \varepsilon_{1,*} ε 1 , ∗ . As with squared loss, one might wonder whether this ε 1 , ∗ \sqrt{\varepsilon_{1,*}} ε 1 , ∗ dependence is merely an artifact of the analysis. The next proposition shows that it is unavoidable: even for a two-element class uniformly bounded away from 0 and 1, the population log-loss minimizer can have L 1 L_1 L 1 error of order ε 1 , ∗ \sqrt{\varepsilon_{1,*}} ε 1 , ∗ .
Proposition 4 (Log loss has no constant L 1 L_1 L 1 approximation factor). For every p ∈ ( 0 , 1 ) p \in(0,1) p ∈ ( 0 , 1 ) , there exists a noiseless regression problem and a two-element class F ⊆ [ 1 / 4 , 3 / 4 ] X \mathcal{F} \subseteq[1/4,3/4]^{\mathcal{X}} F ⊆ [ 1/4 , 3/4 ] X such that ε 1 , ∗ = p / 4 \varepsilon_{1,*}=p/4 ε 1 , ∗ = p /4 , while the unique population log-loss minimizer f log ∗ ∈ arg min f ∈ F E [ ℓ log ( Y , f ( X ) ) ] f^*_{\log} \in\arg\min_{f\in\mathcal{F}}\mathbb{E}[\ell_{\log}(Y,f(X))] f l o g ∗ ∈ arg min f ∈ F E [ ℓ l o g ( Y , f ( X ))] satisfies
ε 1 ( f log ∗ ) = 1 2 ε 1 , ∗ . (8) \varepsilon_1(f^*_{\log})=\frac{1}{2}\sqrt{\varepsilon_{1,*}}. \tag*{(8)} ε 1 ( f l o g ∗ ) = 2 1 ε 1 , ∗ . (8)
Consequently, log-loss ERM cannot satisfy the basic goal (1) for any finite universal approximation factor, even when all predictions are uniformly bounded away from 0 and 1.
Proposition 4 shows that the ε 1 , ∗ \sqrt{\varepsilon_{1,*}} ε 1 , ∗ dependence in Proposition 3 is unavoidable up to a universal constant. Even when the hypothesis class is uniformly bounded away from 0 and 1, the geometry of KL divergence can make the population log-loss minimizer have L 1 L_1 L 1 error of order ε 1 , ∗ \sqrt{\varepsilon_{1,*}} ε 1 , ∗ , even though F \mathcal{F} F contains another hypothesis with L 1 L_1 L 1 error ε 1 , ∗ \varepsilon_{1,*} ε 1 , ∗ . Thus, as with squared loss, log-loss ERM cannot in general achieve linear dependence on ε 1 , ∗ \varepsilon_{1,*} ε 1 , ∗ or a finite universal L 1 L_1 L 1 approximation factor.
The restriction F ⊆ [ γ , 1 − γ ] X \mathcal{F} \subseteq[\gamma,1-\gamma]^{\mathcal{X}} F ⊆ [ γ , 1 − γ ] X is essential for Proposition 3. Without requiring predictions to stay uniformly away from 0 and 1, log-loss ERM can fail much more severely: its population minimizer may have L 1 L_1 L 1 error bounded away from zero even as ε 1 , ∗ → 0 \varepsilon_{1,*}\to0 ε 1 , ∗ → 0 . We give this stronger boundary-sensitive obstruction in Appendix D.4. Thus, even in the more favorable setting where all hypotheses are bounded away from 0 and 1, the worst-case approximation dependence of log-loss ERM remains of order ε 1 , ∗ \sqrt{\varepsilon_{1,*}} ε 1 , ∗ , matching the qualitative limitation of squared-loss ERM.
Sign betting loss and variance-adaptive bounds
Sign betting for misspecified regression
Motivated by the limitations of standard regression objectives established in § 3 , we turn to the min–max pairwise estimator introduced by Baraud & Maillard (2025). We show that this procedure, which we call Sign-Betting Regression (SBR) , aligns more closely with the best L 1 L_1 L 1 approximation to the conditional mean within F \mathcal{F} F and yields strong oracle guarantees under misspecification. Given n n n i.i.d. samples ( X i , Y i ) i = 1 n (X_i,Y_i)_{i=1}^n ( X i , Y i ) i = 1 n , for f , h ∈ F f,h\in\mathcal{F} f , h ∈ F , define
T ^ ( f , h ) : = 1 n ∑ i = 1 n ( Y i − f ( X i ) ) sign ( h ( X i ) − f ( X i ) ) , (9) \widehat{T}(f,h):=\frac{1}{n}\sum_{i=1}^{n}(Y_i-f(X_i))\operatorname{sign}(h(X_i)-f(X_i)), \tag*{(9)} T ( f , h ) := n 1 i = 1 ∑ n ( Y i − f ( X i )) sign ( h ( X i ) − f ( X i )) , (9)
where sign ( 0 ) = 0 \operatorname{sign}(0)=0 sign ( 0 ) = 0 . Our Sign-Betting Regression (SBR) algorithm returns
f ^ ∈ arg min f ∈ F sup h ∈ F T ^ ( f , h ) . (10) \widehat{f}\in\arg\min_{f\in\mathcal{F}}\sup_{h\in\mathcal{F}}\widehat{T}(f,h). \tag*{(10)} f ∈ arg f ∈ F min h ∈ F sup T ( f , h ) . (10)
For the finite classes considered in our main results, the supremum above is a maximum.
The terminology “sign betting” comes from viewing h h h as a challenger that places a directional bet against the residual of f f f . At an input x x x , the challenger bets + 1 +1 + 1 when h ( x ) > f ( x ) h(x)>f(x) h ( x ) > f ( x ) and − 1 -1 − 1 when h ( x ) < f ( x ) h(x) < f(x) h ( x ) < f ( x ) . Its payoff is ( Y − f ( X ) ) sign ( h ( X ) − f ( X ) ) (Y - f(X))\operatorname{sign}(h(X) - f(X)) ( Y − f ( X )) sign ( h ( X ) − f ( X )) . Thus, if h h h lies above f f f , the challenger benefits when the observed response is also above f f f ; if h h h lies below f f f , it benefits when the observed response is below f f f . A large value of T ^ ( f , h ) \widehat{T}(f,h) T ( f , h ) therefore indicates that the direction from f f f toward h h h is systematically supported by the residuals.
The inner supremum in (10) searches for the challenger h ∈ F h \in\mathcal{F} h ∈ F that achieves the largest empirical sign-betting value T ^ ( f , h ) \widehat{T}(f,h) T ( f , h ) against a given candidate f f f . The outer minimization then selects a predictor whose residuals are difficult to exploit by any h ∈ F h \in\mathcal{F} h ∈ F . Thus, unlike ordinary empirical risk minimization with a pointwise loss ℓ ( Y , f ( X ) ) \ell(Y,f(X)) ℓ ( Y , f ( X )) , the objective associated with f f f depends on how f f f compares with the other predictors in F \mathcal{F} F .
We next study the population geometry of sign betting. The key identity shows that, for any f , h ∈ F f,h \in\mathcal{F} f , h ∈ F , the two betting quantities associated with ( f , h ) (f,h) ( f , h ) and ( h , f ) (h,f) ( h , f ) sum exactly to ∥ f − h ∥ 1 \lVert f-h\rVert_1 ∥ f − h ∥ 1 . This identity will allow us to translate control of the sign-betting objective into control of L 1 L_1 L 1 error.
Population geometry of sign betting
We first study the population behavior of sign betting. We will show that, for any pair f , h ∈ F f,h \in\mathcal{F} f , h ∈ F , the two population quantities T P ( f , h ) T_P(f,h) T P ( f , h ) and T P ( h , f ) T_P(h,f) T P ( h , f ) sum exactly to the L 1 ( P X ) L_1(P_X) L 1 ( P X ) distance between f f f and h h h . This identity leads to a population performance guarantee for sign betting and provides the basic mechanism for the high-probability guarantees developed in the next subsection. For f , h ∈ F f,h \in\mathcal{F} f , h ∈ F , define
T P ( f , h ) : = E [ ( Y − f ( X ) ) sign ( h ( X ) − f ( X ) ) ] = E [ ( η ( X ) − f ( X ) ) sign ( h ( X ) − f ( X ) ) ] . (11) T_P(f,h) := \mathbb{E}\left[(Y-f(X))\operatorname{sign}(h(X)-f(X))\right] = \mathbb{E}\left[(\eta(X)-f(X))\operatorname{sign}(h(X)-f(X))\right]. \tag*{(11)} T P ( f , h ) := E [ ( Y − f ( X )) sign ( h ( X ) − f ( X )) ] = E [ ( η ( X ) − f ( X )) sign ( h ( X ) − f ( X )) ] . (11)
The second equality follows by conditioning on X X X and using E [ Y ∣ X ] = η ( X ) \mathbb{E}[Y \mid X] = \eta(X) E [ Y ∣ X ] = η ( X ) . We also define the population sign-betting objective
B P ( f ) : = sup h ∈ F T P ( f , h ) . (12) B_P(f) := \sup_{h \in\mathcal{F}} T_P(f,h). \tag*{(12)} B P ( f ) := h ∈ F sup T P ( f , h ) . (12)
The basic geometry of T P ( ⋅ , ⋅ ) T_P(\cdot,\cdot) T P ( ⋅ , ⋅ ) follows from a pairwise identity:
Lemma 5 (Pairwise identity for sign betting). For any f , h ∈ F f,h \in\mathcal{F} f , h ∈ F ,
T P ( f , h ) + T P ( h , f ) = ∥ f − h ∥ 1 . (13) T_P(f,h) + T_P(h,f) = \lVert f-h\rVert_1. \tag*{(13)} T P ( f , h ) + T P ( h , f ) = ∥ f − h ∥ 1 . (13)
Proof. Using sign ( f − h ) = − sign ( h − f ) \operatorname{sign}(f-h) = -\operatorname{sign}(h-f) sign ( f − h ) = − sign ( h − f ) ,
T P ( f , h ) + T P ( h , f ) = E [ ( η − f ) sign ( h − f ) + ( η − h ) sign ( f − h ) ] = E [ ( h − f ) sign ( h − f ) ] = E ∣ h − f ∣ = ∥ f − h ∥ 1 . \begin{aligned}
T_P(f,h) + T_P(h,f)
&= \mathbb{E}\left[(\eta-f)\operatorname{sign}(h-f) + (\eta-h)\operatorname{sign}(f-h)\right] \\
&= \mathbb{E}\left[(h-f)\operatorname{sign}(h-f)\right] \\
&= \mathbb{E}|h-f| = \lVert f-h\rVert_1.
\end{aligned} T P ( f , h ) + T P ( h , f ) = E [ ( η − f ) sign ( h − f ) + ( η − h ) sign ( f − h ) ] = E [ ( h − f ) sign ( h − f ) ] = E ∣ h − f ∣ = ∥ f − h ∥ 1 .
The population objective B P ( f ) B_P(f) B P ( f ) is also directly controlled by the L 1 L_1 L 1 approximation error:
Lemma 6 (Population sign-betting objective). For every f ∈ F f \in\mathcal{F} f ∈ F ,
0 ≤ B P ( f ) ≤ ε 1 ( f ) . (14) 0 \le B_P(f) \le\varepsilon_1(f). \tag*{(14)} 0 ≤ B P ( f ) ≤ ε 1 ( f ) . (14)
Proof. Since h = f h=f h = f is an admissible choice in the definition of B P ( f ) B_P(f) B P ( f ) in (12) and T P ( f , f ) = 0 T_P(f,f)=0 T P ( f , f ) = 0 , we have B P ( f ) ≥ 0 B_P(f) \ge0 B P ( f ) ≥ 0 . Moreover, for every h ∈ F h \in\mathcal{F} h ∈ F ,
T P ( f , h ) = E [ ( η ( X ) − f ( X ) ) sign ( h ( X ) − f ( X ) ) ] ≤ E ∣ η ( X ) − f ( X ) ∣ = ε 1 ( f ) . T_P(f,h) = \mathbb{E}\left[(\eta(X)-f(X))\operatorname{sign}(h(X)-f(X))\right] \le\mathbb{E}\left|\eta(X)-f(X)\right| = \varepsilon_1(f). T P ( f , h ) = E [ ( η ( X ) − f ( X )) sign ( h ( X ) − f ( X )) ] ≤ E ∣ η ( X ) − f ( X ) ∣ = ε 1 ( f ) .
Taking the supremum over h ∈ F h \in\mathcal{F} h ∈ F yields B P ( f ) ≤ ε 1 ( f ) B_P(f) \le\varepsilon_1(f) B P ( f ) ≤ ε 1 ( f ) .
Lemma 5 and Lemma 6 yield a population performance guarantee for sign betting:
Proposition 7 (Population guarantee for sign betting). Suppose the minimum of B P B_P B P over F \mathcal{F} F is attained, and let f B ∈ arg min f ∈ F B P ( f ) f_B \in\arg\min_{f \in\mathcal{F}} B_P(f) f B ∈ arg min f ∈ F B P ( f ) . Then, for every f 0 ∈ F f_0 \in\mathcal{F} f 0 ∈ F ,
ε 1 ( f B ) ≤ ε 1 ( f 0 ) + 2 B P ( f 0 ) . (15) \varepsilon_1(f_B) \le\varepsilon_1(f_0) + 2B_P(f_0). \tag*{(15)} ε 1 ( f B ) ≤ ε 1 ( f 0 ) + 2 B P ( f 0 ) . (15) Consequently, ε 1 ( f B ) ≤ 3 ε 1 ( f 0 ) \varepsilon_1(f_B) \le3\varepsilon_1(f_0) ε 1 ( f B ) ≤ 3 ε 1 ( f 0 ) .
Proof. By Lemma 5,
∥ f B − f 0 ∥ 1 = T P ( f B , f 0 ) + T P ( f 0 , f B ) ≤ B P ( f B ) + B P ( f 0 ) ≤ 2 B P ( f 0 ) , \lVert f_B-f_0\rVert_1 = T_P(f_B,f_0) + T_P(f_0,f_B) \le B_P(f_B) + B_P(f_0) \le2B_P(f_0), ∥ f B − f 0 ∥ 1 = T P ( f B , f 0 ) + T P ( f 0 , f B ) ≤ B P ( f B ) + B P ( f 0 ) ≤ 2 B P ( f 0 ) ,
where the last inequality follows from the optimality of f B f_B f B . Therefore,
ε 1 ( f B ) ≤ ε 1 ( f 0 ) + ∥ f B − f 0 ∥ 1 ≤ ε 1 ( f 0 ) + 2 B P ( f 0 ) . \varepsilon_1(f_B) \le\varepsilon_1(f_0) + \lVert f_B-f_0\rVert_1 \le\varepsilon_1(f_0) + 2B_P(f_0). ε 1 ( f B ) ≤ ε 1 ( f 0 ) + ∥ f B − f 0 ∥ 1 ≤ ε 1 ( f 0 ) + 2 B P ( f 0 ) .
The second claim follows from B P ( f 0 ) ≤ ε 1 ( f 0 ) B_P(f_0) \le\varepsilon_1(f_0) B P ( f 0 ) ≤ ε 1 ( f 0 ) by Lemma 6 . □
(15) is more informative than the worst-case factor-three bound: the additional approximation penalty is governed by the population sign-betting value B P ( f 0 ) B_P(f_0) B P ( f 0 ) , which can be much smaller than ε 1 ( f 0 ) \varepsilon_1(f_0) ε 1 ( f 0 ) . We next show that the empirical Sign-Betting Regression algorithm inherits this population guarantee, up to f 0 f_0 f 0 -dependent estimation terms that decay with n n n and adapt to the label variance.
Main variance-adaptive guarantee
We now turn to the finite-sample performance of SBR. As we will see, the leading estimation term is controlled by an f 0 f_0 f 0 -dependent residual second moment. For f 0 ∈ F f_0 \in\mathcal{F} f 0 ∈ F , define
v ( f 0 ) : = sup h ∈ F E [ ( Y − f 0 ( X ) ) 2 1 { h ( X ) ≠ f 0 ( X ) } ] = sup h ∈ F E [ ( σ 2 ( X ) + ( η ( X ) − f 0 ( X ) ) 2 ) 1 { h ( X ) ≠ f 0 ( X ) } ] . (16) \begin{aligned}
v(f_0) := \sup_{h\in\mathcal{F}} \mathbb{E}\left[(Y-f_0(X))^2\mathbf{1}\{h(X)\ne f_0(X)\}\right] \\
&= \sup_{h\in\mathcal{F}} \mathbb{E}\left[\left(\sigma^2(X)+(\eta(X)-f_0(X))^2\right)\mathbf{1}\{h(X)\ne f_0(X)\}\right]. \tag*{(16)}
\end{aligned} v ( f 0 ) := h ∈ F sup E [ ( Y − f 0 ( X ) ) 2 1 { h ( X ) = f 0 ( X )} ] = h ∈ F sup E [ ( σ 2 ( X ) + ( η ( X ) − f 0 ( X ) ) 2 ) 1 { h ( X ) = f 0 ( X )} ] . (16)
The second equality follows from the noise–approximation decomposition in Section 2. In particular, v ( f 0 ) ≤ σ ˉ 2 + ε 2 ( f 0 ) 2 v(f_0) \le\bar{\sigma}^2+\varepsilon_2(f_0)^2 v ( f 0 ) ≤ σ ˉ 2 + ε 2 ( f 0 ) 2 . Thus, under misspecification, v ( f 0 ) v(f_0) v ( f 0 ) captures both the conditional label variance and the squared approximation residual, restricted to regions where f 0 f_0 f 0 disagrees with other predictors in F \mathcal{F} F . This localization can make v ( f 0 ) v(f_0) v ( f 0 ) smaller than the corresponding global residual second moment σ ˉ 2 + ε 2 ( f 0 ) 2 \bar{\sigma}^2+\varepsilon_2(f_0)^2 σ ˉ 2 + ε 2 ( f 0 ) 2 . Our main finite-class guarantee is the following.
Theorem 8 (Variance-adaptive guarantee for SBR). Suppose F \mathcal{F} F is finite, and let f ^ \hat{f} f ^ be the output of SBR in (10). For ρ > 0 \rho>0 ρ > 0 , let C ρ : = 13 3 + 1 ρ + 23 12 ρ C_\rho:= \frac{13}{3}+\frac{1}{\rho}+\frac{23}{12}\rho C ρ := 3 13 + ρ 1 + 12 23 ρ . Then , for every δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) , with probability at least 1 − δ 1-\delta 1 − δ , the following holds simultaneously for every ρ > 0 \rho>0 ρ > 0 :
ε 1 ( f ^ ) ≤ inf f 0 ∈ F { ε 1 ( f 0 ) + ( 2 + ρ ) B P ( f 0 ) + ( 2 + ρ ) 2 v ( f 0 ) log ( 2 ∣ F ∣ 2 / δ ) n } + C ρ log ( 2 ∣ F ∣ 2 / δ ) n . (17) \varepsilon_1(\hat{f}) \le\inf_{f_0\in\mathcal{F}}\left\{\varepsilon_1(f_0)+(2+\rho)B_P(f_0)+(2+\rho)\sqrt{\frac{2v(f_0)\log(2|\mathcal{F}|^2/\delta)}{n}}\right\}+C_\rho\frac{\log(2|\mathcal{F}|^2/\delta)}{n}. \tag*{(17)} ε 1 ( f ^ ) ≤ f 0 ∈ F inf { ε 1 ( f 0 ) + ( 2 + ρ ) B P ( f 0 ) + ( 2 + ρ ) n 2 v ( f 0 ) log ( 2∣ F ∣ 2 / δ ) } + C ρ n log ( 2∣ F ∣ 2 / δ ) . (17)
The parameter ρ \rho ρ is used only in the analysis and is not an input to SBR. Since the event in Theorem 8 holds simultaneously for all ρ > 0 \rho>0 ρ > 0 , ρ \rho ρ can be chosen as a function of f 0 f_0 f 0 and the other quantities when interpreting the bound. In particular, the theorem implies that, for every f 0 ∈ F f_0\in\mathcal{F} f 0 ∈ F ,
ε 1 ( f ^ ) ≤ ε 1 ( f 0 ) + 2 B P ( f 0 ) + r n ( f 0 , δ ) , (18) \varepsilon_1(\hat{f}) \le\varepsilon_1(f_0)+2B_P(f_0)+r_n(f_0,\delta), \tag*{(18)} ε 1 ( f ^ ) ≤ ε 1 ( f 0 ) + 2 B P ( f 0 ) + r n ( f 0 , δ ) , (18)
where r n ( f 0 , δ ) → 0 r_n(f_0,\delta)\to0 r n ( f 0 , δ ) → 0 as n → ∞ n\to\infty n → ∞ with P P P , f 0 f_0 f 0 , F \mathcal{F} F , and δ \delta δ fixed. Thus, the finite-sample guarantee recovers the population bound in Proposition 7 up to a vanishing estimation term. An explicit form of r n ( f 0 , δ ) r_n(f_0,\delta) r n ( f 0 , δ ) is given in Corollary 18 in the appendix.
The full proof of Theorem 8 is given in Appendix § 8.7 . At a high level, its proof follows the ingredients developed in the previous subsection. To elaborate, the pairwise identity in Lemma 5 continues to hold exactly on the sample:
T ^ ( f , h ) + T ^ ( h , f ) = P n ∣ f − h ∣ . \widehat{T}(f,h)+\widehat{T}(h,f)=P_n|f-h|. T ( f , h ) + T ( h , f ) = P n ∣ f − h ∣.
Hence, mirroring the proof of Proposition 7 , for any f 0 ∈ F f_0\in\mathcal{F} f 0 ∈ F , the empirical optimality of f ^ \hat{f} f ^ implies
P n ∣ f ^ − f 0 ∣ ≤ 2 sup h ∈ F T ^ ( f 0 , h ) . (19) P_n|\hat{f}-f_0|\le2\sup_{h\in\mathcal{F}}\widehat{T}(f_0,h). \tag*{(19)} P n ∣ f ^ − f 0 ∣ ≤ 2 h ∈ F sup T ( f 0 , h ) . (19)
Bernstein concentration then upper bounds the right-hand side in terms of B P ( f 0 ) B_P(f_0) B P ( f 0 ) and v ( f 0 ) v(f_0) v ( f 0 ) , and a further concentration step converts the empirical distance on the left-hand side in (19) into ∥ f ^ − f 0 ∥ 1 \lVert\hat{f}-f_0\rVert_1 ∥ f ^ − f 0 ∥ 1 .
Consequences of the main guarantee
We now specialize Theorem 8 to three regimes: the general agnostic setting, realizability, and favorable misspecification. Each specialization represents a different aspect of the guarantee.
General agnostic guarantee. We first consider the general agnostic setting, where we impose no additional relationship between η \eta η and F \mathcal{F} F or any additional condition on the L 1 L_1 L 1 -optimal predictor f ⋆ ∈ a r g m i n f ∈ F ε 1 ( f ) f_\star\in\mathop{\rm arg\,min}_{f\in\mathcal{F}}\varepsilon_1(f) f ⋆ ∈ arg min f ∈ F ε 1 ( f ) , beyond the basic assumptions of Section 2. By Lemma 6 , B P ( f ⋆ ) ≤ ε 1 ( f ⋆ ) = ε 1 , ⋆ B_P(f_\star)\le\varepsilon_1(f_\star)=\varepsilon_{1,\star} B P ( f ⋆ ) ≤ ε 1 ( f ⋆ ) = ε 1 , ⋆ . Combining this bound with (18) gives the following guarantee.
Corollary 9 (General agnostic guarantee). Under the assumptions of Theorem 8 , with probability at least 1 − δ 1-\delta 1 − δ ,
ε 1 ( f ^ ) ≤ 3 ε 1 , ⋆ + r n ( f ⋆ , δ ) , (20) \varepsilon_1(\hat{f}) \le3\varepsilon_{1,\star}+r_n(f_\star,\delta), \tag*{(20)} ε 1 ( f ^ ) ≤ 3 ε 1 , ⋆ + r n ( f ⋆ , δ ) , (20) where r n ( f ⋆ , δ ) r_n(f_\star,\delta) r n ( f ⋆ , δ ) is given explicitly in Corollary 18 and satisfies r n ( f ⋆ , δ ) → 0 r_n(f_\star,\delta)\to0 r n ( f ⋆ , δ ) → 0 as n → ∞ n\to\infty n → ∞ with P P P , F \mathcal{F} F , and δ \delta δ fixed.
Thus, without assuming realizability or any additional property of the L 1 L_1 L 1 -optimal predictor, SBR achieves the basic goal (1) with approximation factor 3. The estimation term is f ⋆ f_\star f ⋆ -dependent and retains variance adaptation through the residual second moment v ( f ⋆ ) v(f_\star) v ( f ⋆ ) . The factor 3 in (20) is obtained by optimizing the analysis parameter ρ \rho ρ in Theorem 8 , as detailed in Corollary 18. We return to the optimality of the factor 3 in § 5 .
Realizable case. We next consider the realizable setting, where η ∈ F \eta\in\mathcal{F} η ∈ F . Taking f 0 = η f_0=\eta f 0 = η in Theorem 8 gives ε 1 ( η ) = 0 \varepsilon_1(\eta)=0 ε 1 ( η ) = 0 and B P ( η ) = 0 B_P(\eta)=0 B P ( η ) = 0 . Moreover, by (16) ,
v ( η ) = sup h ∈ F E [ σ 2 ( X ) 1 { h ( X ) ≠ η ( X ) } ] ≤ σ ˉ 2 , v(\eta)=\sup_{h\in\mathcal{F}}\mathbb{E}\left[\sigma^2(X)\mathbf{1}\{h(X)\ne\eta(X)\}\right]\le\bar{\sigma}^2, v ( η ) = h ∈ F sup E [ σ 2 ( X ) 1 { h ( X ) = η ( X )} ] ≤ σ ˉ 2 ,
where σ ˉ 2 = E [ σ 2 ( X ) ] \bar{\sigma}^2=\mathbb{E}[\sigma^2(X)] σ ˉ 2 = E [ σ 2 ( X )] is the average conditional label variance. Thus, under realizability, the approximation terms vanish and the estimation error adapts directly to the conditional label variance.
Corollary 10 (Realizable guarantee). Under the assumptions of Theorem 8 , suppose that ( P , F ) (P,\mathcal{F}) ( P , F ) is realizable. Then, for every δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) , with probability at least 1 − δ 1-\delta 1 − δ , simultaneously for every ρ > 0 \rho>0 ρ > 0 ,
ε 1 ( f ^ ) ≤ ( 2 + ρ ) 2 v ( η ) log ( 2 ∣ F ∣ 2 / δ ) n + C ρ log ( 2 ∣ F ∣ 2 / δ ) n \varepsilon_1(\hat{f})\le(2+\rho)\sqrt{\frac{2v(\eta)\log(2|\mathcal{F}|^2/\delta)}{n}}+C_\rho\frac{\log(2|\mathcal{F}|^2/\delta)}{n} ε 1 ( f ^ ) ≤ ( 2 + ρ ) n 2 v ( η ) log ( 2∣ F ∣ 2 / δ ) + C ρ n log ( 2∣ F ∣ 2 / δ ) ≤ ( 2 + ρ ) 2 σ ˉ 2 log ( 2 ∣ F ∣ 2 / δ ) n + C ρ log ( 2 ∣ F ∣ 2 / δ ) n . (21) \le(2+\rho)\sqrt{\frac{2\bar{\sigma}^2\log(2|\mathcal{F}|^2/\delta)}{n}}+C_\rho\frac{\log(2|\mathcal{F}|^2/\delta)}{n}. \tag*{(21)} ≤ ( 2 + ρ ) n 2 σ ˉ 2 log ( 2∣ F ∣ 2 / δ ) + C ρ n log ( 2∣ F ∣ 2 / δ ) . (21)
The second bound in (21) recovers, up to constants, the realizable variance-adaptive rate established by Li et al. [17 ] , where the estimation error for their betting loss scales as σ ˉ 2 log ( ∣ F ∣ / δ ) / n + log ( ∣ F ∣ / δ ) / n \sqrt{\bar{\sigma}^2\log(|\mathcal{F}|/\delta)/n}+\log(|\mathcal{F}|/\delta)/n σ ˉ 2 log ( ∣ F ∣/ δ ) / n + log ( ∣ F ∣/ δ ) / n . Moreover, the localized quantity v ( η ) v(\eta) v ( η ) can be smaller than the global average conditional variance σ ˉ 2 \bar{\sigma}^2 σ ˉ 2 , since it includes label variance only on regions where some predictor in F \mathcal{F} F disagrees with η \eta η . Thus, our Sign-Betting Regression retains the favorable noise adaptation available under realizability while extending the guarantee to misspecified classes.
Favorable misspecification. Finally, because the approximation term in Theorem 8 depends on B P ( f 0 ) B_P(f_0) B P ( f 0 ) rather than only on ε 1 ( f 0 ) \varepsilon_1(f_0) ε 1 ( f 0 ) , the guarantee can be substantially sharper on favorable misspecified instances. Suppose that an L 1 L_1 L 1 -optimal predictor f ⋆ ∈ arg min f ∈ F ε 1 ( f ) f_\star\in\arg\min_{f\in\mathcal{F}}\varepsilon_1(f) f ⋆ ∈ arg min f ∈ F ε 1 ( f ) satisfies B P ( f ⋆ ) = 0 B_P(f_\star)=0 B P ( f ⋆ ) = 0 . Taking f 0 = f ⋆ f_0=f_\star f 0 = f ⋆ gives the following result.
Corollary 11 (Favorable misspecification). Under the assumptions of Theorem 8 , suppose that f ⋆ ∈ arg min f ∈ F ε 1 ( f ) f_\star\in\arg\min_{f\in\mathcal{F}}\varepsilon_1(f) f ⋆ ∈ arg min f ∈ F ε 1 ( f ) satisfies B P ( f ⋆ ) = 0 B_P(f_\star)=0 B P ( f ⋆ ) = 0 . Then, for every δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) , with probability at least 1 − δ 1-\delta 1 − δ , simultaneously for every ρ > 0 \rho>0 ρ > 0 ,
ε 1 ( f ^ ) ≤ ε 1 , ⋆ + ( 2 + ρ ) 2 v ( f ⋆ ) log ( 2 ∣ F ∣ 2 / δ ) n + C ρ log ( 2 ∣ F ∣ 2 / δ ) n . (22) \varepsilon_1(\hat{f})\le\varepsilon_{1,\star}+(2+\rho)\sqrt{\frac{2v(f_\star)\log(2|\mathcal{F}|^2/\delta)}{n}}+C_\rho\frac{\log(2|\mathcal{F}|^2/\delta)}{n}. \tag*{(22)} ε 1 ( f ^ ) ≤ ε 1 , ⋆ + ( 2 + ρ ) n 2 v ( f ⋆ ) log ( 2∣ F ∣ 2 / δ ) + C ρ n log ( 2∣ F ∣ 2 / δ ) . (22)
Thus, even when ε 1 , ⋆ > 0 \varepsilon_{1,\star}>0 ε 1 , ⋆ > 0 , SBR achieves approximation factor 1 on such misspecified instances while retaining a variance-adaptive estimation term. We give a sufficient condition under which an L 1 L_1 L 1 -optimal predictor satisfies B P ( f ⋆ ) = 0 B_P(f_\star)=0 B P ( f ⋆ ) = 0 under genuine misspecification in Appendix § 8.10 .
Optimality of the universal proper approximation factor
Corollary 9 shows that SBR achieves approximation factor 3 while retaining the variance-adaptive, comparator-dependent estimation term inherited from Theorem 8 . To characterize whether this factor can be improved by a different proper learner, it is useful to first record a coarser consequence in which the estimation term is uniform over the underlying distribution. This places the upper bound in the same distribution-free framework as the lower bound developed below: for any target accuracy ε > 0 \varepsilon>0 ε > 0 , the sample size required to guarantee ε 1 ( f ^ ) ≤ 3 ε 1 , ⋆ + ε \varepsilon_1(\hat{f})\le3\varepsilon_{1,\star}+\varepsilon ε 1 ( f ^ ) ≤ 3 ε 1 , ⋆ + ε depends only on ∣ F ∣ |\mathcal{F}| ∣ F ∣ , ε \varepsilon ε , and the confidence level δ \delta δ , and not on the underlying distribution P P P . We then show that no proper learner can replace the factor 3 by any universal constant strictly smaller than 3.
Corollary 12 (Uniform achievability of approximation factor three). Under the assumptions of Theorem 8 , there exists a universal constant C > 0 C > 0 C > 0 such that, for every δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) , with probability at least 1 − δ 1-\delta 1 − δ ,
ε 1 ( f ^ ) ≤ 3 ε 1 , ∗ + C log ( 2 ∣ F ∣ 2 / δ ) n . (23) \varepsilon_1(\hat{f}) \le3\varepsilon_{1,*} + C\sqrt{\frac{\log(2|\mathcal{F}|^2/\delta)}{n}}. \tag*{(23)} ε 1 ( f ^ ) ≤ 3 ε 1 , ∗ + C n log ( 2∣ F ∣ 2 / δ ) . (23)
We defer the proof to Appendix K.1. Note that, unlike Corollary 9, the estimation term in (23) depends only on n n n , ∣ F ∣ |\mathcal{F}| ∣ F ∣ , and δ \delta δ , and is therefore distribution-independent. For fixed F \mathcal{F} F and δ \delta δ , it vanishes as n → ∞ n \to\infty n → ∞ uniformly over all distributions P P P . Corollary 12 shows that approximation factor 3 is achievable by a proper learner with a distribution-independent estimation term. We next show that this factor is sharp: no proper learning algorithm can achieve a universal approximation factor strictly smaller than 3, even if the estimation term is allowed to vanish arbitrarily slowly with the sample size.
Theorem 13 (Sharp lower bound for proper learning). Fix any C ∈ [ 1 , 3 ) C \in[1,3) C ∈ [ 1 , 3 ) . There exist a measurable input space X \mathcal{X} X , a fixed two-element class F C ⊆ { f : X → [ 0 , 1 ] } \mathcal{F}_C \subseteq\{f:\mathcal{X}\to[0,1]\} F C ⊆ { f : X → [ 0 , 1 ]} , independent of the sample size, and a constant ε C > 0 \varepsilon_C > 0 ε C > 0 such that the following holds. For every n ≥ 1 n \ge1 n ≥ 1 and every possibly randomized proper learner f ^ n ∈ F C \hat{f}_n \in\mathcal{F}_C f ^ n ∈ F C based on n n n i.i.d. observations, there exists a distribution P P P on X × { 0 , 1 } \mathcal{X} \times\{0,1\} X × { 0 , 1 } , with finitely supported marginal P X P_X P X , such that
P ( ε 1 ( f ^ n ) > C ε 1 , ∗ + ε C ) ≥ 3 8 . (24) \mathbb{P}\left(\varepsilon_1(\hat{f}_n)>C\varepsilon_{1,*}+\varepsilon_C\right)\ge\frac{3}{8}. \tag*{(24)} P ( ε 1 ( f ^ n ) > C ε 1 , ∗ + ε C ) ≥ 8 3 . (24) The probability in (24) includes any internal randomization of the learner.
Theorem 13 is a lower bound on proper learning itself, rather than on SBR or on any particular proper learning algorithm. It rules out any uniform high-probability guarantee of the form
ε 1 ( f ^ n ) ≤ C ε 1 , ∗ + r n ( F , δ ) , C ∈ [ 0 , 3 ) , (25) \varepsilon_1(\hat{f}_n) \le C\varepsilon_{1,*}+r_n(\mathcal{F},\delta), \qquad C\in[0,3), \tag*{(25)} ε 1 ( f ^ n ) ≤ C ε 1 , ∗ + r n ( F , δ ) , C ∈ [ 0 , 3 ) , (25)
where the estimation term r n ( F , δ ) r_n(\mathcal{F},\delta) r n ( F , δ ) is independent of P P P and satisfies r n ( F , δ ) → 0 r_n(\mathcal{F},\delta)\to0 r n ( F , δ ) → 0 as n → ∞ n\to\infty n → ∞ for every fixed F \mathcal{F} F and δ \delta δ . Notably, the impossibility holds regardless of how slowly the estimation term r n ( F , δ ) r_n(\mathcal{F},\delta) r n ( F , δ ) vanishes with n n n . Together with Corollary 12, this shows that 3 is the smallest universal approximation factor achievable by proper learners under the distribution-free, high-probability criterion considered here. We defer the proof of Theorem 13, together with the formal derivation of the impossibility of (25), to Appendix K.2 and Appendix K.3, respectively.
Beyond finite classes
The variance-adaptive guarantee of SBR extends beyond finite hypothesis classes. The extension is governed by the pseudo-dimension of the hypothesis class F \mathcal{F} F and the VC dimension of its induced pairwise comparison class. Define C F : = { x ↦ 1 { h ( x ) > f ( x ) } : f , h ∈ F } \mathcal{C}_{\mathcal{F}}:=\{x\mapsto\mathbf{1}\{h(x)>f(x)\}:f,h\in\mathcal{F}\} C F := { x ↦ 1 { h ( x ) > f ( x )} : f , h ∈ F } , and let d p r e d : = Pdim ( F ) d_{\mathrm{pred}}:=\operatorname{Pdim}(\mathcal{F}) d pred := Pdim ( F ) be the pseudo-dimension of F \mathcal{F} F , d c m p : = VCdim ( C F ) d_{\mathrm{cmp}}:=\operatorname{VCdim}(\mathcal{C}_{\mathcal{F}}) d cmp := VCdim ( C F ) be the VC dimension of C F \mathcal{C}_{\mathcal{F}} C F .
Theorem 14 (Variance-adaptive guarantee beyond finite classes). Let F \mathcal{F} F be a class of measurable functions from X \mathcal{X} X to [ 0 , 1 ] [0,1] [ 0 , 1 ] , suppose d p r e d , d c m p < ∞ d_{\mathrm{pred}},d_{\mathrm{cmp}}<\infty d pred , d cmp < ∞ , and suppose the minimum in (10) is attained. Write d : = 1 + d p r e d + d c m p d:=1+d_{\mathrm{pred}}+d_{\mathrm{cmp}} d := 1 + d pred + d cmp . For ρ > 0 \rho>0 ρ > 0 , let C ρ C\rho C ρ be as in Theorem 8. There exists a universal constant c > 0 c>0 c > 0 such that, for every δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) , letting α δ : = c d log ( e n ) + log ( 2 / δ ) n \alpha_\delta:=c\frac{d\log(en)+\log(2/\delta)}{n} α δ := c n d l o g ( e n ) + l o g ( 2/ δ ) , with probability at least 1 − δ 1-\delta 1 − δ , the following holds simultaneously for every ρ > 0 \rho>0 ρ > 0 :
ε 1 ( f ^ ) ≤ inf f 0 ∈ F { ε 1 ( f 0 ) + ( 2 + ρ ) B P ( f 0 ) + ( 2 + ρ ) 2 v ( f 0 ) α δ } + C ρ α δ . (26) \varepsilon_1(\hat{f})\le\inf_{f_0\in\mathcal{F}}\left\{\varepsilon_1(f_0)+(2+\rho)B_P(f_0)+(2+\rho)\sqrt{2v(f_0)\alpha_\delta}\right\}+C\rho\alpha_\delta. \tag*{(26)} ε 1 ( f ^ ) ≤ f 0 ∈ F inf { ε 1 ( f 0 ) + ( 2 + ρ ) B P ( f 0 ) + ( 2 + ρ ) 2 v ( f 0 ) α δ } + C ρ α δ . (26)
Thus, the same approximation terms and comparator-dependent variance adaptation of Theorem 8 continue to hold for infinite classes satisfying these complexity conditions, with the finite-class log-cardinality dependence replaced by a complexity term d d d , which captures both prediction and comparison complexity of the hypothesis class F \mathcal{F} F . Appendix L provides the proof and verifies the required complexity bounds for bounded linear, logistic, and sparse prediction classes as examples.
Conclusion
We studied conditional-mean regression under model misspecification with population L 1 L_1 L 1 error as the target metric. We showed that several standard regression objectives do not, in general, provide a constant-factor L 1 L_1 L 1 oracle guarantee under misspecification. In contrast, the min–max pairwise estimator of Baraud & Maillard (2025), which we call Sign-Betting Regression , admits high-probability L 1 L_1 L 1 oracle inequalities with comparator-dependent estimation terms. Under realizability, these bounds recover the variance-adaptive rates established by Li et al. [17 ] . We further showed that the resulting approximation factor 3 is optimal for proper learning: no proper learner can achieve any universal approximation factor strictly below 3 in a distribution-free high-probability L 1 L_1 L 1 oracle inequality with a vanishing estimation term. We also extended the upper bound beyond finite classes using prediction and pairwise-comparison complexity measures. Experiments in Appendix § 8.13 illustrate the behavior of Sign-Betting Regression in synthetic and real-data model-selection settings. Together, these results provide a sharp statistical characterization of proper L 1 L_1 L 1 conditional-mean learning under misspecification.
Appendix
Downstream implications of L 1 L_1 L 1 conditional-mean accuracy
For completeness, we record several elementary consequences of controlling the L 1 L_1 L 1 error
ε 1 ( f ) : = E [ ∣ f ( X ) − η ( X ) ∣ ] , η ( x ) : = E [ Y ∣ X = x ] . \varepsilon_1(f) := \mathbb{E}\left[|f(X)-\eta(X)|\right], \qquad\eta(x) := \mathbb{E}[Y \mid X=x]. ε 1 ( f ) := E [ ∣ f ( X ) − η ( X ) ∣ ] , η ( x ) := E [ Y ∣ X = x ] .
These observations motivate our choice of performance criterion.
Binary classification. Suppose Y ∈ { 0 , 1 } Y \in\{0,1\} Y ∈ { 0 , 1 } , so that η ( x ) = P ( Y = 1 ∣ X = x ) \eta(x) = \mathbb{P}(Y = 1 \mid X = x) η ( x ) = P ( Y = 1 ∣ X = x ) . Let
g f ( x ) : = 1 { f ( x ) ≥ 1 / 2 } , g ⋆ ( x ) : = 1 { η ( x ) ≥ 1 / 2 } . g_f(x) := 1\{f(x) \ge1/2\}, \qquad g^\star(x) := 1\{\eta(x) \ge1/2\}. g f ( x ) := 1 { f ( x ) ≥ 1/2 } , g ⋆ ( x ) := 1 { η ( x ) ≥ 1/2 } .
Then
R c l s ( g f ) − R c l s ( g ⋆ ) ≤ 2 ε 1 ( f ) . (27) R_{\mathrm{cls}}(g_f) - R_{\mathrm{cls}}(g^\star) \le2\varepsilon_1(f). \tag*{(27)} R cls ( g f ) − R cls ( g ⋆ ) ≤ 2 ε 1 ( f ) . (27)
where R c l s ( g ) : = P ( g ( X ) ≠ Y ) R_{\mathrm{cls}}(g) := \mathbb{P}(g(X) \ne Y) R cls ( g ) := P ( g ( X ) = Y ) . Indeed, the standard excess-risk identity gives
R c l s ( g f ) − R c l s ( g ⋆ ) = E [ ∣ 2 η ( X ) − 1 ∣ 1 { g f ( X ) ≠ g ⋆ ( X ) } ] . R_{\mathrm{cls}}(g_f) - R_{\mathrm{cls}}(g^\star) = \mathbb{E}\left[|2\eta(X)-1|1\{g_f(X) \ne g^\star(X)\}\right]. R cls ( g f ) − R cls ( g ⋆ ) = E [ ∣2 η ( X ) − 1∣1 { g f ( X ) = g ⋆ ( X )} ] .
Whenever g f ( X ) ≠ g ⋆ ( X ) g_f(X) \ne g^\star(X) g f ( X ) = g ⋆ ( X ) , the values f ( X ) f(X) f ( X ) and η ( X ) \eta(X) η ( X ) lie on opposite sides of 1 / 2 1/2 1/2 , and hence
∣ η ( X ) − 1 / 2 ∣ ≤ ∣ η ( X ) − f ( X ) ∣ . |\eta(X)-1/2| \le|\eta(X)-f(X)|. ∣ η ( X ) − 1/2∣ ≤ ∣ η ( X ) − f ( X ) ∣.
Therefore,
∣ 2 η ( X ) − 1 ∣ 1 { g f ( X ) ≠ g ⋆ ( X ) } ≤ 2 ∣ η ( X ) − f ( X ) ∣ , |2\eta(X)-1|1\{g_f(X) \ne g^\star(X)\} \le2|\eta(X)-f(X)|, ∣2 η ( X ) − 1∣1 { g f ( X ) = g ⋆ ( X )} ≤ 2∣ η ( X ) − f ( X ) ∣ ,
which proves (27); see also Audibert & Tsybakov (2007).
Calibration and subpopulation prediction errors. Consider the population L 1 L_1 L 1 calibration error
C E 1 ( f ) : = E [ ∣ E [ Y ∣ f ( X ) ] − f ( X ) ∣ ] . \mathrm{CE}_1(f) := \mathbb{E}\left[\left|\mathbb{E}[Y \mid f(X)]-f(X)\right|\right]. CE 1 ( f ) := E [ ∣ E [ Y ∣ f ( X )] − f ( X ) ∣ ] .
Since
E [ Y ∣ f ( X ) ] = E [ η ( X ) ∣ f ( X ) ] , \mathbb{E}[Y \mid f(X)] = \mathbb{E}[\eta(X) \mid f(X)], E [ Y ∣ f ( X )] = E [ η ( X ) ∣ f ( X )] ,
conditional Jensen’s inequality yields
C E 1 ( f ) = E [ ∣ E [ η ( X ) − f ( X ) ∣ f ( X ) ] ∣ ] ≤ E ∣ η ( X ) − f ( X ) ∣ = ε 1 ( f ) . (28) \mathrm{CE}_1(f) = \mathbb{E}\left[\left|\mathbb{E}[\eta(X)-f(X) \mid f(X)]\right|\right]
\le\mathbb{E}|\eta(X)-f(X)| = \varepsilon_1(f). \tag*{(28)} CE 1 ( f ) = E [ ∣ E [ η ( X ) − f ( X ) ∣ f ( X )] ∣ ] ≤ E ∣ η ( X ) − f ( X ) ∣ = ε 1 ( f ) . (28)
More generally, for every measurable subpopulation G ⊆ X G \subseteq\mathcal{X} G ⊆ X ,
∣ E [ ( Y − f ( X ) ) 1 { X ∈ G } ] ∣ = ∣ E [ ( η ( X ) − f ( X ) ) 1 { X ∈ G } ] ∣ ≤ E [ ∣ η ( X ) − f ( X ) ∣ 1 { X ∈ G } ] ≤ ε 1 ( f ) . (29) \left|\mathbb{E}[(Y-f(X))1\{X \in G\}]\right|
= \left|\mathbb{E}[(\eta(X)-f(X))1\{X \in G\}]\right|
\le\mathbb{E}[|\eta(X)-f(X)|1\{X \in G\}]
\le\varepsilon_1(f). \tag*{(29)} ∣ E [( Y − f ( X )) 1 { X ∈ G }] ∣ = ∣ E [( η ( X ) − f ( X )) 1 { X ∈ G }] ∣ ≤ E [ ∣ η ( X ) − f ( X ) ∣1 { X ∈ G }] ≤ ε 1 ( f ) . (29)
Equivalently, whenever P ( X ∈ G ) > 0 \mathbb{P}(X \in G)>0 P ( X ∈ G ) > 0 ,
∣ E [ Y − f ( X ) ∣ X ∈ G ] ∣ ≤ ε 1 ( f ) P ( X ∈ G ) . \left|\mathbb{E}[Y-f(X) \mid X \in G]\right| \le\frac{\varepsilon_1(f)}{\mathbb{P}(X \in G)}. ∣ E [ Y − f ( X ) ∣ X ∈ G ] ∣ ≤ P ( X ∈ G ) ε 1 ( f ) .
Thus, small L 1 L_1 L 1 conditional-mean error controls both global calibration error and aggregate residual errors over arbitrary subpopulations. These properties are closely related to the objectives studied in multiaccuracy and multicalibration [13 , 16 ] .
Best-of-N N N selection. We next consider a setting in which f f f serves as a reward model for selecting among a collection of candidate responses. Let X 1 , … , X N X_1,\ldots,X_N X 1 , … , X N be candidate responses, and assume that each X i X_i X i has marginal distribution P X P_X P X . Independence among the candidates is not required. Define
i ⋆ ∈ arg max i ∈ [ N ] η ( X i ) , i ^ ∈ arg max i ∈ [ N ] f ( X i ) , i^\star\in\arg\max_{i\in[N]} \eta(X_i), \qquad\hat{i} \in\arg\max_{i\in[N]} f(X_i), i ⋆ ∈ arg i ∈ [ N ] max η ( X i ) , i ^ ∈ arg i ∈ [ N ] max f ( X i ) ,
with arbitrary tie-breaking. Then
E [ η ( X i ⋆ ) − η ( X i ^ ) ] ≤ N ε 1 ( f ) . (30) \mathbb{E}\left[\eta(X_{i^\star})-\eta(X_{\hat{i}})\right] \le N\varepsilon_1(f). \tag*{(30)} E [ η ( X i ⋆ ) − η ( X i ^ ) ] ≤ N ε 1 ( f ) . (30)
To see this, by the definition of i ^ \hat{i} i ^ ,
f ( X i ⋆ ) − f ( X i ^ ) ≤ 0. f(X_{i^\star})-f(X_{\hat{i}}) \le0. f ( X i ⋆ ) − f ( X i ^ ) ≤ 0.
Hence, samplewise,
η ( X i ⋆ ) − η ( X i ^ ) = η ( X i ⋆ ) − f ( X i ⋆ ) + f ( X i ⋆ ) − f ( X i ^ ) + f ( X i ^ ) − η ( X i ^ ) ≤ ∣ η ( X i ⋆ ) − f ( X i ⋆ ) ∣ + ∣ η ( X i ^ ) − f ( X i ^ ) ∣ ≤ ∑ i = 1 N ∣ η ( X i ) − f ( X i ) ∣ . \begin{aligned}
\eta(X_{i^\star})-\eta(X_{\hat{i}})
&= \eta(X_{i^\star})-f(X_{i^\star})+f(X_{i^\star})-f(X_{\hat{i}})+f(X_{\hat{i}})-\eta(X_{\hat{i}}) \\
&\le|\eta(X_{i^\star})-f(X_{i^\star})|+|\eta(X_{\hat{i}})-f(X_{\hat{i}})| \\
&\le\sum_{i=1}^{N}|\eta(X_i)-f(X_i)|.
\end{aligned} η ( X i ⋆ ) − η ( X i ^ ) = η ( X i ⋆ ) − f ( X i ⋆ ) + f ( X i ⋆ ) − f ( X i ^ ) + f ( X i ^ ) − η ( X i ^ ) ≤ ∣ η ( X i ⋆ ) − f ( X i ⋆ ) ∣ + ∣ η ( X i ^ ) − f ( X i ^ ) ∣ ≤ i = 1 ∑ N ∣ η ( X i ) − f ( X i ) ∣.
Taking expectations and using the common marginal distribution of the X i X_i X i ’s gives
E [ η ( X i ⋆ ) − η ( X i ) ] ≤ ∑ i = 1 N E ∣ η ( X i ) − f ( X i ) ∣ = N ε 1 ( f ) . \mathbb{E}\left[\eta(X_{i^\star})-\eta(X_i)\right]\leq\sum_{i=1}^{N}\mathbb{E}\left|\eta(X_i)-f(X_i)\right|=N\varepsilon_1(f). E [ η ( X i ⋆ ) − η ( X i ) ] ≤ i = 1 ∑ N E ∣ η ( X i ) − f ( X i ) ∣ = N ε 1 ( f ) .
Thus, L 1 L_1 L 1 accuracy of a reward model yields a direct guarantee for Best-of-N N N selection. The bound requires only control of the marginal prediction error of each candidate and does not require independence among the candidates. This provides one connection between the regression criterion studied here and recent analyses of inference-time selection with imperfect reward models [15 ] .
Related work
Closest prior work: fixed-design sign-based regression. The closest work to ours is Baraud & Maillard (2025), who introduce the same minimax signed-residual estimator, up to normalization and sign conventions, in a fixed-design regression setting. Their design points are deterministic, while the errors are independent but may be non-identically distributed, heteroscedastic, and heavy-tailed; only a finite moment of order p ∈ [ 1 , 2 ] p \in[1,2] p ∈ [ 1 , 2 ] is required. They establish nonasymptotic oracle inequalities for the expected L 1 L_1 L 1 error evaluated on the observed design points. Their bounds already accommodate model misspecification, incur an approximation factor three, and adapt to averaged noise moments and to comparator-dependent complexity of the associated comparison sets.
Our statistical target and questions are different. We consider i.i.d. random design and study the population error ∥ f − η ∥ L 1 ( P X ) \|f-\eta\|_{L_1(P_X)} ∥ f − η ∥ L 1 ( P X ) rather than error restricted to the observed design points. We establish distribution-free, high-probability population oracle inequalities whose second-order terms retain both directional approximation geometry and disagreement-localized residual moments. In addition, we study the information-theoretic approximation factor achievable by arbitrary proper learners and prove that no proper learner can universally improve on factor three under our high-probability learning criterion. Appendix I gives a more detailed comparison. In particular, conditioning on the random covariates and applying the fixed-design result as a black box, followed by ordinary uniform convergence, yields a population bound with an additional variance-independent n − 1 / 2 n^{-1/2} n − 1/2 generalization term. Our direct random-design analysis avoids this crude global penalty through a localized treatment of the empirical-to-population transition.
Conditional-mean estimation and regression under misspecification. Our target,
ε 1 ( f ) = E ∣ f ( X ) − η ( X ) ∣ , η ( x ) = E [ Y ∣ X = x ] , \varepsilon_1(f)=\mathbb{E}\left|f(X)-\eta(X)\right|,\qquad\eta(x)=\mathbb{E}[Y\mid X=x], ε 1 ( f ) = E ∣ f ( X ) − η ( X ) ∣ , η ( x ) = E [ Y ∣ X = x ] ,
should be distinguished from minimizing an observable loss such as E ∣ Y − f ( X ) ∣ \mathbb{E}|Y-f(X)| E ∣ Y − f ( X ) ∣ . The distinction between a statistical functional and the loss used to elicit it is classical: squared loss elicits the conditional mean, whereas absolute loss elicits a conditional median (Gneiting, 2011). More generally, losses that correctly identify the conditional mean under unrestricted optimization can induce a different approximation geometry once optimization is restricted to a misspecified class. For example, squared-loss minimization projects η \eta η onto the model class in squared L 2 L_2 L 2 distance rather than in L 1 L_1 L 1 distance.
Finite-sample L 1 L_1 L 1 estimation of binary class probabilities through empirical risk minimization with probability-estimation losses was studied by Mey & Loog [18 ] , including a discussion of model misspecification. Their perspective starts from a surrogate loss and studies the probability estimate induced by minimizing that loss. Under misspecification, the resulting population optimizer is therefore determined by the geometry of the chosen surrogate. Our benchmark instead fixes the target metric first and asks to compete directly with
ε 1 , ∗ = inf f ∈ F ∥ η − f ∥ L 1 ( P X ) . \varepsilon_{1,*}=\inf_{f\in\mathcal{F}}\|\eta-f\|_{L_1(P_X)}. ε 1 , ∗ = f ∈ F inf ∥ η − f ∥ L 1 ( P X ) .
This distinction motivates our negative results for standard regression objectives: a loss may be well suited for estimating the conditional mean under realizability while failing to provide any universal constant-factor approximation to the best L 1 L_1 L 1 predictor in a misspecified class.
First- and second-order regression guarantees. A related line of work studies statistical guarantees that improve when the underlying prediction or decision problem is favorable. In cost-sensitive classification and contextual bandits, Foster & Krishnamurthy [9 ] show that log-loss regression and triangular discrimination can yield first-order guarantees whose leading term adapts to the performance of the optimal decision rule. For bounded regression, Li et al. [17 ] introduce a betting loss and establish variance-adaptive, or second-order, guarantees, improving on first-order dependence by adapting directly to label variance without requiring that variance to be known in advance. The present work asks how such favorable second-order behavior interacts with model misspecification . In particular, the relevant second-order quantity under misspecification is no longer determined by label variance alone: our bound also reflects the approximation residual and the regions on which competing predictors disagree with a comparator. At the same time, we require linear control of the best L 1 L_1 L 1 approximation error. As shown in § 3 , these two goals need not be inherited by regression objectives that have favorable guarantees in realizable settings.
Although we use the term sign betting , SBR should also be distinguished from the betting loss of Li et al. [17 ] . The two objectives are different. SBR compares a candidate f f f against competitors h h h through signed residual statistics of the form
( Y − f ( X ) ) sign ( h ( X ) − f ( X ) ) , (Y-f(X))\operatorname{sign}(h(X)-f(X)), ( Y − f ( X )) sign ( h ( X ) − f ( X )) ,
and minimizes the worst such comparison. The resulting population identity directly exposes the L 1 L_1 L 1 distance between competing predictors. This pairwise comparison structure is what permits the misspecified oracle analysis developed here.
Minimum-distance estimation, pairwise testing, and the factor three. The pairwise-comparison structure of SBR has close antecedents in minimum-distance and testing-based estimation. In density estimation, Yatracos [25 ] developed minimum-distance procedures based on sets that distinguish pairs of candidate densities, leading to constant-factor L 1 L_1 L 1 or total-variation oracle guarantees. Related testing-based ideas underlie more recent robust L 1 L_1 L 1 density estimators, including Baraud et al. [6 ] , and form part of the methodological lineage of the regression estimator of Baraud & Maillard (2025). These methods share the principle that, rather than minimizing the target loss directly, one constructs pairwise tests or signed statistics whose expectations reveal which candidate is closer to the target.
The appearance of approximation factor three also has a particularly close parallel in density hypothesis selection. Bousquet et al. [7 ] show that, when an estimator is required to output one of the candidate densities, factor three is the optimal universal approximation factor in total variation, even for a class containing only two candidates; if improper outputs are allowed, the optimal factor improves to two. There is a useful metric correspondence between their problem and ours. For a fixed covariate marginal P X P_X P X , associate a predictor f f f with the joint distribution
Q f ( d x , d y ) : = P X ( d x ) Bernoulli ( f ( x ) ( d y ) . Q_f(dx,dy) := P_X(dx)\operatorname{Bernoulli}(f(x)(dy). Q f ( d x , d y ) := P X ( d x ) Bernoulli ( f ( x ) ( d y ) .
Then
TV ( Q f , Q η ) ≡ E P X ∣ f ( X ) − η ( X ) ∣ = ε 1 ( f ) . \operatorname{TV}(Q_f,Q_\eta) \equiv\mathbb{E}_{P_X}|f(X)-\eta(X)| = \varepsilon_1(f). TV ( Q f , Q η ) ≡ E P X ∣ f ( X ) − η ( X ) ∣ = ε 1 ( f ) .
Thus the same factor-three geometry appears naturally in the two problems.
The statistical models are nevertheless different. Density hypothesis selection assumes access to fully specified candidate distributions, whereas our candidates specify conditional-mean functions and the covariate marginal P X P_X P X is itself unknown and sampled as part of the regression problem. Moreover, our lower bound concerns a uniform, high-probability regression oracle inequality with a distribution-independent vanishing remainder. Accordingly, our proper-learning lower bound is proved directly rather than by invoking the density-estimation result. The connection to Bousquet et al. [7 ] should therefore be viewed as identifying a common proper-versus-improper approximation phenomenon rather than as an equivalence of the two learning problems.
Calibration, subgroup accuracy, and downstream decision making. Finally, the L 1 L_1 L 1 conditional-mean criterion has connections to several other prediction objectives. Small ε 1 ( f ) \varepsilon_1(f) ε 1 ( f ) controls aggregate residuals over every measurable subpopulation, relating it to multiaccuracy ([16 ] ) and multicalibration ([13 ] ). For binary responses it also controls the excess error of the plug-in classifier, while when f f f serves as a reward model it controls the regret of selecting the largest predicted reward among a finite collection of candidates. The latter connects to recent work on the statistical behavior of Best-of-N N N and other inference-time selection procedures under imperfect reward models ([15 ] ). These connections motivate the choice of L 1 ( P X ) L_1(P_X) L 1 ( P X ) error as our primary statistical target; their elementary derivations are collected in Appendix A.
Proofs and Additional Results for Squared-Loss ERM
Proof of Proposition 1
We note that a generic uniform-convergence analysis of squared loss followed by the conversion ε 1 ( f ) ≤ ε 2 ( f ) \varepsilon_1(f) \le\varepsilon_2(f) ε 1 ( f ) ≤ ε 2 ( f ) yields only an O ( n − 1 / 4 ) O(n^{-1/4}) O ( n − 1/4 ) statistical term. To show O ( n − 1 / 2 ) O(n^{-1/2}) O ( n − 1/2 ) rate in Proposition 1, our proof proceeds by comparing empirical squared risks pairwise and exploiting the fact that the variance of a squared-loss difference is controlled by the L 2 L_2 L 2 distance between the corresponding predictors.
Proof. For f , g ∈ F f,g \in\mathcal{F} f , g ∈ F , define the pairwise loss difference Δ f , g ( X , Y ) : = ( Y − f ( X ) ) 2 − ( Y − g ( X ) ) 2 \Delta_{f,g}(X,Y) := (Y-f(X))^2-(Y-g(X))^2 Δ f , g ( X , Y ) := ( Y − f ( X ) ) 2 − ( Y − g ( X ) ) 2 . Since Y , f ( X ) , g ( X ) ∈ [ 0 , 1 ] Y,f(X),g(X) \in[0,1] Y , f ( X ) , g ( X ) ∈ [ 0 , 1 ] , we have ∣ Δ f , g ∣ ≤ 1 |\Delta_{f,g}| \le1 ∣ Δ f , g ∣ ≤ 1 , and
Δ f , g 2 = ( f − g ) 2 ( f + g − 2 Y ) 2 ≤ 4 ( f − g ) 2 . \Delta_{f,g}^2=(f-g)^2(f+g-2Y)^2 \le4(f-g)^2. Δ f , g 2 = ( f − g ) 2 ( f + g − 2 Y ) 2 ≤ 4 ( f − g ) 2 .
Hence Var ( Δ f , g ) ≤ 4 ∥ f − g ∥ 2 2 \operatorname{Var}(\Delta_{f,g}) \le4\lVert f-g\rVert_2^2 Var ( Δ f , g ) ≤ 4 ∥ f − g ∥ 2 2 . A one-sided Bernstein inequality and a union bound over all ordered pairs ( f , g ) ∈ F 2 (f,g) \in\mathcal{F}^2 ( f , g ) ∈ F 2 imply that, with probability at least 1 − δ 1-\delta 1 − δ , simultaneously for every f , g ∈ F f,g \in\mathcal{F} f , g ∈ F ,
( P − P n ) Δ f , g ≤ 2 2 ∥ f − g ∥ 2 log ( 2 ∣ F ∣ 2 / δ ) n + 4 log ( 2 ∣ F ∣ 2 / δ ) 3 n . (31) (P-P_n)\Delta_{f,g} \le2\sqrt{2}\lVert f-g\rVert_2\sqrt{\frac{\log(2|\mathcal{F}|^2/\delta)}{n}}+\frac{4\log(2|\mathcal{F}|^2/\delta)}{3n}. \tag*{(31)} ( P − P n ) Δ f , g ≤ 2 2 ∥ f − g ∥ 2 n log ( 2∣ F ∣ 2 / δ ) + 3 n 4 log ( 2∣ F ∣ 2 / δ ) . (31)
Let f s q ∗ ∈ arg min f ∈ F ∥ f − η ∥ 2 f_{\mathrm{sq}}^* \in\arg\min_{f\in\mathcal{F}}\lVert f-\eta\rVert_2 f sq ∗ ∈ arg min f ∈ F ∥ f − η ∥ 2 , so that ∥ f s q ∗ − η ∥ 2 = ε 2 , ∗ \lVert f_{\mathrm{sq}}^*-\eta\rVert_2=\varepsilon_{2,*} ∥ f sq ∗ − η ∥ 2 = ε 2 , ∗ . By the conditional-mean decomposition in (2), for every f , g ∈ F f,g \in\mathcal{F} f , g ∈ F ,
P Δ f , g = ∥ f − η ∥ 2 2 − ∥ g − η ∥ 2 2 . P\Delta_{f,g}=\lVert f-\eta\rVert_2^2-\lVert g-\eta\rVert_2^2. P Δ f , g = ∥ f − η ∥ 2 2 − ∥ g − η ∥ 2 2 .
Moreover, empirical optimality of f ^ s q \widehat{f}_{\mathrm{sq}} f sq gives P n Δ f ^ s q , f s q ∗ ≤ 0 P_n\Delta_{\widehat{f}_{\mathrm{sq}},f_{\mathrm{sq}}^*}\le0 P n Δ f sq , f sq ∗ ≤ 0 . Therefore, on the event (31), writing r : = ∥ f ^ s q − η ∥ 2 r:=\lVert\widehat{f}_{\mathrm{sq}}-\eta\rVert_2 r := ∥ f sq − η ∥ 2 and e : = ε 2 , ∗ e:=\varepsilon_{2,*} e := ε 2 , ∗ , we obtain
r 2 − e 2 ≤ 2 2 ( r + e ) log ( 2 ∣ F ∣ 2 / δ ) n + 4 log ( 2 ∣ F ∣ 2 / δ ) 3 n , r^2-e^2\le2\sqrt{2}(r+e)\sqrt{\frac{\log(2|\mathcal{F}|^2/\delta)}{n}}+\frac{4\log(2|\mathcal{F}|^2/\delta)}{3n}, r 2 − e 2 ≤ 2 2 ( r + e ) n log ( 2∣ F ∣ 2 / δ ) + 3 n 4 log ( 2∣ F ∣ 2 / δ ) ,
where we used ∥ f ^ s q − f s q ∗ ∥ 2 ≤ r + e \lVert\widehat{f}_{\mathrm{sq}}-f_{\mathrm{sq}}^*\rVert_2\le r+e ∥ f sq − f sq ∗ ∥ 2 ≤ r + e .
If r ≤ e r\le e r ≤ e , the desired conclusion is immediate. Otherwise, let q : = r − e > 0 q:=r-e>0 q := r − e > 0 . Since r 2 − e 2 = q ( r + e ) r^2-e^2=q(r+e) r 2 − e 2 = q ( r + e ) and r + e ≥ q r+e\ge q r + e ≥ q , the preceding inequality yields
q 2 ≤ 2 2 q log ( 2 ∣ F ∣ 2 / δ ) n + 4 log ( 2 ∣ F ∣ 2 / δ ) 3 n . q^2\le2\sqrt{2}q\sqrt{\frac{\log(2|\mathcal{F}|^2/\delta)}{n}}+\frac{4\log(2|\mathcal{F}|^2/\delta)}{3n}. q 2 ≤ 2 2 q n log ( 2∣ F ∣ 2 / δ ) + 3 n 4 log ( 2∣ F ∣ 2 / δ ) .
Solving this quadratic inequality gives
q ≤ ( 2 + 10 3 ) log ( 2 ∣ F ∣ 2 / δ ) n . q\le\left(\sqrt{2}+\sqrt{\frac{10}{3}}\right)\sqrt{\frac{\log(2|\mathcal{F}|^2/\delta)}{n}}. q ≤ ( 2 + 3 10 ) n log ( 2∣ F ∣ 2 / δ ) .
Consequently,
∥ f ^ s q − η ∥ 2 ≤ ε 2 , ∗ + ( 2 + 10 3 ) log ( 2 ∣ F ∣ 2 / δ ) n . \lVert\widehat{f}_{\mathrm{sq}}-\eta\rVert_2\le\varepsilon_{2,*}+\left(\sqrt{2}+\sqrt{\frac{10}{3}}\right)\sqrt{\frac{\log(2|\mathcal{F}|^2/\delta)}{n}}. ∥ f sq − η ∥ 2 ≤ ε 2 , ∗ + ( 2 + 3 10 ) n log ( 2∣ F ∣ 2 / δ ) .
Since ε 1 ( f ^ s q ) ≤ ∥ f ^ s q − η ∥ 2 \varepsilon_1(\widehat{f}_{\mathrm{sq}})\le\lVert\widehat{f}_{\mathrm{sq}}-\eta\rVert_2 ε 1 ( f sq ) ≤ ∥ f sq − η ∥ 2 , this proves the first inequality in (3).
For the second inequality, let f 1 ∗ ∈ arg min f ∈ F ε 1 ( f ) f_1^*\in\arg\min_{f\in\mathcal{F}}\varepsilon_1(f) f 1 ∗ ∈ arg min f ∈ F ε 1 ( f ) . Because f 1 ∗ f_1^* f 1 ∗ and η \eta η are [ 0 , 1 ] [0,1] [ 0 , 1 ] -valued, ∣ f 1 ∗ − η ∣ ≤ 1 |f_1^*-\eta|\le1 ∣ f 1 ∗ − η ∣ ≤ 1 , and hence ∥ f 1 ∗ − η ∥ 2 2 ≤ ∥ f 1 ∗ − η ∥ 1 = ε 1 , ∗ \lVert f_1^*-\eta\rVert_2^2\le\lVert f_1^*-\eta\rVert_1=\varepsilon_{1,*} ∥ f 1 ∗ − η ∥ 2 2 ≤ ∥ f 1 ∗ − η ∥ 1 = ε 1 , ∗ . Therefore ε 2 , ∗ ≤ ε 1 , ∗ \varepsilon_{2,*}\le\sqrt{\varepsilon_{1,*}} ε 2 , ∗ ≤ ε 1 , ∗ , which completes the proof.
A population lower bound for squared loss
The following generalizes Proposition 2 and implies that the ε 1 , ∗ \sqrt{\varepsilon_{1,*}} ε 1 , ∗ dependence in Eqn. (3) is unavoidable.
Proposition 15 (Sharpness of the ε 1 , ∗ \sqrt{\varepsilon_{1,*}} ε 1 , ∗ dependence). For every γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) and every p ∈ ( 0 , ( 1 − γ ) 2 ) p \in(0,(1-\gamma)^2) p ∈ ( 0 , ( 1 − γ ) 2 ) , there exists a noiseless regression problem and a two-element class F ⊆ [ 0 , 1 ] X \mathcal{F} \subseteq[0,1]^{\mathcal{X}} F ⊆ [ 0 , 1 ] X such that ε 1 , ∗ = p \varepsilon_{1,*}=p ε 1 , ∗ = p , while the unique population squared-loss minimizer f s q ∗ f_{\mathrm{sq}}^* f sq ∗ satisfies
ε 1 ( f s q ∗ ) = ( 1 − γ ) ε 1 , ∗ . (32) \varepsilon_1(f_{\mathrm{sq}}^*)=(1-\gamma)\sqrt{\varepsilon_{1,*}}. \tag*{(32)} ε 1 ( f sq ∗ ) = ( 1 − γ ) ε 1 , ∗ . (32) Moreover, squared-loss ERM selects f s q ∗ f_{\mathrm{sq}}^* f sq ∗ eventually almost surely as n → ∞ n \to\infty n → ∞ .
Proof. Let X = { a , b } \mathcal{X}=\{a,b\} X = { a , b } with P ( X = b ) = p \mathbb{P}(X=b)=p P ( X = b ) = p and P ( X = a ) = 1 − p \mathbb{P}(X=a)=1-p P ( X = a ) = 1 − p , and let Y = 0 Y=0 Y = 0 almost surely. Thus η ≡ 0 \eta\equiv0 η ≡ 0 . Consider the two predictors f s p i k e , f f l a t ∈ [ 0 , 1 ] X f_{\mathrm{spike}}, f_{\mathrm{flat}} \in[0,1]^{\mathcal{X}} f spike , f flat ∈ [ 0 , 1 ] X defined by f s p i k e ( a ) = 0 f_{\mathrm{spike}}(a)=0 f spike ( a ) = 0 , f s p i k e ( b ) = 1 f_{\mathrm{spike}}(b)=1 f spike ( b ) = 1 , and f f l a t ( x ) = ( 1 − γ ) p f_{\mathrm{flat}}(x)=(1-\gamma)\sqrt{p} f flat ( x ) = ( 1 − γ ) p for both x ∈ X x \in\mathcal{X} x ∈ X . The latter is [ 0 , 1 ] [0,1] [ 0 , 1 ] -valued because p < 1 p<1 p < 1 and γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) .
Their L 1 L_1 L 1 approximation errors are
ε 1 ( f s p i k e ) = p , ε 1 ( f f l a t ) = ( 1 − γ ) p . \varepsilon_1(f_{\mathrm{spike}})=p,\qquad\varepsilon_1(f_{\mathrm{flat}})=(1-\gamma)\sqrt{p}. ε 1 ( f spike ) = p , ε 1 ( f flat ) = ( 1 − γ ) p .
Since p < ( 1 − γ ) 2 p<(1-\gamma)^2 p < ( 1 − γ ) 2 , we have p < ( 1 − γ ) p p<(1-\gamma)\sqrt{p} p < ( 1 − γ ) p . Hence f s p i k e f_{\mathrm{spike}} f spike is the unique L 1 L_1 L 1 -optimal element of F : = { f s p i k e , f f l a t } \mathcal{F}:=\{f_{\mathrm{spike}},f_{\mathrm{flat}}\} F := { f spike , f flat } and ε 1 , ∗ = p \varepsilon_{1,*}=p ε 1 , ∗ = p .
On the other hand, because the regression problem is noiseless with η ≡ 0 \eta\equiv0 η ≡ 0 , population squared risk equals squared L 2 L_2 L 2 error. For the two predictors,
E [ ( Y − f s p i k e ( X ) ) 2 ] = p , E [ ( Y − f f l a t ( X ) ) 2 ] = ( 1 − γ ) 2 p < p . \mathbb{E}[(Y-f_{\mathrm{spike}}(X))^2]=p,\qquad\mathbb{E}[(Y-f_{\mathrm{flat}}(X))^2]=(1-\gamma)^2p<p. E [( Y − f spike ( X ) ) 2 ] = p , E [( Y − f flat ( X ) ) 2 ] = ( 1 − γ ) 2 p < p .
Therefore f f l a t f_{\mathrm{flat}} f flat is the unique population squared-loss minimizer, so f s q ∗ = f f l a t f_{\mathrm{sq}}^*=f_{\mathrm{flat}} f sq ∗ = f flat . Consequently,
ε 1 ( f s q ∗ ) = ( 1 − γ ) p = ( 1 − γ ) ε 1 , ∗ , \varepsilon_1(f_{\mathrm{sq}}^*)=(1-\gamma)\sqrt{p}=(1-\gamma)\sqrt{\varepsilon_{1,*}}, ε 1 ( f sq ∗ ) = ( 1 − γ ) p = ( 1 − γ ) ε 1 , ∗ ,
which proves (32).
It remains to verify the statement for empirical squared-loss ERM. The empirical squared loss of f f l a t f_{\mathrm{flat}} f flat is deterministic and equal to ( 1 − γ ) 2 p (1-\gamma)^2p ( 1 − γ ) 2 p . For f s p i k e f_{\mathrm{spike}} f spike , it is
1 n ∑ i = 1 n 1 { X i = b } , \frac{1}{n}\sum_{i=1}^{n}\mathbf{1}\{X_i=b\}, n 1 i = 1 ∑ n 1 { X i = b } ,
which converges almost surely to p p p by the strong law of large numbers. Since ( 1 − γ ) 2 p < p (1-\gamma)^2p<p ( 1 − γ ) 2 p < p , squared-loss ERM therefore uniquely selects f f l a t = f s q ∗ f_{\mathrm{flat}}=f_{\mathrm{sq}}^* f flat = f sq ∗ for all sufficiently large n n n , almost surely.
In particular, taking γ = 1 / 2 \gamma=1/2 γ = 1/2 recovers Proposition 2. More generally, because γ \gamma γ can be arbitrarily small, Proposition 15 shows that the coefficient in front of ε 1 , ∗ \sqrt{\varepsilon_{1,*}} ε 1 , ∗ can be made arbitrarily close to one. It also implies the absence of any finite universal approximation factor: for any fixed C < ∞ C<\infty C < ∞ , choosing, for example, γ = 1 / 2 \gamma=1/2 γ = 1/2 and then p > 0 p>0 p > 0 sufficiently small gives ε 1 ( f s q ∗ ) > C ε 1 , ∗ \varepsilon_1(f_{\mathrm{sq}}^*)>C\varepsilon_{1,*} ε 1 ( f sq ∗ ) > C ε 1 , ∗ , and empirical squared-loss ERM converges almost surely to this population minimizer.
Proofs and Additional Results for Log-Loss ERM
Proof of (6)
By conditioning on X X X and using E [ Y ∣ X ] = η ( X ) \mathbb{E}[Y\mid X]=\eta(X) E [ Y ∣ X ] = η ( X ) ,
E [ ℓ log ( Y , f ( X ) ) ∣ X ] = − η ( X ) log f ( X ) − ( 1 − η ( X ) ) log ( 1 − f ( X ) ) , \mathbb{E}[\ell_{\log}(Y,f(X))\mid X]=-\eta(X)\log f(X)-(1-\eta(X))\log(1-f(X)), E [ ℓ l o g ( Y , f ( X )) ∣ X ] = − η ( X ) log f ( X ) − ( 1 − η ( X )) log ( 1 − f ( X )) ,
E [ ℓ log ( Y , η ( X ) ) ∣ X ] = − η ( X ) log η ( X ) − ( 1 − η ( X ) ) log ( 1 − η ( X ) ) . \mathbb{E}[\ell_{\log}(Y,\eta(X))\mid X]=-\eta(X)\log\eta(X)-(1-\eta(X))\log(1-\eta(X)). E [ ℓ l o g ( Y , η ( X )) ∣ X ] = − η ( X ) log η ( X ) − ( 1 − η ( X )) log ( 1 − η ( X )) .
Therefore,
E [ ℓ log ( Y , f ( X ) ) − ℓ log ( Y , η ( X ) ) ∣ X ] = η ( X ) log η ( X ) f ( X ) + ( 1 − η ( X ) ) log 1 − η ( X ) 1 − f ( X ) = kl ( η ( X ) , f ( X ) ) . \begin{aligned}
\mathbb{E}[\ell_{\log}(Y,f(X))-\ell_{\log}(Y,\eta(X))\mid X]
&=\eta(X)\log\frac{\eta(X)}{f(X)}+(1-\eta(X))\log\frac{1-\eta(X)}{1-f(X)}\\
&=\operatorname{kl}(\eta(X),f(X)).
\end{aligned} E [ ℓ l o g ( Y , f ( X )) − ℓ l o g ( Y , η ( X )) ∣ X ] = η ( X ) log f ( X ) η ( X ) + ( 1 − η ( X )) log 1 − f ( X ) 1 − η ( X ) = kl ( η ( X ) , f ( X )) .
Taking expectation over X X X proves (6).
The same calculation remains valid when η ( X ) ∈ { 0 , 1 } \eta(X)\in\{0,1\} η ( X ) ∈ { 0 , 1 } , with the standard convention 0 log 0 = 0 0\log0=0 0 log 0 = 0 .
Proof of Proposition 3
Proof. Let M : = ∣ F ∣ M := |\mathcal{F}| M := ∣ F ∣ and define
α : = log ( 2 M 2 / δ ) n . \alpha:= \frac{\log(2M^2/\delta)}{n}. α := n log ( 2 M 2 / δ ) .
For f ∈ F f \in\mathcal{F} f ∈ F , write
K ( f ) : = E [ kl ( η ( X ) , f ( X ) ) ] , K(f) := \mathbb{E}\left[\operatorname{kl}(\eta(X), f(X))\right], K ( f ) := E [ kl ( η ( X ) , f ( X )) ] ,
and define the squared Hellinger-type distance
H 2 ( f , η ) : = E [ ( f ( X ) − η ( X ) ) 2 + ( 1 − f ( X ) − 1 − η ( X ) ) 2 ] . H^2(f,\eta) := \mathbb{E}\left[\left(\sqrt{f(X)}-\sqrt{\eta(X)}\right)^2+\left(\sqrt{1-f(X)}-\sqrt{1-\eta(X)}\right)^2\right]. H 2 ( f , η ) := E [ ( f ( X ) − η ( X ) ) 2 + ( 1 − f ( X ) − 1 − η ( X ) ) 2 ] .
The elementary relation between total variation and Hellinger distance for Bernoulli distributions implies
ε 1 ( f ) : = E ∣ f ( X ) − η ( X ) ∣ ≤ H ( f , η ) . (33) \varepsilon_1(f) := \mathbb{E}|f(X)-\eta(X)| \le H(f,\eta). \tag*{(33)} ε 1 ( f ) := E ∣ f ( X ) − η ( X ) ∣ ≤ H ( f , η ) . (33)
We first relate the Hellinger distance of the empirical minimizer to the empirical excess log loss. For f ∈ F f \in\mathcal{F} f ∈ F , let
Δ f ( X , Y ) : = ℓ log ( Y , f ( X ) ) − ℓ log ( Y , η ( X ) ) . \Delta_f(X,Y) := \ell_{\log}(Y,f(X))-\ell_{\log}(Y,\eta(X)). Δ f ( X , Y ) := ℓ l o g ( Y , f ( X )) − ℓ l o g ( Y , η ( X )) .
Fix X = x X=x X = x , and abbreviate p = η ( x ) p=\eta(x) p = η ( x ) and q = f ( x ) q=f(x) q = f ( x ) . When p ∈ ( 0 , 1 ) p\in(0,1) p ∈ ( 0 , 1 ) ,
exp ( − 1 2 Δ f ( x , y ) ) = ( q p ) y / 2 ( 1 − q 1 − p ) ( 1 − y ) / 2 . \exp\left(-\frac{1}{2}\Delta_f(x,y)\right)=\left(\frac{q}{p}\right)^{y/2}\left(\frac{1-q}{1-p}\right)^{(1-y)/2}. exp ( − 2 1 Δ f ( x , y ) ) = ( p q ) y /2 ( 1 − p 1 − q ) ( 1 − y ) /2 .
The right-hand side is a convex function of y ∈ [ 0 , 1 ] y\in[0,1] y ∈ [ 0 , 1 ] . Since E [ Y ∣ X = x ] = p \mathbb{E}[Y\mid X=x]=p E [ Y ∣ X = x ] = p , convexity and the chord joining its values at 0 and 1 give
E [ e − Δ f / 2 ∣ X = x ] ≤ p q p + ( 1 − p ) 1 − q 1 − p = p q + ( 1 − p ) ( 1 − q ) . \begin{aligned}
\mathbb{E}\left[e^{-\Delta_f/2}\mid X=x\right]\le p\sqrt{\frac{q}{p}}+(1-p)\sqrt{\frac{1-q}{1-p}} \\
&= \sqrt{pq}+\sqrt{(1-p)(1-q)}.
\end{aligned} E [ e − Δ f /2 ∣ X = x ] ≤ p p q + ( 1 − p ) 1 − p 1 − q = pq + ( 1 − p ) ( 1 − q ) .
The same inequality holds directly when p ∈ { 0 , 1 } p\in\{0,1\} p ∈ { 0 , 1 } , since then Y = p Y=p Y = p almost surely conditional on X = x X=x X = x . Therefore,
E e − Δ f / 2 ≤ 1 − 1 2 H 2 ( f , η ) ≤ exp ( − 1 2 H 2 ( f , η ) ) . \mathbb{E}e^{-\Delta_f/2}\le1-\frac{1}{2}H^2(f,\eta)\le\exp\left(-\frac{1}{2}H^2(f,\eta)\right). E e − Δ f /2 ≤ 1 − 2 1 H 2 ( f , η ) ≤ exp ( − 2 1 H 2 ( f , η ) ) .
By independence,
E exp { n 2 H 2 ( f , η ) − 1 2 ∑ i = 1 n Δ f ( X i , Y i ) } ≤ 1. \mathbb{E}\exp\left\{\frac{n}{2}H^2(f,\eta)-\frac{1}{2}\sum_{i=1}^{n}\Delta_f(X_i,Y_i)\right\}\le1. E exp { 2 n H 2 ( f , η ) − 2 1 i = 1 ∑ n Δ f ( X i , Y i ) } ≤ 1.
Hence, by Markov’s inequality,
P ( H 2 ( f , η ) > P n Δ f + 2 α ) ≤ e − n α . \mathbb{P}\left(H^2(f,\eta)>P_n\Delta_f+2\alpha\right)\le e^{-n\alpha}. P ( H 2 ( f , η ) > P n Δ f + 2 α ) ≤ e − n α .
A union bound over f ∈ F f\in\mathcal{F} f ∈ F shows that, with probability at least 1 − δ / 2 1-\delta/2 1 − δ /2 ,
H 2 ( f , η ) ≤ P n Δ f + 2 α for every f ∈ F . (34) H^2(f,\eta)\le P_n\Delta_f+2\alpha\qquad\text{for every }f\in\mathcal{F}. \tag*{(34)} H 2 ( f , η ) ≤ P n Δ f + 2 α for every f ∈ F . (34)
Indeed, M e − n α = δ / ( 2 M ) ≤ δ / 2 Me^{-n\alpha}=\delta/(2M)\le\delta/2 M e − n α = δ / ( 2 M ) ≤ δ /2 .
On this event, empirical optimality of f ^ log \widehat{f}_{\log} f l o g implies that, for every f 0 ∈ F f_0\in\mathcal{F} f 0 ∈ F ,
H 2 ( f ^ log , η ) ≤ P n Δ f ^ log + 2 α ≤ P n Δ f 0 + 2 α . (35) H^2(\widehat{f}_{\log},\eta)\le P_n\Delta_{\widehat{f}_{\log}}+2\alpha\le P_n\Delta_{f_0}+2\alpha. \tag*{(35)} H 2 ( f l o g , η ) ≤ P n Δ f l o g + 2 α ≤ P n Δ f 0 + 2 α . (35)
It remains to control the empirical excess loss of the comparator. Fix f 0 ∈ F f_0\in\mathcal{F} f 0 ∈ F and write
K 0 : = K ( f 0 ) , B : = log 1 γ . K_0:=K(f_0),\qquad B:=\log\frac{1}{\gamma}. K 0 := K ( f 0 ) , B := log γ 1 .
Since f 0 ( X ) ∈ [ γ , 1 − γ ] f_0(X)\in[\gamma,1-\gamma] f 0 ( X ) ∈ [ γ , 1 − γ ] , we have
Δ f 0 ≤ B and P Δ f 0 = K 0 . (36) \Delta_{f_0}\le B\qquad\text{and}\qquad P\Delta_{f_0}=K_0. \tag*{(36)} Δ f 0 ≤ B and P Δ f 0 = K 0 . (36)
We next show that
P Δ f 0 2 ≤ ( B + 2 ) K 0 . (37) P\Delta_{f_0}^{2} \le(B+2)K_0. \tag*{(37)} P Δ f 0 2 ≤ ( B + 2 ) K 0 . (37)
To prove (37) , again condition on X = x X=x X = x and write p = η ( x ) p=\eta(x) p = η ( x ) and q = f 0 ( x ) q=f_0(x) q = f 0 ( x ) . Since Δ f 0 ( x , y ) \Delta_{f_0}(x,y) Δ f 0 ( x , y ) is affine in y y y , its square is convex, and therefore
E [ Δ f 0 2 ∣ X = x ] ≤ p log 2 p q + ( 1 − p ) log 2 1 − p 1 − q . \mathbb{E}\left[\Delta_{f_0}^{2}\mid X=x\right]\le p\log^{2}\frac{p}{q}+(1-p)\log^{2}\frac{1-p}{1-q}. E [ Δ f 0 2 ∣ X = x ] ≤ p log 2 q p + ( 1 − p ) log 2 1 − q 1 − p .
We use the elementary inequality
t log 2 t ≤ ( B + 2 ) ( t log t − t + 1 ) , 0 ≤ t ≤ e B . (38) t\log^{2}t\le(B+2)(t\log t-t+1),\qquad0\le t\le e^{B}. \tag*{(38)} t log 2 t ≤ ( B + 2 ) ( t log t − t + 1 ) , 0 ≤ t ≤ e B . (38)
For completeness, if t ≤ 1 t\le1 t ≤ 1 , writing u = − log t u=-\log t u = − log t and using e u ≥ 1 + u + u 2 / 2 e^{u}\ge1+u+u^{2}/2 e u ≥ 1 + u + u 2 /2 gives
t log 2 t ≤ 2 ( t log t − t + 1 ) . t\log^{2}t\le2(t\log t-t+1). t log 2 t ≤ 2 ( t log t − t + 1 ) .
If t ≥ 1 t\ge1 t ≥ 1 , write u = log t ∈ [ 0 , B ] u=\log t\in[0,B] u = log t ∈ [ 0 , B ] . Since
u − 2 + ( u + 2 ) e − u ≥ 0 , u-2+(u+2)e^{-u}\ge0, u − 2 + ( u + 2 ) e − u ≥ 0 ,
we have
u 2 ≤ ( u + 2 ) ( u − 1 + e − u ) ≤ ( B + 2 ) ( u − 1 + e − u ) , u^{2}\le(u+2)(u-1+e^{-u})\le(B+2)(u-1+e^{-u}), u 2 ≤ ( u + 2 ) ( u − 1 + e − u ) ≤ ( B + 2 ) ( u − 1 + e − u ) ,
which is equivalent to (38) .
Applying (38) to t = p / q t=p/q t = p / q and t = ( 1 − p ) / ( 1 − q ) t=(1-p)/(1-q) t = ( 1 − p ) / ( 1 − q ) , which are both at most 1 / γ = e B 1/\gamma=e^{B} 1/ γ = e B , yields
p log 2 p q ≤ ( B + 2 ) [ p log p q − p + q ] , p\log^{2}\frac{p}{q}\le(B+2)\left[p\log\frac{p}{q}-p+q\right], p log 2 q p ≤ ( B + 2 ) [ p log q p − p + q ] ,
( 1 − p ) log 2 1 − p 1 − q ≤ ( B + 2 ) [ ( 1 − p ) log 1 − p 1 − q − ( 1 − p ) + ( 1 − q ) ] . (1-p)\log^{2}\frac{1-p}{1-q}\le(B+2)\left[(1-p)\log\frac{1-p}{1-q}-(1-p)+(1-q)\right]. ( 1 − p ) log 2 1 − q 1 − p ≤ ( B + 2 ) [ ( 1 − p ) log 1 − q 1 − p − ( 1 − p ) + ( 1 − q ) ] .
Summing the two inequalities gives
E [ Δ f 0 2 ∣ X = x ] ≤ ( B + 2 ) kl ( p , q ) . \mathbb{E}\left[\Delta_{f_0}^{2}\mid X=x\right]\le(B+2)\operatorname{kl}(p,q). E [ Δ f 0 2 ∣ X = x ] ≤ ( B + 2 ) kl ( p , q ) .
Taking expectation over X X X proves (37) .
A one-sided Bernstein inequality, followed by a union bound over f 0 ∈ F f_0\in\mathcal{F} f 0 ∈ F , now implies that, with probability at least 1 − δ / 2 1-\delta/2 1 − δ /2 , simultaneously for every f 0 ∈ F f_0\in\mathcal{F} f 0 ∈ F ,
P n Δ f 0 ≤ K 0 + 2 ( B + 2 ) K 0 α + 2 B 3 α . (39) P_n\Delta_{f_0}\le K_0+\sqrt{2(B+2)K_0\alpha}+\frac{2B}{3}\alpha. \tag*{(39)} P n Δ f 0 ≤ K 0 + 2 ( B + 2 ) K 0 α + 3 2 B α . (39)
Here we used Var ( Δ f 0 ) ≤ P Δ f 0 2 \operatorname{Var}(\Delta_{f_0})\le P\Delta_{f_0}^{2} Var ( Δ f 0 ) ≤ P Δ f 0 2 together with (37) .
Combining (35) and (39) , we obtain, simultaneously for every f 0 ∈ F f_0\in\mathcal{F} f 0 ∈ F ,
H 2 ( f ^ log , η ) ≤ K 0 + 2 ( B + 2 ) K 0 α + ( 2 + 2 B 3 ) α . (40) H^{2}(\widehat{f}_{\log},\eta)\le K_0+\sqrt{2(B+2)K_0\alpha}+\left(2+\frac{2B}{3}\right)\alpha. \tag*{(40)} H 2 ( f l o g , η ) ≤ K 0 + 2 ( B + 2 ) K 0 α + ( 2 + 3 2 B ) α . (40)
Since
2 + 2 B 3 ≥ B + 2 2 , 2+\frac{2B}{3}\ge\frac{B+2}{2}, 2 + 3 2 B ≥ 2 B + 2 ,
the right-hand side of (40) is at most
( K 0 + ( 2 + 2 B 3 ) α ) 2 . \left(\sqrt{K_0}+\sqrt{\left(2+\frac{2B}{3}\right)\alpha}\right)^{2}. ( K 0 + ( 2 + 3 2 B ) α ) 2 .
Together with (33) , this yields
ε 1 ( f ^ log ) ≤ K ( f 0 ) + ( 2 + 2 B 3 ) α for every f 0 ∈ F . (41) \varepsilon_1(\widehat{f}_{\log})\le\sqrt{K(f_0)}+\sqrt{\left(2+\frac{2B}{3}\right)\alpha}\qquad\text{for every }f_0\in\mathcal{F}. \tag*{(41)} ε 1 ( f l o g ) ≤ K ( f 0 ) + ( 2 + 3 2 B ) α for every f 0 ∈ F . (41)
Finally, we relate the KL approximation error to the L 1 L_1 L 1 approximation error. For any p ∈ [ 0 , 1 ] p \in[0,1] p ∈ [ 0 , 1 ] and q ∈ [ γ , 1 − γ ] q \in[\gamma,1-\gamma] q ∈ [ γ , 1 − γ ] , convexity of p ↦ kl ( p , q ) p \mapsto\operatorname{kl}(p,q) p ↦ kl ( p , q ) , together with kl ( q , q ) = 0 \operatorname{kl}(q,q)=0 kl ( q , q ) = 0 , gives
kl ( p , q ) ≤ ∣ p − q ∣ max { − log q 1 − q , − log ( 1 − q ) q } . \operatorname{kl}(p,q) \le|p-q| \max\left\{ \frac{-\log q}{1-q}, \frac{-\log(1-q)}{q} \right\}. kl ( p , q ) ≤ ∣ p − q ∣ max { 1 − q − log q , q − log ( 1 − q ) } .
Because q , 1 − q ≥ γ q,1-q \ge\gamma q , 1 − q ≥ γ ,
max { − log q 1 − q , − log ( 1 − q ) q } ≤ log ( 1 / γ ) 1 − γ . \max\left\{ \frac{-\log q}{1-q}, \frac{-\log(1-q)}{q} \right\} \le\frac{\log(1/\gamma)}{1-\gamma}. max { 1 − q − log q , q − log ( 1 − q ) } ≤ 1 − γ log ( 1/ γ ) .
Hence
K ( f ) ≤ log ( 1 / γ ) 1 − γ ε 1 ( f ) for every f ∈ F . (42) K(f) \le\frac{\log(1/\gamma)}{1-\gamma}\varepsilon_1(f) \qquad\text{for every } f \in\mathcal{F}. \tag*{(42)} K ( f ) ≤ 1 − γ log ( 1/ γ ) ε 1 ( f ) for every f ∈ F . (42)
Let f ∗ ∈ arg min f ∈ F ε 1 ( f ) f_* \in\arg\min_{f\in\mathcal{F}}\varepsilon_1(f) f ∗ ∈ arg min f ∈ F ε 1 ( f ) , which exists because F \mathcal{F} F is finite. Substituting f 0 = f ∗ f_0=f_* f 0 = f ∗ into (41) and applying (42) gives
ε 1 ( f ^ l o g ) ≤ log ( 1 / γ ) 1 − γ ε 1 , ∗ + ( 2 + 2 3 log 1 γ ) log ( 2 ∣ F ∣ 2 / δ ) n . \varepsilon_1(\widehat{f}_{\mathrm{log}}) \le\sqrt{\frac{\log(1/\gamma)}{1-\gamma}\varepsilon_{1,*}}+\sqrt{\left(2+\frac{2}{3}\log\frac{1}{\gamma}\right)\frac{\log(2|\mathcal{F}|^2/\delta)}{n}}. ε 1 ( f log ) ≤ 1 − γ log ( 1/ γ ) ε 1 , ∗ + ( 2 + 3 2 log γ 1 ) n log ( 2∣ F ∣ 2 / δ ) .
This proves (7). For fixed γ \gamma γ , the display immediately implies
ε 1 ( f ^ l o g ) ≲ γ ε 1 , ∗ + log ( ∣ F ∣ / δ ) n . \varepsilon_1(\widehat{f}_{\mathrm{log}}) \lesssim_\gamma\sqrt{\varepsilon_{1,*}}+\sqrt{\frac{\log(|\mathcal{F}|/\delta)}{n}}. ε 1 ( f log ) ≲ γ ε 1 , ∗ + n log ( ∣ F ∣/ δ ) .
Proof of Proposition 4
Proof. Fix p ∈ ( 0 , 1 ) p \in(0,1) p ∈ ( 0 , 1 ) . Let X = { a , b } \mathcal{X}=\{a,b\} X = { a , b } with
P ( X = b ) = p , P ( X = a ) = 1 − p , \mathbb{P}(X=b)=p,\qquad\mathbb{P}(X=a)=1-p, P ( X = b ) = p , P ( X = a ) = 1 − p ,
and let
Y = 1 2 almost surely . Y=\frac{1}{2}\qquad\text{almost surely}. Y = 2 1 almost surely .
Thus the problem is noiseless and
η ( a ) = η ( b ) = 1 2 . \eta(a)=\eta(b)=\frac{1}{2}. η ( a ) = η ( b ) = 2 1 .
Consider the two hypotheses f s p i k e f_{\mathrm{spike}} f spike and f f l a t f_{\mathrm{flat}} f flat defined by
f s p i k e ( a ) = 1 2 , f s p i k e ( b ) = 3 4 , f_{\mathrm{spike}}(a)=\frac{1}{2},\qquad f_{\mathrm{spike}}(b)=\frac{3}{4}, f spike ( a ) = 2 1 , f spike ( b ) = 4 3 ,
and
f f l a t ( x ) = 1 2 + p 4 , x ∈ { a , b } . f_{\mathrm{flat}}(x)=\frac{1}{2}+\frac{\sqrt{p}}{4},\qquad x\in\{a,b\}. f flat ( x ) = 2 1 + 4 p , x ∈ { a , b } .
Since p ∈ ( 0 , 1 ) p\in(0,1) p ∈ ( 0 , 1 ) , both hypotheses take values in [ 1 / 4 , 3 / 4 ] [1/4,3/4] [ 1/4 , 3/4 ] . Let F = { f s p i k e , f f l a t } \mathcal{F}=\{f_{\mathrm{spike}},f_{\mathrm{flat}}\} F = { f spike , f flat } . Their L 1 L_1 L 1 errors are
ε 1 ( f s p i k e ) = p ∣ 3 4 − 1 2 ∣ = p 4 , \varepsilon_1(f_{\mathrm{spike}})=p\left|\frac{3}{4}-\frac{1}{2}\right|=\frac{p}{4}, ε 1 ( f spike ) = p 4 3 − 2 1 = 4 p ,
and
ε 1 ( f f l a t ) = p 4 . \varepsilon_1(f_{\mathrm{flat}})=\frac{\sqrt{p}}{4}. ε 1 ( f flat ) = 4 p .
Because p < p p<\sqrt{p} p < p for p ∈ ( 0 , 1 ) p\in(0,1) p ∈ ( 0 , 1 ) , f s p i k e f_{\mathrm{spike}} f spike is the unique L 1 L_1 L 1 -optimal hypothesis, and hence
ε 1 , ∗ = p 4 . (43) \varepsilon_{1,*}=\frac{p}{4}. \tag*{(43)} ε 1 , ∗ = 4 p . (43)
We next compare the population log risks. Since η = 1 / 2 \eta= 1/2 η = 1/2 , the excess population log risk of any f f f is E [ kl ( 1 / 2 , f ( X ) ) ] \mathbb{E}[\operatorname{kl}(1/2, f(X))] E [ kl ( 1/2 , f ( X ))] . For f s p i k e f_{\mathrm{spike}} f spike ,
E [ kl ( 1 2 , f s p i k e ( X ) ) ] = p kl ( 1 2 , 3 4 ) = − p 2 log 3 4 . (44) \mathbb{E}\left[\operatorname{kl}\left(\frac{1}{2}, f_{\mathrm{spike}}(X)\right)\right] = p\operatorname{kl}\left(\frac{1}{2}, \frac{3}{4}\right)
= -\frac{p}{2}\log\frac{3}{4}. \tag*{(44)} E [ kl ( 2 1 , f spike ( X ) ) ] = p kl ( 2 1 , 4 3 ) = − 2 p log 4 3 . (44)
For f f l a t f_{\mathrm{flat}} f flat , using
4 f f l a t ( 1 − f f l a t ) = 1 − p 4 , 4f_{\mathrm{flat}}(1-f_{\mathrm{flat}})=1-\frac{p}{4}, 4 f flat ( 1 − f flat ) = 1 − 4 p ,
we obtain
E [ kl ( 1 2 , f f l a t ( X ) ) ] = kl ( 1 2 , 1 2 + p 4 ) = − 1 2 log ( 1 − p 4 ) . (45) \mathbb{E}\left[\operatorname{kl}\left(\frac{1}{2},f_{\mathrm{flat}}(X)\right)\right]
=\operatorname{kl}\left(\frac{1}{2},\frac{1}{2}+\frac{\sqrt{p}}{4}\right)
=-\frac{1}{2}\log\left(1-\frac{p}{4}\right). \tag*{(45)} E [ kl ( 2 1 , f flat ( X ) ) ] = kl ( 2 1 , 2 1 + 4 p ) = − 2 1 log ( 1 − 4 p ) . (45)
To compare the two quantities, consider g ( u ) : = − log ( 1 − u / 4 ) g(u):=-\log(1-u/4) g ( u ) := − log ( 1 − u /4 ) on [ 0 , 1 ] [0,1] [ 0 , 1 ] . The function g g g is strictly convex and g ( 0 ) = 0 g(0)=0 g ( 0 ) = 0 . Therefore, for every p ∈ ( 0 , 1 ) p\in(0,1) p ∈ ( 0 , 1 ) ,
− log ( 1 − p 4 ) = g ( p ) < p g ( 1 ) = − p log 3 4 . -\log\left(1-\frac{p}{4}\right)=g(p)<pg(1)=-p\log\frac{3}{4}. − log ( 1 − 4 p ) = g ( p ) < p g ( 1 ) = − p log 4 3 .
Combining this inequality with (44)–(45) shows that
E [ ℓ log ( Y , f f l a t ( X ) ) ] < E [ ℓ log ( Y , f s p i k e ( X ) ) ] . \mathbb{E}\left[\ell_{\log}(Y,f_{\mathrm{flat}}(X))\right]
<
\mathbb{E}\left[\ell_{\log}(Y,f_{\mathrm{spike}}(X))\right]. E [ ℓ l o g ( Y , f flat ( X )) ] < E [ ℓ l o g ( Y , f spike ( X )) ] .
Hence f f l a t f_{\mathrm{flat}} f flat is the unique population log-loss minimizer:
f log ∗ = f f l a t . f_{\log}^{*}=f_{\mathrm{flat}}. f l o g ∗ = f flat .
Its L 1 L_1 L 1 error is therefore
ε 1 ( f log ∗ ) = p 4 . \varepsilon_1(f_{\log}^{*})=\frac{\sqrt{p}}{4}. ε 1 ( f l o g ∗ ) = 4 p .
Using (43),
p 4 = 1 2 p 4 = 1 2 ε 1 , ∗ , \frac{\sqrt{p}}{4}=\frac{1}{2}\sqrt{\frac{p}{4}}=\frac{1}{2}\sqrt{\varepsilon_{1,*}}, 4 p = 2 1 4 p = 2 1 ε 1 , ∗ ,
which proves (8).
For completeness, this population obstruction also applies to empirical log-loss ERM. Since F \mathcal{F} F contains only two hypotheses and both are uniformly bounded away from 0 and 1, their log losses are bounded. The strong law of large numbers therefore implies that their empirical risks converge almost surely to their respective population risks. Because the population inequality above is strict,
f ^ log = f f l a t \widehat{f}_{\log}=f_{\mathrm{flat}} f l o g = f flat
eventually almost surely. Consequently,
ε 1 ( f ^ log ) ⟶ p 4 = 1 2 ε 1 , ∗ almost surely . \varepsilon_1(\widehat{f}_{\log})\longrightarrow\frac{\sqrt{p}}{4}
=\frac{1}{2}\sqrt{\varepsilon_{1,*}}
\qquad\text{almost surely}. ε 1 ( f l o g ) ⟶ 4 p = 2 1 ε 1 , ∗ almost surely .
Finally,
ε 1 ( f log ∗ ) ε 1 , ∗ = 1 p , \frac{\varepsilon_1(f_{\log}^{*})}{\varepsilon_{1,*}}=\frac{1}{\sqrt{p}}, ε 1 , ∗ ε 1 ( f l o g ∗ ) = p 1 ,
which diverges as p ↓ 0 p\downarrow0 p ↓ 0 . Thus, for any finite constant C C C , one can choose p p p sufficiently small so that ε 1 ( f log ∗ ) > C ε 1 , ∗ \varepsilon_1(f_{\log}^{*})>C\varepsilon_{1,*} ε 1 ( f l o g ∗ ) > C ε 1 , ∗ . Since empirical log-loss ERM eventually selects f ^ log \widehat{f}_{\log} f l o g almost surely, it cannot satisfy a universal constant-factor L 1 L_1 L 1 oracle guarantee of the form (1). This failure occurs even though F ⊆ [ 1 / 4 , 3 / 4 ] X \mathcal{F}\subseteq[1/4,3/4]^{\mathcal{X}} F ⊆ [ 1/4 , 3/4 ] X and the labels are noiseless.
Failure without uniform boundary control
We next show that the restriction that all hypotheses stay uniformly away from 0 and 1 is essential for Proposition 3 . Without such a restriction, the failure of log-loss ERM can be substantially stronger than the ε 1 , ∗ \sqrt{\varepsilon_{1,*}} ε 1 , ∗ phenomenon in Proposition 4 : the best L 1 L_1 L 1 approximation can have arbitrarily small error, while the population log-loss minimizer has L 1 L_1 L 1 error bounded away from zero.
Proposition 16 (Failure of log-loss ERM without uniform boundary control). For every p ∈ ( 0 , 1 / 4 ] p \in(0,1/4] p ∈ ( 0 , 1/4 ] , there exists a noiseless regression problem and a two-element class F ⊂ ( 0 , 1 ) X \mathcal{F} \subset(0,1)^\mathcal{X} F ⊂ ( 0 , 1 ) X such that
ε 1 , ∗ = p ( 1 2 − e − 1 / p ) ≤ p 2 , \varepsilon_{1,*}=p\left(\frac{1}{2}-e^{-1/p}\right)\le\frac{p}{2}, ε 1 , ∗ = p ( 2 1 − e − 1/ p ) ≤ 2 p , while the unique population log-loss minimizer f log ∗ f_{\log}^{*} f l o g ∗ satisfies
ε 1 ( f log ∗ ) = 1 4 . \varepsilon_1(f_{\log}^{*})=\frac{1}{4}. ε 1 ( f l o g ∗ ) = 4 1 . Consequently, there is no function Ψ : [ 0 , 1 ] → [ 0 , ∞ ) \Psi:[0,1]\to[0,\infty) Ψ : [ 0 , 1 ] → [ 0 , ∞ ) satisfying Ψ ( ε ) → 0 \Psi(\varepsilon)\to0 Ψ ( ε ) → 0 as ε → 0 \varepsilon\to0 ε → 0 for which population log-loss minimization obeys
ε 1 ( f log ∗ ) ≤ Ψ ( ε 1 , ∗ ) \varepsilon_1(f_{\log}^{*})\le\Psi(\varepsilon_{1,*}) ε 1 ( f l o g ∗ ) ≤ Ψ ( ε 1 , ∗ ) uniformly over finite classes F ⊂ ( 0 , 1 ) X \mathcal{F}\subset(0,1)^\mathcal{X} F ⊂ ( 0 , 1 ) X . Moreover, empirical log-loss ERM eventually selects f log ∗ f_{\log}^{*} f l o g ∗ almost surely.
Proof. Fix p ∈ ( 0 , 1 / 4 ] p\in(0,1/4] p ∈ ( 0 , 1/4 ] . Let X = { a , b } \mathcal{X}=\{a,b\} X = { a , b } with
P ( X = b ) = p , P ( X = a ) = 1 − p , \mathbb{P}(X=b)=p,\qquad\mathbb{P}(X=a)=1-p, P ( X = b ) = p , P ( X = a ) = 1 − p ,
and let
almost surely. Thus
η ( a ) = η ( b ) = 1 2 , \eta(a)=\eta(b)=\frac{1}{2}, η ( a ) = η ( b ) = 2 1 ,
and the regression problem is noiseless. Consider the two hypotheses f 0 f_0 f 0 and g g g given by
f 0 ( a ) = 1 2 , f 0 ( b ) = e − 1 / p , f_0(a)=\frac{1}{2},\qquad f_0(b)=e^{-1/p}, f 0 ( a ) = 2 1 , f 0 ( b ) = e − 1/ p ,
and
g ( x ) = 3 4 , x ∈ { a , b } . g(x)=\frac{3}{4},\qquad x\in\{a,b\}. g ( x ) = 4 3 , x ∈ { a , b } .
Both hypotheses take values strictly between 0 and 1, so all population log risks are finite. Their L 1 L_1 L 1 errors are
ε 1 ( f 0 ) = p ( 1 2 − e − 1 / p ) ≤ p 2 \varepsilon_1(f_0)=p\left(\frac{1}{2}-e^{-1/p}\right)\le\frac{p}{2} ε 1 ( f 0 ) = p ( 2 1 − e − 1/ p ) ≤ 2 p
and
ε 1 ( g ) = 1 4 . \varepsilon_1(g)=\frac{1}{4}. ε 1 ( g ) = 4 1 .
Since p ≤ 1 / 4 p\le1/4 p ≤ 1/4 and e − 1 / p > 0 e^{-1/p}>0 e − 1/ p > 0 ,
ε 1 ( f 0 ) < 1 4 = ε 1 ( g ) , \varepsilon_1(f_0)<\frac{1}{4}=\varepsilon_1(g), ε 1 ( f 0 ) < 4 1 = ε 1 ( g ) ,
so f 0 f_0 f 0 is the unique L 1 L_1 L 1 -optimal hypothesis and
ε 1 , ∗ = p ( 1 2 − e − 1 / p ) . (46) \varepsilon_{1,*}=p\left(\frac{1}{2}-e^{-1/p}\right). \tag*{(46)} ε 1 , ∗ = p ( 2 1 − e − 1/ p ) . (46)
In particular, ε 1 , ∗ → 0 \varepsilon_{1,*}\to0 ε 1 , ∗ → 0 as p ↓ 0 p\downarrow0 p ↓ 0 .
We now compare the population log risks. Since η = 1 / 2 \eta= 1/2 η = 1/2 , their excess log risks are given by
K ( f ) : = E [ kl ( 1 2 , f ( X ) ) ] . K(f) := \mathbb{E}\left[\operatorname{kl}\left(\frac{1}{2}, f(X)\right)\right]. K ( f ) := E [ kl ( 2 1 , f ( X ) ) ] .
For f 0 f_0 f 0 ,
K ( f 0 ) = p kl ( 1 2 , e − 1 / p ) = p [ 1 2 log 1 / 2 e − 1 / p + 1 2 log 1 / 2 1 − e − 1 / p ] = 1 2 − p log 2 − p 2 log ( 1 − e − 1 / p ) ≥ 1 2 − p log 2. (47) \begin{aligned}
K(f_0) &= p\operatorname{kl}\left(\frac{1}{2},e^{-1/p}\right) \\
&= p\left[\frac{1}{2}\log\frac{1/2}{e^{-1/p}}+\frac{1}{2}\log\frac{1/2}{1-e^{-1/p}}\right] \\
&= \frac{1}{2}-p\log2-\frac{p}{2}\log\left(1-e^{-1/p}\right) \\
&\ge\frac{1}{2}-p\log2. \tag*{(47)}
\end{aligned} K ( f 0 ) = p kl ( 2 1 , e − 1/ p ) = p [ 2 1 log e − 1/ p 1/2 + 2 1 log 1 − e − 1/ p 1/2 ] = 2 1 − p log 2 − 2 p log ( 1 − e − 1/ p ) ≥ 2 1 − p log 2. (47)
For g g g ,
K ( g ) = kl ( 1 2 , 3 4 ) = 1 2 log 4 3 . (48) K(g)=\operatorname{kl}\left(\frac{1}{2},\frac{3}{4}\right)=\frac{1}{2}\log\frac{4}{3}. \tag*{(48)} K ( g ) = kl ( 2 1 , 4 3 ) = 2 1 log 3 4 . (48)
For p ≤ 1 / 4 p\le1/4 p ≤ 1/4 ,
1 2 − p log 2 ≥ 1 2 − 1 4 log 2 > 1 2 log 4 3 . \frac{1}{2}-p\log2\ge\frac{1}{2}-\frac{1}{4}\log2>\frac{1}{2}\log\frac{4}{3}. 2 1 − p log 2 ≥ 2 1 − 4 1 log 2 > 2 1 log 3 4 .
Combining this with (47) and (48) yields
K ( f 0 ) > K ( g ) . K(f_0)>K(g). K ( f 0 ) > K ( g ) .
Hence g g g is the unique population log-loss minimizer:
f log ∗ = g . f_{\log}^*=g. f l o g ∗ = g .
Therefore,
ε 1 ( f log ∗ ) = 1 4 , (49) \varepsilon_1(f_{\log}^*)=\frac{1}{4}, \tag*{(49)} ε 1 ( f l o g ∗ ) = 4 1 , (49)
whereas ε 1 , ∗ → 0 \varepsilon_{1,*}\to0 ε 1 , ∗ → 0 by (46).
This already rules out any uniform population guarantee of the form ε 1 ( f log ∗ ) ≤ Ψ ( ε 1 , ∗ ) \varepsilon_1(f_{\log}^*)\le\Psi(\varepsilon_{1,*}) ε 1 ( f l o g ∗ ) ≤ Ψ ( ε 1 , ∗ ) with Ψ ( ε ) → 0 \Psi(\varepsilon)\to0 Ψ ( ε ) → 0 as ε → 0 \varepsilon\to0 ε → 0 .
Finally, both hypotheses have bounded log loss on this fixed instance, and the population log-risk gap is strictly positive. By the strong law of large numbers, their empirical log risks converge almost surely to their respective population risks. Thus empirical log-loss ERM selects g g g eventually almost surely, and consequently
ε 1 ( f ^ log ) ⟶ 1 4 \varepsilon_1(\widehat{f}_{\log})\longrightarrow\frac{1}{4} ε 1 ( f l o g ) ⟶ 4 1
almost surely.
Proposition 16 shows that some uniform control away from 0 and 1 is necessary for an L 1 L_1 L 1 oracle guarantee of the form in Proposition 3. The failure is not caused by allowing predictions to equal exactly 0 or 1: for every fixed instance in the construction, all predictions lie strictly inside ( 0 , 1 ) (0,1) ( 0 , 1 ) and all log risks are finite. Rather, the problem is that the L 1 L_1 L 1 -optimal hypothesis is allowed to approach the boundary as ε 1 , ∗ → 0 \varepsilon_{1,*}\to0 ε 1 , ∗ → 0 . In that regime, an arbitrarily small L 1 L_1 L 1 approximation error can still incur a nonvanishing log-loss penalty, causing log-loss minimization to prefer a hypothesis whose L 1 L_1 L 1 error stays bounded away from zero.
Why not absolute loss?
Since our target is the L 1 L_1 L 1 error ∥ f − η ∥ 1 = E ∣ f ( X ) − η ( X ) ∣ \|f-\eta\|_1=\mathbb{E}|f(X)-\eta(X)| ∥ f − η ∥ 1 = E ∣ f ( X ) − η ( X ) ∣ , it is natural to ask whether one can simply minimize the empirical absolute loss 1 n ∑ i = 1 n ∣ Y i − f ( X i ) ∣ \frac{1}{n}\sum_{i=1}^n|Y_i-f(X_i)| n 1 ∑ i = 1 n ∣ Y i − f ( X i ) ∣ . Despite the superficial similarity in L 1 L_1 L 1 measure, this approach is fundamentally misaligned with our objective: its population counterpart E ∣ Y − f ( X ) ∣ \mathbb{E}\lvert Y-f(X)\rvert E ∣ Y − f ( X )∣ targets the conditional median of Y ∣ X Y\mid X Y ∣ X , whereas our target is the conditional mean η ( x ) = E [ Y ∣ X = x ] \eta(x)=\mathbb{E}[Y\mid X=x] η ( x ) = E [ Y ∣ X = x ] .
Indeed, for each x x x , the conditional absolute risk t ↦ E [ ∣ Y − t ∣ ∣ X = x ] t\mapsto\mathbb{E}[\lvert Y-t\rvert\mid X=x] t ↦ E [∣ Y − t ∣ ∣ X = x ] is minimized by a conditional median of Y ∣ X = x Y\mid X=x Y ∣ X = x . Thus, even with infinite data, absolute-loss minimization may not recover the best approximation to η \eta η in L 1 L_1 L 1 . In fact, the failure can occur even under realizability.
Consider the simplest example where X ≡ x 0 X\equiv x_0 X ≡ x 0 and Y ∼ Bernoulli ( p ) Y\sim\operatorname{Bernoulli}(p) Y ∼ Bernoulli ( p ) for some 0 < p < 1 / 2 0<p<1/2 0 < p < 1/2 . Let F = { 0 , p } \mathcal{F}=\{0,p\} F = { 0 , p } consist of two constant predictors. Since η ( x 0 ) = p ∈ F \eta(x_0)=p\in\mathcal{F} η ( x 0 ) = p ∈ F , we have ε 1 , ∗ : = inf f ∈ F ∥ f − η ∥ 1 = 0 \varepsilon_{1,*}:=\inf_{f\in\mathcal{F}}\lVert f-\eta\rVert_1=0 ε 1 , ∗ := inf f ∈ F ∥ f − η ∥ 1 = 0 . On the other hand, for any t ∈ [ 0 , 1 ] t\in[0,1] t ∈ [ 0 , 1 ] , the population absolute risk is
E ∣ Y − t ∣ = p ( 1 − t ) + ( 1 − p ) t = p + ( 1 − 2 p ) t . \mathbb{E}\lvert Y-t\rvert=p(1-t)+(1-p)t=p+(1-2p)t. E ∣ Y − t ∣ = p ( 1 − t ) + ( 1 − p ) t = p + ( 1 − 2 p ) t .
Since p < 1 / 2 p<1/2 p < 1/2 , this risk is strictly increasing in t t t , and hence its unique minimizer over F \mathcal{F} F is 0 0 0 , rather than the true conditional mean p p p .
This example highlights the basic distinction between absolute loss and our sign-betting objective. Absolute loss compares a predictor directly with the observed response Y Y Y and therefore inherits the median-seeking geometry of absolute deviation. In contrast, sign betting uses pairwise signed residual comparisons designed to recover the geometry of distance to the conditional mean. We next make this distinction more explicit at the population level.
The sign in absolute loss depends on the observed response. Recall that ∣ Y − f ( X ) ∣ = ( Y − f ( X ) ) sign ( Y − f ( X ) ) \lvert Y-f(X)\rvert=(Y-f(X))\operatorname{sign}(Y-f(X)) ∣ Y − f ( X )∣ = ( Y − f ( X )) sign ( Y − f ( X )) . Thus absolute loss can equivalently be written as E [ sup s ∈ [ − 1 , 1 ] s ( Y − f ( X ) ) ] \mathbb{E}[\sup_{s\in[-1,1]}s(Y-f(X))] E [ sup s ∈ [ − 1 , 1 ] s ( Y − f ( X ))] . Importantly, the maximizing direction is chosen separately for each realization of ( X , Y ) (X,Y) ( X , Y ) and therefore may depend on the observed response Y Y Y . Conditioning on X = x X=x X = x , the resulting objective is t ↦ E [ ∣ Y − t ∣ ∣ X = x ] t\mapsto\mathbb{E}[\lvert Y-t\rvert\mid X=x] t ↦ E [∣ Y − t ∣ ∣ X = x ] , whose minimizers are exactly the conditional medians of Y ∣ X = x Y\mid X=x Y ∣ X = x . Hence the full conditional distribution of Y ∣ X Y\mid X Y ∣ X matters, rather than only its conditional mean.
Our sign-betting objective instead takes the form
L ^ S B ( f ) : = sup h ∈ F 1 n ∑ i = 1 n ( Y i − f ( X i ) ) sign ( h ( X i ) − f ( X i ) ) . \widehat{L}_{\mathrm{SB}}(f):=\sup_{h\in\mathcal{F}}\frac{1}{n}\sum_{i=1}^{n}(Y_i-f(X_i))\operatorname{sign}(h(X_i)-f(X_i)). L SB ( f ) := h ∈ F sup n 1 i = 1 ∑ n ( Y i − f ( X i )) sign ( h ( X i ) − f ( X i )) .
For every fixed pair ( f , h ) (f,h) ( f , h ) , the direction sign ( h ( X ) − f ( X ) ) \operatorname{sign}(h(X)-f(X)) sign ( h ( X ) − f ( X )) is a function of X X X alone and does not depend on the realized response. Consequently,
E [ ( Y − f ( X ) ) sign ( h ( X ) − f ( X ) ) ] = E [ ( η ( X ) − f ( X ) ) sign ( h ( X ) − f ( X ) ) ] , \mathbb{E}[(Y-f(X))\operatorname{sign}(h(X)-f(X))]=\mathbb{E}[(\eta(X)-f(X))\operatorname{sign}(h(X)-f(X))], E [( Y − f ( X )) sign ( h ( X ) − f ( X ))] = E [( η ( X ) − f ( X )) sign ( h ( X ) − f ( X ))] ,
where the equality follows from E [ Y − η ( X ) ∣ X ] = 0 \mathbb{E}[Y-\eta(X)\mid X]=0 E [ Y − η ( X ) ∣ X ] = 0 . Thus the population sign-betting objective
B P ( f ) : = sup h ∈ F E [ ( Y − f ( X ) ) sign ( h ( X ) − f ( X ) ) ] B_P(f):=\sup_{h\in\mathcal{F}}\mathbb{E}[(Y-f(X))\operatorname{sign}(h(X)-f(X))] B P ( f ) := h ∈ F sup E [( Y − f ( X )) sign ( h ( X ) − f ( X ))]
depends on the conditional distribution of Y ∣ X Y\mid X Y ∣ X only through its mean η ( X ) \eta(X) η ( X ) .
This difference can also be viewed as a difference in the order of the supremum and expectation. In the scalar case, absolute loss has the form
E ∣ Y − f ∣ = E [ sup s ∈ [ − 1 , 1 ] s ( Y − f ) ] . \mathbb{E}\lvert Y-f\rvert=\mathbb{E}\left[\sup_{s\in[-1,1]}s(Y-f)\right]. E ∣ Y − f ∣ = E [ s ∈ [ − 1 , 1 ] sup s ( Y − f ) ] .
where the sign may adapt to each realization of Y Y Y . In contrast, if the direction must be chosen before observing the response, then
sup s ∈ [ − 1 , 1 ] E [ s ( Y − f ) ] = ∣ E [ Y ] − f ∣ . \sup_{s\in[-1,1]}\mathbb{E}[s(Y-f)]=\lvert\mathbb{E}[Y]-f\rvert. s ∈ [ − 1 , 1 ] sup E [ s ( Y − f )] = ∣ E [ Y ] − f ∣ .
The former is minimized by a median of Y Y Y , whereas the latter is minimized by its mean. Sign betting implements the analogous distinction in regression by restricting the betting direction to be X X X -measurable.
A direct comparison on the realizable Bernoulli example. Consider again the example at the beginning of this appendix section: X ≡ x 0 X\equiv x_0 X ≡ x 0 , Y ∼ Bernoulli ( p ) Y\sim\operatorname{Bernoulli}(p) Y ∼ Bernoulli ( p ) with 0 < p < 1 / 2 0<p<1/2 0 < p < 1/2 , and F = { 0 , p } \mathcal{F}=\{0,p\} F = { 0 , p } . Here η = p \eta=p η = p . As shown at the beginning of this section, absolute loss strictly prefers the predictor 0 0 0 , since E ∣ Y − t ∣ = p + ( 1 − 2 p ) t \mathbb{E}\lvert Y-t\rvert=p+(1-2p)t E ∣ Y − t ∣ = p + ( 1 − 2 p ) t is increasing in t t t . The sign-betting population objective makes the opposite choice. For f = p f=p f = p , choosing h = p h=p h = p gives the zero direction, while choosing h = 0 h=0 h = 0 gives
E [ ( Y − p ) sign ( 0 − p ) ] = − E [ Y − p ] = 0. \mathbb{E}[(Y-p)\operatorname{sign}(0-p)]=-\mathbb{E}[Y-p]=0. E [( Y − p ) sign ( 0 − p )] = − E [ Y − p ] = 0.
Hence B P ( p ) = 0 B_P(p)=0 B P ( p ) = 0 . For f = 0 f=0 f = 0 , choosing h = p h=p h = p gives
E [ ( Y − 0 ) sign ( p − 0 ) ] = E [ Y ] = p , \mathbb{E}[(Y-0)\operatorname{sign}(p-0)]=\mathbb{E}[Y]=p, E [( Y − 0 ) sign ( p − 0 )] = E [ Y ] = p ,
and therefore B P ( 0 ) = p B_P(0)=p B P ( 0 ) = p . Thus sign betting uniquely prefers p = η p=\eta p = η , while absolute loss uniquely prefers the conditional median 0. In particular,
arg min f ∈ F E ∣ Y − f ( X ) ∣ = { 0 } , arg min f ∈ F B P ( f ) = { η } . \underset{f\in\mathcal{F}}{\arg\min}\mathbb{E}|Y-f(X)|=\{0\},\qquad\underset{f\in\mathcal{F}}{\arg\min}B_P(f)=\{\eta\}. f ∈ F arg min E ∣ Y − f ( X ) ∣ = { 0 } , f ∈ F arg min B P ( f ) = { η } .
More generally, whenever η ∈ F \eta\in\mathcal{F} η ∈ F , we have B P ( η ) = 0 B_P(\eta)=0 B P ( η ) = 0 . For any f ∈ F f\in\mathcal{F} f ∈ F , using h = η h=\eta h = η as the challenger gives
B P ( f ) ≥ E [ ( η ( X ) − f ( X ) ) sign ( η ( X ) − f ( X ) ) ] = ∥ f − η ∥ 1 . B_P(f)\geq\mathbb{E}[(\eta(X)-f(X))\operatorname{sign}(\eta(X)-f(X))]=\|f-\eta\|_1. B P ( f ) ≥ E [( η ( X ) − f ( X )) sign ( η ( X ) − f ( X ))] = ∥ f − η ∥ 1 .
Hence η \eta η is the unique population minimizer whenever ∥ f − η ∥ 1 > 0 \|f-\eta\|_1>0 ∥ f − η ∥ 1 > 0 for every f ≠ η f\ne\eta f = η . This is fundamentally different from absolute loss, which can fail to recover η \eta η even under realizability.
Connection to the dual representation of the L 1 L_1 L 1 error. The distinction above can also be understood through
∥ f − η ∥ 1 = sup s : X → [ − 1 , 1 ] s m e a s u r a b l e E [ ( η ( X ) − f ( X ) ) s ( X ) ] = sup s : X → [ − 1 , 1 ] s m e a s u r a b l e E [ ( Y − f ( X ) ) s ( X ) ] . \|f-\eta\|_1=
\sup_{\substack{s:\mathcal{X}\to[-1,1]\\s\ \mathrm{measurable}}}
\mathbb{E}[(\eta(X)-f(X))s(X)]
=
\sup_{\substack{s:\mathcal{X}\to[-1,1]\\s\ \mathrm{measurable}}}
\mathbb{E}[(Y-f(X))s(X)]. ∥ f − η ∥ 1 = s : X → [ − 1 , 1 ] s measurable sup E [( η ( X ) − f ( X )) s ( X )] = s : X → [ − 1 , 1 ] s measurable sup E [( Y − f ( X )) s ( X )] .
The optimal direction is s ( X ) = sign ( η ( X ) − f ( X ) ) s(X)=\operatorname{sign}(\eta(X)-f(X)) s ( X ) = sign ( η ( X ) − f ( X )) . Our sign-betting objective is a restricted version of this dual formulation, using the comparison directions { sign ( h − f ) : h ∈ F } \{\operatorname{sign}(h-f):h\in\mathcal{F}\} { sign ( h − f ) : h ∈ F } available from the model class. In contrast, absolute loss uses the response-dependent direction sign ( Y − f ( X ) ) \operatorname{sign}(Y-f(X)) sign ( Y − f ( X )) , which lead to a target of conditional median.
Failure of the original betting loss under misspecification
Betting loss was introduced in Li et al. [17 ] to obtain variance-adaptive guarantees in the realizable setting. Under misspecification, however, it suffers from a similar approximation-error obstruction as squared and log loss: its L 1 L_1 L 1 error can scale as ε 1 , ∗ \sqrt{\varepsilon_{1,*}} ε 1 , ∗ , rather than linearly in ε 1 , ∗ \varepsilon_{1,*} ε 1 , ∗ . This is not merely a limitation of the existing realizable analysis. The following proposition shows that the original betting loss can have asymptotic L 1 L_1 L 1 error of order ε 1 , ∗ \sqrt{\varepsilon_{1,*}} ε 1 , ∗ , ruling out any universal constant-factor agnostic L 1 L_1 L 1 oracle guarantee.
Recall the betting objective of Li et al. [17 ] . For f , h ∈ F f,h\in\mathcal{F} f , h ∈ F , ϕ ∈ [ 0 , n / 4 ] \phi\in[0,n/4] ϕ ∈ [ 0 , n /4 ] , and c ∈ [ 0 , 1 / 4 ] c\in[0,1/4] c ∈ [ 0 , 1/4 ] , define
b h , f ϕ , c ( x ) : = ( ϕ ( h ( x ) − f ( x ) ) ) [ − c , c ] , b_{h,f}^{\phi,c}(x):=\left(\phi(h(x)-f(x))\right)_{[-c,c]}, b h , f ϕ , c ( x ) := ( ϕ ( h ( x ) − f ( x )) ) [ − c , c ] ,
and
L ^ b e t , n ( f ) : = max h ∈ F max ϕ ∈ [ 0 , n / 4 ] max c ∈ [ 0 , 1 / 4 ] 1 n ∑ i = 1 n log ( 1 + ( Y i − f ( X i ) ) b h , f ϕ , c ( X i ) ) . \widehat{L}_{\mathrm{bet},n}(f):=
\max_{h\in\mathcal{F}}\max_{\phi\in[0,n/4]}\max_{c\in[0,1/4]}
\frac{1}{n}\sum_{i=1}^{n}\log\left(1+(Y_i-f(X_i))b_{h,f}^{\phi,c}(X_i)\right). L bet , n ( f ) := h ∈ F max ϕ ∈ [ 0 , n /4 ] max c ∈ [ 0 , 1/4 ] max n 1 i = 1 ∑ n log ( 1 + ( Y i − f ( X i )) b h , f ϕ , c ( X i ) ) .
The original betting estimator is any empirical minimizer f ^ b e t ∈ arg min f ∈ F L ^ b e t , n ( f ) \widehat{f}_{\mathrm{bet}}\in\arg\min_{f\in\mathcal{F}}\widehat{L}_{\mathrm{bet},n}(f) f bet ∈ arg min f ∈ F L bet , n ( f ) . For the proof, it is useful to introduce the corresponding population objective
L b e t , n ( f ) : = max h ∈ F max ϕ ∈ [ 0 , n / 4 ] max c ∈ [ 0 , 1 / 4 ] E [ log ( 1 + ( Y − f ( X ) ) b h , f ϕ , c ( X ) ) ] . L_{\mathrm{bet},n}(f):=
\max_{h\in\mathcal{F}}\max_{\phi\in[0,n/4]}\max_{c\in[0,1/4]}
\mathbb{E}\left[\log\left(1+(Y-f(X))b_{h,f}^{\phi,c}(X)\right)\right]. L bet , n ( f ) := h ∈ F max ϕ ∈ [ 0 , n /4 ] max c ∈ [ 0 , 1/4 ] max E [ log ( 1 + ( Y − f ( X )) b h , f ϕ , c ( X ) ) ] .
We keep the subscript n n n because the admissible range of ϕ \phi ϕ depends on the sample size.
Proposition 17. For every p ∈ ( 0 , 1 / 64 ] p\in(0,1/64] p ∈ ( 0 , 1/64 ] , there exist a distribution on a two-point input space and a two-element class F \mathcal{F} F such that ε 1 , ∗ = p \varepsilon_{1,*}=p ε 1 , ∗ = p , but every empirical minimizer f ^ b e t \widehat{f}_{\mathrm{bet}} f bet of the original betting objective satisfies
∥ f ^ b e t − η ∥ 1 ⟶ 1 − p 4 p almost surely as n → ∞ . \|\widehat{f}_{\mathrm{bet}}-\eta\|_1\longrightarrow\frac{1-p}{4}\sqrt{p}\qquad\text{almost surely as }n\to\infty. ∥ f bet − η ∥ 1 ⟶ 4 1 − p p almost surely as n → ∞.
Consequently, there is no universal constant C < ∞ C < \infty C < ∞ such that the original betting estimator satisfies
∥ f ^ b e t − η ∥ 1 ≤ C ε 1 , ∗ + o n ( 1 ) \left\|\widehat{f}_{\mathrm{bet}}-\eta\right\|_1 \le C\varepsilon_{1,*}+o_n(1) f bet − η 1 ≤ C ε 1 , ∗ + o n ( 1 )
over arbitrary misspecified finite classes.
Proof. Fix p ∈ ( 0 , 1 / 64 ] p \in(0,1/64] p ∈ ( 0 , 1/64 ] and let X = { a , b } \mathcal{X}=\{a,b\} X = { a , b } , with P ( X = b ) = p \mathbb{P}(X=b)=p P ( X = b ) = p and P ( X = a ) = 1 − p \mathbb{P}(X=a)=1-p P ( X = a ) = 1 − p . Let
Y ∣ X = a ∼ Bernoulli ( 1 / 2 ) , Y ∣ X = b = 0 almost surely . Y \mid X=a \sim\operatorname{Bernoulli}(1/2), \qquad Y \mid X=b=0 \quad\text{almost surely}. Y ∣ X = a ∼ Bernoulli ( 1/2 ) , Y ∣ X = b = 0 almost surely .
Thus η ( a ) = 1 / 2 \eta(a)=1/2 η ( a ) = 1/2 and η ( b ) = 0 \eta(b)=0 η ( b ) = 0 .
Set t : = p / 4 t:=\sqrt{p}/4 t := p /4 and consider the two-element class F = { f 0 , g } \mathcal{F}=\{f_0,g\} F = { f 0 , g } defined by
Table 1.
Their L 1 L_1 L 1 errors are
∥ f 0 − η ∥ 1 = p , ∥ g − η ∥ 1 = ( 1 − p ) t = 1 − p 4 p . \|f_0-\eta\|_1=p,\qquad\|g-\eta\|_1=(1-p)t=\frac{1-p}{4}\sqrt{p}. ∥ f 0 − η ∥ 1 = p , ∥ g − η ∥ 1 = ( 1 − p ) t = 4 1 − p p .
Since p ≤ 1 / 64 p\le1/64 p ≤ 1/64 , we have 4 p ≤ 1 / 2 < 1 − p 4\sqrt{p}\le1/2<1-p 4 p ≤ 1/2 < 1 − p , and therefore ( 1 − p ) t > p (1-p)t>p ( 1 − p ) t > p . Hence f 0 f_0 f 0 is the unique L 1 L_1 L 1 oracle and
ε 1 , ∗ = p . \varepsilon_{1,*}=p. ε 1 , ∗ = p .
We next show that the population betting objective strictly prefers g g g .
Step 1: the L 1 L_1 L 1 oracle has population betting loss larger than p / 5 p/5 p /5 . For f = f 0 f=f_0 f = f 0 , choose the challenger h = g h=g h = g and take ϕ = c = 1 / 4 \phi=c=1/4 ϕ = c = 1/4 , which is admissible for every n ≥ 1 n\ge1 n ≥ 1 . At X = a X=a X = a , the bet is t / 4 t/4 t /4 , whereas at X = b X=b X = b the bet is − 1 / 4 -1/4 − 1/4 . Therefore,
L b e t , n ( f 0 ) ≥ p log 5 4 + 1 − p 2 log ( 1 − t 2 64 ) = p log 5 4 + 1 − p 2 log ( 1 − p 1024 ) . \begin{aligned}
L_{\mathrm{bet},n}(f_0)\ge p\log\frac{5}{4}+\frac{1-p}{2}\log\left(1-\frac{t^2}{64}\right) \\
&=p\log\frac{5}{4}+\frac{1-p}{2}\log\left(1-\frac{p}{1024}\right).
\end{aligned} L bet , n ( f 0 ) ≥ p log 4 5 + 2 1 − p log ( 1 − 64 t 2 ) = p log 4 5 + 2 1 − p log ( 1 − 1024 p ) .
Using log ( 5 / 4 ) ≥ 7 / 32 \log(5/4)\ge7/32 log ( 5/4 ) ≥ 7/32 and log ( 1 − u ) ≥ − 2 u \log(1-u)\ge-2u log ( 1 − u ) ≥ − 2 u for u ∈ [ 0 , 1 / 2 ] u\in[0,1/2] u ∈ [ 0 , 1/2 ] ,
L b e t , n ( f 0 ) ≥ 7 p 32 − ( 1 − p ) p 1024 ≥ ( 7 32 − 1 1024 ) p > p 5 . \begin{aligned}
L_{\mathrm{bet},n}(f_0)\ge\frac{7p}{32}-\frac{(1-p)p}{1024} \\
&\ge\left(\frac{7}{32}-\frac{1}{1024}\right)p>\frac{p}{5}.
\end{aligned} L bet , n ( f 0 ) ≥ 32 7 p − 1024 ( 1 − p ) p ≥ ( 32 7 − 1024 1 ) p > 5 p .
This bound holds for every n ≥ 1 n\ge1 n ≥ 1 .
Step 2: the worse L 1 L_1 L 1 predictor has population betting loss at most p / 8 p/8 p /8 . For f = g f=g f = g , the challenger h = g h=g h = g gives betting loss zero, so it remains to consider h = f 0 h=f_0 h = f 0 . At X = b X=b X = b , we have Y − g ( b ) = 0 Y-g(b)=0 Y − g ( b ) = 0 , and hence this point contributes zero regardless of the bet.
At X = a X=a X = a , write u : = min { ϕ t , c } ∈ [ 0 , 1 / 4 ] u:=\min\{\phi t,c\}\in[0,1/4] u := min { ϕt , c } ∈ [ 0 , 1/4 ] . Since f 0 ( a ) − g ( a ) = − t f_0(a)-g(a)=-t f 0 ( a ) − g ( a ) = − t , the bet equals − u -u − u . Conditional on X = a X=a X = a , the expected log payoff is
1 2 log ( 1 + u ( 1 2 + t ) ) + 1 2 log ( 1 − u ( 1 2 − t ) ) = 1 2 log ( 1 + 2 t u − ( 1 4 − t 2 ) u 2 ) . \begin{aligned}
\frac{1}{2}\log\left(1+u\left(\frac{1}{2}+t\right)\right)+\frac{1}{2}\log\left(1-u\left(\frac{1}{2}-t\right)\right) \\
&=\frac{1}{2}\log\left(1+2tu-\left(\frac{1}{4}-t^2\right)u^2\right).
\end{aligned} 2 1 log ( 1 + u ( 2 1 + t ) ) + 2 1 log ( 1 − u ( 2 1 − t ) ) = 2 1 log ( 1 + 2 t u − ( 4 1 − t 2 ) u 2 ) .
Completing the square gives
1 + 2 t u − ( 1 4 − t 2 ) u 2 ≤ 1 1 − 4 t 2 . 1+2tu-\left(\frac{1}{4}-t^2\right)u^2\le\frac{1}{1-4t^2}. 1 + 2 t u − ( 4 1 − t 2 ) u 2 ≤ 1 − 4 t 2 1 .
Consequently,
L b e t , n ( g ) ≤ − 1 − p 2 log ( 1 − 4 t 2 ) = − 1 − p 2 log ( 1 − p 4 ) . L_{\mathrm{bet},n}(g) \le-\frac{1-p}{2}\log(1-4t^2)
= -\frac{1-p}{2}\log\left(1-\frac{p}{4}\right). L bet , n ( g ) ≤ − 2 1 − p log ( 1 − 4 t 2 ) = − 2 1 − p log ( 1 − 4 p ) .
Using − log ( 1 − u ) ≤ u / ( 1 − u ) -\log(1-u) \le u/(1-u) − log ( 1 − u ) ≤ u / ( 1 − u ) ,
L b e t , n ( g ) ≤ p ( 1 − p ) 8 ( 1 − p / 4 ) < p 8 . L_{\mathrm{bet},n}(g) \le\frac{p(1-p)}{8(1-p/4)} < \frac{p}{8}. L bet , n ( g ) ≤ 8 ( 1 − p /4 ) p ( 1 − p ) < 8 p .
Thus, uniformly over n n n ,
L b e t , n ( f 0 ) − L b e t , n ( g ) > p 5 − p 8 = 3 p 40 . L_{\mathrm{bet},n}(f_0)-L_{\mathrm{bet},n}(g)>\frac{p}{5}-\frac{p}{8}=\frac{3p}{40}. L bet , n ( f 0 ) − L bet , n ( g ) > 5 p − 8 p = 40 3 p .
In particular, the population betting objective strictly prefers g g g , despite f 0 f_0 f 0 being the unique L 1 L_1 L 1 oracle.
Step 3: the empirical objective eventually makes the same choice. The distribution of ( X , Y ) (X,Y) ( X , Y ) is supported on only three atoms,
{ ( a , 0 ) , ( a , 1 ) , ( b , 0 ) } . \{(a,0),(a,1),(b,0)\}. {( a , 0 ) , ( a , 1 ) , ( b , 0 )} .
For any f , h ∈ F f,h\in\mathcal{F} f , h ∈ F and any admissible ( ϕ , c ) (\phi,c) ( ϕ , c ) , define
ℓ f , h , ϕ , c ( x , y ) : = log ( 1 + ( y − f ( x ) ) b h , f ϕ , c ( x ) ) . \ell_{f,h,\phi,c}(x,y):=\log\left(1+(y-f(x))b_{h,f}^{\phi,c}(x)\right). ℓ f , h , ϕ , c ( x , y ) := log ( 1 + ( y − f ( x )) b h , f ϕ , c ( x ) ) .
Since ∣ y − f ( x ) ∣ ≤ 1 |y-f(x)|\le1 ∣ y − f ( x ) ∣ ≤ 1 and ∣ b h , f ϕ , c ( x ) ∣ ≤ 1 / 4 |b_{h,f}^{\phi,c}(x)|\le1/4 ∣ b h , f ϕ , c ( x ) ∣ ≤ 1/4 , we have
3 4 ≤ 1 + ( y − f ( x ) ) b h , f ϕ , c ( x ) ≤ 5 4 , \frac{3}{4}\le1+(y-f(x))b_{h,f}^{\phi,c}(x)\le\frac{5}{4}, 4 3 ≤ 1 + ( y − f ( x )) b h , f ϕ , c ( x ) ≤ 4 5 ,
and hence ∣ ℓ f , h , ϕ , c ( x , y ) ∣ ≤ log ( 4 / 3 ) |\ell_{f,h,\phi,c}(x,y)|\le\log(4/3) ∣ ℓ f , h , ϕ , c ( x , y ) ∣ ≤ log ( 4/3 ) uniformly over all f , h , ϕ , c f,h,\phi,c f , h , ϕ , c and all n n n .
Let q ^ n ( z ) \widehat{q}_n(z) q n ( z ) and q ( z ) q(z) q ( z ) denote the empirical and population probabilities of an atom z z z . Then
sup f , h , ϕ , c ∣ ( P n − P ) ℓ f , h , ϕ , c ∣ ≤ log ( 4 / 3 ) ∑ z ∈ { ( a , 0 ) , ( a , 1 ) , ( b , 0 ) } ∣ q ^ n ( z ) − q ( z ) ∣ ⟶ 0 \sup_{f,h,\phi,c}\left|(P_n-P)\ell_{f,h,\phi,c}\right|
\le\log(4/3)\sum_{z\in\{(a,0),(a,1),(b,0)\}}|\widehat{q}_n(z)-q(z)|
\longrightarrow0 f , h , ϕ , c sup ∣ ( P n − P ) ℓ f , h , ϕ , c ∣ ≤ log ( 4/3 ) z ∈ {( a , 0 ) , ( a , 1 ) , ( b , 0 )} ∑ ∣ q n ( z ) − q ( z ) ∣ ⟶ 0
almost surely.
Importantly, this bound is uniform over all admissible betting parameters, so the fact that the range ϕ ∈ [ 0 , n / 4 ] \phi\in[0,n/4] ϕ ∈ [ 0 , n /4 ] grows with n n n causes no difficulty.
It follows that
max f ∈ F ∣ L ^ b e t , n ( f ) − L b e t , n ( f ) ∣ ⟶ 0 \max_{f\in\mathcal{F}}\left|\widehat{L}_{\mathrm{bet},n}(f)-L_{\mathrm{bet},n}(f)\right|\longrightarrow0 f ∈ F max L bet , n ( f ) − L bet , n ( f ) ⟶ 0
almost surely.
Combining this with the uniform population gap above, we obtain
L ^ b e t , n ( g ) < L ^ b e t , n ( f 0 ) \widehat{L}_{\mathrm{bet},n}(g)<\widehat{L}_{\mathrm{bet},n}(f_0) L bet , n ( g ) < L bet , n ( f 0 )
for all sufficiently large n n n , almost surely. Hence every empirical minimizer satisfies f ^ b e t = g \widehat{f}_{\mathrm{bet}}=g f bet = g eventually almost surely. Therefore,
∥ f ^ b e t − η ∥ 1 ⟶ ∥ g − η ∥ 1 = 1 − p 4 p \left\|\widehat{f}_{\mathrm{bet}}-\eta\right\|_1\longrightarrow\|g-\eta\|_1=\frac{1-p}{4\sqrt{p}} f bet − η 1 ⟶ ∥ g − η ∥ 1 = 4 p 1 − p
almost surely.
Finally,
∥ g − η ∥ 1 ε 1 , ∗ = 1 − p 4 p ⟶ ∞ \frac{\|g-\eta\|_1}{\varepsilon_{1,*}}=\frac{1-p}{4\sqrt{p}}\longrightarrow\infty ε 1 , ∗ ∥ g − η ∥ 1 = 4 p 1 − p ⟶ ∞
as p ↓ 0 p\downarrow0 p ↓ 0 .
Thus, for any fixed C < ∞ C<\infty C < ∞ , one can choose p > 0 p>0 p > 0 sufficiently small such that ∥ g − η ∥ 1 > C ε 1 , ∗ \|g-\eta\|_1>C\varepsilon_{1,*} ∥ g − η ∥ 1 > C ε 1 , ∗ . Since every empirical minimizer converges almost surely to g g g , no universal bound of the form
∥ f ^ b e t − η ∥ 1 ≤ C ε 1 , ∗ + o n ( 1 ) \left\|\widehat{f}_{\mathrm{bet}}-\eta\right\|_1\le C\varepsilon_{1,*}+o_n(1) f bet − η 1 ≤ C ε 1 , ∗ + o n ( 1 )
can hold over arbitrary misspecified finite classes.
The obstruction is already present at the population level. The proof establishes more than asymptotic failure of the empirical estimator. For every n n n , the population objective satisfies
L b e t , n ( g ) < L b e t , n ( f 0 ) , L_{\mathrm{bet},n}(g) < L_{\mathrm{bet},n}(f_0), L bet , n ( g ) < L bet , n ( f 0 ) ,
with a gap bounded below by a positive multiple of p p p . Thus the failure is not caused by sampling fluctuations or by insufficient concentration of the empirical betting loss. Even with exact knowledge of the population objective, minimizing the original betting loss selects the predictor with the larger L 1 L_1 L 1 error on this instance.
Proposition 17 shows that the original betting loss ERM can asymptotically select a predictor with error Θ ( ε 1 , ∗ ) \Theta(\sqrt{\varepsilon_{1,*}}) Θ ( ε 1 , ∗ ) , and this deficiency is not merely an artifact of that proof strategy. This motivates the use of a different objective in the misspecified setting.
Proof of the finite-class variance-adaptive guarantee
Proof of Theorem 8. Let M : = ∣ F ∣ M := |\mathcal{F}| M := ∣ F ∣ and, for brevity in the proof, write
α : = log ( 2 M 2 / δ ) n . \alpha:= \frac{\log(2M^2/\delta)}{n}. α := n log ( 2 M 2 / δ ) .
For f , h ∈ F f,h \in\mathcal{F} f , h ∈ F , define
Z f , h ( X , Y ) : = ( Y − f ( X ) ) sign ( h ( X ) − f ( X ) ) , D f , h ( X ) : = ∣ f ( X ) − h ( X ) ∣ . Z_{f,h}(X,Y) := (Y-f(X))\operatorname{sign}(h(X)-f(X)), \qquad D_{f,h}(X) := |f(X)-h(X)|. Z f , h ( X , Y ) := ( Y − f ( X )) sign ( h ( X ) − f ( X )) , D f , h ( X ) := ∣ f ( X ) − h ( X ) ∣.
Thus T ^ ( f , h ) = P n Z f , h \widehat{T}(f,h) = P_nZ_{f,h} T ( f , h ) = P n Z f , h and T P ( f , h ) = P Z f , h T_P(f,h) = PZ_{f,h} T P ( f , h ) = P Z f , h .
We first establish a uniform concentration event. Since Y , f ( X ) ∈ [ 0 , 1 ] Y,f(X) \in[0,1] Y , f ( X ) ∈ [ 0 , 1 ] , we have ∣ Z f , h ∣ ≤ 1 |Z_{f,h}| \le1 ∣ Z f , h ∣ ≤ 1 , and hence ∣ Z f , h − P Z f , h ∣ ≤ 2 |Z_{f,h}-PZ_{f,h}| \le2 ∣ Z f , h − P Z f , h ∣ ≤ 2 and Var ( Z f , h ) ≤ P Z f , h 2 \operatorname{Var}(Z_{f,h}) \le PZ_{f,h}^2 Var ( Z f , h ) ≤ P Z f , h 2 . A one-sided Bernstein inequality therefore gives, for each fixed pair ( f , h ) (f,h) ( f , h ) ,
( P n − P ) Z f , h ≤ 2 P Z f , h 2 α + 4 3 α (50) (P_n-P)Z_{f,h} \le\sqrt{2PZ_{f,h}^2\alpha}+\frac{4}{3}\alpha \tag*{(50)} ( P n − P ) Z f , h ≤ 2 P Z f , h 2 α + 3 4 α (50)
except on an event of probability at most e − n α e^{-n\alpha} e − n α .
Similarly, since 0 ≤ D f , h ≤ 1 0 \le D_{f,h} \le1 0 ≤ D f , h ≤ 1 ,
Var ( D f , h ) ≤ P D f , h 2 ≤ P D f , h . \operatorname{Var}(D_{f,h}) \le PD_{f,h}^2 \le PD_{f,h}. Var ( D f , h ) ≤ P D f , h 2 ≤ P D f , h .
The lower-tail Bernstein inequality gives
( P − P n ) D f , h ≤ 2 P D f , h α + 2 3 α (51) (P-P_n)D_{f,h} \le\sqrt{2PD_{f,h}\alpha}+\frac{2}{3}\alpha \tag*{(51)} ( P − P n ) D f , h ≤ 2 P D f , h α + 3 2 α (51)
except on an event of probability at most e − n α e^{-n\alpha} e − n α .
There are at most M 2 M^2 M 2 ordered pairs in each of (50) and (51). Therefore, by a union bound, both inequalities hold simultaneously for every f , h ∈ F f,h \in\mathcal{F} f , h ∈ F with probability at least
1 − 2 M 2 e − n α = 1 − δ . 1-2M^2e^{-n\alpha}=1-\delta. 1 − 2 M 2 e − n α = 1 − δ .
We work on this event throughout the remainder of the proof.
Fix an arbitrary comparator f 0 ∈ F f_0 \in\mathcal{F} f 0 ∈ F . By the definition of B P ( f 0 ) B_P(f_0) B P ( f 0 ) , for every h ∈ F h \in\mathcal{F} h ∈ F ,
P Z f 0 , h = T P ( f 0 , h ) ≤ B P ( f 0 ) . PZ_{f_0,h}=T_P(f_0,h)\le B_P(f_0). P Z f 0 , h = T P ( f 0 , h ) ≤ B P ( f 0 ) .
Moreover,
P Z f 0 , h 2 = E [ ( Y − f 0 ( X ) ) 2 1 { h ( X ) ≠ f 0 ( X ) } ] ≤ v ( f 0 ) . PZ_{f_0,h}^2=\mathbb{E}\left[(Y-f_0(X))^2\mathbf{1}\{h(X)\ne f_0(X)\}\right]\le v(f_0). P Z f 0 , h 2 = E [ ( Y − f 0 ( X ) ) 2 1 { h ( X ) = f 0 ( X )} ] ≤ v ( f 0 ) .
Hence (50) implies
sup h ∈ F T ^ ( f 0 , h ) ≤ B P ( f 0 ) + 2 v ( f 0 ) α + 4 3 α . (52) \sup_{h\in\mathcal{F}}\widehat{T}(f_0,h)\le B_P(f_0)+\sqrt{2v(f_0)\alpha}+\frac{4}{3}\alpha. \tag*{(52)} h ∈ F sup T ( f 0 , h ) ≤ B P ( f 0 ) + 2 v ( f 0 ) α + 3 4 α . (52)
The key deterministic step is the sample analogue of Lemma 5. Pointwise,
Z f , h + Z h , f = ∣ f − h ∣ , (53) Z_{f,h}+Z_{h,f}=|f-h|, \tag*{(53)} Z f , h + Z h , f = ∣ f − h ∣ , (53)
and therefore
P n ∣ f ^ − f 0 ∣ = T ^ ( f ^ , f 0 ) + T ^ ( f 0 , f ^ ) ≤ sup h ∈ F T ^ ( f ^ , h ) + sup h ∈ F T ^ ( f 0 , h ) ≤ 2 sup h ∈ F T ^ ( f 0 , h ) (54) P_n\lvert\widehat f-f_0\rvert=\widehat T(\widehat f,f_0)+\widehat T(f_0,\widehat f)
\le\sup_{h\in\mathcal F}\widehat T(\widehat f,h)+\sup_{h\in\mathcal F}\widehat T(f_0,h)
\le2\sup_{h\in\mathcal F}\widehat T(f_0,h) \tag*{(54)} P n ∣ f − f 0 ∣ = T ( f , f 0 ) + T ( f 0 , f ) ≤ h ∈ F sup T ( f , h ) + h ∈ F sup T ( f 0 , h ) ≤ 2 h ∈ F sup T ( f 0 , h ) (54)
where the last inequality follows from the empirical optimality of f ^ \widehat f f in (10) . Combining (52) and (53) gives
P n ∣ f ^ − f 0 ∣ ≤ 2 B P ( f 0 ) + 2 2 v ( f 0 ) α + 8 3 α . (55) P_n\lvert\widehat f-f_0\rvert\le2B_P(f_0)+2\sqrt{2v(f_0)\alpha}+\frac{8}{3}\alpha. \tag*{(55)} P n ∣ f − f 0 ∣ ≤ 2 B P ( f 0 ) + 2 2 v ( f 0 ) α + 3 8 α . (55)
It remains to convert the empirical distance to its population counterpart. Let
d : = ∥ f ^ − f 0 ∥ 1 = P D f , f 0 . d:=\lVert\widehat f-f_0\rVert_1=PD_{f,f_0}. d := ∥ f − f 0 ∥ 1 = P D f , f 0 .
Because (51) holds simultaneously for all pairs in F \mathcal F F , it may be applied to the data-dependent pair ( f ^ , f 0 ) (\widehat f,f_0) ( f , f 0 ) . Thus
d ≤ P n ∣ f ^ − f 0 ∣ + 2 d α + 2 3 α . d\le P_n\lvert\widehat f-f_0\rvert+\sqrt{2d\alpha}+\frac{2}{3}\alpha. d ≤ P n ∣ f − f 0 ∣ + 2 d α + 3 2 α .
Using (55) ,
d ≤ 2 B P ( f 0 ) + 2 2 v ( f 0 ) α + 2 d α + 10 3 α . (56) d\le2B_P(f_0)+2\sqrt{2v(f_0)\alpha}+\sqrt{2d\alpha}+\frac{10}{3}\alpha. \tag*{(56)} d ≤ 2 B P ( f 0 ) + 2 2 v ( f 0 ) α + 2 d α + 3 10 α . (56)
Fix any ρ > 0 \rho>0 ρ > 0 and set
θ : = ρ 2 + ρ ∈ ( 0 , 1 ) . \theta:=\frac{\rho}{2+\rho}\in(0,1). θ := 2 + ρ ρ ∈ ( 0 , 1 ) .
Young’s inequality yields
2 d α ≤ θ d + α 2 θ . \sqrt{2d\alpha}\le\theta d+\frac{\alpha}{2\theta}. 2 d α ≤ θ d + 2 θ α .
Substituting this into (56) and using 1 / ( 1 − θ ) = ( 2 + ρ ) / 2 1/(1-\theta)=(2+\rho)/2 1/ ( 1 − θ ) = ( 2 + ρ ) /2 , we obtain
d ≤ ( 2 + ρ ) ( B P ( f 0 ) + 2 v ( f 0 ) α ) + ( 13 3 + 1 ρ + 23 12 ρ ) α . (57) d\le(2+\rho)\left(B_P(f_0)+\sqrt{2v(f_0)\alpha}\right)+\left(\frac{13}{3}+\frac{1}{\rho}+\frac{23}{12}\rho\right)\alpha. \tag*{(57)} d ≤ ( 2 + ρ ) ( B P ( f 0 ) + 2 v ( f 0 ) α ) + ( 3 13 + ρ 1 + 12 23 ρ ) α . (57)
Finally, by the triangle inequality,
ε 1 ( f ^ ) = ∥ f ^ − η ∥ 1 ≤ ε 1 ( f 0 ) + ∥ f ^ − f 0 ∥ 1 . \varepsilon_1(\widehat f)=\lVert\widehat f-\eta\rVert_1\le\varepsilon_1(f_0)+\lVert\widehat f-f_0\rVert_1. ε 1 ( f ) = ∥ f − η ∥ 1 ≤ ε 1 ( f 0 ) + ∥ f − f 0 ∥ 1 .
Combining this with (57) gives, for every f 0 ∈ F f_0\in\mathcal F f 0 ∈ F ,
ε 1 ( f ^ ) ≤ ε 1 ( f 0 ) + ( 2 + ρ ) B P ( f 0 ) + ( 2 + ρ ) 2 v ( f 0 ) α + ( 13 3 + 1 ρ + 23 12 ρ ) α . \varepsilon_1(\widehat f)\le\varepsilon_1(f_0)+(2+\rho)B_P(f_0)+(2+\rho)\sqrt{2v(f_0)\alpha}
+\left(\frac{13}{3}+\frac{1}{\rho}+\frac{23}{12}\rho\right)\alpha. ε 1 ( f ) ≤ ε 1 ( f 0 ) + ( 2 + ρ ) B P ( f 0 ) + ( 2 + ρ ) 2 v ( f 0 ) α + ( 3 13 + ρ 1 + 12 23 ρ ) α .
The concentration event above is uniform over all pairs in F \mathcal F F and does not depend on either f 0 f_0 f 0 or ρ \rho ρ . Hence the bound holds simultaneously for every comparator f 0 ∈ F f_0\in\mathcal F f 0 ∈ F and every ρ > 0 \rho>0 ρ > 0 . Taking the infimum over f 0 ∈ F f_0\in\mathcal F f 0 ∈ F and substituting α = log ( 2 ∣ F ∣ 2 / δ ) / n \alpha=\log(2|\mathcal F|^2/\delta)/n α = log ( 2∣ F ∣ 2 / δ ) / n completes the proof.
The finite-sample guarantee recovers the population guarantee
Corollary 18 (Optimized finite-sample bound). Under the assumptions of Theorem 8 , with probability at least 1 − δ 1-\delta 1 − δ , simultaneously for every f 0 ∈ F f_0\in\mathcal F f 0 ∈ F ,
ε 1 ( f ^ ) ≤ ε 1 ( f 0 ) + 2 B P ( f 0 ) + r n ( f 0 , δ ) , (58) \varepsilon_1(\widehat f)\le\varepsilon_1(f_0)+2B_P(f_0)+r_n(f_0,\delta), \tag*{(58)} ε 1 ( f ) ≤ ε 1 ( f 0 ) + 2 B P ( f 0 ) + r n ( f 0 , δ ) , (58)
where, writing
α : = log ( 2 ∣ F ∣ 2 / δ ) n , s ( f 0 ) : = 2 v ( f 0 ) α , \alpha:= \frac{\log(2|\mathcal{F}|^2/\delta)}{n}, \qquad s(f_0) := \sqrt{2v(f_0)\alpha}, α := n log ( 2∣ F ∣ 2 / δ ) , s ( f 0 ) := 2 v ( f 0 ) α ,
we may take
r n ( f 0 , δ ) : = 2 s ( f 0 ) + 13 3 α + 2 α ( B P ( f 0 ) + s ( f 0 ) + 23 12 α ) . (59) r_n(f_0,\delta) := 2s(f_0) + \frac{13}{3}\alpha+ 2\sqrt{\alpha\left(B_P(f_0)+s(f_0)+\frac{23}{12}\alpha\right)}. \tag*{(59)} r n ( f 0 , δ ) := 2 s ( f 0 ) + 3 13 α + 2 α ( B P ( f 0 ) + s ( f 0 ) + 12 23 α ) . (59)
Consequently, for every fixed f 0 ∈ F f_0 \in\mathcal{F} f 0 ∈ F and δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) , r n ( f 0 , δ ) → 0 r_n(f_0,\delta) \to0 r n ( f 0 , δ ) → 0 as n → ∞ n \to\infty n → ∞ .
Proof. Fix f 0 ∈ F f_0 \in\mathcal{F} f 0 ∈ F . On the event of Theorem 8, for every ρ > 0 \rho> 0 ρ > 0 ,
ε 1 ( f ^ ) ≤ ε 1 ( f 0 ) + ( 2 + ρ ) B P ( f 0 ) + ( 2 + ρ ) s ( f 0 ) + ( 13 3 + 1 ρ + 23 12 ρ ) α . \varepsilon_1(\hat{f}) \le\varepsilon_1(f_0) + (2+\rho)B_P(f_0) + (2+\rho)s(f_0)
+ \left(\frac{13}{3}+\frac{1}{\rho}+\frac{23}{12}\rho\right)\alpha. ε 1 ( f ^ ) ≤ ε 1 ( f 0 ) + ( 2 + ρ ) B P ( f 0 ) + ( 2 + ρ ) s ( f 0 ) + ( 3 13 + ρ 1 + 12 23 ρ ) α .
Rearranging the ρ \rho ρ -dependent terms gives
ε 1 ( f ^ ) ≤ ε 1 ( f 0 ) + 2 B P ( f 0 ) + 2 s ( f 0 ) + 13 3 α + ρ ( B P ( f 0 ) + s ( f 0 ) + 23 12 α ) + α ρ . \varepsilon_1(\hat{f}) \le\varepsilon_1(f_0) + 2B_P(f_0) + 2s(f_0) + \frac{13}{3}\alpha
+ \rho\left(B_P(f_0)+s(f_0)+\frac{23}{12}\alpha\right) + \frac{\alpha}{\rho}. ε 1 ( f ^ ) ≤ ε 1 ( f 0 ) + 2 B P ( f 0 ) + 2 s ( f 0 ) + 3 13 α + ρ ( B P ( f 0 ) + s ( f 0 ) + 12 23 α ) + ρ α .
Since the theorem holds simultaneously for every ρ > 0 \rho> 0 ρ > 0 , we may choose
ρ = α B P ( f 0 ) + s ( f 0 ) + 23 12 α . \rho= \sqrt{\frac{\alpha}{B_P(f_0)+s(f_0)+\frac{23}{12}\alpha}}. ρ = B P ( f 0 ) + s ( f 0 ) + 12 23 α α .
Using
inf ρ > 0 { ρ A + α ρ } = 2 α A , A > 0 , \inf_{\rho>0}\left\{\rho A+\frac{\alpha}{\rho}\right\}=2\sqrt{\alpha A}, \qquad A>0, ρ > 0 inf { ρ A + ρ α } = 2 α A , A > 0 ,
yields (57)–(58). The same high-probability event is uniform over f 0 ∈ F f_0 \in\mathcal{F} f 0 ∈ F , so the result holds simultaneously for all comparators f 0 f_0 f 0 .
Finally, for fixed f 0 f_0 f 0 , F \mathcal{F} F , and δ \delta δ , we have α → 0 \alpha\to0 α → 0 and s ( f 0 ) = 2 v ( f 0 ) α → 0 s(f_0)=\sqrt{2v(f_0)\alpha}\to0 s ( f 0 ) = 2 v ( f 0 ) α → 0 . Hence every term in (58) converges to zero.
Corollary 18 makes precise the connection between the finite-sample result and the population guarantee in Proposition 7. For every fixed comparator f 0 f_0 f 0 , SBR satisfies the same leading population bound ε 1 ( f 0 ) + 2 B P ( f 0 ) \varepsilon_1(f_0)+2B_P(f_0) ε 1 ( f 0 ) + 2 B P ( f 0 ) , up to an estimation term that vanishes with the sample size. The optimizing value of ρ \rho ρ is used only in the analysis and does not need to be known or supplied to SBR.
Relation to the fixed-design guarantee of Baraud and Maillard
We clarify here the relation between our random-design guarantees and the fixed-design result of Baraud & Maillard (2025). Their estimator coincides with SBR up to normalization when the optimization is exact, but their statistical setting and risk criterion are different. In particular, they consider deterministic design points and control the expected L 1 L_1 L 1 error evaluated on those design points. Our results instead concern high-probability population error under i.i.d. random design.
We record the consequence obtained by applying their theorem conditionally on the random covariates and then using a standard uniform-convergence argument. This provides a natural black-box baseline against which to compare our direct random-design analysis.
An application of the fixed-design result. Suppose that F \mathcal{F} F is finite, with M : = ∣ F ∣ M := |\mathcal{F}| M := ∣ F ∣ , and define
R ( f ) : = ε 1 ( f ) = E ∣ f ( X ) − η ( X ) ∣ , R n ( f ) : = 1 n ∑ i = 1 n ∣ f ( X i ) − η ( X i ) ∣ . R(f) := \varepsilon_1(f) = \mathbb{E}|f(X)-\eta(X)|,\qquad
R_n(f) := \frac{1}{n}\sum_{i=1}^{n}|f(X_i)-\eta(X_i)|. R ( f ) := ε 1 ( f ) = E ∣ f ( X ) − η ( X ) ∣ , R n ( f ) := n 1 i = 1 ∑ n ∣ f ( X i ) − η ( X i ) ∣.
Let
σ ˉ n 2 : = 1 n ∑ i = 1 n σ 2 ( X i ) , σ ˉ 2 : = E [ σ 2 ( X ) ] . \bar{\sigma}_n^2 := \frac{1}{n}\sum_{i=1}^n \sigma^2(X_i), \qquad\bar{\sigma}^2 := \mathbb{E}[\sigma^2(X)]. σ ˉ n 2 := n 1 i = 1 ∑ n σ 2 ( X i ) , σ ˉ 2 := E [ σ 2 ( X )] .
Condition on X 1 : n : = ( X 1 , … , X n ) X_{1:n} := (X_1,\ldots,X_n) X 1 : n := ( X 1 , … , X n ) . The responses then form a fixed-design regression problem,
Y i = η ( X i ) + ξ i , E [ ξ i ∣ X 1 : n ] = 0 , E [ ξ i 2 ∣ X 1 : n ] = σ 2 ( X i ) . Y_i = \eta(X_i) + \xi_i, \qquad\mathbb{E}[\xi_i \mid X_{1:n}] = 0, \qquad\mathbb{E}[\xi_i^2 \mid X_{1:n}] = \sigma^2(X_i). Y i = η ( X i ) + ξ i , E [ ξ i ∣ X 1 : n ] = 0 , E [ ξ i 2 ∣ X 1 : n ] = σ 2 ( X i ) .
Hence the p = 2 p = 2 p = 2 specialization of the oracle inequality of Baraud & Maillard (2025) applies conditionally on X 1 : n X_{1:n} X 1 : n .
For a finite class, the comparison-set families appearing in their complexity measure contain at most M M M sets, so their relevant VC complexity is at most of order log M \log M log M . Consequently, their theorem implies, for a universal constant κ > 0 \kappa> 0 κ > 0 ,
E [ R n ( f ^ ) ∣ X 1 : n ] ≤ 3 inf f ∈ F R n ( f ) + κ σ ˉ n 2 log M n . (60) \mathbb{E}\left[R_n(\hat{f}) \mid X_{1:n}\right] \le3\inf_{f\in\mathcal{F}} R_n(f) + \kappa\sqrt{\frac{\bar{\sigma}_n^2 \log M}{n}}. \tag*{(60)} E [ R n ( f ^ ) ∣ X 1 : n ] ≤ 3 f ∈ F inf R n ( f ) + κ n σ ˉ n 2 log M . (60)
We suppress inessential modifications of the logarithmic complexity term.
Taking expectations over X 1 : n X_{1:n} X 1 : n , using
E [ inf f ∈ F R n ( f ) ] ≤ inf f ∈ F E R n ( f ) = ε 1 , ∗ , \mathbb{E}\left[\inf_{f\in\mathcal{F}} R_n(f)\right] \le\inf_{f\in\mathcal{F}} \mathbb{E}R_n(f) = \varepsilon_{1,*}, E [ f ∈ F inf R n ( f ) ] ≤ f ∈ F inf E R n ( f ) = ε 1 , ∗ ,
and Jensen’s inequality gives
E R n ( f ^ ) ≤ 3 ε 1 , ∗ + κ σ ˉ 2 log M n . (61) \mathbb{E}R_n(\hat{f}) \le3\varepsilon_{1,*} + \kappa\sqrt{\frac{\bar{\sigma}^2 \log M}{n}}. \tag*{(61)} E R n ( f ^ ) ≤ 3 ε 1 , ∗ + κ n σ ˉ 2 log M . (61)
Thus the fixed-design result already yields a variance-sensitive bound for the expected error of SBR evaluated on the observed covariates.
A direct conversion to population risk. To pass from the empirical-design error to population error, define
Δ n : = sup f ∈ F ∣ R n ( f ) − R ( f ) ∣ . \Delta_n := \sup_{f\in\mathcal{F}} |R_n(f)-R(f)|. Δ n := f ∈ F sup ∣ R n ( f ) − R ( f ) ∣.
Since f ^ ∈ F \hat{f}\in\mathcal{F} f ^ ∈ F ,
R ( f ^ ) ≤ R n ( f ^ ) + Δ n . R(\hat{f}) \le R_n(\hat{f}) + \Delta_n. R ( f ^ ) ≤ R n ( f ^ ) + Δ n .
Moreover, because ∣ f ( X ) − η ( X ) ∣ ∈ [ 0 , 1 ] |f(X)-\eta(X)| \in[0,1] ∣ f ( X ) − η ( X ) ∣ ∈ [ 0 , 1 ] , standard finite-class uniform convergence gives
E [ Δ n ] ≲ log M n . \mathbb{E}[\Delta_n] \lesssim\sqrt{\frac{\log M}{n}}. E [ Δ n ] ≲ n log M .
Combining this with (60) yields the population bound
E ε 1 ( f ^ ) ≤ 3 ε 1 , ∗ + κ σ ˉ 2 log M n + C log M n (62) \mathbb{E}\,\varepsilon_1(\hat{f}) \le3\varepsilon_{1,*} + \kappa\sqrt{\frac{\bar{\sigma}^2\log M}{n}} + C\sqrt{\frac{\log M}{n}} \tag*{(62)} E ε 1 ( f ^ ) ≤ 3 ε 1 , ∗ + κ n σ ˉ 2 log M + C n log M (62)
for a universal constant C C C .
The last term in (61) is independent of the conditional label variance. In particular, even in the realizable noiseless case ε 1 , ∗ = σ ˉ 2 = 0 \varepsilon_{1,*} = \bar{\sigma}^2 = 0 ε 1 , ∗ = σ ˉ 2 = 0 , this direct black-box argument leaves an O ( log ( M ) / n ) O(\sqrt{\log(M)/n}) O ( log ( M ) / n ) population-generalization term.
This calculation highlights the additional issue created by random design: a variance-sensitive fixed-design bound does not by itself provide a variance-sensitive population guarantee. Our analysis does not treat the fixed-design theorem as a black box followed by global uniform convergence. Instead, it analyzes the signed-residual process and the empirical-to-population transition jointly, leading to the localized, high-probability guarantees of Theorem 8 . In particular, our bound retains comparator-dependent approximation and second-order quantities and can achieve substantially smaller statistical terms on favorable instances.
A sufficient condition for favorable misspecification
Proposition 19 (A sufficient condition for favorable misspecification). Let
D F : = { x ∈ X : ∃ f , h ∈ F , f ( x ) ≠ h ( x ) } D_{\mathcal{F}} := \{x \in\mathcal{X} : \exists f,h \in\mathcal{F},\ f(x) \ne h(x)\} D F := { x ∈ X : ∃ f , h ∈ F , f ( x ) = h ( x )} be the disagreement region of F \mathcal{F} F . Suppose there exists f ⋆ ∈ F f_{\star} \in\mathcal{F} f ⋆ ∈ F such that
f ⋆ ( x ) = η ( x ) for every x ∈ D F . f_{\star}(x) = \eta(x) \qquad\text{for every } x \in D_{\mathcal{F}}. f ⋆ ( x ) = η ( x ) for every x ∈ D F . Then f ⋆ f_{\star} f ⋆ is an L 1 L_1 L 1 -optimal predictor and B P ( f ⋆ ) = 0 B_P(f_{\star}) = 0 B P ( f ⋆ ) = 0 .
Proof. Outside D F D_{\mathcal{F}} D F , all predictors in F \mathcal{F} F agree, and hence every f ∈ F f \in\mathcal{F} f ∈ F satisfies f = f ⋆ f = f_{\star} f = f ⋆ on D F c D_{\mathcal{F}}^c D F c . On D F D_{\mathcal{F}} D F , we have f ⋆ = η f_{\star} = \eta f ⋆ = η . Therefore, for every f ∈ F f \in\mathcal{F} f ∈ F ,
ε 1 ( f ) = ε 1 ( f ⋆ ) + ∥ f − f ⋆ ∥ 1 ≥ ε 1 ( f ⋆ ) , \varepsilon_1(f) = \varepsilon_1(f_{\star}) + \lVert f-f_{\star}\rVert_1 \ge\varepsilon_1(f_{\star}), ε 1 ( f ) = ε 1 ( f ⋆ ) + ∥ f − f ⋆ ∥ 1 ≥ ε 1 ( f ⋆ ) ,
so f ⋆ f_{\star} f ⋆ is L 1 L_1 L 1 -optimal.
Moreover, for every h ∈ F h \in\mathcal{F} h ∈ F , sign ( h − f ⋆ ) = 0 \operatorname{sign}(h-f_{\star}) = 0 sign ( h − f ⋆ ) = 0 outside D F D_{\mathcal{F}} D F , whereas η − f ⋆ = 0 \eta-f_{\star} = 0 η − f ⋆ = 0 on D F D_{\mathcal{F}} D F . Hence
T P ( f ⋆ , h ) = E [ ( η − f ⋆ ) sign ( h − f ⋆ ) ] = 0. T_P(f_{\star},h) = \mathbb{E}[(\eta-f_{\star})\operatorname{sign}(h-f_{\star})] = 0. T P ( f ⋆ , h ) = E [( η − f ⋆ ) sign ( h − f ⋆ )] = 0.
Taking the supremum over h ∈ F h \in\mathcal{F} h ∈ F gives B P ( f ⋆ ) = 0 B_P(f_{\star}) = 0 B P ( f ⋆ ) = 0 .
Proofs for the sharp factor-three characterization
Proof of Corollary 12. Let
α δ : = log ( 2 ∣ F ∣ 2 / δ ) n , \alpha_{\delta} := \frac{\log(2|\mathcal{F}|^2/\delta)}{n}, α δ := n log ( 2∣ F ∣ 2 / δ ) ,
and fix
f ⋆ ∈ arg min f ∈ F ε 1 ( f ) . f_{\star} \in\arg\min_{f \in\mathcal{F}} \varepsilon_1(f). f ⋆ ∈ arg f ∈ F min ε 1 ( f ) .
Since Y ∈ [ 0 , 1 ] Y \in[0,1] Y ∈ [ 0 , 1 ] and every f ∈ F f \in\mathcal{F} f ∈ F is [ 0 , 1 ] [0,1] [ 0 , 1 ] -valued,
ε 1 , ∗ ≤ 1 , B P ( f ⋆ ) ≤ ε 1 , ∗ ≤ 1 , v ( f ⋆ ) ≤ 1. (63) \varepsilon_{1,\ast} \le1,\qquad B_P(f_{\star}) \le\varepsilon_{1,\ast} \le1,\qquad v(f_{\star}) \le1. \tag*{(63)} ε 1 , ∗ ≤ 1 , B P ( f ⋆ ) ≤ ε 1 , ∗ ≤ 1 , v ( f ⋆ ) ≤ 1. (63)
Suppose first that α δ ≤ 1 \alpha_{\delta} \le1 α δ ≤ 1 . Since the event in Theorem 8 holds simultaneously for every ρ > 0 \rho> 0 ρ > 0 , we may choose
ρ = α δ . \rho= \sqrt{\alpha_{\delta}}. ρ = α δ .
Applying Theorem 8 with f 0 = f ⋆ f_0 = f_{\star} f 0 = f ⋆ and using (62) gives
ε 1 ( f ^ ) ≤ ε 1 , ∗ + ( 2 + ρ ) B P ( f ⋆ ) + ( 2 + ρ ) 2 v ( f ⋆ ) α δ + C ρ α δ \varepsilon_1(\hat{f}) \le\varepsilon_{1,\ast} + (2+\rho)B_P(f_{\star}) + (2+\rho)\sqrt{2v(f_{\star})\alpha_{\delta}} + C_{\rho}\alpha_{\delta} ε 1 ( f ^ ) ≤ ε 1 , ∗ + ( 2 + ρ ) B P ( f ⋆ ) + ( 2 + ρ ) 2 v ( f ⋆ ) α δ + C ρ α δ
≤ 3 ε 1 , ∗ + ρ ε 1 , ∗ + ( 2 + ρ ) 2 α δ + ( 13 3 + 1 ρ + 23 12 ρ ) α δ \le3\varepsilon_{1,\ast} + \rho\varepsilon_{1,\ast} + (2+\rho)\sqrt{2\alpha_{\delta}} + \left(\frac{13}{3}+\frac{1}{\rho}+\frac{23}{12}\rho\right)\alpha_{\delta} ≤ 3 ε 1 , ∗ + ρ ε 1 , ∗ + ( 2 + ρ ) 2 α δ + ( 3 13 + ρ 1 + 12 23 ρ ) α δ
≤ 3 ε 1 , ∗ + α δ + 3 2 α δ + 13 3 α δ + α δ + 23 12 α δ 3 / 2 . \le3\varepsilon_{1,\ast} + \sqrt{\alpha_{\delta}} + 3\sqrt{2\alpha_{\delta}} + \frac{13}{3}\alpha_{\delta} + \sqrt{\alpha_{\delta}} + \frac{23}{12}\alpha_{\delta}^{3/2}. ≤ 3 ε 1 , ∗ + α δ + 3 2 α δ + 3 13 α δ + α δ + 12 23 α δ 3/2 .
Because α δ ≤ 1 \alpha_{\delta} \le1 α δ ≤ 1 ,
α δ ≤ α δ , α δ 3 / 2 ≤ α δ . \alpha_{\delta} \le\sqrt{\alpha_{\delta}},\qquad\alpha_{\delta}^{3/2} \le\sqrt{\alpha_{\delta}}. α δ ≤ α δ , α δ 3/2 ≤ α δ .
Hence
ε 1 ( f ^ ) ≤ 3 ε 1 , ∗ + ( 33 4 + 3 2 ) α δ . (64) \varepsilon_1(\hat{f}) \le3\varepsilon_{1,\ast} + \left(\frac{33}{4}+3\sqrt{2}\right)\sqrt{\alpha_{\delta}}. \tag*{(64)} ε 1 ( f ^ ) ≤ 3 ε 1 , ∗ + ( 4 33 + 3 2 ) α δ . (64)
If instead α δ > 1 \alpha_{\delta} > 1 α δ > 1 , boundedness gives
ε 1 ( f ^ ) ≤ 1. \varepsilon_1(\hat{f}) \le1. ε 1 ( f ^ ) ≤ 1.
Since
33 4 + 3 2 > 1 and α δ > 1 , \frac{33}{4}+3\sqrt{2} > 1 \qquad\text{and} \qquad\sqrt{\alpha_{\delta}} > 1, 4 33 + 3 2 > 1 and α δ > 1 ,
the bound in (63) also holds trivially in this case. Therefore, for all n ≥ 1 n \ge1 n ≥ 1 and δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) ,
ε 1 ( f ^ ) ≤ 3 ε 1 , ∗ + ( 33 4 + 3 2 ) log ( 2 ∣ F ∣ 2 / δ ) n . (65) \varepsilon_1(\hat{f}) \le3\varepsilon_{1,\ast}+\left(\frac{33}{4}+3\sqrt{2}\right)\sqrt{\frac{\log(2|\mathcal{F}|^2/\delta)}{n}}. \tag*{(65)} ε 1 ( f ^ ) ≤ 3 ε 1 , ∗ + ( 4 33 + 3 2 ) n log ( 2∣ F ∣ 2 / δ ) . (65)
The estimation term in (64) depends only on n n n , ∣ F ∣ |\mathcal{F}| ∣ F ∣ , and δ \delta δ , and hence is uniform over the underlying distribution P P P .
Proof of Theorem 13
Proof. Fix C ∈ [ 1 , 3 ) C \in[1,3) C ∈ [ 1 , 3 ) . Take X = N \mathcal{X}=\mathbb{N} X = N , set a : = ( C + 1 ) / ( C + 5 ) a := (C+1)/(C+5) a := ( C + 1 ) / ( C + 5 ) , and define
f − ( x ) ≡ a , f + ( x ) ≡ 1 − a , F C : = { f − , f + } . f_-(x) \equiv a,\qquad f_+(x) \equiv1-a,\qquad\mathcal{F}_C := \{f_-,f_+\}. f − ( x ) ≡ a , f + ( x ) ≡ 1 − a , F C := { f − , f + } .
Also set
q : = 1 2 ( 1 − a ) = C + 5 8 , e : = 1 2 − a , r : = 1 + a 1 − a = C + 3 2 . q := \frac{1}{2(1-a)}=\frac{C+5}{8},\qquad e := \frac{1}{2}-a,\qquad r := \frac{1+a}{1-a}=\frac{C+3}{2}. q := 2 ( 1 − a ) 1 = 8 C + 5 , e := 2 1 − a , r := 1 − a 1 + a = 2 C + 3 .
Then a ∈ [ 1 / 3 , 1 / 2 ) a \in[1/3,1/2) a ∈ [ 1/3 , 1/2 ) , q ∈ ( 0 , 1 ) q \in(0,1) q ∈ ( 0 , 1 ) , e > 0 e>0 e > 0 , and r > C r>C r > C . Define g : = ( r − C ) e > 0 g := (r-C)e>0 g := ( r − C ) e > 0 and
ε C : = g 2 − ( 3 − C ) 2 8 ( C + 5 ) . \varepsilon_C := \frac{g}{2}-\frac{(3-C)^2}{8(C+5)}. ε C := 2 g − 8 ( C + 5 ) ( 3 − C ) 2 .
Both F C \mathcal{F}_C F C and ε C \varepsilon_C ε C depend only on C C C .
Now fix n ≥ 1 n \ge1 n ≥ 1 and a possibly randomized proper learner with output f ^ n ∈ F C \hat{f}_n \in\mathcal{F}_C f ^ n ∈ F C . All probabilities involving its output include the learner’s internal randomization.
For an integer N N N to be chosen below, construct two priors Π − \Pi_- Π − and Π + \Pi_+ Π + over vectors θ = ( θ 1 , … , θ N ) \theta=(\theta_1,\ldots,\theta_N) θ = ( θ 1 , … , θ N ) of conditional means. Under each prior, the coordinates are independent, with
Π − : θ j = { a , with probability q , 1 , with probability 1 − q , \Pi_-:\qquad\theta_j =
\begin{cases}
a, & \text{with probability }q,\\
1, & \text{with probability }1-q,
\end{cases} Π − : θ j = { a , 1 , with probability q , with probability 1 − q ,
Π + : θ j = { 1 − a , with probability q , 0 , with probability 1 − q . \Pi_+:\qquad\theta_j =
\begin{cases}
1-a, & \text{with probability }q,\\
0, & \text{with probability }1-q.
\end{cases} Π + : θ j = { 1 − a , 0 , with probability q , with probability 1 − q .
For each fixed θ \theta θ , let P θ P_\theta P θ be the distribution defined by
X ∼ Unif ( [ N ] ) , Y ∣ X = j ∼ Bernoulli ( θ j ) . X \sim\operatorname{Unif}([N]),\qquad Y\mid X=j \sim\operatorname{Bernoulli}(\theta_j). X ∼ Unif ([ N ]) , Y ∣ X = j ∼ Bernoulli ( θ j ) .
Its regression function satisfies η θ ( j ) = θ j \eta_\theta(j)=\theta_j η θ ( j ) = θ j for j ∈ [ N ] j\in[N] j ∈ [ N ] . For f ∈ F C f\in\mathcal{F}_C f ∈ F C , write
d θ ( f ) : = E P θ ∣ f ( X ) − η θ ( X ) ∣ = 1 N ∑ j = 1 N ∣ f ( j ) − θ j ∣ . d_\theta(f):=\mathbb{E}_{P_\theta}|f(X)-\eta_\theta(X)|=\frac{1}{N}\sum_{j=1}^{N}|f(j)-\theta_j|. d θ ( f ) := E P θ ∣ f ( X ) − η θ ( X ) ∣ = N 1 j = 1 ∑ N ∣ f ( j ) − θ j ∣.
Under Π − \Pi_- Π − , direct calculation gives
E Π − d θ ( f − ) = ( 1 − q ) ( 1 − a ) = e , \mathbb{E}_{\Pi_-}d_\theta(f_-)=(1-q)(1-a)=e, E Π − d θ ( f − ) = ( 1 − q ) ( 1 − a ) = e ,
E Π − d θ ( f + ) = q ( 1 − 2 a ) + ( 1 − q ) a = r e . \mathbb{E}_{\Pi_-}d_\theta(f_+)=q(1-2a)+(1-q)a=re. E Π − d θ ( f + ) = q ( 1 − 2 a ) + ( 1 − q ) a = r e .
By symmetry, E Π + d θ ( f + ) = e \mathbb{E}_{\Pi_+}d_\theta(f_+)=e E Π + d θ ( f + ) = e and E Π + d θ ( f − ) = r e \mathbb{E}_{\Pi_+}d_\theta(f_-)=re E Π + d θ ( f − ) = r e .
Let t : = g / [ 4 ( 1 + C ) ] t:=g/[4(1+C)] t := g / [ 4 ( 1 + C )] . For s ∈ { − , + } s\in\{-,+\} s ∈ { − , + } , let s ˉ \bar{s} s ˉ denote the opposite sign and define
G s : = { ∣ d θ ( f s ) − e ∣ ≤ t , ∣ d θ ( f s ˉ ) − r e ∣ ≤ t } . G_s:=\{|d_\theta(f_s)-e|\le t,\ |d_\theta(f_{\bar{s}})-re|\le t\}. G s := { ∣ d θ ( f s ) − e ∣ ≤ t , ∣ d θ ( f s ˉ ) − r e ∣ ≤ t } .
Each risk is an average of N N N independent [ 0 , 1 ] [0,1] [ 0 , 1 ] -valued random variables under the corresponding prior. Hoeffding’s inequality and a union bound therefore yield
Π s ( G s c ) ≤ 4 exp ( − 2 N t 2 ) . \Pi_s(G_s^c)\le4\exp(-2Nt^2). Π s ( G s c ) ≤ 4 exp ( − 2 N t 2 ) .
On G s G_s G s ,
d θ ( f s ˉ ) − C d θ ( f s ) ≥ r e − t − C ( e + t ) = g − ( 1 + C ) t = 3 g 4 > ε C . \begin{aligned}
d_\theta(f_{\bar{s}})-Cd_\theta(f_s)\ge re-t-C(e+t) \\
&= g-(1+C)t=\frac{3g}{4}>\varepsilon_C.
\end{aligned} d θ ( f s ˉ ) − C d θ ( f s ) ≥ r e − t − C ( e + t ) = g − ( 1 + C ) t = 4 3 g > ε C .
Since C ≥ 1 C \ge1 C ≥ 1 , this also implies d θ ( f ˉ s ) > d θ ( f s ) d_\theta(\bar{f}_s) > d_\theta(f_s) d θ ( f ˉ s ) > d θ ( f s ) . Thus f s f_s f s is the unique L 1 L_1 L 1 -optimal member of F C \mathcal{F}_C F C on G s G_s G s , and
d θ ( f ˉ s ) > C min f ∈ F C d θ ( f ) + ε C . (66) d_\theta(\bar{f}_s) > C \min_{f \in\mathcal{F}_C} d_\theta(f) + \varepsilon_C. \tag*{(66)} d θ ( f ˉ s ) > C f ∈ F C min d θ ( f ) + ε C . (66)
We next show that the two priors induce nearly indistinguishable sample distributions. Let
Q s : = ∫ P θ ⊗ n Π s ( d θ ) , s ∈ { − , + } , Q_s := \int P_\theta^{\otimes n}\,\Pi_s(\mathrm{d}\theta), \qquad s \in\{-,+\}, Q s := ∫ P θ ⊗ n Π s ( d θ ) , s ∈ { − , + } ,
be the mixture law of the entire training sample. In particular, Q s Q_s Q s is a mixture of product distributions, not a product of single-observation mixtures. Under both priors,
E Π − θ j = q a + ( 1 − q ) = 1 2 , E Π + θ j = q ( 1 − a ) = 1 2 . \mathbb{E}_{\Pi_-}\theta_j = qa + (1-q) = \frac{1}{2}, \qquad\mathbb{E}_{\Pi_+}\theta_j = q(1-a) = \frac{1}{2}. E Π − θ j = q a + ( 1 − q ) = 2 1 , E Π + θ j = q ( 1 − a ) = 2 1 .
Let D : = { X 1 , … , X n are all distinct } D := \{X_1,\ldots,X_n \text{ are all distinct}\} D := { X 1 , … , X n are all distinct } . Conditional on any distinct input sequence, the sampled coordinates θ X 1 , … , θ X n \theta_{X_1},\ldots,\theta_{X_n} θ X 1 , … , θ X n are independent under either prior. After integrating out these coordinates, the conditional label law is Bernoulli( 1 / 2 ) ⊗ n (1/2)^{\otimes n} ( 1/2 ) ⊗ n under both Q − Q_- Q − and Q + Q_+ Q + . The input law is also identical under the two mixtures. Hence their restrictions to D D D coincide.
Writing TV ( Q − , Q + ) : = sup A ∣ Q − ( A ) − Q + ( A ) ∣ \operatorname{TV}(Q_-,Q_+) := \sup_A |Q_-(A)-Q_+(A)| TV ( Q − , Q + ) := sup A ∣ Q − ( A ) − Q + ( A ) ∣ , we obtain
TV ( Q − , Q + ) ≤ Q − ( D c ) ≤ ∑ 1 ≤ i < j ≤ n P ( X i = X j ) = n ( n − 1 ) 2 N , \operatorname{TV}(Q_-,Q_+) \le Q_-(D^c) \le\sum_{1 \le i<j \le n} \mathbb{P}(X_i=X_j) = \frac{n(n-1)}{2N}, TV ( Q − , Q + ) ≤ Q − ( D c ) ≤ 1 ≤ i < j ≤ n ∑ P ( X i = X j ) = 2 N n ( n − 1 ) ,
where the collision probabilities are computed under the common input law. Choose an integer
N ≥ max { 1 , 6 n ( n − 1 ) , log 48 2 t 2 } . N \ge\max\left\{1,\,6n(n-1),\,\frac{\log48}{2t^2}\right\}. N ≥ max { 1 , 6 n ( n − 1 ) , 2 t 2 log 48 } .
The preceding bounds then give
TV ( Q − , Q + ) ≤ 1 12 , Π s ( G s c ) ≤ 1 12 ( s ∈ { − , + } ) . (67) \operatorname{TV}(Q_-,Q_+) \le\frac{1}{12}, \qquad\Pi_s(G_s^c) \le\frac{1}{12} \quad(s \in\{-,+\}). \tag*{(67)} TV ( Q − , Q + ) ≤ 12 1 , Π s ( G s c ) ≤ 12 1 ( s ∈ { − , + }) . (67)
Let P s \mathbb{P}_s P s denote the joint experiment that first draws θ ∼ Π s \theta\sim\Pi_s θ ∼ Π s , then draws the sample S ∼ P θ ⊗ n S \sim P_\theta^{\otimes n} S ∼ P θ ⊗ n , and includes the learner’s internal randomization. For each sample S S S , let ϕ ( S ) ∈ [ 0 , 1 ] \phi(S) \in[0,1] ϕ ( S ) ∈ [ 0 , 1 ] be the probability, over this internal randomization, that the learner returns f + f_+ f + . Properness implies that it returns f − f_- f − with probability 1 − ϕ ( S ) 1-\phi(S) 1 − ϕ ( S ) . Consequently,
P − ( f ^ n = f + ) + P + ( f ^ n = f − ) = ∫ ϕ d Q − + ∫ ( 1 − ϕ ) d Q + = 1 + ∫ ϕ d ( Q − − Q + ) \begin{aligned}
\mathbb{P}_-(\widehat{f}_n=f_+) + \mathbb{P}_+(\widehat{f}_n=f_-) = \int\phi\,\mathrm{d}Q_- + \int(1-\phi)\,\mathrm{d}Q_+ \\
&= 1 + \int\phi\,\mathrm{d}(Q_- - Q_+)
\end{aligned} P − ( f n = f + ) + P + ( f n = f − ) = ∫ ϕ d Q − + ∫ ( 1 − ϕ ) d Q + = 1 + ∫ ϕ d ( Q − − Q + )
≥ 1 − TV ( Q − , Q + ) ≥ 11 12 . \begin{aligned}
\ge1-\operatorname{TV}(Q_-,Q_+) \\
&\ge\frac{11}{12}.
\end{aligned} ≥ 1 − TV ( Q − , Q + ) ≥ 12 11 .
The first inequality follows from 0 ≤ ϕ ≤ 1 0 \le\phi\le1 0 ≤ ϕ ≤ 1 and the definition of total variation; for example, write ϕ ( S ) = ∫ 0 1 1 { ϕ ( S ) > u } d u \phi(S)=\int_0^1 \mathbf{1}\{\phi(S)>u\}\,\mathrm{d}u ϕ ( S ) = ∫ 0 1 1 { ϕ ( S ) > u } d u . Removing the bad environments and using (67) yields
1 2 ∑ s ∈ { − , + } P s ( f ^ n = f ˉ s , G s ) ≥ 11 24 − 1 2 ∑ s ∈ { − , + } Π s ( G s c ) ≥ 11 24 − 1 12 = 3 8 . (68) \begin{aligned}
\frac{1}{2}\sum_{s\in\{-,+\}}\mathbb{P}_s(\widehat{f}_n=\bar{f}_s,G_s) \ge\frac{11}{24}-\frac{1}{2}\sum_{s\in\{-,+\}}\Pi_s(G_s^c) \\
&\ge\frac{11}{24}-\frac{1}{12}=\frac{3}{8}. \tag*{(68)}
\end{aligned} 2 1 s ∈ { − , + } ∑ P s ( f n = f ˉ s , G s ) ≥ 24 11 − 2 1 s ∈ { − , + } ∑ Π s ( G s c ) ≥ 24 11 − 12 1 = 8 3 . (68)
The left-hand side of (68) equals
1 2 ∑ s ∈ { − , + } ∫ 1 G s ( θ ) P S ∼ P θ ⊗ n ( f ^ n = f ˉ s ) Π s ( d θ ) . \frac{1}{2}\sum_{s\in\{-,+\}}\int\mathbf{1}_{G_s}(\theta)\,\mathbb{P}_{S\sim P_\theta^{\otimes n}}(\widehat{f}_n=\bar{f}_s)\,\Pi_s(\mathrm{d}\theta). 2 1 s ∈ { − , + } ∑ ∫ 1 G s ( θ ) P S ∼ P θ ⊗ n ( f n = f ˉ s ) Π s ( d θ ) .
Since both priors have finite support, this is a finite weighted average. It follows that there exist s ∈ { − , + } s \in\{-,+\} s ∈ { − , + } and a fixed θ ∈ G s \theta\in G_s θ ∈ G s such that
P S ∼ P θ ⊗ n ( f ^ n = f s ) ≥ 3 8 . \mathbb{P}_{S\sim P_\theta^{\otimes n}}\left(\widehat{f}_n=f_s\right)\ge\frac{3}{8}. P S ∼ P θ ⊗ n ( f n = f s ) ≥ 8 3 .
For this θ \theta θ , (66) implies
P S ∼ P θ ⊗ n ( d θ ( f ^ n ) > C min f ∈ F C d θ ( f ) + ε C ) ≥ 3 8 . \mathbb{P}_{S\sim P_\theta^{\otimes n}}\left(d_\theta(\widehat{f}_n)>C\min_{f\in\mathcal{F}_C}d_\theta(f)+\varepsilon_C\right)\ge\frac{3}{8}. P S ∼ P θ ⊗ n ( d θ ( f n ) > C f ∈ F C min d θ ( f ) + ε C ) ≥ 8 3 .
Taking P = P θ P=P_\theta P = P θ proves (24) . The final counterexample is the fixed distribution P θ P_\theta P θ , not either sample mixture Q s Q_s Q s ; its observations are i.i.d. and its input marginal has finite support. □
The construction above uses the same input marginal P X = Unif ( [ N ] ) P_X=\operatorname{Unif}([N]) P X = Unif ([ N ]) in the two hard experiments. Hence the proof in fact continues to hold even if the learner is given P X P_X P X .
Impossibility of sub-three uniform guarantees
We now derive the impossibility of (25) . Fix C ∈ [ 1 , 3 ) C\in[1,3) C ∈ [ 1 , 3 ) , and let F C \mathcal{F}_C F C and ε C > 0 \varepsilon_C>0 ε C > 0 be supplied by Theorem 13. Suppose, toward a contradiction, that a possibly randomized proper learning rule satisfies
P S ∼ P ⊗ n ( ε 1 ( f ^ n ) ≤ C ε 1 , ∗ + r n ( F C , δ ) ) ≥ 1 − δ (69) \mathbb{P}_{S\sim P^{\otimes n}}\left(\varepsilon_1(\widehat{f}_n)\le C\varepsilon_{1,*}+r_n(\mathcal{F}_C,\delta)\right)\ge1-\delta \tag*{(69)} P S ∼ P ⊗ n ( ε 1 ( f n ) ≤ C ε 1 , ∗ + r n ( F C , δ ) ) ≥ 1 − δ (69)
for every n ≥ 1 n\ge1 n ≥ 1 , every δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) , and every distribution P P P on X × [ 0 , 1 ] \mathcal{X}\times[0,1] X × [ 0 , 1 ] . Here the errors are evaluated under P P P relative to F C \mathcal{F}_C F C , and the learner may depend on δ \delta δ . Assume that the estimation term is deterministic, independent of P P P , and satisfies r n ( F C , δ ) → 0 r_n(\mathcal{F}_C,\delta)\to0 r n ( F C , δ ) → 0 for each fixed δ \delta δ .
Set δ = 1 / 4 \delta=1/4 δ = 1/4 . Since F C \mathcal{F}_C F C and ε C \varepsilon_C ε C are fixed independently of n n n , there exists n n n sufficiently large that r n ( F C , 1 / 4 ) ≤ ε C r_n(\mathcal{F}_C,1/4)\le\varepsilon_C r n ( F C , 1/4 ) ≤ ε C . For this n n n , (69) implies, for every P P P ,
P S ∼ P ⊗ n ( ε 1 ( f ^ n ) > C ε 1 , ∗ + ε C ) ≤ P S ∼ P ⊗ n ( ε 1 ( f ^ n ) > C ε 1 , ∗ + r n ( F C , 1 / 4 ) ) ≤ 1 4 . \mathbb{P}_{S\sim P^{\otimes n}}\left(\varepsilon_1(\widehat{f}_n)>C\varepsilon_{1,*}+\varepsilon_C\right)
\le\mathbb{P}_{S\sim P^{\otimes n}}\left(\varepsilon_1(\widehat{f}_n)>C\varepsilon_{1,*}+r_n(\mathcal{F}_C,1/4)\right)\le\frac{1}{4}. P S ∼ P ⊗ n ( ε 1 ( f n ) > C ε 1 , ∗ + ε C ) ≤ P S ∼ P ⊗ n ( ε 1 ( f n ) > C ε 1 , ∗ + r n ( F C , 1/4 ) ) ≤ 4 1 .
This contradicts Theorem 13, which supplies a distribution P P P for which the first probability is at least 3 / 8 3/8 3/8 . The same contradiction applies if the proposed guarantee is required only for all sufficiently large n n n , provided the sample-size threshold is independent of P P P .
For C < 1 C<1 C < 1 , the argument is trivial. Take the singleton class F = { f ≡ 0 } \mathcal{F}=\{f\equiv0\} F = { f ≡ 0 } and a distribution with X ≡ 1 X\equiv1 X ≡ 1 and Y ≡ 1 Y\equiv1 Y ≡ 1 . Every proper learner then satisfies ε 1 ( f ^ n ) = ε 1 , ∗ = 1 \varepsilon_1(\widehat{f}_n)=\varepsilon_{1,*}=1 ε 1 ( f n ) = ε 1 , ∗ = 1 deterministically. Thus (25) fails with probability one whenever r n ( F , 1 / 4 ) < 1 − C r_n(\mathcal{F},1/4)<1-C r n ( F , 1/4 ) < 1 − C , which holds for all sufficiently large n n n if r n ( F , 1 / 4 ) → 0 r_n(\mathcal{F},1/4)\to0 r n ( F , 1/4 ) → 0 .
Therefore, for every C ∈ [ 0 , 3 ) C\in[0,3) C ∈ [ 0 , 3 ) , no proper learner can satisfy a distribution-free high-probability oracle inequality of the form
ε 1 ( f ^ n ) ≤ C ε 1 , ∗ + r n ( F , δ ) \varepsilon_1(\widehat{f}_n)\le C\varepsilon_{1,*}+r_n(\mathcal{F},\delta) ε 1 ( f n ) ≤ C ε 1 , ∗ + r n ( F , δ )
with a distribution-independent estimation term satisfying r n ( F , δ ) → 0 r_n(\mathcal{F},\delta)\to0 r n ( F , δ ) → 0 for each fixed F \mathcal{F} F and δ \delta δ . In particular, the conclusion is unaffected by how slowly the estimation term vanishes with n n n .
Together with Corollary 12, which establishes such a uniform guarantee with approximation factor 3, this proves that 3 is the smallest universal approximation factor achievable by proper learners under the distribution-free, high-probability criterion considered in Section 5.
Beyond finite classes: proof and examples
This appendix proves Theorem 14 and verifies its complexity conditions for several standard infinite hypothesis classes. The proof has two ingredients. First, prediction and comparison complexity control the metric entropy of the empirical processes induced by SBR. Second, a uniform Bernstein inequality converts these entropy bounds into variance-sensitive concentration.
Throughout this appendix, covering numbers are taken with centers in the class. We suppress standard measurability issues throughout.
Prediction and comparison complexity
Recall the pairwise comparison class
C F : = { x ↦ 1 { h ( x ) > f ( x ) } : f , h ∈ F } , \mathcal{C}_{\mathcal{F}} := \left\{x \mapsto\mathbb{1}\{h(x) > f(x)\}: f,h \in\mathcal{F}\right\}, C F := { x ↦ 1 { h ( x ) > f ( x )} : f , h ∈ F } ,
and let d p r e d : = Pdim ( F ) d_{\mathrm{pred}} := \operatorname{Pdim}(\mathcal{F}) d pred := Pdim ( F ) , d c m p : = VCdim ( C F ) d_{\mathrm{cmp}} := \operatorname{VCdim}(\mathcal{C}_{\mathcal{F}}) d cmp := VCdim ( C F ) , and d : = 1 + d p r e d + d c m p d := 1 + d_{\mathrm{pred}} + d_{\mathrm{cmp}} d := 1 + d pred + d cmp . For f , h ∈ F f,h \in\mathcal{F} f , h ∈ F , define
Z f , h ( x , y ) : = ( y − f ( x ) ) sign ( h ( x ) − f ( x ) ) , D f , h ( x ) : = ∣ f ( x ) − h ( x ) ∣ , Z_{f,h}(x,y) := (y-f(x))\operatorname{sign}(h(x)-f(x)), \qquad D_{f,h}(x) := \lvert f(x)-h(x)\rvert, Z f , h ( x , y ) := ( y − f ( x )) sign ( h ( x ) − f ( x )) , D f , h ( x ) := ∣ f ( x ) − h ( x )∣ ,
and introduce the corresponding function classes
Z : = { Z f , h : f , h ∈ F } , D : = { D f , h : f , h ∈ F } . \mathcal{Z} := \{Z_{f,h}: f,h \in\mathcal{F}\}, \qquad\mathcal{D} := \{D_{f,h}: f,h \in\mathcal{F}\}. Z := { Z f , h : f , h ∈ F } , D := { D f , h : f , h ∈ F } .
The next proposition shows that the two complexity measures in Theorem 14 imply uniform polynomial covering bounds for the function classes needed in the proof.
Proposition 20. (Prediction and comparison complexity imply uniform entropy.) Suppose F ⊆ { f : X → [ 0 , 1 ] } \mathcal{F} \subseteq\{f:\mathcal{X} \to[0,1]\} F ⊆ { f : X → [ 0 , 1 ]} and d p r e d , d c m p < ∞ d_{\mathrm{pred}},d_{\mathrm{cmp}} < \infty d pred , d cmp < ∞ . There exist universal constants A 0 ≥ e A_0 \geq e A 0 ≥ e and c 0 > 0 c_0 > 0 c 0 > 0 such that, for every probability measure Q Q Q on X × [ 0 , 1 ] \mathcal{X} \times[0,1] X × [ 0 , 1 ] and every u ∈ ( 0 , 1 ] u \in(0,1] u ∈ ( 0 , 1 ] ,
log N ( u , Z , L 2 ( Q ) ) ≤ c 0 d log ( A 0 / u ) , \log N(u,\mathcal{Z},L_2(Q)) \leq c_0 d \log(A_0/u), log N ( u , Z , L 2 ( Q )) ≤ c 0 d log ( A 0 / u ) , and
log N ( u , D , L 2 ( Q X ) ) ≤ c 0 d log ( A 0 / u ) , \log N(u,\mathcal{D},L_2(Q_{\mathcal{X}})) \leq c_0 d \log(A_0/u), log N ( u , D , L 2 ( Q X )) ≤ c 0 d log ( A 0 / u ) , where Q X Q_{\mathcal{X}} Q X denotes the X \mathcal{X} X -marginal of Q Q Q .
Proof. We first record the standard entropy bounds that will be used throughout. Since Pdim ( F ) = d p r e d \operatorname{Pdim}(\mathcal{F}) = d_{\mathrm{pred}} Pdim ( F ) = d pred , the class F \mathcal{F} F is a VC-subgraph class with VC index at most d p r e d + 1 d_{\mathrm{pred}}+1 d pred + 1 (the shift by one is only a matter of convention). Because all functions in F \mathcal{F} F take values in [ 0 , 1 ] [0,1] [ 0 , 1 ] , Theorem 2.6.7 of Wellner et al. [24 ] therefore implies that there exist universal constants a 0 ≥ e a_0 \geq e a 0 ≥ e and c 1 > 0 c_1 > 0 c 1 > 0 such that, for every probability measure R R R on X \mathcal{X} X and every u ∈ ( 0 , 1 ] u \in(0,1] u ∈ ( 0 , 1 ] ,
log N ( u , F , L 2 ( R ) ) ≤ c 1 ( 1 + d p r e d ) log ( a 0 / u ) . (70) \log N(u,\mathcal{F},L_2(R)) \leq c_1(1+d_{\mathrm{pred}})\log(a_0/u). \tag*{(70)} log N ( u , F , L 2 ( R )) ≤ c 1 ( 1 + d pred ) log ( a 0 / u ) . (70)
Likewise, since C F \mathcal{C}_{\mathcal{F}} C F is a { 0 , 1 } \{0,1\} { 0 , 1 } -valued class of VC dimension d c m p d_{\mathrm{cmp}} d cmp , the uniform entropy bound for VC classes of sets (Wellner et al. [24 ] , Theorem 2.6.4) gives
log N ( u , C F , L 2 ( R ) ) ≤ c 1 ( 1 + d c m p ) log ( a 0 / u ) . (71) \log N(u,\mathcal{C}_{\mathcal{F}},L_2(R)) \leq c_1(1+d_{\mathrm{cmp}})\log(a_0/u). \tag*{(71)} log N ( u , C F , L 2 ( R )) ≤ c 1 ( 1 + d cmp ) log ( a 0 / u ) . (71)
The precise universal constants in (69)–(70) will not be important.
We first bound the entropy of Z \mathcal{Z} Z . For f , h ∈ F f,h \in\mathcal{F} f , h ∈ F , let
c h , f ( x ) : = 1 { h ( x ) > f ( x ) } . c_{h,f}(x) := \mathbb{1}\{h(x) > f(x)\}. c h , f ( x ) := 1 { h ( x ) > f ( x )} .
Under the convention sign ( 0 ) = 0 \operatorname{sign}(0)=0 sign ( 0 ) = 0 ,
sign ( h − f ) = c h , f − c f , h , \operatorname{sign}(h-f) = c_{h,f} - c_{f,h}, sign ( h − f ) = c h , f − c f , h ,
and hence every Z f , h ∈ Z Z_{f,h} \in\mathcal{Z} Z f , h ∈ Z is contained in the larger product class
H : = { ( x , y ) ↦ ( y − f ( x ) ) ( c 1 ( x ) − c 2 ( x ) ) : f ∈ F , c 1 , c 2 ∈ C F } . \mathcal{H} := \left\{(x,y) \mapsto(y-f(x))(c_1(x)-c_2(x)): f \in\mathcal{F},\ c_1,c_2 \in\mathcal{C}_{\mathcal{F}}\right\}. H := { ( x , y ) ↦ ( y − f ( x )) ( c 1 ( x ) − c 2 ( x )) : f ∈ F , c 1 , c 2 ∈ C F } .
The map defining H \mathcal{H} H is Lipschitz in its three functional arguments. Indeed, for f , f ′ ∈ F f,f' \in\mathcal{F} f , f ′ ∈ F and c 1 , c 2 , c 1 ′ , c 2 ′ ∈ C F c_1,c_2,c'_1,c'_2 \in\mathcal{C}_{\mathcal{F}} c 1 , c 2 , c 1 ′ , c 2 ′ ∈ C F ,
∣ ( y − f ) ( c 1 − c 2 ) − ( y − f ′ ) ( c 1 ′ − c 2 ′ ) ∣ ≤ ∣ f − f ′ ∣ ∣ c 1 − c 2 ∣ + ∣ y − f ′ ∣ ∣ c 1 − c 1 ′ ∣ + ∣ c 2 − c 2 ′ ∣ ≤ ∣ f − f ′ ∣ + ∣ c 1 − c 1 ′ ∣ + ∣ c 2 − c 2 ′ ∣ , (72) \begin{aligned}
\left|(y-f)(c_1-c_2)-(y-f')(c'_1-c'_2)\right|
&\leq|f-f'|\,|c_1-c_2|+|y-f'|\,|c_1-c'_1|+|c_2-c'_2| \\
&\leq|f-f'|+|c_1-c'_1|+|c_2-c'_2|, \tag*{(72)}
\end{aligned} ∣ ( y − f ) ( c 1 − c 2 ) − ( y − f ′ ) ( c 1 ′ − c 2 ′ ) ∣ ≤ ∣ f − f ′ ∣ ∣ c 1 − c 2 ∣ + ∣ y − f ′ ∣ ∣ c 1 − c 1 ′ ∣ + ∣ c 2 − c 2 ′ ∣ ≤ ∣ f − f ′ ∣ + ∣ c 1 − c 1 ′ ∣ + ∣ c 2 − c 2 ′ ∣ , (72)
where the last inequality uses f ′ , y ∈ [ 0 , 1 ] f',y \in[0,1] f ′ , y ∈ [ 0 , 1 ] and c 1 , c 2 ∈ { 0 , 1 } c_1,c_2 \in\{0,1\} c 1 , c 2 ∈ { 0 , 1 } .
Fix a probability measure Q Q Q on X × [ 0 , 1 ] \mathcal{X} \times[0,1] X × [ 0 , 1 ] , and let Q X Q_{\mathcal{X}} Q X denote its X \mathcal{X} X -marginal. Set δ : = u / 6 \delta:= u/6 δ := u /6 . Choose δ \delta δ -covers of F \mathcal{F} F and C F \mathcal{C}_{\mathcal{F}} C F in L 2 ( Q X ) L_2(Q_{\mathcal{X}}) L 2 ( Q X ) . By (71) and Minkowski’s inequality, approximating each of the three components within δ \delta δ produces an L 2 ( Q ) L_2(Q) L 2 ( Q ) error of at most
3 δ = u 2 . 3\delta= \frac{u}{2}. 3 δ = 2 u .
Thus the corresponding product functions form an external u / 2 u/2 u /2 -cover of Z \mathcal{Z} Z . If covering centers are required to belong to Z \mathcal{Z} Z , then for every covering ball that intersects Z \mathcal{Z} Z choose one element of that intersection as its new center. By the triangle inequality this produces an internal u u u -cover with no increase in cardinality. Consequently,
N ( u , Z , L 2 ( Q ) ) ≤ N ( u / 6 , F , L 2 ( Q X ) ) N ( u / 6 , C F , L 2 ( Q X ) ) 2 . (73) N(u,\mathcal{Z},L_2(Q)) \leq N(u/6,\mathcal{F},L_2(Q_X))N(u/6,\mathcal{C}_{\mathcal{F}},L_2(Q_X))^2. \tag*{(73)} N ( u , Z , L 2 ( Q )) ≤ N ( u /6 , F , L 2 ( Q X )) N ( u /6 , C F , L 2 ( Q X ) ) 2 . (73)
Applying (69)–(70) to (72) gives
log N ( u , Z , L 2 ( Q ) ) ≤ c 1 [ ( 1 + d p r e d ) + 2 ( 1 + d c m p ) ] log ( 6 a 0 / u ) ≤ 3 c 1 d log ( 6 a 0 / u ) , \begin{aligned}
\log N(u,\mathcal{Z},L_2(Q)) &\leq c_1\left[(1+d_{\mathrm{pred}})+2(1+d_{\mathrm{cmp}})\right]\log(6a_0/u)\\
&\leq3c_1d\log(6a_0/u),
\end{aligned} log N ( u , Z , L 2 ( Q )) ≤ c 1 [ ( 1 + d pred ) + 2 ( 1 + d cmp ) ] log ( 6 a 0 / u ) ≤ 3 c 1 d log ( 6 a 0 / u ) ,
since d = 1 + d p r e d + d c m p d=1+d_{\mathrm{pred}}+d_{\mathrm{cmp}} d = 1 + d pred + d cmp .
It remains to control D \mathcal{D} D . The absolute-value map satisfies
∣ ∣ f − h ∣ − ∣ f ′ − h ′ ∣ ∣ ≤ ∣ f − f ′ ∣ + ∣ h − h ′ ∣ . \left||f-h|-|f'-h'|\right| \leq|f-f'|+|h-h'|. ∣ ∣ f − h ∣ − ∣ f ′ − h ′ ∣ ∣ ≤ ∣ f − f ′ ∣ + ∣ h − h ′ ∣.
Therefore, taking u / 2 u/2 u /2 -covers of the two copies of F \mathcal{F} F and applying Minkowski’s inequality yields
N ( u , D , L 2 ( Q X ) ) ≤ N ( u / 2 , F , L 2 ( Q X ) ) 2 . (74) N(u,\mathcal{D},L_2(Q_X)) \leq N(u/2,\mathcal{F},L_2(Q_X))^2. \tag*{(74)} N ( u , D , L 2 ( Q X )) ≤ N ( u /2 , F , L 2 ( Q X ) ) 2 . (74)
Here the resulting centers are themselves of the form ∣ f ′ − h ′ ∣ |f'-h'| ∣ f ′ − h ′ ∣ and hence belong to D \mathcal{D} D when the covers of F \mathcal{F} F are chosen internally.
Using (69) once more,
log N ( u , D , L 2 ( Q X ) ) ≤ 2 c 1 ( 1 + d p r e d ) log ( 2 a 0 / u ) ≤ 2 c 1 d log ( 2 a 0 / u ) . \log N(u,\mathcal{D},L_2(Q_X)) \leq2c_1(1+d_{\mathrm{pred}})\log(2a_0/u) \leq2c_1d\log(2a_0/u). log N ( u , D , L 2 ( Q X )) ≤ 2 c 1 ( 1 + d pred ) log ( 2 a 0 / u ) ≤ 2 c 1 d log ( 2 a 0 / u ) .
Choosing universal constants, for example A 0 ≥ max { e , 6 a 0 } A_0\geq\max\{e,6a_0\} A 0 ≥ max { e , 6 a 0 } and c 0 ≥ 3 c 1 c_0\geq3c_1 c 0 ≥ 3 c 1 , proves both asserted bounds. □
A uniform Bernstein inequality
We next give the empirical-process inequality used to replace the finite union bound in the proof of Theorem 8 . The important feature is that the leading deviation term depends on the individual second moment P g 2 Pg^2 P g 2 .
Lemma 21 (Uniform Bernstein inequality). Let W 1 , … , W n W_1,\ldots,W_n W 1 , … , W n be i.i.d. from a probability measure P P P , and let G \mathcal{G} G be a class of measurable functions g : W → [ − 1 , 1 ] g:\mathcal{W}\to[-1,1] g : W → [ − 1 , 1 ] . Suppose there exist A ≥ e A\geq e A ≥ e and ν ≥ 1 \nu\geq1 ν ≥ 1 such that, for every probability measure Q Q Q on W \mathcal{W} W and every u ∈ ( 0 , 1 ] u\in(0,1] u ∈ ( 0 , 1 ] ,
log N ( u , G , L 2 ( Q ) ) ≤ ν log ( A / u ) . (75) \log N(u,\mathcal{G},L_2(Q))\leq\nu\log(A/u). \tag*{(75)} log N ( u , G , L 2 ( Q )) ≤ ν log ( A / u ) . (75) For ζ ∈ ( 0 , 1 ) \zeta\in(0,1) ζ ∈ ( 0 , 1 ) , define
β : = ν log ( A n ) + log ( 2 / ζ ) n . \beta:= \frac{\nu\log(An)+\log(2/\zeta)}{n}. β := n ν log ( A n ) + log ( 2/ ζ ) . Then, with probability at least 1 − ζ 1-\zeta 1 − ζ ,
∣ ( P n − P ) g ∣ ≤ 33 ( P g 2 β + β ) simultaneously for all g ∈ G . (76) |(P_n-P)g|\leq33\left(\sqrt{Pg^2\beta}+\beta\right)\qquad\text{simultaneously for all }g\in\mathcal{G}. \tag*{(76)} ∣ ( P n − P ) g ∣ ≤ 33 ( P g 2 β + β ) simultaneously for all g ∈ G . (76)
Proof. The proof has two steps. We first derive a uniform deviation bound for a fixed tuning parameter λ \lambda λ , and then optimize λ \lambda λ on a finite grid.
Step 1: A uniform bound for fixed λ \lambda λ . We begin with the following elementary inequality: for every a , b ∈ [ − 1 , 1 ] a,b\in[-1,1] a , b ∈ [ − 1 , 1 ] and 0 < λ ≤ 1 / 8 0<\lambda\leq1/8 0 < λ ≤ 1/8 ,
1 2 e λ ( a − b ) − 8 λ 2 b 2 + 1 2 e λ ( b − a ) − 8 λ 2 a 2 ≤ 1. (77) \frac{1}{2}e^{\lambda(a-b)-8\lambda^2b^2}+\frac{1}{2}e^{\lambda(b-a)-8\lambda^2a^2}\leq1. \tag*{(77)} 2 1 e λ ( a − b ) − 8 λ 2 b 2 + 2 1 e λ ( b − a ) − 8 λ 2 a 2 ≤ 1. (77)
Indeed, the left-hand side equals
e − 4 λ 2 ( a 2 + b 2 ) cosh ( λ ( a − b ) + 4 λ 2 ( a 2 − b 2 ) ) . e^{-4\lambda^2(a^2+b^2)}\cosh\left(\lambda(a-b)+4\lambda^2(a^2-b^2)\right). e − 4 λ 2 ( a 2 + b 2 ) cosh ( λ ( a − b ) + 4 λ 2 ( a 2 − b 2 ) ) .
Since cosh ( t ) ≤ e t 2 / 2 \cosh(t) \le e^{t^2/2} cosh ( t ) ≤ e t 2 /2 and
∣ λ ( a − b ) + 4 λ 2 ( a 2 − b 2 ) ∣ = λ ∣ a − b ∣ ∣ 1 + 4 λ ( a + b ) ∣ ≤ 2 λ ∣ a − b ∣ , \left|\lambda(a-b)+4\lambda^2(a^2-b^2)\right|=\lambda|a-b||1+4\lambda(a+b)|\le2\lambda|a-b|, λ ( a − b ) + 4 λ 2 ( a 2 − b 2 ) = λ ∣ a − b ∣∣1 + 4 λ ( a + b ) ∣ ≤ 2 λ ∣ a − b ∣ ,
the preceding display is at most
exp ( − 4 λ 2 ( a 2 + b 2 ) + 2 λ 2 ( a − b ) 2 ) = e − 2 λ 2 ( a + b ) 2 ≤ 1. \exp\left(-4\lambda^2(a^2+b^2)+2\lambda^2(a-b)^2\right)=e^{-2\lambda^2(a+b)^2}\le1. exp ( − 4 λ 2 ( a 2 + b 2 ) + 2 λ 2 ( a − b ) 2 ) = e − 2 λ 2 ( a + b ) 2 ≤ 1.
Now fix 0 < λ ≤ 1 / 8 0<\lambda\le1/8 0 < λ ≤ 1/8 and δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) , and write
H : = ν log ( A n ) . H:=\nu\log(An). H := ν log ( A n ) .
We claim that, with probability at least 1 − δ 1-\delta 1 − δ ,
∣ ( P n − P ) g ∣ ≤ 8 λ P g 2 + H + 1 + log ( 2 / δ ) λ n for every g ∈ G . (78) |(P_n-P)g|\le8\lambda Pg^2+\frac{H+1+\log(2/\delta)}{\lambda n}\qquad\text{for every }g\in\mathcal{G}. \tag*{(78)} ∣ ( P n − P ) g ∣ ≤ 8 λ P g 2 + λn H + 1 + log ( 2/ δ ) for every g ∈ G . (78)
Let W 1 ′ , … , W n ′ W'_1,\ldots,W'_n W 1 ′ , … , W n ′ be an independent copy of the sample. This is the usual ghost-sample symmetrization device; see, e.g., Wellner et al. [24 ] , Section 2.3.1. Define
D λ ( g ) : = λ ∑ i = 1 n ( g ( W i ) − g ( W i ′ ) ) − 8 λ 2 ∑ i = 1 n g ( W i ′ ) 2 D_\lambda(g):=\lambda\sum_{i=1}^{n}\bigl(g(W_i)-g(W'_i)\bigr)-8\lambda^2\sum_{i=1}^{n}g(W'_i)^2 D λ ( g ) := λ i = 1 ∑ n ( g ( W i ) − g ( W i ′ ) ) − 8 λ 2 i = 1 ∑ n g ( W i ′ ) 2
and
Z λ : = sup g ∈ G { λ n ( P n − P ) g − 8 λ 2 n P g 2 } . Z_\lambda:=\sup_{g\in\mathcal{G}}\left\{\lambda n(P_n-P)g-8\lambda^2nPg^2\right\}. Z λ := g ∈ G sup { λn ( P n − P ) g − 8 λ 2 n P g 2 } .
Conditional on the original sample,
E W ′ D λ ( g ) = λ n ( P n − P ) g − 8 λ 2 n P g 2 . \mathbb{E}_{W'}D_\lambda(g)=\lambda n(P_n-P)g-8\lambda^2nPg^2. E W ′ D λ ( g ) = λn ( P n − P ) g − 8 λ 2 n P g 2 .
Hence Jensen’s inequality gives
e Z λ = sup g ∈ G exp { E W ′ D λ ( g ) } ≤ sup g ∈ G E W ′ e D λ ( g ) ≤ E W ′ sup g ∈ G e D λ ( g ) . (79) e^{Z_\lambda}=\sup_{g\in\mathcal{G}}\exp\{\mathbb{E}_{W'}D_\lambda(g)\}
\le\sup_{g\in\mathcal{G}}\mathbb{E}_{W'}e^{D_\lambda(g)}
\le\mathbb{E}_{W'}\sup_{g\in\mathcal{G}}e^{D_\lambda(g)}. \tag*{(79)} e Z λ = g ∈ G sup exp { E W ′ D λ ( g )} ≤ g ∈ G sup E W ′ e D λ ( g ) ≤ E W ′ g ∈ G sup e D λ ( g ) . (79)
Taking expectation over the original sample,
E e Z λ ≤ E W , W ′ [ sup g ∈ G e D λ ( g ) ] . (80) \mathbb{E}e^{Z_\lambda}\le\mathbb{E}_{W,W'}\left[\sup_{g\in\mathcal{G}}e^{D_\lambda(g)}\right]. \tag*{(80)} E e Z λ ≤ E W , W ′ [ g ∈ G sup e D λ ( g ) ] . (80)
Fix the two samples and let
Q : = 1 2 n ∑ i = 1 n ( δ W i + δ W i ′ ) Q:=\frac{1}{2n}\sum_{i=1}^{n}(\delta_{W_i}+\delta_{W'_i}) Q := 2 n 1 i = 1 ∑ n ( δ W i + δ W i ′ )
be their pooled empirical measure. By (74), there exists an L 2 ( Q ) L_2(Q) L 2 ( Q ) -cover { h 1 , … , h M } ⊆ G \{h_1,\ldots,h_M\}\subseteq\mathcal{G} { h 1 , … , h M } ⊆ G of radius 1 / n 1/n 1/ n satisfying
M ≤ ( A n ) ν = e H . M\le(An)^\nu=e^H. M ≤ ( A n ) ν = e H .
Thus, for every g ∈ G g\in\mathcal{G} g ∈ G , some h j h_j h j satisfies
∥ g − h j ∥ L 2 ( Q ) ≤ 1 n , Q ∣ g − h j ∣ ≤ 1 n , (81) \|g-h_j\|_{L_2(Q)}\le\frac{1}{n},\qquad Q|g-h_j|\le\frac{1}{n}, \tag*{(81)} ∥ g − h j ∥ L 2 ( Q ) ≤ n 1 , Q ∣ g − h j ∣ ≤ n 1 , (81)
where the second inequality follows from Cauchy–Schwarz.
Next, independently for each i i i , swap W i W_i W i and W i ′ W'_i W i ′ with probability 1 / 2 1/2 1/2 . Denote the resulting ordered pair by ( W ~ i , W ~ i ′ ) (\widetilde W_i,\widetilde W'_i) ( W i , W i ′ ) , and define
D λ ε ( g ) : = λ ∑ i = 1 n ( g ( W ~ i ) − g ( W ~ i ′ ) ) − 8 λ 2 ∑ i = 1 n g ( W ~ i ′ ) 2 . D^\varepsilon_\lambda(g):=\lambda\sum_{i=1}^{n}\bigl(g(\widetilde W_i)-g(\widetilde W'_i)\bigr)-8\lambda^2\sum_{i=1}^{n}g(\widetilde W'_i)^2. D λ ε ( g ) := λ i = 1 ∑ n ( g ( W i ) − g ( W i ′ ) ) − 8 λ 2 i = 1 ∑ n g ( W i ′ ) 2 .
The pooled empirical measure Q Q Q is unchanged by the swaps, so the same cover applies to every swap configuration.
Let h j h_j h j satisfy (80). Since ∣ g 2 − h j 2 ∣ ≤ 2 ∣ g − h j ∣ \lvert g^2-h_j^2\rvert\le2\lvert g-h_j\rvert ∣ g 2 − h j 2 ∣ ≤ 2 ∣ g − h j ∣ , we have
∣ D λ ε ( g ) − D λ ε ( h j ) ∣ ≤ λ ∑ i = 1 n ( ∣ g − h j ∣ ( W ~ i ) + ∣ g − h j ∣ ( W i ′ ) ) + 16 λ 2 ∑ i = 1 n ∣ g − h j ∣ ( W i ′ ) ≤ ( 2 λ + 32 λ 2 ) n Q ∣ g − h j ∣ ≤ 2 λ + 32 λ 2 ≤ 1. (82) \left|D_{\lambda}^{\varepsilon}(g)-D_{\lambda}^{\varepsilon}(h_j)\right|
\le\lambda\sum_{i=1}^{n}\left(\lvert g-h_j\rvert(\widetilde{W}_i)+\lvert g-h_j\rvert(W_i^{\prime})\right)
+16\lambda^2\sum_{i=1}^{n}\lvert g-h_j\rvert(W_i^{\prime})
\le(2\lambda+32\lambda^2)nQ\lvert g-h_j\rvert
\le2\lambda+32\lambda^2\le1. \tag*{(82)} ∣ D λ ε ( g ) − D λ ε ( h j ) ∣ ≤ λ i = 1 ∑ n ( ∣ g − h j ∣ ( W i ) + ∣ g − h j ∣ ( W i ′ ) ) + 16 λ 2 i = 1 ∑ n ∣ g − h j ∣ ( W i ′ ) ≤ ( 2 λ + 32 λ 2 ) n Q ∣ g − h j ∣ ≤ 2 λ + 32 λ 2 ≤ 1. (82)
Consequently,
sup g ∈ G e D λ ε ( g ) ≤ e ∑ j = 1 M e D λ ε ( h j ) . (83) \sup_{g\in\mathcal{G}}e^{D_{\lambda}^{\varepsilon}(g)}
\le e\sum_{j=1}^{M}e^{D_{\lambda}^{\varepsilon}(h_j)}. \tag*{(83)} g ∈ G sup e D λ ε ( g ) ≤ e j = 1 ∑ M e D λ ε ( h j ) . (83)
Conditional on the two samples, fix one cover element h j h_j h j . For the i i i th pair, averaging over the two possible swap configurations gives
1 2 e λ ( a − b ) − 8 λ 2 b 2 + 1 2 e λ ( b − a ) − 8 λ 2 a 2 , a = h j ( W i ) , b = h j ( W i ′ ) , \frac{1}{2}e^{\lambda(a-b)-8\lambda^2b^2}
+\frac{1}{2}e^{\lambda(b-a)-8\lambda^2a^2},
\qquad a=h_j(W_i),\quad b=h_j(W_i^{\prime}), 2 1 e λ ( a − b ) − 8 λ 2 b 2 + 2 1 e λ ( b − a ) − 8 λ 2 a 2 , a = h j ( W i ) , b = h j ( W i ′ ) ,
which is at most 1 1 1 by (76). Since the swaps are independent across i i i ,
E ε e D λ ε ( h j ) ≤ 1. (84) \mathbb{E}_{\varepsilon}e^{D_{\lambda}^{\varepsilon}(h_j)}\le1. \tag*{(84)} E ε e D λ ε ( h j ) ≤ 1. (84)
Taking expectation in (82) therefore yields
E ε [ sup g ∈ G e D λ ε ( g ) ] ≤ e M ≤ e H + 1 . (85) \mathbb{E}_{\varepsilon}\left[\sup_{g\in\mathcal{G}}e^{D_{\lambda}^{\varepsilon}(g)}\right]\le eM\le e^{H+1}. \tag*{(85)} E ε [ g ∈ G sup e D λ ε ( g ) ] ≤ e M ≤ e H + 1 . (85)
Finally, since each pair ( W i , W i ′ ) (W_i,W_i^{\prime}) ( W i , W i ′ ) consists of two i.i.d. observations, independently swapping its coordinates does not change the joint distribution. Hence
E W , W ′ [ sup g ∈ G e D λ ( g ) ] = E W , W ′ , ε [ sup g ∈ G e D λ ε ( g ) ] ≤ e H + 1 . \mathbb{E}_{W,W^{\prime}}\left[\sup_{g\in\mathcal{G}}e^{D_{\lambda}(g)}\right]
=\mathbb{E}_{W,W^{\prime},\varepsilon}\left[\sup_{g\in\mathcal{G}}e^{D_{\lambda}^{\varepsilon}(g)}\right]\le e^{H+1}. E W , W ′ [ g ∈ G sup e D λ ( g ) ] = E W , W ′ , ε [ g ∈ G sup e D λ ε ( g ) ] ≤ e H + 1 .
Together with (79), this gives
E e Z λ ≤ e H + 1 . (86) \mathbb{E}e^{Z_{\lambda}}\le e^{H+1}. \tag*{(86)} E e Z λ ≤ e H + 1 . (86)
By Markov’s inequality,
Pr ( Z λ > H + 1 + log ( 2 / δ ) ) ≤ δ 2 . \Pr\left(Z_{\lambda}>H+1+\log(2/\delta)\right)\le\frac{\delta}{2}. Pr ( Z λ > H + 1 + log ( 2/ δ ) ) ≤ 2 δ .
Thus, except on an event of probability at most δ / 2 \delta/2 δ /2 ,
( P n − P ) g ≤ 8 λ P g 2 + H + 1 + log ( 2 / δ ) λ n ∀ g ∈ G . (P_n-P)g\le8\lambda Pg^2+\frac{H+1+\log(2/\delta)}{\lambda n}\qquad\forall g\in\mathcal{G}. ( P n − P ) g ≤ 8 λ P g 2 + λn H + 1 + log ( 2/ δ ) ∀ g ∈ G .
Applying the same argument to − G -\mathcal{G} − G and taking a union bound proves (77).
Step 2: Simultaneously optimize λ \lambda λ . Consider the finite grid
Λ : = { j 8 n : j = 1 , … , n } . \Lambda:=\left\{\frac{j}{8n}:j=1,\ldots,n\right\}. Λ := { 8 n j : j = 1 , … , n } .
Apply (77) to each λ ∈ Λ \lambda\in\Lambda λ ∈ Λ with δ = ζ / n \delta=\zeta/n δ = ζ / n , and take a union bound. With probability at least 1 − ζ 1-\zeta 1 − ζ ,
∣ ( P n − P ) g ∣ ≤ 8 λ P g 2 + H + 1 + log ( 2 n / ζ ) λ n ∀ g ∈ G , ∀ λ ∈ Λ . (87) \lvert(P_n-P)g\rvert\le8\lambda Pg^2+\frac{H+1+\log(2n/\zeta)}{\lambda n}
\qquad\forall g\in\mathcal{G},\quad\forall\lambda\in\Lambda. \tag*{(87)} ∣( P n − P ) g ∣ ≤ 8 λ P g 2 + λn H + 1 + log ( 2 n / ζ ) ∀ g ∈ G , ∀ λ ∈ Λ. (87)
By definition,
n β = H + log ( 2 / ζ ) . n\beta=H+\log(2/\zeta). n β = H + log ( 2/ ζ ) .
Moreover, since A ≥ e A \ge e A ≥ e and ν ≥ 1 \nu\ge1 ν ≥ 1 ,
H = ν log ( A n ) ≥ 1 + log n . H = \nu\log(An) \ge1 + \log n. H = ν log ( A n ) ≥ 1 + log n .
Therefore
H + 1 + log ( 2 n / ζ ) = n β + 1 + log n ≤ 2 n β . H + 1 + \log(2n/\zeta) = n\beta+ 1 + \log n \le2n\beta. H + 1 + log ( 2 n / ζ ) = n β + 1 + log n ≤ 2 n β .
Hence, on the same event,
∣ ( P n − P ) g ∣ ≤ 8 λ P g 2 + 2 β λ ∀ g ∈ G , ∀ λ ∈ Λ . (88) \left|(P_n-P)g\right| \le8\lambda P g^2 + \frac{2\beta}{\lambda} \qquad\forall g \in\mathcal{G},\quad\forall\lambda\in\Lambda. \tag*{(88)} ∣ ( P n − P ) g ∣ ≤ 8 λ P g 2 + λ 2 β ∀ g ∈ G , ∀ λ ∈ Λ. (88)
Fix g ∈ G g \in\mathcal{G} g ∈ G and write
v : = P g 2 ∈ [ 0 , 1 ] . v := P g^2 \in[0,1]. v := P g 2 ∈ [ 0 , 1 ] .
If v ≤ β v \le\beta v ≤ β , choose λ = 1 / 8 \lambda= 1/8 λ = 1/8 in (87). Then
∣ ( P n − P ) g ∣ ≤ v + 16 β ≤ 17 β . \left|(P_n-P)g\right| \le v + 16\beta\le17\beta. ∣ ( P n − P ) g ∣ ≤ v + 16 β ≤ 17 β .
Now suppose v > β v > \beta v > β , and define the continuous optimizer
λ ⋆ : = 1 8 β v . \lambda_\star:= \frac{1}{8}\sqrt{\frac{\beta}{v}}. λ ⋆ := 8 1 v β .
Then λ ⋆ < 1 / 8 \lambda_\star< 1/8 λ ⋆ < 1/8 . Also, β ≥ 1 / n \beta\ge1/n β ≥ 1/ n and v ≤ 1 v \le1 v ≤ 1 imply
λ ⋆ ≥ 1 8 n ≥ 1 8 n . \lambda_\star\ge\frac{1}{8\sqrt{n}} \ge\frac{1}{8n}. λ ⋆ ≥ 8 n 1 ≥ 8 n 1 .
Let λ \lambda λ be the largest element of Λ \Lambda Λ satisfying λ ≤ λ ⋆ \lambda\le\lambda_\star λ ≤ λ ⋆ . Since the grid spacing is 1 / ( 8 n ) 1/(8n) 1/ ( 8 n ) ,
λ ⋆ 2 ≤ λ ≤ λ ⋆ . \frac{\lambda_\star}{2} \le\lambda\le\lambda_\star. 2 λ ⋆ ≤ λ ≤ λ ⋆ .
Using (87),
∣ ( P n − P ) g ∣ ≤ 8 λ ⋆ v + 4 β λ ⋆ = v β + 32 v β = 33 v β . \begin{aligned}
\left|(P_n-P)g\right| \le8\lambda_\star v + \frac{4\beta}{\lambda_\star} \\
&= \sqrt{v\beta} + 32\sqrt{v\beta} \\
&= 33\sqrt{v\beta}.
\end{aligned} ∣ ( P n − P ) g ∣ ≤ 8 λ ⋆ v + λ ⋆ 4 β = v β + 32 v β = 33 v β .
Combining the two cases yields
∣ ( P n − P ) g ∣ ≤ 33 ( P g 2 β + β ) ∀ g ∈ G . \left|(P_n-P)g\right| \le33\left(\sqrt{P g^2\beta}+\beta\right) \qquad\forall g \in\mathcal{G}. ∣ ( P n − P ) g ∣ ≤ 33 ( P g 2 β + β ) ∀ g ∈ G .
Since the event in (87) is common to all g ∈ G g \in\mathcal{G} g ∈ G , this proves the result.
Proof of Theorem 14
We now combine Proposition 20 and Lemma 21 with the same pairwise argument used for the finite-class result.
Proof of Theorem 14. Let
L ^ ( f ) : = sup h ∈ F T ^ ( f , h ) . \widehat{L}(f) := \sup_{h \in\mathcal{F}} \widehat{T}(f,h). L ( f ) := h ∈ F sup T ( f , h ) .
By Proposition 20, the classes Z \mathcal{Z} Z and D \mathcal{D} D satisfy the entropy condition in Lemma 21 with parameters of order d d d . Applying Lemma 21 separately to Z \mathcal{Z} Z and D \mathcal{D} D , each with failure probability δ / 2 \delta/2 δ /2 , and increasing the universal constant c c c in the definition of α δ \alpha_\delta α δ if necessary, we obtain an event of probability at least 1 − δ 1-\delta 1 − δ on which, simultaneously for every f , h ∈ F f,h \in\mathcal{F} f , h ∈ F ,
( P n − P ) Z f , h ≤ 2 P Z f , h 2 α δ + 4 3 α δ , (89) (P_n-P)Z_{f,h} \le\sqrt{2P Z_{f,h}^{2}\alpha_\delta}+\frac{4}{3}\alpha_\delta, \tag*{(89)} ( P n − P ) Z f , h ≤ 2 P Z f , h 2 α δ + 3 4 α δ , (89)
( P − P n ) D f , h ≤ 2 P D f , h α δ + 2 3 α δ . (90) (P-P_n)D_{f,h} \le\sqrt{2P D_{f,h}\alpha_\delta}+\frac{2}{3}\alpha_\delta. \tag*{(90)} ( P − P n ) D f , h ≤ 2 P D f , h α δ + 3 2 α δ . (90)
For (89), we used P D f , h 2 ≤ P D f , h PD_{f,h}^{2} \le PD_{f,h} P D f , h 2 ≤ P D f , h , since 0 ≤ D f , h ≤ 1 0 \le D_{f,h} \le1 0 ≤ D f , h ≤ 1 . We work on this event for the remainder of the proof.
Fix any comparator f 0 ∈ F f_{0} \in\mathcal{F} f 0 ∈ F . By (88), for every h ∈ F h \in\mathcal{F} h ∈ F ,
P n Z f 0 , h ≤ P Z f 0 , h + 2 P Z f 0 , h 2 α δ + 4 3 α δ . P_{n}Z_{f_{0},h} \le PZ_{f_{0},h} + \sqrt{2PZ_{f_{0},h}^{2}\alpha_{\delta}} + \frac{4}{3}\alpha_{\delta}. P n Z f 0 , h ≤ P Z f 0 , h + 2 P Z f 0 , h 2 α δ + 3 4 α δ .
Since P Z f 0 , h ≤ B P ( f 0 ) PZ_{f_{0},h} \le B_{P}(f_{0}) P Z f 0 , h ≤ B P ( f 0 ) and P Z f 0 , h 2 ≤ v ( f 0 ) PZ_{f_{0},h}^{2} \le v(f_{0}) P Z f 0 , h 2 ≤ v ( f 0 ) , taking the supremum over h h h yields
L ^ ( f 0 ) ≤ B P ( f 0 ) + 2 v ( f 0 ) α δ + 4 3 α δ . (91) \widehat{L}(f_{0}) \le B_{P}(f_{0}) + \sqrt{2v(f_{0})\alpha_{\delta}} + \frac{4}{3}\alpha_{\delta}. \tag*{(91)} L ( f 0 ) ≤ B P ( f 0 ) + 2 v ( f 0 ) α δ + 3 4 α δ . (91)
The empirical analogue of Lemma 5 holds exactly:
T ^ ( f , h ) + T ^ ( h , f ) = P n ∣ f − h ∣ . \widehat{T}(f,h) + \widehat{T}(h,f) = P_{n}|f-h|. T ( f , h ) + T ( h , f ) = P n ∣ f − h ∣.
Hence, by the empirical optimality of f ^ \widehat{f} f ,
P n ∣ f ^ − f 0 ∣ = T ^ ( f ^ , f 0 ) + T ^ ( f 0 , f ^ ) ≤ L ^ ( f ^ ) + L ^ ( f 0 ) ≤ 2 L ^ ( f 0 ) . (92) P_{n}|\widehat{f}-f_{0}| = \widehat{T}(\widehat{f},f_{0}) + \widehat{T}(f_{0},\widehat{f})
\le\widehat{L}(\widehat{f}) + \widehat{L}(f_{0}) \le2\widehat{L}(f_{0}). \tag*{(92)} P n ∣ f − f 0 ∣ = T ( f , f 0 ) + T ( f 0 , f ) ≤ L ( f ) + L ( f 0 ) ≤ 2 L ( f 0 ) . (92)
Let r : = ∥ f ^ − f 0 ∥ 1 r := \lVert\widehat{f}-f_{0}\rVert_{1} r := ∥ f − f 0 ∥ 1 . Since (89) holds uniformly over all pairs, it applies to the data-dependent pair ( f ^ , f 0 ) (\widehat{f},f_{0}) ( f , f 0 ) :
r ≤ P n ∣ f ^ − f 0 ∣ + 2 r α δ + 2 3 α δ . r \le P_{n}|\widehat{f}-f_{0}| + \sqrt{2r\alpha_{\delta}} + \frac{2}{3}\alpha_{\delta}. r ≤ P n ∣ f − f 0 ∣ + 2 r α δ + 3 2 α δ .
Combining this inequality with (90) and (91) gives
r ≤ 2 B P ( f 0 ) + 2 2 v ( f 0 ) α δ + 2 r α δ + 10 3 α δ . (93) r \le2B_{P}(f_{0}) + 2\sqrt{2v(f_{0})\alpha_{\delta}} + \sqrt{2r\alpha_{\delta}} + \frac{10}{3}\alpha_{\delta}. \tag*{(93)} r ≤ 2 B P ( f 0 ) + 2 2 v ( f 0 ) α δ + 2 r α δ + 3 10 α δ . (93)
Fix ρ > 0 \rho> 0 ρ > 0 and let θ : = ρ / ( 2 + ρ ) \theta:= \rho/(2+\rho) θ := ρ / ( 2 + ρ ) . By Young’s inequality,
2 r α δ ≤ θ r + α δ 2 θ . \sqrt{2r\alpha_{\delta}} \le\theta r + \frac{\alpha_{\delta}}{2\theta}. 2 r α δ ≤ θ r + 2 θ α δ .
Substituting this into (92) and using 1 / ( 1 − θ ) = ( 2 + ρ ) / 2 1/(1-\theta)=(2+\rho)/2 1/ ( 1 − θ ) = ( 2 + ρ ) /2 gives
r ≤ ( 2 + ρ ) ( B P ( f 0 ) + 2 v ( f 0 ) α δ ) + C ρ α δ , r \le(2+\rho)\left(B_{P}(f_{0})+\sqrt{2v(f_{0})\alpha_{\delta}}\right)+C_{\rho}\alpha_{\delta}, r ≤ ( 2 + ρ ) ( B P ( f 0 ) + 2 v ( f 0 ) α δ ) + C ρ α δ ,
where C ρ C_{\rho} C ρ is the same constant as in Theorem 8.
Finally, by the triangle inequality,
ε 1 ( f ^ ) ≤ ε 1 ( f 0 ) + ∥ f ^ − f 0 ∥ 1 . \varepsilon_{1}(\widehat{f}) \le\varepsilon_{1}(f_{0}) + \lVert\widehat{f}-f_{0}\rVert_{1}. ε 1 ( f ) ≤ ε 1 ( f 0 ) + ∥ f − f 0 ∥ 1 .
The concentration event is independent of f 0 f_{0} f 0 and ρ \rho ρ , so the resulting inequality holds simultaneously for every f 0 ∈ F f_{0} \in\mathcal{F} f 0 ∈ F and every ρ > 0 \rho> 0 ρ > 0 . Taking the infimum over f 0 f_{0} f 0 proves (26).
Examples of infinite hypothesis classes
We conclude by verifying the complexity conditions in Theorem 14 for several standard prediction classes. We use standard results on the VC dimension of linear threshold classes and the pseudo-dimension of real-valued linear classes; see, e.g., Vapnik [22 ] ; Anthony & Bartlett [2 ] ; Shalev-Shwartz & Ben-David [20 ] . Recall that the relevant complexity is d = 1 + d p r e d + d c m p d = 1+d_{\mathrm{pred}}+d_{\mathrm{cmp}} d = 1 + d pred + d cmp .
Bounded linear prediction classes. Let ϕ : X → R m \phi:\mathcal{X}\to\mathbb{R}^{m} ϕ : X → R m be a fixed measurable feature map and a : X → R a:\mathcal{X}\to\mathbb{R} a : X → R a fixed offset. Consider
F l i n : = { f θ ( x ) = a ( x ) + ⟨ θ , ϕ ( x ) ⟩ : θ ∈ Θ } ⊆ { f : X → [ 0 , 1 ] } , \mathcal{F}_{\mathrm{lin}} := \{f_{\theta}(x)=a(x)+\langle\theta,\phi(x)\rangle:\theta\in\Theta\}\subseteq\{f:\mathcal{X}\to[0,1]\}, F lin := { f θ ( x ) = a ( x ) + ⟨ θ , ϕ ( x )⟩ : θ ∈ Θ } ⊆ { f : X → [ 0 , 1 ]} ,
where Θ ⊆ R m \Theta\subseteq\mathbb{R}^{m} Θ ⊆ R m is any parameter set for which the predictions lie in [ 0 , 1 ] [0,1] [ 0 , 1 ] .
For a subgraph threshold t t t ,
f θ ( x ) > t ⟺ ⟨ ( θ , 1 ) , ( ϕ ( x ) , a ( x ) − t ) ⟩ > 0. f_{\theta}(x)>t \quad\Longleftrightarrow\quad\langle(\theta,1),(\phi(x),a(x)-t)\rangle>0. f θ ( x ) > t ⟺ ⟨( θ , 1 ) , ( ϕ ( x ) , a ( x ) − t )⟩ > 0.
Thus the subgraph class is a subclass of the class of homogeneous halfspaces in R m + 1 \mathbb{R}^{m+1} R m + 1 , and hence
d p r e d ≤ m + 1. d_{\mathrm{pred}} \le m + 1. d pred ≤ m + 1.
Moreover,
f γ ( x ) > f θ ( x ) ⟺ ⟨ γ − θ , ϕ ( x ) ⟩ > 0. f_{\gamma}(x) > f_{\theta}(x) \quad\Longleftrightarrow\quad\langle\gamma- \theta, \phi(x) \rangle> 0. f γ ( x ) > f θ ( x ) ⟺ ⟨ γ − θ , ϕ ( x )⟩ > 0.
Therefore C F l i n \mathcal{C}_{\mathcal{F}_{\mathrm{lin}}} C F lin is a subclass of the class of homogeneous halfspaces in R m \mathbb{R}^{m} R m , and hence
d c m p ≤ m . d_{\mathrm{cmp}} \le m. d cmp ≤ m .
Consequently, d = O ( m ) d = O(m) d = O ( m ) , and Theorem 14 applies with
α δ ≲ m log ( e n ) + log ( 2 / δ ) n . \alpha_{\delta} \lesssim\frac{m\log(en) + \log(2/\delta)}{n}. α δ ≲ n m log ( e n ) + log ( 2/ δ ) .
Logistic and other monotone-link prediction classes. Let ℓ : R → ( 0 , 1 ) \ell: \mathbb{R} \to(0,1) ℓ : R → ( 0 , 1 ) be a fixed strictly increasing bijection, and consider
F ℓ : = { f θ ( x ) = ℓ ( a ( x ) + ⟨ θ , ϕ ( x ) ⟩ ) : θ ∈ Θ } . \mathcal{F}_{\ell} := \left\{ f_{\theta}(x) = \ell\bigl(a(x) + \langle\theta, \phi(x) \rangle\bigr) : \theta\in\Theta\right\}. F ℓ := { f θ ( x ) = ℓ ( a ( x ) + ⟨ θ , ϕ ( x )⟩ ) : θ ∈ Θ } .
This includes logistic prediction with ℓ ( z ) = ( 1 + e − z ) − 1 \ell(z) = (1 + e^{-z})^{-1} ℓ ( z ) = ( 1 + e − z ) − 1 and probit prediction with ℓ ( z ) = Φ ( z ) \ell(z) = \Phi(z) ℓ ( z ) = Φ ( z ) . Since ℓ \ell ℓ is strictly increasing, for every t ∈ ( 0 , 1 ) t \in(0,1) t ∈ ( 0 , 1 ) ,
f θ ( x ) > t ⟺ ⟨ ( 0 , 1 ) , ( ϕ ( x ) , a ( x ) − ℓ − 1 ( t ) ) ⟩ > 0. f_{\theta}(x) > t \quad\Longleftrightarrow\quad\left\langle(0,1), \bigl(\phi(x), a(x) - \ell^{-1}(t)\bigr) \right\rangle> 0. f θ ( x ) > t ⟺ ⟨ ( 0 , 1 ) , ( ϕ ( x ) , a ( x ) − ℓ − 1 ( t ) ) ⟩ > 0.
Thus the subgraph class is again a subclass of the class of homogeneous halfspaces in R m + 1 \mathbb{R}^{m+1} R m + 1 , yielding
d p r e d ≤ m + 1. d_{\mathrm{pred}} \le m + 1. d pred ≤ m + 1.
Similarly,
f γ ( x ) > f θ ( x ) ⟺ ⟨ γ − θ , ϕ ( x ) ⟩ > 0 , f_{\gamma}(x) > f_{\theta}(x) \quad\Longleftrightarrow\quad\langle\gamma- \theta, \phi(x) \rangle> 0, f γ ( x ) > f θ ( x ) ⟺ ⟨ γ − θ , ϕ ( x )⟩ > 0 ,
so C F ℓ \mathcal{C}_{\mathcal{F}_{\ell}} C F ℓ is a subclass of the class of homogeneous halfspaces in R m \mathbb{R}^{m} R m , and therefore
d c m p ≤ m . d_{\mathrm{cmp}} \le m. d cmp ≤ m .
Consequently, d = O ( m ) d = O(m) d = O ( m ) and
α δ ≲ m log ( e n ) + log ( 2 / δ ) n . \alpha_{\delta} \lesssim\frac{m\log(en) + \log(2/\delta)}{n}. α δ ≲ n m log ( e n ) + log ( 2/ δ ) .
Sparse linear and sparse monotone-link prediction classes. Let ϕ : X → R p \phi: \mathcal{X} \to\mathbb{R}^{p} ϕ : X → R p , let 1 ≤ s ≤ p 1 \le s \le p 1 ≤ s ≤ p , and restrict parameter vectors to satisfy ∥ θ ∥ 0 ≤ s \lVert\theta\rVert_{0} \le s ∥ θ ∥ 0 ≤ s . Consider either the bounded linear class
f θ ( x ) = a ( x ) + ⟨ θ , ϕ ( x ) ⟩ f_{\theta}(x) = a(x) + \langle\theta, \phi(x) \rangle f θ ( x ) = a ( x ) + ⟨ θ , ϕ ( x )⟩
or the monotone-link class
f θ ( x ) = ℓ ( a ( x ) + ⟨ θ , ϕ ( x ) ⟩ ) , f_{\theta}(x) = \ell\bigl(a(x) + \langle\theta, \phi(x) \rangle\bigr), f θ ( x ) = ℓ ( a ( x ) + ⟨ θ , ϕ ( x )⟩ ) ,
with the linear class restricted as needed so that its predictions lie in [ 0 , 1 ] [0,1] [ 0 , 1 ] .
There are at most
∑ j = 0 s ( p j ) ≤ ( e p s ) s \sum_{j=0}^{s} \binom{p}{j} \le\left(\frac{ep}{s}\right)^{s} j = 0 ∑ s ( j p ) ≤ ( s e p ) s
possible supports of size at most s s s , and conditional on a fixed support the prediction class has pseudo-dimension O ( s ) O(s) O ( s ) . Combining the corresponding growth-function bound with a union bound over supports gives
d p r e d = O ( s log e p s ) . d_{\mathrm{pred}} = O\left(s\log\frac{ep}{s}\right). d pred = O ( s log s e p ) .
See, e.g., Anthony & Bartlett [2 ] ; Shalev-Shwartz & Ben-David [20 ] for the standard growth-function and pseudo-dimension machinery.
For pairwise comparisons, if θ \theta θ and γ \gamma γ are both s s s -sparse, then γ − θ \gamma- \theta γ − θ is at most 2 s 2s 2 s -sparse. Hence C F \mathcal{C}_{\mathcal{F}} C F is a subclass of the class of 2 s 2s 2 s -sparse homogeneous halfspaces in R p \mathbb{R}^{p} R p . Applying the same support-counting and growth-function argument gives
d c m p = O ( s log e p s ) . d_{\mathrm{cmp}} = O\left(s \log\frac{ep}{s}\right). d cmp = O ( s log s e p ) .
Related explicit lower and upper bounds on the VC dimension of sparse halfspaces are given by Ahsen & Vidyasagar [1 ] . Therefore
d = O ( s log e p s ) , d = O\left(s \log\frac{ep}{s}\right), d = O ( s log s e p ) ,
and Theorem 14 applies with
α δ ≲ s log ( e p / s ) log ( e n ) + log ( 2 / δ ) n . \alpha_{\delta} \lesssim\frac{s \log(ep/s)\log(en) + \log(2/\delta)}{n}. α δ ≲ n s log ( e p / s ) log ( e n ) + log ( 2/ δ ) .
Remark 22 (Realizable specialization). For any of the classes above, if η ∈ F \eta\in\mathcal{F} η ∈ F , then ε 1 ( η ) = B P ( η ) = 0 \varepsilon_1(\eta) = B_{P}(\eta) = 0 ε 1 ( η ) = B P ( η ) = 0 and v ( η ) ≤ σ ˉ 2 v(\eta) \le\bar{\sigma}^{2} v ( η ) ≤ σ ˉ 2 . Hence Theorem 14 implies, up to constants depending only on ρ \rho ρ ,
ε 1 ( f ^ ) ≲ ρ σ ˉ 2 d log ( e n ) + log ( 1 / δ ) n + d log ( e n ) + log ( 1 / δ ) n . \varepsilon_1(\hat{f}) \lesssim_{\rho} \sqrt{\frac{\bar{\sigma}^{2}d\log(en) + \log(1/\delta)}{n}} + \frac{d\log(en) + \log(1/\delta)}{n}. ε 1 ( f ^ ) ≲ ρ n σ ˉ 2 d log ( e n ) + log ( 1/ δ ) + n d log ( e n ) + log ( 1/ δ ) .
Thus the same variance-adaptive interpolation as in the finite-class result continues to hold for these infinite classes.
Experiments
Synthetic Experiment
In this section, we provide empirical results that validate our theoretical findings. Our synthetic experiment is a controlled finite-class sanity check. It isolates the approximation behavior predicted by the theory by exactly enumerating a small candidate class. It is not intended to demonstrate scalable optimization of the sign-betting objective over large hypothesis classes.
Function class. We consider a d d d -dimensional regression setting with target regression function η \eta η . We use the logistic prediction family
f θ ( x ) : = σ ( x T θ ) , f_{\theta}(x) := \sigma(x^{\mathsf{T}}\theta), f θ ( x ) := σ ( x T θ ) ,
where σ ( z ) : = 1 / ( 1 + exp ( − z ) ) \sigma(z) := 1/(1 + \exp(-z)) σ ( z ) := 1/ ( 1 + exp ( − z )) is the sigmoid function. We define the target regression function as
η ( x ) = 1 2 , ∀ x ∈ X . \eta(x) = \frac{1}{2}, \qquad\forall x \in\mathcal{X}. η ( x ) = 2 1 , ∀ x ∈ X .
To study model misspecification in a controlled setting, we consider a finite function class that does not contain the target regression function. Specifically, we choose two inputs
x c = e 1 , x r = e 2 , x_c = e_1, \qquad x_r = e_2, x c = e 1 , x r = e 2 ,
where e 1 , e 2 ∈ R d e_1, e_2 \in\mathbb{R}^{d} e 1 , e 2 ∈ R d are the first two standard basis vectors, and construct two groups of candidate functions.
The first group consists of local-error candidates that agree with the target function on x c x_c x c but deviate from it on x r x_r x r :
f j L ( x c ) = 1 2 , f j L ( x r ) = 1 2 + A j . f_j^{L}(x_c) = \frac{1}{2}, \qquad f_j^{L}(x_r) = \frac{1}{2} + A_j. f j L ( x c ) = 2 1 , f j L ( x r ) = 2 1 + A j .
Their corresponding parameters are
θ j L = ( 0 , logit ( 1 2 + A j ) , 0 , … , 0 ) . \theta_j^{L} = \left(0, \operatorname{logit}\left(\frac{1}{2} + A_j\right), 0, \ldots, 0\right). θ j L = ( 0 , logit ( 2 1 + A j ) , 0 , … , 0 ) .
The second group consists of distributed-error candidates that deviate from the target function on both inputs:
f j D ( x c ) = f j D ( x r ) = 1 2 + B j . f_j^{D}(x_c) = f_j^{D}(x_r) = \frac{1}{2} + B_j. f j D ( x c ) = f j D ( x r ) = 2 1 + B j .
Their corresponding parameters are
θ j D = ( logit ( 1 2 + B j ) , logit ( 1 2 + B j ) , 0 , … , 0 ) . \theta_j^D = \left(\operatorname{logit}\left(\frac{1}{2}+B_j\right),\operatorname{logit}\left(\frac{1}{2}+B_j\right),0,\ldots,0\right). θ j D = ( logit ( 2 1 + B j ) , logit ( 2 1 + B j ) , 0 , … , 0 ) .
Let F L \mathcal{F}_L F L and F D \mathcal{F}_D F D denote the two groups of candidate functions. We finally construct the finite function class as
F : = F L ∪ F D . \mathcal{F} := \mathcal{F}_L \cup\mathcal{F}_D. F := F L ∪ F D .
The target regression function η \eta η is not contained in F \mathcal{F} F .
Data distribution. We consider a two-point input distribution with
x c = e 1 = ( 1 , 0 ) ⊤ , x r = e 2 = ( 0 , 1 ) ⊤ , x_c=e_1=(1,0)^\top,\qquad x_r=e_2=(0,1)^\top, x c = e 1 = ( 1 , 0 ) ⊤ , x r = e 2 = ( 0 , 1 ) ⊤ ,
and sample
X = { x c , with probability 1 − p , x r , with probability p . X =
\begin{cases}
x_c, & \text{with probability } 1-p,\\
x_r, & \text{with probability } p.
\end{cases} X = { x c , x r , with probability 1 − p , with probability p .
The target regression function is fixed as
η ( x ) = E [ Y ∣ X = x ] = 1 2 . \eta(x)=\mathbb{E}[Y\mid X=x]=\frac{1}{2}. η ( x ) = E [ Y ∣ X = x ] = 2 1 .
We use a parameter ρ ∈ [ 0 , 1 ) \rho\in[0,1) ρ ∈ [ 0 , 1 ) to control the conditional label noise. This experimental noise parameter is unrelated to the parameter ρ \rho ρ appearing in our theoretical bounds. When ρ = 0 \rho=0 ρ = 0 , the label is deterministic:
Y ∣ X = x = 1 2 . Y\mid X=x=\frac{1}{2}. Y ∣ X = x = 2 1 .
For ρ > 0 \rho>0 ρ > 0 , we generate the label as
Y ∣ X = x ∼ Beta ( η ( x ) 1 − ρ ρ , ( 1 − η ( x ) ) 1 − ρ ρ ) . Y\mid X=x\sim\operatorname{Beta}\left(\eta(x)\frac{1-\rho}{\rho},(1-\eta(x))\frac{1-\rho}{\rho}\right). Y ∣ X = x ∼ Beta ( η ( x ) ρ 1 − ρ , ( 1 − η ( x )) ρ 1 − ρ ) .
Since η ( x ) = 1 / 2 \eta(x)=1/2 η ( x ) = 1/2 , this reduces to
Y ∣ X = x ∼ Beta ( 1 − ρ 2 ρ , 1 − ρ 2 ρ ) . Y\mid X=x\sim\operatorname{Beta}\left(\frac{1-\rho}{2\rho},\frac{1-\rho}{2\rho}\right). Y ∣ X = x ∼ Beta ( 2 ρ 1 − ρ , 2 ρ 1 − ρ ) .
In both cases,
E [ Y ∣ X = x ] = 1 2 , Var ( Y ∣ X = x ) = ρ 4 , \mathbb{E}[Y\mid X=x]=\frac{1}{2},\qquad\operatorname{Var}(Y\mid X=x)=\frac{\rho}{4}, E [ Y ∣ X = x ] = 2 1 , Var ( Y ∣ X = x ) = 4 ρ ,
where ρ = 0 \rho=0 ρ = 0 corresponds to the deterministic label setting.
Training. Given the candidate set F \mathcal{F} F , we select a function by minimizing either log loss, squared loss, or sign betting loss on the validation data D n v a l D_n^{\mathrm{val}} D n val . The log loss of f f f is
L n log ( f ) = 1 n ∑ ( x , y ) ∈ D n ( y log f ( x ) + ( 1 − y ) log ( 1 − f ( x ) ) ) , L_n^{\log}(f)=\frac{1}{n}\sum_{(x,y)\in D_n}\left(y\log f(x)+(1-y)\log(1-f(x))\right), L n l o g ( f ) = n 1 ( x , y ) ∈ D n ∑ ( y log f ( x ) + ( 1 − y ) log ( 1 − f ( x )) ) ,
and the selected function is
f ^ log = arg min f ∈ F L n log ( f ) . \hat{f}^{\log}=\mathop{\arg\min}_{f\in\mathcal{F}}L_n^{\log}(f). f ^ l o g = arg min f ∈ F L n l o g ( f ) .
Similarly, the squared loss of f f f is
L n s q ( f ) = 1 n ∑ ( x , y ) ∈ D n ( y − f ( x ) ) 2 , L_n^{\mathrm{sq}}(f)=\frac{1}{n}\sum_{(x,y)\in D_n}\left(y-f(x)\right)^2, L n sq ( f ) = n 1 ( x , y ) ∈ D n ∑ ( y − f ( x ) ) 2 ,
and the selected function is
f ^ s q = arg min f ∈ F L n s q ( f ) . \hat{f}^{\mathrm{sq}}=\mathop{\arg\min}_{f\in\mathcal{F}}L_n^{\mathrm{sq}}(f). f ^ sq = arg min f ∈ F L n sq ( f ) .
Table 1 (PDF p. 46). Comparison of average mean absolute error (MAE) under log loss, squared loss, and sign betting loss across varying n / d n/d n / d . Reported values are the mean MAE over repeated trials, with ± denoting the standard error. Best results are shown in bold . Sign betting loss achieves the lowest MAE for all tested values of n / d n/d n / d , tying with the other methods at n / d = 2 n/d = 2 n / d = 2 .
For sign betting loss, for each f , h ∈ F f, h \in\mathcal{F} f , h ∈ F , we define
T ^ ( f , h ) = 1 n ∑ ( x , y ) ∈ D n ( y − f ( x ) ) sign ( h ( x ) − f ( x ) ) . \widehat{T}(f,h) = \frac{1}{n} \sum_{(x,y)\in D_n} (y-f(x))\operatorname{sign}(h(x)-f(x)). T ( f , h ) = n 1 ( x , y ) ∈ D n ∑ ( y − f ( x )) sign ( h ( x ) − f ( x )) .
where sign ( 0 ) = 0 \operatorname{sign}(0) = 0 sign ( 0 ) = 0 , and select
f ^ S B = arg min f ∈ F max h ∈ F T ^ ( f , h ) . \widehat{f}^{\mathrm{SB}} = \mathop{\arg\min}_{f\in\mathcal{F}}\mathop{\max}_{h\in\mathcal{F}}\widehat{T}(f,h). f SB = arg min f ∈ F max h ∈ F T ( f , h ) .
Evaluation. For each selected function f ^ \widehat{f} f , we evaluate its population mean absolute error (MAE),
ε 1 ( f ^ ) = E X [ ∣ f ^ ( X ) − η ( X ) ∣ ] . \varepsilon_1(\widehat{f}) = \mathbb{E}_X\left[\left|\widehat{f}(X)-\eta(X)\right|\right]. ε 1 ( f ) = E X [ f ( X ) − η ( X ) ] .
Since the input distribution is supported on only two points, this expectation can be computed exactly as
ε 1 ( f ^ ) = ( 1 − p ) ∣ f ^ ( x c ) − 1 2 ∣ + p ∣ f ^ ( x r ) − 1 2 ∣ . \varepsilon_1(\widehat{f}) = (1-p)\left|\widehat{f}(x_c)-\frac{1}{2}\right| + p\left|\widehat{f}(x_r)-\frac{1}{2}\right|. ε 1 ( f ) = ( 1 − p ) f ( x c ) − 2 1 + p f ( x r ) − 2 1 .
We fix the feature dimension to d = 2 d = 2 d = 2 and the rare-input probability to p = 0.1 p = 0.1 p = 0.1 , vary the training sample-to-dimension ratio n / d ∈ { 2 , 4 , 8 , 16 , 32 , 64 } n/d \in\{2, 4, 8, 16, 32, 64\} n / d ∈ { 2 , 4 , 8 , 16 , 32 , 64 } , and consider different noise levels ρ ∈ { 0 , 0.02 , 0.04 } \rho\in\{0, 0.02, 0.04\} ρ ∈ { 0 , 0.02 , 0.04 } . For each configuration ( n / d , ρ ) (n/d,\rho) ( n / d , ρ ) , we repeat the experiment B = 1000 B = 1000 B = 1000 times. If f ^ b \widehat{f}_b f b denotes the selected function in repetition b b b , we report the average MAE
ε ‾ 1 = 1 B ∑ b = 1 B ε 1 ( f ^ b ) , \overline{\varepsilon}_1 = \frac{1}{B}\sum_{b=1}^{B}\varepsilon_1(\widehat{f}_b), ε 1 = B 1 b = 1 ∑ B ε 1 ( f b ) ,
with standard error
S E = S D ( ε 1 ( f ^ 1 ) , … , ε 1 ( f ^ B ) ) B . \mathrm{SE} = \frac{\mathrm{SD}\left(\varepsilon_1(\widehat{f}_1),\ldots,\varepsilon_1(\widehat{f}_B)\right)}{\sqrt{B}}. SE = B SD ( ε 1 ( f 1 ) , … , ε 1 ( f B ) ) .
Results. Table 1 reports the average MAE with standard error for the noiseless setting (ρ = 0 \rho= 0 ρ = 0 ), while Figure 1 summarizes the corresponding results across different noise levels ρ ∈ { 0 , 0.02 , 0.04 } \rho\in\{0, 0.02, 0.04\} ρ ∈ { 0 , 0.02 , 0.04 } and varying values of sample-to-dimension ratio n / d n/d n / d . In the noiseless setting, all three methods achieve the same average MAE at the smallest sample size. For all larger values of n / d n/d n / d , sign betting consistently achieves the lowest MAE, and its MAE decreases toward the best population MAE attainable within the function class as the sample size increases. Figure 1 shows that this advantage persists in the presence of label noise. Across both noisy settings, sign betting consistently achieves the lowest MAE over all tested values of n / d n/d n / d , and its MAE decreases as the sample size increases.
Figure 1. Comparison of average mean absolute error (MAE) obtained under log loss, squared loss, and sign betting loss in the synthetic experiment across varying n / d n/d n / d and noise levels ρ ∈ { 0 , 0.02 , 0.04 } \rho\in\{0, 0.02, 0.04\} ρ ∈ { 0 , 0.02 , 0.04 } . Error bars denote the standard error.
Real-World Experiment
Dataset. We use the KonIQ-10k ([14 ] ) image-quality dataset, in which each image is associated with multiple human quality ratings on a five-point scale. We rescale each rating
r ∈ { 1 , 2 , 3 , 4 , 5 } r \in\{1, 2, 3, 4, 5\} r ∈ { 1 , 2 , 3 , 4 , 5 } to Y = r − 1 4 ∈ { 0 , 1 4 , 1 2 , 3 4 , 1 } Y = \frac{r-1}{4} \in\{0, \frac{1}{4}, \frac{1}{2}, \frac{3}{4}, 1\} Y = 4 r − 1 ∈ { 0 , 4 1 , 2 1 , 4 3 , 1 } , so that the responses lie in [ 0 , 1 ] [0, 1] [ 0 , 1 ] , consistent with our regression setting.
For an image x x x , let c k ( x ) c_k(x) c k ( x ) denote the number of observed ratings at level k ∈ { 1 , … , 5 } k \in\{1, \ldots, 5\} k ∈ { 1 , … , 5 } . We define the empirical rating distribution by
q ^ k ( x ) = c k ( x ) ∑ ℓ = 1 5 c ℓ ( x ) , \widehat{q}_k(x) = \frac{c_k(x)}{\sum_{\ell=1}^{5} c_\ell(x)}, q k ( x ) = ∑ ℓ = 1 5 c ℓ ( x ) c k ( x ) ,
and its empirical mean by
η ˉ ( x ) = ∑ k = 1 5 q ^ k ( x ) k − 1 4 . \bar{\eta}(x) = \sum_{k=1}^{5} \widehat{q}_k(x) \frac{k-1}{4}. η ˉ ( x ) = k = 1 ∑ 5 q k ( x ) 4 k − 1 .
Here η ( x ) = E [ Y ∣ X = x ] \eta(x) = \mathbb{E}[Y \mid X = x] η ( x ) = E [ Y ∣ X = x ] denotes the population conditional mean from our theoretical formulation, while η ˉ ( x ) \bar{\eta}(x) η ˉ ( x ) is its empirical counterpart computed from all available human ratings for image x x x .
Function class. We extract image features using a ResNet-18 (He et al., [12 ] ) backbone pretrained on ImageNet (Russakovsky et al., [19 ] ), with all backbone parameters frozen. Based on these features, we train five families of regression models on the training set using different model configurations and random seeds. Together, these models form a finite hypothesis class containing 38 predictors,
F = { f 1 , … , f 38 } . \mathcal{F} = \{f_1, \ldots, f_{38}\}. F = { f 1 , … , f 38 } .
Once the candidate models are trained, all model parameters are frozen during model selection.
Training. Given the hypothesis class F \mathcal{F} F , we select a function using log loss, squared loss, or sign betting loss on the validation set. For each repetition, we use the same n n n distinct validation images for all three methods and sample one human rating for each selected image, forming
D n v a l = { ( X i , Y i ) } i = 1 n . D_n^{\mathrm{val}} = \{(X_i, Y_i)\}_{i=1}^{n}. D n val = {( X i , Y i ) } i = 1 n .
The log loss of f f f is
L n log ( f ) = − 1 n ∑ ( x , y ) ∈ D n v a l ( y log f ( x ) + ( 1 − y ) log ( 1 − f ( x ) ) ) , L_n^{\log}(f) = -\frac{1}{n}\sum_{(x,y)\in D_n^{\mathrm{val}}}\left(y\log f(x) + (1-y)\log(1-f(x))\right), L n l o g ( f ) = − n 1 ( x , y ) ∈ D n val ∑ ( y log f ( x ) + ( 1 − y ) log ( 1 − f ( x )) ) ,
and the selected function is
f ^ log = arg min f ∈ F L n log ( f ) . \widehat{f}^{\log} = \arg\min_{f\in\mathcal{F}} L_n^{\log}(f). f l o g = arg f ∈ F min L n l o g ( f ) .
Similarly, the squared loss of f f f is
L n s q ( f ) = 1 n ∑ ( x , y ) ∈ D n v a l ( y − f ( x ) ) 2 , L_n^{\mathrm{sq}}(f) = \frac{1}{n}\sum_{(x,y)\in D_n^{\mathrm{val}}}\left(y-f(x)\right)^2, L n sq ( f ) = n 1 ( x , y ) ∈ D n val ∑ ( y − f ( x ) ) 2 ,
and the selected function is
f ^ s q = arg min f ∈ F L n s q ( f ) . \widehat{f}^{\mathrm{sq}} = \arg\min_{f\in\mathcal{F}} L_n^{\mathrm{sq}}(f). f sq = arg f ∈ F min L n sq ( f ) .
For sign betting, we use
T ^ ( f , h ) = 1 n ∑ ( x , y ) ∈ D n v a l ( y − f ( x ) ) sign ( h ( x ) − f ( x ) ) , \widehat{T}(f,h) = \frac{1}{n} \sum_{(x,y)\in D_n^{\mathrm{val}}} \left(y-f(x)\right)\operatorname{sign}\left(h(x)-f(x)\right), T ( f , h ) = n 1 ( x , y ) ∈ D n val ∑ ( y − f ( x ) ) sign ( h ( x ) − f ( x ) ) ,
and select
f ^ S B = arg min f ∈ F max h ∈ F T ^ ( f , h ) , \widehat{f}^{\mathrm{SB}} = \underset{f\in\mathcal{F}}{\arg\min}\ \underset{h\in\mathcal{F}}{\max}\ \widehat{T}(f,h), f SB = f ∈ F arg min h ∈ F max T ( f , h ) ,
where sign ( 0 ) = 0 \operatorname{sign}(0)=0 sign ( 0 ) = 0 .
Evaluation. We evaluate each selected function f ^ \widehat{f} f on the test set using mean absolute error (MAE) with respect to the empirical mean human score η ˉ ( x ) \bar{\eta}(x) η ˉ ( x ) :
R ^ t e s t ( f ^ ) = 1 m ∑ i = 1 m ∣ f ^ ( X i t e s t ) − η ˉ ( X i t e s t ) ∣ , \widehat{R}_{\mathrm{test}}(\widehat{f}) = \frac{1}{m}\sum_{i=1}^{m}\left|\widehat{f}\left(X_i^{\mathrm{test}}\right)-\bar{\eta}\left(X_i^{\mathrm{test}}\right)\right|, R test ( f ) = m 1 i = 1 ∑ m f ( X i test ) − η ˉ ( X i test ) ,
where m = 2015 m=2015 m = 2015 is the number of test images.
We also report the model-selection regret relative to the best model in F \mathcal{F} F . Specifically, we define
R b e s t = min f ∈ F R ^ t e s t ( f ) , R^{\mathrm{best}} = \min_{f\in\mathcal{F}}\widehat{R}_{\mathrm{test}}(f), R best = f ∈ F min R test ( f ) ,
and the regret of a selected function f ^ \widehat{f} f as
Regret ( f ^ ) = R ^ t e s t ( f ^ ) − R b e s t . \operatorname{Regret}(\widehat{f}) = \widehat{R}_{\mathrm{test}}(\widehat{f}) - R^{\mathrm{best}}. Regret ( f ) = R test ( f ) − R best .
Here, R b e s t R^{\mathrm{best}} R best denotes the test MAE of the best model among the 38 candidates in F \mathcal{F} F .
Results. Figure 2 (a) summarizes the average test MAE with standard error from function selection with log loss, squared loss, and sign betting loss across different validation sizes n n n , together with the test MAE of the best model in each hypothesis class. The results show that the test MAE decreases as the validation size increases for all three selection methods, with sign betting consistently achieving the lowest MAE and approaching the best model as validation size increases. Similarly, the model selection regret decreases with increasing n n n , with sign betting consistently attaining the lowest regret among the three methods.
Figure 2. Comparison of average test MAE obtained under log loss, squared loss, and sign betting loss in the real-world and LLM experiments across varying validation sizes n n n . Error bars denote the standard error, and dashed horizontal lines indicate the MAE of the best model in each function class.
LLM Experiment
Dataset. We use the UltraFeedback ([8 ] ) dataset, which contains prompts paired with multiple responses. In our experiments, each prompt is associated with 4 responses, and we treat each prompt-response pair as one regression sample. Specifically, we represent an input as
where q q q denotes the prompt and r r r denotes one of its responses.
To obtain reference rewards, we use Llama-3.3-70B-Instruct [11 ] as the teacher model. Given a prompt-response pair x x x , the teacher assigns a reward
s t e a c h e r ( x ) ∈ { 0 , 1 , 2 , 3 , 4 } . s_{\mathrm{teacher}}(x) \in\{0,1,2,3,4\}. s teacher ( x ) ∈ { 0 , 1 , 2 , 3 , 4 } .
We normalize the score to [ 0 , 1 ] [0,1] [ 0 , 1 ] and define
Y = g ( x ) = s t e a c h e r ( x ) 4 . Y = g(x) = \frac{s_{\mathrm{teacher}}(x)}{4}. Y = g ( x ) = 4 s teacher ( x ) .
Thus, each regression example consists of a prompt-response pair x x x and its normalized teacher reward Y Y Y . We use g ( x ) g(x) g ( x ) as the teacher reference reward for both model selection and evaluation.
Function class. We construct a finite class of candidate reward models using Llama-3.2-3B-Instruct [11 ] as the backbone. We attach a five-class scoring head that predicts
p θ ( k ∣ x ) , k ∈ { 0 , 1 , 2 , 3 , 4 } . p_\theta(k \mid x), \qquad k \in\{0,1,2,3,4\}. p θ ( k ∣ x ) , k ∈ { 0 , 1 , 2 , 3 , 4 } .
The models are trained on the training set using the teacher reward as labels. We use seven different random seeds and retain five checkpoints along each training trajectory, resulting in 7 × 5 = 35 7 \times5 = 35 7 × 5 = 35 reward models. Although the models are trained as five-class classifiers, each model outputs a prediction reward in [ 0 , 1 ] [0,1] [ 0 , 1 ] using the normalized expected score
f j ( x ) = ∑ k = 0 4 p j ( k ∣ x ) k 4 . f_j(x) = \sum_{k=0}^{4} p_j(k \mid x)\frac{k}{4}. f j ( x ) = k = 0 ∑ 4 p j ( k ∣ x ) 4 k .
We therefore define the finite hypothesis class as
F = { f 1 , … , f 35 } . \mathcal{F} = \{f_1,\ldots,f_{35}\}. F = { f 1 , … , f 35 } .
All reward models are frozen before the model selection stage, and the teacher model is not included in F \mathcal{F} F .
Training. Given the candidate set F \mathcal{F} F , we select a function by minimizing either log loss, squared loss, or sign betting loss on the validation data. For each repetition, we sample n n n prompt-response pairs from the validation set, forming
D n v a l = { ( X i , Y i ) } i = 1 n . D_n^{\mathrm{val}} = \{(X_i,Y_i)\}_{i=1}^{n}. D n val = {( X i , Y i ) } i = 1 n .
The log loss of f f f is
L n log ( f ) = − 1 n ∑ ( x , y ) ∈ D n v a l [ y log f ~ ( x ) + ( 1 − y ) log ( 1 − f ~ ( x ) ) ] . L_n^{\log}(f) = -\frac{1}{n}\sum_{(x,y)\in D_n^{\mathrm{val}}}\left[y\log\tilde{f}(x)+(1-y)\log(1-\tilde{f}(x))\right]. L n l o g ( f ) = − n 1 ( x , y ) ∈ D n val ∑ [ y log f ~ ( x ) + ( 1 − y ) log ( 1 − f ~ ( x )) ] .
where
f ~ ( x ) = clip ( f ( x ) , 10 − 6 , 1 − 10 − 6 ) , \tilde{f}(x)=\operatorname{clip}\left(f(x),10^{-6},1-10^{-6}\right), f ~ ( x ) = clip ( f ( x ) , 1 0 − 6 , 1 − 1 0 − 6 ) ,
and the selected function is
f ^ log = arg min f ∈ F L n log ( f ) . \hat{f}^{\log}=\underset{f\in\mathcal{F}}{\arg\min}\ L_n^{\log}(f). f ^ l o g = f ∈ F arg min L n l o g ( f ) .
Similarly, the squared loss of f f f is
L n s q ( f ) = 1 n ∑ ( x , y ) ∈ D n v a l ( y − f ( x ) ) 2 , L_n^{\mathrm{sq}}(f)=\frac{1}{n}\sum_{(x,y)\in D_n^{\mathrm{val}}}\left(y-f(x)\right)^2, L n sq ( f ) = n 1 ( x , y ) ∈ D n val ∑ ( y − f ( x ) ) 2 ,
and the selected function is
f ^ s q = arg min f ∈ F L n s q ( f ) . \hat{f}^{\mathrm{sq}}=\underset{f\in\mathcal{F}}{\arg\min}\ L_n^{\mathrm{sq}}(f). f ^ sq = f ∈ F arg min L n sq ( f ) .
For sign betting, we use
T ^ ( f , h ) = 1 n ∑ ( x , y ) ∈ D n v a l ( y − f ( x ) ) sign ( h ( x ) − f ( x ) ) , \widehat{T}(f,h)=\frac{1}{n}\sum_{(x,y)\in D_n^{\mathrm{val}}}\left(y-f(x)\right)\operatorname{sign}\left(h(x)-f(x)\right), T ( f , h ) = n 1 ( x , y ) ∈ D n val ∑ ( y − f ( x ) ) sign ( h ( x ) − f ( x ) ) ,
and select
f ^ S B = arg min f ∈ F max h ∈ F T ^ ( f , h ) , \widehat{f}^{\mathrm{SB}} = \arg\min_{f \in\mathcal{F}} \max_{h \in\mathcal{F}} \widehat{T}(f,h), f SB = arg f ∈ F min h ∈ F max T ( f , h ) ,
where sign ( 0 ) = 0 \operatorname{sign}(0) = 0 sign ( 0 ) = 0 .
Evaluation. We evaluate each selected reward model f ^ \widehat{f} f on the test set using mean absolute error (MAE) with respect to the teacher reference reward:
R t e s t ( f ^ ) = 1 m ∑ i = 1 m ∣ f ^ ( x i t e s t ) − y i t e s t ∣ , R_{\mathrm{test}}(\widehat{f}) = \frac{1}{m} \sum_{i=1}^{m} \left\lvert\widehat{f}(x_i^{\mathrm{test}}) - y_i^{\mathrm{test}} \right\rvert, R test ( f ) = m 1 i = 1 ∑ m f ( x i test ) − y i test ,
where the test set contains m = 4000 m = 4000 m = 4000 prompt-response pairs and y i t e s t y_i^{\mathrm{test}} y i test is the normalized reward assigned by the teacher model. Lower MAE indicates that the selected reward model more closely matches the teacher scoring function on the test set.
We also report the model selection regret relative to the best model in the function class. Specifically, we define
R b e s t = min f ∈ F R t e s t ( f ) , R^{\mathrm{best}} = \min_{f \in\mathcal{F}} R_{\mathrm{test}}(f), R best = f ∈ F min R test ( f ) ,
and
Regret ( f ^ ) = R t e s t ( f ^ ) − R b e s t . \operatorname{Regret}(\widehat{f}) = R_{\mathrm{test}}(\widehat{f}) - R^{\mathrm{best}}. Regret ( f ) = R test ( f ) − R best .
Here, R b e s t R^{\mathrm{best}} R best is the test MAE of the best model among the 35 candidates in F \mathcal{F} F .
Results. Figure 2 (b) summarizes the average test MAE and model selection regret, with standard error, for function selection with log loss, squared loss, and sign betting loss across different validation sizes n n n . The test MAE of the best model in the function class is also shown as a reference. Across all validation sizes, sign betting consistently achieves lower test MAE than both log loss and squared loss. As the validation size increases, the test MAE of sign betting decreases and moves closer to the best model. Similarly, the model selection regret of sign betting decreases with increasing n n n and remains the lowest among the three methods across all validation sizes.