## Independent Component Analysis (ICA)

ICA allows the reconstruction of mixed signals. This could for example be multiple speakers on one audio track.

Requirements

• Needs some prior knowledge
• The number of sources to be recovered is a parameter to the algorithm. It is possible to choose a higher number of sources and afterwards remove sources that are only noise.

Limitations

• sources must have non-Gaussian distributions
• source amplitudes cannot be recovered

$p$ number of observations

$N$ number of dimensions

$p * N + N ^2$ unknowns

Syntax

$\underline x$ observations

$\underline A$ Mixing Matrix (must be invertible for ICA to work)

$\underline s$ Sources

$\hat{\underline s}$ Recovered/Estimated Sources

$\underline W$ Unmixing matrix

General principal

Different methods leverage different prior knowledge

Cost functions

• Vanishing cross-correlation functions (QDIAG, FFDIAG) (more or less invented by the institute)
• non-Gaussianity (fastICA)
• Statistical Independence $D_{KL}(P_{\underline s}(\hat{\underline s}))$
• Infomax $H(\hat{\underline u})$

## Infomax ICA

Variables

• See above
• $P$ Probability distribution of th target space
• $H$ our cost function
• $\hat u$ is the vector with the results of our approximation function
• $\hat f_i$ is a freely chosen sigmoid cdf function that depends on $\hat s_i$. $\left|\hat f'_i(\hat s_i) \right| = \hat P_{s_i}(\hat s_i) \implies \hat f _i(\hat s_i) = \int_{-\infty}^{\hat s_i} dy\hat P_{s_i} (y)$
• $e^{(\alpha)}$ training error of a specific datapoint.

Infomax ICA uses empirical risk minimization(ERM) to do gradient ascent.

Example for $\hat f_i$

We want to maximize $E^G$ which relies on the real distribution of the data. Since this distribution is unkown we use the proxy error function $E^T$. $E^T$ uses a sum over all the data points instead of an integral over the real distribution. Otherwise the two are identical.

The Infomax cost function Infomax is the measure of how much mutual information two random variables have. It can also be expressed as the KL divergence(is equivalent?). We try to minimize the mutual information, because we believe that our sources are independent This is why we need to maximize the cost function

Possible exam task Independent source signals work better if they match $\hat f_i$.

Find a suitable $\hat f_i$

• Batch Learning $\Delta w_{ij}=\frac{\partial E^T}{\partial w_{ij}} = \frac{\epsilon}{p}\sum_\alpha^p \frac{\partial e^{(\alpha)}}{\partial w_{ij}}$
• Online Learning $\Delta w_{ij}=\varepsilon\frac{\partial e^{(\alpha)}}{\partial w_{ij}}$ Taylor approximation used because inverse is hard to find.

While normal gradient changes the parameters by a fixed rate, the natural gradient changes the outcome distribution by a constant distance. This distance in distributions is measured by the KL Divergence.1

Step size is normalized at each step $d\underline Z = d\underline W \cdot \underline W^{-1}$

## Second Order (Blind)Source Separation

SOBSS allows the separation of sources after temporal shift or some other form of noise. sources are not iid but assumed to be time correlated / sequential.

Principle (As ambiguous as necessary because I just transcribed this in the lecture) Try different $w$ so that $\hat s$ matches in height.

Parameters

• $\tau$ time shift

Cost function minimization depends on the algorithm used on top.

For additional robustness remove $\tau = 0$ from the set of possible solutions. This avoids some trivial solutions.

## FastICA

Prerequisites

• Whitened data
• PCA
• Kurtosis is known (prior knowledge)

Limitations

• sensitive to outliers

$\overset{\sim}{\underline A}$ is orthogonal matrix.

Find the maximum negentropy based on contrast function.

We can show that

### Optimize for curtosis

• Batch learning
• Online Learning

Batch Learning

• loop
• Initialize $\underline b$ with random vector of unit length
• normalize $\underline b$

## Kurtosis

• <0: sub-gaussian. (looks like rectangle) uniform
• 0: Gaussian normal
• >0: super-gaussian(looks like triangle) laplace