Why the Wavelet Threshold Is
In wavelet smoothing (ESL §5.9), we observe a signal on equally spaced points:
We apply an orthonormal wavelet transform . We then soft-threshold each coefficient at level , which sets every coefficient with to zero, and transform back.
A popular default is the universal threshold
Explain where this number comes from. Consider the pure-noise case .
(a) Show that the wavelet coefficients are i.i.d. .
(b) Show that
So with high probability the universal threshold kills every pure-noise coefficient.
(c) Show the threshold is sharp: for every fixed ,
Conclude that in probability.
Field: Statistics / ML (nonparametric smoothing, extreme values)
Hint: You only need the elementary Gaussian tail bound and a matching lower bound of the same order.
Answer: Why the Wavelet Threshold Is σ√(2 log N)
Key Idea / Intuition
An orthonormal transform rotates white Gaussian noise into white Gaussian noise. So in the wavelet domain, pure noise is just independent draws.
The question then becomes how large the biggest of Gaussians is. The Gaussian tail decays like . The level at which you expect about one exceedance among tries solves , which gives .
The universal threshold is therefore exactly the height of the tallest noise spike:
- Set the threshold slightly higher, and all noise vanishes (by a union bound).
- Set it slightly lower, by any constant factor, and some noise spikes survive (by independence).
Formal Proof / Solution
(a) Noise stays white.
With , we have . A linear image of a Gaussian vector is Gaussian, with covariance
Uncorrelated jointly Gaussian variables are independent. Hence .
From now on, write with i.i.d. standard normal, and let .
Tail bounds. Let be the standard normal density and its CDF. For we need an upper and a lower bound on .
Upper bound. On we have , so
Lower bound (for ). Integrate only over , where is at least its value at the right endpoint. Since ,
So .
(b) The threshold kills all noise.
Apply the union bound, then the upper tail bound with :
(c) Any smaller threshold fails.
Fix and let . For large we have . Set . Since , the lower tail bound gives
because the power beats .
Now use independence:
Conclusion. Combining (b) and (c), for every ,
so in probability.
Why This Is Beautiful
- One number, two arguments. The "" direction is a pure union bound and needs no independence at all. The "" direction is exactly where independence matters. This is the standard extreme-value pattern for maxima.
- Orthogonality as a rotation. Part (a) is the reason orthonormal wavelets are so convenient: noise looks the same in every orthonormal basis, while a structured signal concentrates in a few large coefficients. Thresholding then separates the few big signal coefficients from the many small noise ones.
- The bound is slow. The failure probability in (b) decays only like . The universal threshold is conservative: it errs toward killing noise, which is why the resulting reconstructions look visually smooth.
- Bigger picture. Donoho and Johnstone (1994) showed that soft thresholding at attains risk within a factor of about of an oracle that knows which coefficients are signal. The same scaling reappears as the natural penalty level for the LASSO in high dimensions.
Difficulty: 2.5 / 5
Reference: Hastie, Tibshirani, Friedman, The Elements of Statistical Learning (2nd ed.), §5.9.1–5.9.2, eq. (5.69), with the universal threshold . Original source: Donoho & Johnstone, "Ideal spatial adaptation by wavelet shrinkage," Biometrika (1994).
Source: The Elements of Statistical Learning (2nd ed.), Hastie, Tibshirani, Friedman — Section 5.9, eq. (5.69); Donoho & Johnstone (1994)