Tutorials › Statistical Learning (Graduate) › Supremum-Norm Adaptation and Logarithmic Penalties

Adaptation and Honest Uncertainty · Tutorial 479 of 989

Supremum-Norm Adaptation and Logarithmic Penalties

Learn to quantify simultaneous noise across locations and bandwidths, and identify when the resulting logarithmic factors affect supremum-norm error.

Advanced 12 min read

What You'll Learn

  • Define supremum-norm stochastic error over a finite set of locations and smoothing scales
  • Prove a simultaneous sub-Gaussian bound using a union bound
  • Derive an expectation bound for the maximum stochastic fluctuation
  • Distinguish pointwise, fixed-scale, and simultaneous thresholds
  • Balance bias and simultaneous stochastic error in a Hölder regression example

Why Supremum-Norm Adaptation Changes the Noise Calculation

A smoothing estimator can have small error at each prespecified location and bandwidth, yet behave differently when the goal is to control its largest error over many locations and candidate bandwidths. The reason is selection: a data-driven procedure searches among several noisy estimates, and the selected one can be unusually favorable or unfavorable by chance. Supremum-norm analysis must therefore control fluctuations simultaneously, not one location and scale at a time.

This distinction explains the logarithmic penalties that arise in adaptive uniform estimation. The penalty is not an automatic surcharge for using a bandwidth selector: its size depends on how many locations and scales must be controlled, on their dependence, and on the target probability or risk. The finite-family calculation below makes these dependencies explicit.

Finite-Family Setup and Definition

Consider fixed design points \(x_1,\ldots,x_n\) and observations \(Y_i=m(x_i)+\varepsilon_i\), where \(m\) is the regression function. Assume the errors are independent, have mean zero, and are sub-Gaussian with common parameter \(\sigma\): for every real \(t\), \(E[\exp(t\varepsilon_i)]\leq \exp(\sigma^2t^2/2)\). For each candidate bandwidth \(h_j\), let a linear smoother at location \(x_r\) be \(\hat m_j(x_r)=\sum_{i=1}^n w_{j,r,i}Y_i\), with deterministic weights. The stochastic part is \(Z_{j,r}=\sum_i w_{j,r,i}\varepsilon_i\).

Definition: For a finite set of \(M\) evaluation locations and \(N\) candidate bandwidths, the simultaneous stochastic error is \(\max_{1\leq r\leq M,\;1\leq j\leq N}|Z_{j,r}|\). A supremum-norm error over those locations is the maximum absolute estimation error there. For a continuous domain, a finite-grid bound controls the full supremum only when a further discretization or continuity argument justifies that passage.

The weight vector determines the noise scale. Independence and the sub-Gaussian assumption imply that \(Z_{j,r}\) is sub-Gaussian with variance proxy \(\tau_{j,r}^2=\sigma^2\sum_i w_{j,r,i}^2\). Indeed, its moment generating function is bounded by multiplying the individual bounds: \(E[\exp(tZ_{j,r})]\leq\exp(t^2\tau_{j,r}^2/2)\). No independence between different locations or bandwidths is required for the maximum bounds below.

A Simultaneous Tail Bound

Theorem: Suppose there are \(K=MN\) stochastic terms \(Z_{j,r}\), each sub-Gaussian with variance proxy at most \(\tau^2\). For every \(0<\delta<1\), \[ P\!\left(\max_{r,j}|Z_{j,r}|>\tau\sqrt{2\log(2MN/\delta)}\right)\leq\delta. \]

Proof. For any centered sub-Gaussian variable \(Z\) with proxy \(\tau^2\), the Chernoff bound gives \(P(Z>u)\leq\exp(-u^2/(2\tau^2))\): for \(t>0\), Markov's inequality and the moment generating function bound give \(P(Z>u)\leq\exp(-tu+t^2\tau^2/2)\), and minimizing at \(t=u/\tau^2\) yields the claim. Applying it to \(Z\) and \(-Z\) gives \(P(|Z|>u)\leq2\exp(-u^2/(2\tau^2))\). By the union bound, \[ P\!\left(\max_{r,j}|Z_{j,r}|>u\right) \leq 2MN\exp(-u^2/(2\tau^2)). \] Set \(u=\tau\sqrt{2\log(2MN/\delta)}\). The right side becomes \(2MN\exp[-\log(2MN/\delta)]=\delta\), proving the result. \(\square\)

The logarithm counts the family being controlled. If the location and bandwidth indices are treated as one finite family, its size is \(MN\). Dependence can make the union bound conservative, but cannot invalidate it. If the proxies vary, one may use the largest proxy \(\tau^2=\max_{r,j}\tau_{j,r}^2\), or apply a separate bound to each term with thresholds suited to its proxy.

Worked Example: A Simultaneous Threshold Across Locations and Scales

Suppose \(M=10{,}000\) locations and \(N=14\) bandwidths are considered, every stochastic term has proxy at most \(\tau^2=0.05^2\), and the desired failure probability is \(\delta=0.05\). The theorem uses \[ L=\log(2MN/\delta) =\log(2\cdot10{,}000\cdot14/0.05) =\log(5{,}600{,}000) \approx15.538. \]

The simultaneous threshold is \[ 0.05\sqrt{2L}=0.05\sqrt{31.076}\approx0.05(5.575)\approx0.279. \] Thus the probability that any of the 140,000 terms exceeds about \(0.279\) in absolute value is at most \(0.05\). This is a conservative guarantee; it does not claim that the terms are independent or that the bound is attained.

Expected Maximum and the Cost of Searching

A probability guarantee is useful for selecting a threshold. For risk calculations, it is also useful to bound the expected maximum. Write \(W=\max_{r,j}|Z_{j,r}|\), and suppose again that there are \(K=MN\) terms with proxy at most \(\tau^2\).

Result: For \(K\geq1\), \[ E[W]\leq \tau\sqrt{2\log(2K)} +\frac{\tau}{\sqrt{2\log(2K)}}. \] In particular, the leading order is \(\tau\sqrt{\log K}\), rather than \(\tau\) when \(K\) grows.

Derivation. The same union bound gives \(P(W>t)\leq2K\exp(-t^2/(2\tau^2))\). For a nonnegative random variable, \(E[W]=\int_0^\infty P(W>t)\,dt\). Set \(a=\tau\sqrt{2\log(2K)}\). Bounding the integrand by 1 up to \(a\), and using the tail bound thereafter, gives \[ E[W]\leq a+2K\int_a^\infty\exp(-t^2/(2\tau^2))\,dt. \] For \(t\geq a>0\), \(1\leq t/a\). Hence \[ \int_a^\infty\exp(-t^2/(2\tau^2))\,dt \leq \frac{1}{a}\int_a^\infty t\exp(-t^2/(2\tau^2))\,dt =\frac{\tau^2}{a}\exp(-a^2/(2\tau^2)). \] Since \(\exp(-a^2/(2\tau^2))=1/(2K)\), the tail contribution is at most \(\tau^2/a\). Substituting the value of \(a\) proves the stated bound. \(\square\)

Worked Example: Comparing a Fixed-Scale and a Simultaneous Threshold

Suppose a particular stochastic term has proxy \(\tau=0.05\). If only 40 terms must be controlled with failure probability \(0.05\), the threshold is \[ 0.05\sqrt{2\log(2\cdot40/0.05)} =0.05\sqrt{2\log(1600)} \approx0.05\sqrt{14.756} \approx0.192. \]

If instead one prespecified term is considered at failure probability \(0.05\), the two-sided threshold is \[ 0.05\sqrt{2\log(2/0.05)} =0.05\sqrt{2\log(40)} \approx0.05\sqrt{7.378} \approx0.136. \] The second threshold controls one term, not the maximum of 40 terms. The difference is the cost of requiring a guarantee that holds across the whole family.

From Simultaneous Noise to a Logarithmic Rate Factor

A familiar bias-variance calculation illustrates how a simultaneous noise bound can change a smoothing rate. Suppose a one-dimensional smoother has worst-case bias bounded by \(C_bh^\beta\) over a Hölder class of smoothness \(\beta>0\), and its pointwise noise proxy is bounded by \(C_v\sigma^2/(nh)\). If its stochastic error must be controlled over \(M\) locations and \(N\) candidate bandwidths, the finite-family bound has stochastic size of order \(\sigma\sqrt{\log(2MN/\delta)/(nh)}\), up to constants.

Ignoring fixed constants and taking a fixed confidence level, balance the bias \(h^\beta\) with this stochastic size. The resulting bandwidth and error scale are

$$ h^\beta\asymp\sqrt{\frac{\log(MN)}{nh}} \quad\Longrightarrow\quad h\asymp\left(\frac{\log(MN)}{n}\right)^{1/(2\beta+1)}, \qquad \text{error}\asymp\left(\frac{\log(MN)}{n}\right)^{\beta/(2\beta+1)}. $$

This is a calculation under the stated bias and variance bounds, not a universal minimax claim or a guarantee for every bandwidth selector. It shows exactly how a simultaneous stochastic requirement can insert a logarithmic factor into a supremum-norm benchmark. A selector based on pairwise comparisons must likewise calibrate its comparisons to simultaneous fluctuations; the earlier material on Lepski’s method supplies the selection principle, while the present calculation explains the scale of the noise threshold.

Worked Example: A Uniform Rate for a Lipschitz Regression Function

Take \(\beta=1\), \(n=10{,}000\), and suppose the effective number of locations is \(M=n\), while the number of candidate scales is \(N=14\). For a fixed confidence level, \(\log(MN)=\log(140{,}000)\approx11.849\). The balancing bandwidth, ignoring constants, is \[ h=\left(\frac{11.849}{10{,}000}\right)^{1/3} =(0.0011849)^{1/3}\approx0.1058. \]

The bias scale is \(h^\beta\approx0.1058\). The stochastic scale without its fixed multiplicative constants is \[ \sqrt{\frac{\log(MN)}{nh}} =\sqrt{\frac{11.849}{10{,}000(0.1058)}} =\sqrt{0.01120}\approx0.1058. \] The agreement verifies the balance. If the logarithm were omitted, the bandwidth would be \(n^{-1/3}\approx0.0464\), giving a smaller nominal bias but not accounting for the maximum over the stated family.

How Many Scales Are Being Searched?

The logarithm depends on the actual family that needs simultaneous control. At a single fixed location, searching \(N\) scales gives a threshold proportional to \(\sqrt{\log N}\). If scales are dyadic over a range whose endpoints differ by a power of \(n\), then \(N\) is typically of order \(\log n\), so \(\log N\) is of order \(\log\log n\). By contrast, controlling \(M\) locations with \(M\) of order \(n\) contributes \(\log M\), of order \(\log n\). In that setting, adding a logarithmic number of scales changes \(\log(MN)\) to \(\log n+\log\log n\), not to a new multiple of \(\log n\).

These are bookkeeping statements about a specified family, not a claim that every continuous-domain supremum has exactly \(n\) independent locations. Nearby smoother estimates are often strongly dependent, and a carefully justified maximal inequality or discretization may improve a crude union bound. Conversely, if the supremum is genuinely over a continuum, simply checking a finite grid is insufficient unless approximation between grid points is controlled.

Common Pitfall: Reusing a Pointwise Threshold After Selection

A common error is to calculate a valid error threshold for one prespecified bandwidth and then use that same threshold after choosing the bandwidth that looks best in the data. The reasoning silently treats the selected scale as fixed. It is not: the selection depends on the observed noise, so a favorable or unfavorable fluctuation can be selected along with the scale.

The correction is to identify the full family over which the guarantee must hold and control its maximum, using a threshold such as \(\tau\sqrt{2\log(2MN/\delta)}\) under the finite-family assumptions above. For pairwise bandwidth comparisons, apply a corresponding bound to the comparison errors, whose proxies depend on the differences between weight vectors. The number of comparisons and their proxies must be included in the calibration; a pointwise standard error alone does not provide simultaneous control.

Key takeaway: Supremum-norm adaptation requires controlling stochastic error across the locations and scales that the procedure can select. A finite-family sub-Gaussian bound produces a square-root logarithmic threshold, and balancing that threshold against smoothing bias can produce a logarithmic factor in the error rate. The relevant logarithm depends on the size and structure of the family being controlled.

Check Your Understanding

Use the definitions and bounds in this tutorial to answer the following.

  1. For \(M\) locations and \(N\) scales, what quantity appears inside the logarithm in the simultaneous tail bound, and why?
  2. Why does the union-bound proof not require independence between stochastic terms at different locations?
  3. At a single location, if the number of candidate scales is of order \(\log n\), what is the order of the logarithm of the number of scales?
  4. Under a bias bound of order \(h^\beta\) and a simultaneous noise bound of order \(\sqrt{\log(MN)/(nh)}\), derive the balancing bandwidth.
  5. Why does a pointwise threshold for one prespecified bandwidth not automatically control an adaptively selected bandwidth?
Clinical Biostats