Samiksha Jaiswal (Editor)

FastICA

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

FastICA is an efficient and popular algorithm for independent component analysis invented by Aapo Hyvärinen at Helsinki University of Technology. Like most ICA algorithms, FastICA seeks an orthogonal rotation of prewhitened data, through a fixed-point iteration scheme, that maximizes a measure of non-Gaussianity of the rotated components. Non-gaussianity serves as a proxy for statistical independence, which is a very strong condition and requires infinite data to verify. FastICA can also be alternatively derived as an approximative Newton iteration.

Contents

Prewhitening the data

Let the X := ( x i j ) R N × M denote the input data matrix, M the number of columns corresponding with the number of samples of mixed signals and N the number of rows corresponding with the number of independent source signals. The input data matrix X must be prewhitened, or centered and whitened, before applying the FastICA algorithm to it.

  • Centering the data entails demeaning each component of the input data X , that is,
  • x i j x i j 1 M j x i j
    for each i = 1 , , N and j = 1 , , M . After centering, each row of X has an expected value of 0 .
  • Whitening the data requires a linear transformation L : R N × M R N × M of the centered data so that the components of L ( X ) are uncorrelated and have variance one. More precisely, if X is a centered data matrix, the covariance of L x := L ( X ) is the ( N × N ) -dimensional identity matrix, that is,
  • E { L x L x T } = I N
    A common method for whitening is by performing an eigenvalue decomposition on the covariance matrix of the centered data X , E { X X T } = E D E T , where E is the matrix of eigenvectors and D is the diagonal matrix of eigenvalues. The whitened data matrix is defined thus by
    X E D 1 / 2 E T X .

    Single component extraction

    The iterative algorithm finds the direction for the weight vector w R N that maximizes a measure of non-Gaussianity of the projection w T X , with X R N × M denoting a prewhitened data matrix as described above. Note that w is a column vector. To measure non-Gaussianity, FastICA relies on a nonquadratic nonlinearity function f ( u ) , its first derivative g ( u ) , and its second derivative g ( u ) . Hyvärinen states that the functions

    f ( u ) = log cosh ( u ) , g ( u ) = tanh ( u ) , and g ( u ) = 1 tanh 2 ( u ) ,

    are useful for general purposes, while

    f ( u ) = e u 2 / 2 , g ( u ) = u e u 2 / 2 , and g ( u ) = ( 1 u 2 ) e u 2 / 2

    may be highly robust. The steps for extracting the weight vector w for single component in FastICA are the following:

    1. Randomize the initial weight vector w
    2. Let w + E { X g ( w T X ) T } E { g ( w T X ) } w , where E { . . . } means averaging over all column-vectors of matrix X
    3. Let w w + / w +
    4. If not converged, go back to 2

    Multiple component extraction

    The single unit iterative algorithm estimates only one weight vector which extracts a single component. Estimating additional components that are mutually "independent" requires repeating the algorithm to obtain linearly independent projection vectors - note that the notion of independence here refers to maximizing non-Gaussianity in the estimated components. Hyvärinen provides several ways of extracting multiple components with the simplest being the following. Here, 1 is a column vector of 1's of dimension M .

    Algorithm FastICA

    Input: C Number of desired components Input: X R N × M Prewhitened matrix, where each column represents an N -dimensional sample, where C <= N Output: W R N × C Un-mixing matrix where each column projects X onto independent component. Output: S R C × M Independent components matrix, with M columns representing a sample with C dimensions. for p in 1 to C: w p Random vector of length N while w p changes w p 1 M X g ( w p T X ) T 1 M g ( w p T X ) 1 w p w p w p j = 1 p 1 w p T w j w j w p w p w p Output: W = [ w 1 , , w C ]
    Output: S = W T X

    References

    FastICA Wikipedia