- Introduced by
- David Donoho
- Year
- 1995
- Type
- Non-parametric signal estimation
- Family
- Denoising
What does it do?
Wavelet soft-thresholding denoising is a non-parametric method that removes additive noise from one-dimensional or multidimensional signals.
It decomposes the observed signal into wavelet coefficients, shrinks each coefficient toward zero by a threshold, and reconstructs an estimate from the result. The estimator was proposed by Donoho and Johnstone (1994); Donoho's 1995 paper analysed its smoothness and near-minimax mean-squared-error properties.
The intuition behind the method
Imagine the observed signal as a photograph covered in random speckles. Wavelet decomposition breaks the image into layers of different scales, much like zooming in and out. True signal features appear as large coefficients at consistent scales, while noise scatters as many small, inconsistent values. Soft thresholding gently shrinks all coefficients toward zero — small ones vanish entirely, large ones survive but are reduced slightly — so the reconstruction captures the genuine structure while discarding the speckle.
History
Donoho and Johnstone (1994) proposed the wavelet shrinkage estimator. Donoho's 1995 paper in IEEE Transactions on Information Theory analyses this soft-thresholding estimator. It shows that, with high probability, the estimate is at least as smooth as the target function in a wide range of smoothness measures, and that its mean squared error comes nearly as close as any measurable estimator over balls in two broad scales of smoothness classes.
When to use it
Use wavelet soft-thresholding when your signal is corrupted by approximately additive, independent, white Gaussian noise of roughly constant variance, and you expect the signal to be sparse or piecewise smooth in a wavelet basis, with features at several scales. It suits biomedical waveforms such as EEG and ECG, seismic traces, and audio, where this structure is plausible. Do not rely on the standard universal-threshold procedure when the noise is coloured or its variance changes over time, because both the noise estimate and the threshold assume white, stationary noise. It is a poor choice for signals dominated by pure sinusoids, where Fourier-based methods represent the structure more compactly.
Limitations and considerations
- Assumes approximately independent, identically distributed Gaussian noise; performance can degrade under coloured or non-stationary noise.
- The universal threshold tends to be conservative and can over-smooth signals that are not sparse in the chosen wavelet basis.
- Soft thresholding shrinks retained coefficients by λ, which biases peak amplitudes downward and reduces apparent signal energy; check amplitude-critical features (such as ECG or seismic peaks) against the raw signal, or consider a less biased threshold rule.
- Results depend on the choice of wavelet family and decomposition depth, which require domain knowledge to select.
- Boundary effects in the wavelet transform can introduce artifacts near the signal endpoints; symmetric or periodic extension can reduce them.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Under Gaussian noise, its mean squared error comes nearly as close as any measurable estimator, uniformly over two broad smoothness classes, as analysed in the 1995 paper.
- Adaptive to local signal features across scales, so edges and transients that a single global Fourier filter would spread out can be retained.
- The universal threshold needs only the sample length and a noise estimate computed from the data, so no prior model of the signal is required.
- It can be computed with the fast discrete wavelet transform, so the transform and thresholding steps are inexpensive to apply to long signals.
Applications
- ECG and EEG signal cleaning in clinical biomedical instrumentation
- Seismic trace denoising for improved geological interpretation
- Audio noise reduction in speech enhancement pipelines
- MRI and ultrasound image denoising in medical imaging
- Financial time-series smoothing for trend extraction
How it works
How it works
The observed signal f, which is assumed to be the true signal plus additive noise, is projected onto a wavelet basis {ψ_{j,k}}, producing coefficients w_{j,k} at several resolution levels j. The choice of wavelet family sets the trade-off between time and frequency localization. Smooth wavelets such as Daubechies or Symlets usually suit smooth signals, while Haar suits piecewise-constant ones. The decomposition depth is limited by log2(n) and by the scale of the features to be preserved. When the true signal is well represented by the basis, most of its energy concentrates in a few large coefficients, while the noise spreads across all coefficients. Boundary handling (for example periodic or symmetric extension) affects artifacts near the endpoints.
Formula
W = \mathcal{W}\{f\} \quad \text{where } w_{j,k} = \langle f, \psi_{j,k} \rangleThe threshold λ = σ̂√(2 ln n) depends on the signal length n and on a noise standard deviation σ̂. The noise level is estimated robustly from the finest-scale detail coefficients only (J denotes that level) using the median absolute value divided by 0.6745. This median-based scale estimate is not inflated by large signal coefficients. The threshold is chosen so that, with high probability, pure Gaussian noise coefficients fall below λ. This holds when the transform is orthonormal and the noise is i.i.d. Gaussian, and the exact form depends on the normalisation and the number of coefficients thresholded. Alternatives such as level-dependent thresholds or SURE-based choices change the bias–variance balance.
Formula
\lambda = \hat{\sigma}\sqrt{2 \ln n}, \quad \hat{\sigma} = \frac{\mathrm{median}(|w_{J,k}|)}{0.6745}, \quad J = \text{finest-scale detail level}Each wavelet coefficient w_{j,k} is passed through the soft-thresholding function. Coefficients with absolute value below λ are set to zero, and those above λ are shrunk toward zero by λ. Unlike hard thresholding, which keeps surviving coefficients unchanged, soft thresholding gives a continuous operator, which avoids discontinuities in the reconstructed signal at threshold crossings. The price is a downward bias on the retained large coefficients.
Formula
\tilde{w}_{j,k} = \mathrm{sgn}(w_{j,k})\,\max(|w_{j,k}| - \lambda,\, 0)The thresholded coefficients W̃ are passed through the inverse wavelet transform to produce the denoised estimate f̂. Noise that projects onto small coefficients is removed, while the retained large coefficients carry the structure of the signal, up to the bias introduced by shrinkage.
Formula
\hat{f} = \mathcal{W}^{-1}\{\tilde{W}\}Common pitfalls
- Using hard thresholding instead of soft thresholding produces a discontinuous operator, which can leave discontinuity artifacts in the reconstruction near threshold crossings.
- Estimating σ from the global standard deviation of the signal, rather than from the finest-scale wavelet coefficients, inflates the threshold and over-smooths the signal.
- Applying one threshold to every decomposition level ignores scale-dependent structure in the coefficients; level-dependent thresholds are often used when the signal or noise behaves differently across scales.
- Confusing wavelet denoising with wavelet compression: denoising chooses thresholds to reduce estimation error, not to maximise the compression ratio.
Frequently asked questions
What is the difference between soft and hard thresholding?
Hard thresholding sets coefficients below the threshold to zero and leaves the rest unchanged, which gives a discontinuous operator. Soft thresholding also shrinks the surviving coefficients toward zero by the threshold amount, which gives a continuous operator and a smoother reconstruction, at the cost of a bias on large coefficients.
How is the universal threshold λ = σ√(2 ln n) motivated?
The form reflects the extreme values of Gaussian noise: the largest of n independent standard Gaussian variables grows on the order of √(2 ln n), so a threshold of this size keeps almost all pure-noise coefficients below it. This is approximate and assumes an orthonormal transform and i.i.d. Gaussian noise. The exact scaling depends on how the coefficients are normalised and how many are thresholded, so apply the formula with the normalisation of the chosen implementation.
When should I prefer EMD or VMD over wavelet denoising?
Empirical Mode Decomposition and Variational Mode Decomposition are preferable when the signal is non-stationary or non-linear, when no fixed wavelet basis is expected to fit, or when data-adaptive oscillatory modes are wanted. Wavelet denoising is the more appropriate choice when the signal is plausibly sparse in a standard wavelet basis and the noise is approximately white and Gaussian, which is the setting in which its risk properties were analysed.
Related methods
Sources
Donoho, D. L. (1995). De-noising by soft-thresholding. IEEE Transactions on Information Theory, 41(3), 613–627.
Open DOI reference