Amplitude-based connectivity.

Introduction

Definition

Amplitude-based connectivity refers to the statistical dependence between the amplitude or envelopes of two signals. Instead of focusing on phase relationships, this measure assesses how the fluctuations in signal power are correlated over time. It is commonly used in neuroscience and signal processing to analyse oscillatory interactions between brain regions, usually using EEG, MEG or LFP signals.

Key concept

Two signals are considered to be coupled in amplitude if their amplitude or envelope fluctuations show a consistent correlation over time. This means that when the amplitude of one signal increases or decreases, the amplitude of the other signal tends to follow a similar pattern. This suggests a functional interaction between the underlying sources that generate these signals.

Example: Pearson Correlation (Corr)

Let us assume two noisy oscillating signals \(S_1\) and \(S_2\) of amplitudes \(A_1\) and \(A_2\), frequencies \(f_1\) and \(f_2\), and phase shifts \(\theta_1\) and \(\theta_2\), respectively. These signals are can be written as: $$S_1(t) = A_1(t)\cos(2\pi f_1t + \theta_1) + \epsilon_1(t), and$$ $$S_2(t) = A_2(t)\cos(2\pi f_2t + \theta_2) + \epsilon_2(t)$$ $$\epsilon_i \sim \mathcal{N}(0,\sigma^{2}).$$ \(f_1\), \(\theta_1\) are fixed, \(f_1 = 10\textrm{ Hz}, \theta_1=0\textrm{ rad}\), \(t\) is the time.
\(f_2\), \(\theta_2\) and \(\sigma\) are user defined.
The Pearson correlation coefficient is a statistical measure that evaluates the strength and direction of a linear relationship between two signals, with values ranging from -1 (perfect negative correlation) to +1 (perfect positive correlation). A value of 0 indicates no correlation between the variables. $$Corr(S_1,S_2) = \frac{\frac{1}{N-1}\sum_{t=1}^{N} (S_1(t) - \bar{S_1}) (S_2(t) - \bar{S_2})}{\sqrt{\frac{1}{N-1}\sum_{t=1}^{N} (S_1(t) - \bar{S_1})^2} \sqrt{\frac{1}{N-1}\sum_{t=1}^{N} (S_2(t) - \bar{S_2})^2}}$$ $$Corr(S_1,S_2) = \frac{Cov(S_1,S_2)}{\sigma_{S_1}\sigma_{S_2}}$$ \(\bar{S_i}\) is the mean of \(S_i\), \(\sigma_{S_i}\) is the standard deviation of \(S_i\), \(Cov(S_1,S_2)\) is the covariance between \(S_1\) and \(S_2\), \(N\) is the total number of time points.
The Pearson Correlation is a symmetric measure: \(Corr(S_1,S_2) = Corr(S_2,S_1)\).

Case 1: constant amplitude

As a first example, let us define \(A_1=A_2=A=1\). The plot below let you modify \(f_2\), \(\theta_2\) and \(\sigma\) and see their effect on the \(\text{Corr}\).
First, you could test that when \(\sigma = 0\), \(Corr(S_1,S_2) = 1\) only when \(\theta_2 = \theta_1\) and \(f_2 = f_1\).

This means that sinusoidal from different frequency bands cannot be correlated. For signals of the same frequency, correlation is sensitive to the phase shift because a phase shift introduces a time lag, which affects the correlation. If the phase shift is (90°), the correlation is zero. If it's phase difference is \(\Delta\theta = \theta_2-\theta_1 = \frac{\pi}{2}\) the correlation is zero. If \(\Delta\theta = \pi\) the correlation is -1 (perfect anti-correlation). Again in our case without noise, $$ Corr(S_1,S_2) = \cos(\Delta\theta).$$
10 Hz 0 rad 0.10 Show: Cases:

Case 2: amplitude modulated signal

Let us now investigate the Pearson correlation when the amplitude is not constant, but varies over time. $$A_i(t) = \frac{1}{2}(m\cos(2\pi f_{A_i}t + \theta_{A_i}) + 1)$$ \(f_{A_i}\) the frequency of the cosine amplitude modulation, \(\theta_{A_i}\) the phase shift of the cosine amplitude modulation and \(m\) the amplitude of modulation. Let us set \(f_{A_i} = 2\textrm{ Hz}\), \(\theta_{A1} = 0\textrm{ rad}\) and \(m = \frac{4}{5}\).

Something strange happens when \(f_{2} = 8\textrm{ Hz}\) or \(f_{2} = 12\textrm{ Hz}\). For these frequencies, \(\text{Corr} \neq 0\) even if \(f_{1} \neq f_{2}\). Do you know why?

Example: Envelope Correlation (envCorr)

The Envelope Correlation (envCorr) is based on the Pearson correlation. Instead of estimating the correlation between the amplitude of two signals \(Corr(S_1, S_2)\), envCorr estimates the correlation between the amplitude of the envelope of two signals \(Corr(A_1, A_2)\).
The envelope of the signal is given by the absolute value of the analytic signal \(\widehat{S_1}\) computed with the Hilbert transform (\(\mathcal{H}(.)\)). Thanks to Euler's formula, we obtain: $$\widehat{S_1}(t)= S_1(t)+i\mathcal{H}(S_1(t)) = A(t)e^{i(2\pi f_1t + \theta_1)} + \widehat{\epsilon_1}(t),$$ $$\widehat{S_2}(t)= A(t)e^{i(2\pi f_2t + \theta_2)} + \widehat{\epsilon_2}(t).$$ as \(\widehat{\epsilon_i}\) is also a complex, we can write again thanks to Euler's formula: $$\widehat{S_i}(t)= \tilde{A_i}(t)e^{i\tilde{\phi_i}(t)}$$ where \(\tilde{A_i}\) and \(\tilde{\phi_i}\) are the (noisy) estimation of \(A_i\) and \(\phi_i\). In other word, when the noise becomes null, \(\lim_{\sigma\to0} \tilde{A_i} = A_i\) and \(\lim_{\sigma\to0} \tilde{\phi_i} = \phi_i\). For simplicity of the notation we will only use \(A_i\) and \(\phi_i\).
The envelope correlation is thus: $$envCorr(S_1,S_2) = Corr(A_1,A_2)$$ $$envCorr(S_1,S_2) = \frac{\frac{1}{N-1}\sum_{t=1}^{N} (A_1(t) - \bar{A_1}) (A_2(t) - \bar{A_2})}{\sqrt{\frac{1}{N-1}\sum_{t=1}^{N} (A_1(t) - \bar{A_1})^2} \sqrt{\frac{1}{N-1}\sum_{t=1}^{N} (A_2(t) - \bar{A_2})^2}}$$ $$envCorr(S_1,S_2) = \frac{Cov(A_1,A_2)}{\sigma_{A_1}\sigma_{A_2}}$$ \(\bar{A_i}\) is the mean of the envelope of \(S_i\) (i.e., \(A_i\)), \(\sigma_{A_i}\) is the standard deviation of \(A_i\), \(Cov(A_1,A_2)\) is the covariance between \(A_1\) and \(A_2\), \(N\) is the total number of time points.
The envelope Correlation is a symmetric measure: \(envCorr(S_1,S_2) = envCorr(S_2,S_1)\).

Version of the Envelope Correlation Coefficient robust to spatial leakage.

The orthogonalised envelope correlation (oCC) is a method designed to reduce the effects of spatial leakage when measuring amplitude-based connectivity. Spatial leakage, common in EEG and MEG analyses, can cause spurious correlations due to volume conduction (sensor level) or ill-posed problem of the inverse solution (source level). The oCC addresses this issue by orthogonalising one signal with respect to the other before computing the envelope correlation. Given two signals, their amplitude envelopes can be extracted using the Hilbert transform. To mitigate leakage effects, one signal is regressed out from the other before computing the envelope correlation.
Regressing out means to remove the (linear) contribution of one signal from another signal to mitigate leakage (0-lag) (Brookes et al., 2011, Hipp et al., 2012). $$S_2^{\perp S_1}(t) = S_2(t) - \frac{\langle S_1, S_2 \rangle}{\langle S_1, S_1 \rangle} S_1(t)$$ $$S_2^{\perp S_1}(t) = S_2(t) - \frac{\sum_{t=1}^{N} S_1(t) S_2(t)}{\sum_{t=1}^{N} S_1(t)^2} S_1(t)$$ \(S_2^{\perp S_1}\) is the orthogonalised version of \(S_2\) with respect to \(S_1\). using the Hilbert transform one can estimate the envelope of \(S_2^{\perp S_1}\): \(A_{S_1^{\perp S_2}}\).
Because the orthogonalisation of \(S_2^{\perp S_1}\) and \(S_1^{\perp S_2}\) yields different correlation (\(Corr(A_1,A_{S_2^{\perp S_1}}) \ne Corr(A_2,A_{S_1^{\perp S_2}})\)), The oCC is defined as the average of the two: $$oCC(S_1,S_2) = \frac{1}{2}\left(envCorr(S_1,S_2^{\perp S_1}) + Corr(S_2,S_1^{\perp S_2})\right)$$ $$oCC(S_1,S_2) = \frac{1}{2}\left(Corr(A_1,A_{S_2^{\perp S_1}}) + Corr(A_2,A_{S_1^{\perp S_2}})\right)$$ This average makes the oCC symmetric: \(oCC(S_1,S_2) = oCC(S_2,S_1)\).