In nonparametric statistics, the Gaussian kernel is a double-edged sword. Its infinite smoothness makes it computationally elegant and mathematically convenient, but that same smoothness creates a "saturation effect": a fixed-width Gaussian kernel is often too regular to efficiently approximate functions that are only finitely differentiable.
To overcome this, a robust body of research has converged on a singular mechanism: sample-dependent bandwidth scaling. By shrinking the kernel width (or lengthscale) as the number of observations $n$ increases, models can adapt to the underlying regularity of the data, achieving minimax optimal convergence rates even when the kernel and the target function are mismatched in smoothness.
The Approximation Bottleneck
The fundamental challenge in kernel methods is the trade-off between approximation capacity and statistical variance. If a kernel's bandwidth is fixed, the model's "resolution" is capped. For a Gaussian kernel, which is analytic, this cap is particularly restrictive. Ingo Steinwart and Mona Eberts demonstrated in Optimal learning rates for least squares SVMs using Gaussian kernels that a fixed-width kernel cannot capture the nuances of functions in Besov or Sobolev spaces. The kernel is simply "too smooth" to see the "roughness" of the target.
The solution is to treat the kernel width not as a constant, but as a function of the sample size, $h_n$. As $n$ grows, $h_n$ must shrink. This ensures that the influence of each data point becomes increasingly localized, allowing the model to resolve finer and finer details of the target function.
Bridging the Smoothness Gap
One of the most surprising results in this field is that an infinitely smooth kernel can optimally estimate a non-smooth function. This is known as "smoothness-regularity matching."
Anirban Bhattacharya, Debdeep Pati, and Guang Cheng 0003 showed in Optimal Bayesian estimation in random covariate design with a rescaled Gaussian process prior that by rescaling the inverse bandwidth of a squared-exponential (Gaussian) kernel, Gaussian Processes (GPs) can achieve minimax-optimal rates for functions that are only finitely differentiable.
The intuition is that shrinking the lengthscale "stretches" the kernel's sample paths. While the paths remain technically smooth, they fluctuate more rapidly over shorter distances, mimicking the behavior of less regular functions. Xiao Fang extended this in Posterior Concentration for Gaussian Process Priors under Rescaled and Hierarchical Matérn and Confluent Hypergeometric Covariance Functions, proving that as long as the prior is at least as smooth as the truth, proper rescaling can bridge the gap.
Balancing Bias and Variance
The rate at which the bandwidth shrinks is critical. If it shrinks too slowly, the model suffers from high bias (underfitting); if it shrinks too quickly, the model suffers from high variance (overfitting).
- In SVMs: Ingo Steinwart and Clint Scovel established in Fast rates for support vector machines using Gaussian kernels that the kernel width and the regularization parameter must be tuned in tandem relative to $n$ to reach optimal convergence.
- In Splines: Adam Michael Johansen and Matthew Thorpe found that for smoothing splines, the regularization parameter $\lambda_n$ typically scales as $n^{-p}$. In Pointwise Convergence in Probability of General Smoothing Splines, they identify a sharp threshold ($p \leq 1/2$) beyond which the estimator fails to converge.
- In Interpolation: Even in the "ridgeless" regime where the model fits the training data perfectly, Alexandre B. Tsybakov and Mikhail Belkin argue in Does data interpolation contradict statistical optimality? that optimality is preserved by adjusting the bandwidth to ensure the global shape remains regular despite local interpolation.
Universal Applicability
This scaling principle is not limited to standard regression. It appears across diverse learning paradigms:
- Kernel Mean Embeddings: Geoffrey Wolfer and Pierre Alquier show in Variance-Aware Estimation of Kernel Mean Embedding that dynamic lengthscale adjustment can accelerate convergence from the standard $1/\sqrt{n}$ to near-linear rates.
- Neural Operators: Feilong Cao and Zhixiang Chen demonstrate in The construction and approximation of neural networks operators with Gaussian activation function that the width of Gaussian activation functions must decrease to ensure the influence of the kernel remains localized as more samples are added.
- Variational Boosting: In Statistical Guarantees and Algorithmic Convergence Issues of Variational Boosting, Anirban Bhattacharya and colleagues use bandwidth scaling of mixture components to ensure the variational family remains flexible enough to capture the posterior's shape.
Summary of the Intuition
The "magic" of sample-dependent scaling lies in its ability to transform a static hypothesis space into a dynamic one. By shrinking the kernel bandwidth as $n \to \infty$, we are essentially telling the model: "Now that we have more data, we can afford to trust local fluctuations more and rely on global smoothing less." This simple adjustment allows smooth, mathematically well-behaved kernels like the Gaussian to break through their inherent approximation limits and achieve the best possible theoretical performance across a wide range of real-world, non-smooth data distributions.