Independent component analysis

Also known as: ICA

On this page 7

Independent component analysis (ICA) is an unsupervised method in machine learning that separates a multivariate signal into additive components that are statistically independent and non-Gaussian. It assumes the observed data are linear mixtures of hidden sources and estimates both the sources and the mixing process without knowing either in advance.

ICA is the standard tool for blind source separation, the problem of recovering original signals from recordings that each capture a blend of them. It is closely related to Principal component analysis, but where PCA finds uncorrelated directions of maximum variance, ICA goes further and seeks full statistical independence, which requires higher-order statistics.

The linear mixing model behind ICA

ICA starts from the generative model x = A s, where x is the vector of observed signals, s is the vector of unknown sources and A is an unknown mixing matrix. The goal is to estimate an unmixing matrix W so that y = W x approximates the original sources.

The model works only under specific assumptions. The table below lists them and explains why each matters for identifiability.

AssumptionMeaningWhy it is needed
Statistical independenceSources carry no information about each otherDefines what the method searches for
Non-Gaussian sourcesAt most one source may be GaussianGaussian mixtures cannot be uniquely unmixed
Linear, instantaneous mixingEach observation is a weighted sumKeeps the model a single matrix
Enough sensorsAt least as many observations as sourcesMakes the mixing matrix invertible
Stationary mixingA stays constant over the dataAllows one W for the whole dataset
Core assumptions of the ICA model

The non-Gaussian requirement is central. By the central limit theorem, a sum of independent variables tends to be more Gaussian than its parts, so ICA recovers sources by finding projections that are as non-Gaussian as possible.

How ICA algorithms estimate the components

Practical ICA proceeds in two stages: preprocessing and optimization of an independence measure. Preprocessing centers each variable to zero mean and then applies whitening, usually through PCA or eigenvalue decomposition, so that the transformed data are uncorrelated with unit variance.

After whitening, the remaining unknown is an orthogonal rotation, which greatly reduces the search space. The algorithm then rotates the data until a chosen contrast function, such as negentropy or likelihood, reaches its optimum.

The most common algorithms differ in their contrast function and optimization strategy, as the following table shows.

AlgorithmIndependence criterionTypical use
FastICAApproximated negentropy, fixed-point iterationGeneral-purpose default
InfomaxMaximum information flow or likelihoodEEG and neuroimaging
JADEJoint diagonalization of fourth-order cumulantsSmall numbers of sources
PicardLikelihood with quasi-Newton optimizationFaster convergence on real data
Kernel ICAKernel-based dependence measuresResearch and complex distributions
Widely used ICA algorithms

FastICA is often chosen because it converges in few iterations and requires no learning rate, but its results depend on the random initialization, so practitioners often run it several times and compare stability of the components.

ICA, PCA and related dimensionality reduction methods all find linear transformations of data, but they optimize different goals and produce components with different meanings. Choosing between them depends on whether the aim is compression, visualization or recovery of meaningful sources.

MethodObjectiveComponent orderMain use
ICAStatistical independenceNo natural orderSource separation
PCAMaximum variance, uncorrelatedOrdered by varianceCompression and denoising
Factor analysisShared latent variance plus noiseRotation-dependentLatent trait modeling
Non-negative matrix factorizationNon-negative partsNo natural orderParts-based decomposition
Linear discriminant analysisClass separabilityOrdered by discriminationSupervised projection
ICA and neighboring linear methods

In practice the methods are often combined rather than opposed. PCA is used first to whiten the data and reduce the number of dimensions, and ICA then rotates that reduced space to reveal independent sources.

Practical use and interpretation

ICA is most valuable when the data are known to be mixtures of physically distinct processes. Classic applications include removing eye-blink and muscle artifacts from EEG, separating overlapping audio sources, isolating independent factors in financial returns and extracting features from natural images.

  • Choose the number of components with domain knowledge or by keeping the PCA dimensions that explain most variance.
  • Standardize sensors carefully, because very different scales can distort whitening.
  • Inspect components visually or statistically before discarding any, since ICA does not label them.
  • Check component stability across random restarts or bootstrap samples.

Two ambiguities are intrinsic to ICA. The scale and sign of each recovered component cannot be determined, and the order of components is arbitrary. Results are therefore interpreted by pattern and shape, not by absolute amplitude or index.

Sample size matters as well. A frequently cited rule of thumb for EEG is to have at least several times the square of the channel count in data points, and estimates become unstable well before that threshold is reached. When data are limited, reducing dimensions with PCA first is usually safer than estimating many weak components.

Extensions relax parts of the basic model. Convolutive ICA handles echoes and time delays, independent vector analysis links components across frequency bands or datasets, and group ICA estimates shared components across many subjects in neuroimaging studies.

Limitations and common mistakes

ICA fails or misleads when its assumptions are violated. The table below lists frequent symptoms, their causes and practical remedies.

SymptomLikely causeRemedy
Components change between runsWeak non-Gaussianity or too many componentsReduce dimensions, run multiple restarts
Sources remain blendedConvolutive or delayed mixingUse frequency-domain or convolutive ICA
Algorithm does not convergeToo few samples or collinear sensorsCollect more data, remove redundant channels
Noise appears as componentsModel ignores sensor noiseDenoise first or use noisy ICA variants
Common ICA problems and remedies

A common mistake is to treat ICA components as guaranteed physical sources. Independence is a statistical property, and an algorithm will always return components even when the true process is not a linear mixture. Validation against domain knowledge is therefore an essential step, not an optional one.

The idea in brief

Imagine three people talking at once in a room with three microphones. Each microphone records a blend of all three voices. ICA is a method that untangles those recordings into one clean voice per track.

It does not know who is speaking or where they stand. It simply looks for signals that behave independently of each other. Voices from different people tend to do exactly that, so the method can pull them apart.

A practical scenario

A sleep research laboratory records 64-channel EEG from volunteers during an attention task. Eye blinks and jaw tension contaminate many channels, and simply deleting affected time segments would discard about 20 percent of the data.

The analyst high-pass filters the recordings at 1 hertz, reduces them to 40 principal components and runs an Infomax ICA. Among the 40 components, two show the typical frontal topography and timing of blinks, and one shows a high-frequency pattern over the temples typical of muscle activity.

Those three components are removed and the remaining ones are projected back to the sensor space. The cleaned EEG keeps nearly all trials, the event-related responses become clearer, and the statistical comparison between task conditions gains power without collecting new recordings.