Whitening transformation
A whitening transformation or sphering transformation is a linear transformation that transforms a vector of random variables with a known covariance matrix into a set of new variables whose covariance is the identity matrix, meaning that they are uncorrelated and each have variance 1. The transformation is called "whitening" because it changes the input vector into a white noise vector.
Several other transformations are closely related to whitening:
- the decorrelation transform removes only the correlations but leaves variances intact,
- the standardization transform sets variances to 1 but leaves correlations intact,
- a coloring transformation transforms a vector of white random variables into a random vector with a specified covariance matrix.
Definition
Suppose is a random (column) vector with non-singular covariance matrix and mean. Then the transformation witha whitening matrix satisfying the condition yields the whitened random vector with unit diagonal covariance.
If has non-zero mean, then whitening can be performed by.
There are infinitely many possible whitening matrices that all satisfy the above condition. Commonly used choices are, where is the Cholesky decomposition of, or the eigen-system of .
Optimal whitening transforms can be singled out by investigating the cross-covariance and cross-correlation of and. For example, the unique optimal whitening transformation achieving maximal component-wise correlation between original and whitened is produced by the whitening matrix where is the correlation matrix and the diagonal variance matrix.