Tutorials › Statistical Learning (Graduate) › Combining Regression Smoothness and Margin Noise

Noise Conditions and Minimax Rates · Tutorial 551 of 989

Combining Regression Smoothness and Margin Noise

Learn how regression smoothness and margin noise jointly restrict where classification mistakes can occur and how costly they can be.

Advanced 11 min read

What You'll Learn

  • Specify a binary classification model through its regression function and covariate distribution.
  • State a Hölder smoothness condition and a Tsybakov margin condition precisely.
  • Derive the excess classification risk as a margin-weighted disagreement probability.
  • Prove a plug-in excess-risk bound under uniform regression error.
  • Distinguish the roles of smoothness and margin assumptions using explicit examples.

Why Combine Smoothness and a Margin Condition?

In binary classification, the regression function describes how the conditional probability of a positive label changes across the covariate space. Its smoothness limits how rapidly that probability can vary with the covariates. A margin condition addresses a different question: how much probability lies near the decision threshold, where the label is hardest to predict. Together, these assumptions say that the regression function cannot vary arbitrarily quickly and that observations are not too concentrated near its decision boundary.

The distinction matters for risk. A classification error far from the decision threshold is costly, because the Bayes classifier is strongly preferred there. An error very close to the threshold has little excess cost. A margin condition controls the probability of encountering such near-threshold points; smoothness relates changes in the regression function to distances in the covariate space. Neither assumption alone says the same thing as the other.

The Combined Classification Model

Let \(X\) take values in \([0,1]^d\), and let \(Y\in\{0,1\}\). The distribution of \(X\) is denoted by \(P_X\); no density or uniformity assumption is imposed in the general model. Define the regression function \(\eta(x)=P(Y=1\mid X=x)\), for \(P_X\)-almost every \(x\). A classifier is a measurable function \(g:[0,1]^d\to\{0,1\}\), and its classification risk is \(R(g)=P(g(X)\ne Y)\).

Definition: The Bayes classifier is \(g^*(x)=\mathbf{1}\{\eta(x)\ge 1/2\}\). The margin at \(x\) is \(M(x)=|2\eta(x)-1|\). For \(0<\beta\le 1\), the regression function is \(\beta\)-Hölder with constant \(L\) if \(|\eta(x)-\eta(x')|\le L\|x-x'\|^\beta\) for all \(x,x'\in[0,1]^d\). A Tsybakov margin condition with exponent \(\alpha>0\) and constant \(C\) is \(P_X(0<M(X)\le t)\le Ct^\alpha\) for every \(t>0\).

The margin condition is written using \(0<M\), so it permits positive probability at an exact tie \(M=0\). Ties contribute no excess classification risk: when \(\eta(x)=1/2\), the two labels have equal conditional error probability. The exponent \(\alpha\) describes how quickly the probability of small, nonzero margins decreases as the margin threshold \(t\) shrinks. A larger exponent means less probability near the decision threshold, subject to the stated constants.

The Hölder condition concerns the values of \(\eta\) as covariates move. The margin condition concerns the distribution of those values under \(P_X\). In particular, smoothness is a pointwise geometric restriction, whereas the margin condition is probabilistic. The model consists of a covariate distribution and a conditional label distribution satisfying both restrictions; neither one specifies the other.

Excess Risk and the Margin

The risk identity below explains exactly why the margin is relevant. It applies to any measurable classifier, without requiring smoothness or a margin condition.

Theorem: For every measurable classifier \(g\), its excess risk over the Bayes classifier is $$ R(g)-R(g^*)=E\!\left[M(X)\mathbf{1}\{g(X)\ne g^*(X)\}\right]. $$

Proof. Conditional on \(X=x\), predicting 0 has error probability \(\eta(x)\), while predicting 1 has error probability \(1-\eta(x)\). If \(\eta(x)>1/2\), the Bayes decision is 1, and predicting 0 instead increases conditional risk by \(\eta(x)-(1-\eta(x))=2\eta(x)-1=M(x)\). If \(\eta(x)<1/2\), the Bayes decision is 0, and predicting 1 instead increases conditional risk by \((1-\eta(x))-\eta(x)=1-2\eta(x)=M(x)\). If \(\eta(x)=1/2\), the difference is zero whichever decision is made. Thus the conditional excess risk is \(M(x)\mathbf{1}\{g(x)\ne g^*(x)\}\), up to the irrelevant choice of Bayes decision at ties. Taking expectation over \(X\) gives the identity. \(\square\)

This identity separates two factors: whether a classifier disagrees with the Bayes decision, and the margin-weighted cost of that disagreement. A small disagreement probability alone does not determine excess risk, and a large disagreement probability concentrated at ties can still have zero excess risk.

Worked Examples of the Two Assumptions

Worked Example: A Linear Regression Function Near the Boundary

Let \(X\) be uniform on \([0,1]\), and set \(\eta(x)=1/2+a(x-1/2)\), where \(0<a\le 1\). This is a valid conditional probability: its range is \([(1-a)/2,(1+a)/2]\), contained in \([0,1]\). It is 1-Hölder with constant \(a\), since \(|\eta(x)-\eta(x')|=a|x-x'|\).

Here \(M(x)=2a|x-1/2|\). For \(0<t\le a\), the event \(0<M(X)\le t\) is \(0<|X-1/2|\le t/(2a)\). Its probability is the length of the interval around \(1/2\), namely \(2(t/(2a))=t/a\). For \(t\ge a\), the probability is 1. Consequently, the margin condition holds for every \(t>0\) with \(\alpha=1\) and \(C=1/a\): for \(t\le a\), the probability is \(t/a\); for \(t\ge a\), \(1\le t/a\).

If a classifier disagrees with the Bayes rule only for \(x\in[1/2-h,1/2+h]\), where \(0\le h\le1/2\), its excess risk is $$ \int_{1/2-h}^{1/2+h}2a|x-1/2|\,dx =4a\int_0^h u\,du =2ah^2. $$ The errors are confined to a region of width \(2h\), and their total cost is smaller than that width because the margin tends to zero at the boundary.

Worked Example: A Hölder Function with a Different Margin Exponent

Again let \(X\) be uniform on \([0,1]\). Choose \(0<\beta\le1\) and \(0<a\le1\), and define $$ \eta(x)=\frac12+a\,\operatorname{sign}(x-1/2)|x-1/2|^\beta, $$ with \(\operatorname{sign}(0)=0\). This function stays in \([0,1]\), because \(|x-1/2|^\beta\le(1/2)^\beta\le1\). It is \(\beta\)-Hölder: for points on the same side of \(1/2\), the inequality \(|u^\beta-v^\beta|\le|u-v|^\beta\) holds for \(u,v\ge0\); for points on opposite sides, writing their distances from \(1/2\) as \(u,v\), we have \(u^\beta+v^\beta\le2^{1-\beta}(u+v)^\beta\). Thus a Hölder constant is \(a2^{1-\beta}\).

The margin is \(M(x)=2a|x-1/2|^\beta\). For \(0<t\le a2^{1-\beta}\), the event \(0<M(X)\le t\) is equivalent, apart from the zero-probability point \(X=1/2\), to $$ |X-1/2|\le \left(\frac{t}{2a}\right)^{1/\beta}. $$ The right-hand radius is at most \(1/2\) for the stated range of \(t\). Therefore its probability is \(2(t/(2a))^{1/\beta}\). This gives a margin exponent \(\alpha=1/\beta\) and constant \(C=2(2a)^{-1/\beta}\) for these \(t\). For larger \(t\), the probability is at most 1, so increasing \(C\), if necessary, gives the condition for all \(t>0\).

The calculation illustrates that the shape of \(\eta\) near its threshold affects the small-margin probabilities. Smoothness does not force a single margin exponent: changing how quickly \(\eta(x)\) moves away from \(1/2\) changes how much covariate probability lies near small margins.

A Plug-In Bound Under Uniform Regression Error

Suppose an estimate \(\widehat\eta\) of the regression function is used to form the plug-in classifier \(\widehat g(x)=\mathbf{1}\{\widehat\eta(x)\ge1/2\}\). The next result shows how the margin condition converts a uniform regression error bound into an excess-risk bound. This is a deterministic implication for any measurable function \(\widehat\eta\); it does not assert that a particular estimator achieves the required uniform accuracy.

Theorem: Suppose the margin condition holds with exponent \(\alpha>0\) and constant \(C\). If \(\sup_x|\widehat\eta(x)-\eta(x)|\le\delta\), then $$ R(\widehat g)-R(g^*)\le C(2\delta)^{1+\alpha}. $$

Proof. Consider a point \(x\) with \(M(x)>0\) at which \(\widehat g(x)\ne g^*(x)\). If \(\eta(x)>1/2\), then \(g^*(x)=1\), and disagreement means \(\widehat\eta(x)<1/2\). Hence \(\eta(x)-1/2\le|\eta(x)-\widehat\eta(x)|\le\delta\), so \(M(x)\le2\delta\). If \(\eta(x)<1/2\), then disagreement means \(\widehat\eta(x)\ge1/2\), which similarly implies \(1/2-\eta(x)\le\delta\), and again \(M(x)\le2\delta\). The risk identity therefore gives $$ R(\widehat g)-R(g^*)\le E\!\left[M(X)\mathbf{1}\{0<M(X)\le2\delta\}\right]. $$ On this event, \(M(X)\le2\delta\), so the last expression is at most $$ 2\delta\,P_X(0<M(X)\le2\delta) \le 2\delta\,C(2\delta)^\alpha =C(2\delta)^{1+\alpha}. $$ Points with \(M=0\) make no contribution. This proves the bound. \(\square\)

The argument exposes the role of the margin assumption: a uniform error of size \(\delta\) can change a decision only where the true margin is at most \(2\delta\), and the condition bounds the probability of that region. Smoothness has not been used in this proof. Its role is to restrict which regression functions must be estimated, not to replace the probability control supplied by the margin condition.

Worked Example: Evaluating the Plug-In Bound

Suppose the linear model from the first example has \(a=1/2\). Its margin condition has \(\alpha=1\) and \(C=2\). If a regression estimate satisfies \(\sup_x|\widehat\eta(x)-\eta(x)|\le0.02\), then \(\delta=0.02\), and the theorem gives $$ R(\widehat g)-R(g^*)\le 2(2(0.02))^{2} =2(0.04)^2 =2(0.0016) =0.0032. $$ This is an upper bound, not a claim that the actual excess risk equals \(0.0032\). It follows from the stated uniform error guarantee and margin condition; without the uniform guarantee, this particular calculation does not apply.

How Smoothness Adds a Geometric Restriction

Smoothness links changes in the decision boundary to distance in the covariate space. Suppose \(\eta\) is \(\beta\)-Hölder with constant \(L\), and two points \(x,x'\) lie on opposite sides of the threshold, meaning \(\eta(x)\ge1/2\) and \(\eta(x')<1/2\). Then $$ \eta(x)-\frac12\le \eta(x)-\eta(x')\le|\eta(x)-\eta(x')|\le L\|x-x'\|^\beta. $$ Thus the margin at \(x\) satisfies \(M(x)=2(\eta(x)-1/2)\le2L\|x-x'\|^\beta\). The same conclusion, with the roles reversed, holds if \(x'\) is on the other side and the margin is measured there. In short, a threshold crossing cannot occur across a very short distance while one endpoint has a large margin.

This geometric restriction and the margin condition answer complementary questions. Smoothness controls how rapidly the regression function can move between nearby covariates. The margin condition controls how much probability the covariate distribution places at locations where the regression function is close to the threshold. To turn both into a quantitative learning guarantee, one must also account for how accurately the regression function can be estimated under the covariate distribution. The assumptions alone are not a claim about a particular estimator or a universal rate.

Common Mistake: Treating Smoothness as a Noise Condition

A common error is to reason that a smooth regression function must have little probability near \(1/2\). Smoothness does not imply this. For example, with \(X\) uniform on \([0,1]\), the function \(\eta(x)=1/2+a(x-1/2)\) is smooth and has a linear margin probability near zero. The smooth function \(\eta(x)=1/2+a(x-1/2)^2\), for \(0<a\le1\), behaves differently: its margin is \(M(x)=2a(x-1/2)^2\), so for \(0<t\le a/2\), $$ P_X(0<M(X)\le t)=2\sqrt{\frac{t}{2a}}. $$ Indeed, the event is \(0<|X-1/2|\le\sqrt{t/(2a)}\), whose probability is twice that radius. This is proportional to \(t^{1/2}\), not \(t\). Both functions are smooth, but their near-threshold probability differs.

The correction is to state and use the assumptions separately. Smoothness concerns variation of \(\eta\) across covariate locations; the margin condition concerns the probability of small nonzero values of \(|2\eta(X)-1|\). Neither one should be silently substituted for the other.

Key takeaway: The excess risk is the probability-weighted margin on the set where a classifier disagrees with the Bayes rule. Hölder smoothness restricts the geometry of regression-function changes, while a Tsybakov margin condition limits the probability of small nonzero margins. Their combination constrains classification risk through distinct, complementary mechanisms.

Check Your Understanding

Use the definitions and arguments above to answer the following questions.

  1. Why does positive probability at \(M(X)=0\) contribute no excess risk, even if a classifier disagrees with the selected Bayes rule there?
  2. For the linear model \(\eta(x)=1/2+a(x-1/2)\) with uniform \(X\), derive the probability \(P(0<M(X)\le t)\) when \(0<t\le a\).
  3. In the plug-in theorem, why must disagreement imply \(M(x)\le2\delta\) under a uniform regression error bound \(\delta\)?
  4. Does the Hölder condition by itself imply a Tsybakov margin condition with a particular exponent? Explain using the examples.
  5. State separately what the smoothness assumption and the margin condition restrict in the combined model.
Clinical Biostats