Quant Memo
Advanced

Nonparametric Convergence Rates

A parametric model's error shrinks as fast as $1/\sqrt{n}$ no matter how many features it has, but a nonparametric model's error shrinks far slower and gets punishingly worse in higher dimensions — the curse of dimensionality stated as a speed limit.

Prerequisites: Kernel Density Estimation, Bias, Variance, and the Quality of Estimators

Fit a straight line to data and the estimate of its slope gets more precise at a predictable, fast rate as you collect more data — error shrinks proportional to 1/n1/\sqrt{n}, regardless of how many input dimensions you have. Fit a flexible, assumption-free curve (a kernel smoother, a nearest-neighbor regressor) instead, and that guarantee evaporates: the error shrinks much more slowly, and the rate gets worse the more input features you add. That gap — the price of not assuming the model's shape in advance — is what nonparametric convergence rates quantify.

The analogy: mapping a shape versus mapping a country

Estimating a straight line's slope is like measuring a person's height from a handful of measurements — you already know "the answer has one number," so each new measurement sharpens that one number efficiently. Estimating an arbitrary curve or surface with no assumed shape is like mapping unknown terrain: doubling the resolution of a 1D coastline needs twice the sample points, but doubling the resolution of a 2D landscape needs four times as many sample points to cover the same density of coverage, and a 3D volume needs eight times as many. Nonparametric estimation is terrain-mapping — the "resolution" you need per unit of accuracy compounds with every extra dimension, because there's no assumed shape to fall back on; you have to observe every region of the space directly.

The rates, stated

For a parametric model (fixed number of parameters, correctly specified), the mean squared error of the fitted parameters shrinks as

MSE=O(1n)\text{MSE} = O\left(\frac{1}{n}\right)

— i.e., error (not squared) shrinks as 1/n1/\sqrt{n}, independent of the input dimension dd. For a nonparametric regression estimator (like a kernel smoother) trying to estimate a function assumed only to be smooth (say, twice differentiable) in dd dimensions, the optimal achievable rate is

MSE=O(n44+d)\text{MSE} = O\left(n^{-\frac{4}{4+d}}\right)

Plain English: nonparametric error shrinks with a dimension-dependent exponent that gets closer to zero as dd grows — meaning you need exponentially more data to get the same accuracy in higher dimensions. This is the formal version of the "curse of dimensionality."

Worked example 1: comparing rates at d=1 versus d=10

At d=1d = 1: the exponent is 4/(4+1)=0.84/(4+1) = 0.8, so MSE n0.8\propto n^{-0.8} — close to the fast parametric-like rate. With n=10,000n = 10{,}000, MSE shrinks by a factor of 10,0000.8158510{,}000^{0.8} \approx 1585 compared to n=1n=1.

At d=10d = 10: the exponent drops to 4/(4+10)0.2864/(4+10) \approx 0.286, so MSE n0.286\propto n^{-0.286}. With the same n=10,000n = 10{,}000, MSE only shrinks by a factor of 10,0000.28610.710{,}000^{0.286} \approx 10.7 — roughly 148 times worse an improvement than the 1D case, for the identical sample size. Ten times more dimensions turned a 1585x error reduction into an 11x error reduction.

Worked example 2: data needed to match a target accuracy

Suppose you want MSE to fall below a target τ\tau using a nonparametric estimator. Solving n4/(4+d)=τn^{-4/(4+d)} = \tau for nn gives n=τ(4+d)/4n = \tau^{-(4+d)/4}. Fix τ=0.01\tau = 0.01: at d=1d=1, n=0.011.25316n = 0.01^{-1.25} \approx 316. At d=5d=5, n=0.012.2531,623n = 0.01^{-2.25} \approx 31{,}623. At d=10d=10, n=0.013.53.16n = 0.01^{-3.5} \approx 3.16 million. Each additional dimension multiplies the required sample size by a large constant factor to hit the same accuracy — going from 316 points to over 3 million points as dd moves from 1 to 10, for the identical target error.

Function explorer
-224.4
x = 1.00f(x) = 1.000

Adjust the exponent and watch how a small change in the power bends the curve — the exponent 4/(4+d)4/(4+d) plays exactly this role: a slightly smaller exponent (higher dd) flattens the error-reduction curve dramatically, which is the visual form of the curse of dimensionality above.

dimension d n needed
The sample size needed to hit a fixed accuracy grows explosively with dimension — 316 points at d=1 becomes 3.16 million at d=10 for the identical target error.

What this means in practice

This is why nonparametric methods (kernel regression, k-nearest-neighbors, unstructured Gaussian processes) are used with only a handful of features in practice, and why quants reach for parametric or semi-parametric models (linear factor models, additive models) once feature counts climb past single digits — the convergence rate makes flexible, assumption-free fitting infeasible at high dimension without impractical data. It's also why feature selection matters more for flexible models than linear ones: cutting dd from 10 to 3 can turn an intractable data requirement into a modest one.

Nonparametric estimators pay for their flexibility with a convergence rate that degrades sharply as dimension increases — n4/(4+d)n^{-4/(4+d)} instead of the dimension-free n1/2n^{-1/2} parametric rate — which is the precise mathematical form of the curse of dimensionality.

It's tempting to read "nonparametric is more flexible, so it should always do at least as well as parametric" — but flexibility and convergence speed trade off directly. If the true relationship really is linear, a parametric linear model converges at the fast n1/2n^{-1/2} rate while a nonparametric estimator wastes its extra flexibility fighting the curse of dimensionality and converges far slower with the same data. Nonparametric methods win only when the true function's shape genuinely isn't captured by any reasonable parametric family — not automatically, and not in high dimensions without enormous sample sizes.

Related concepts

Practice in interviews

Further reading

  • Tsybakov, Introduction to Nonparametric Estimation (2009)
  • Wasserman, All of Nonparametric Statistics (2006)
ShareTwitterLinkedIn