wiki.neuro.tu-berlin.de

BCI Seminar Presentation W3LB

Acrophobia Quantified by EEG Based on CNN Incorporating Granger Causality

The Paper "Acrophobia Quantified by EEG Based on CNN Incorporating Granger Causality"[1] written by Fo Hu, Hong Wang, Qiaoxiu Wang, Naishi Feng, Jichi Chen and Tao Zhang, published 23 December 2020 introduce a new method to quantify acrophobia into two or three different states based on brain activity measured by EEG.
To predict the state of acrophobia of a test subject the EEG signals are first processed by a Granger Causality analysis whose output matrices are then upscaled and input into a Convolutional Neural Network to extract representative features to classify the state of acrophobia. The study encompassed data from 51 subjects using Virtual reality to safely expose them to acrophobia in a virtual environment.
This method shows very high accuracy compared to other methods, reaching a 99.07% accuracy for the two-class classification task.

Motivation

Acrophobia is very subjective and thus hard to correctly quantify, however exact assessment is necessary to prevent danger and to apply therapy. Current assessments consist of either written self tests where subjects tend to overestimate the state of their acrophobia (or confuse acrophobia with Vertigo). Therefore if it is possible to create a quick and highly accurate assessment using an experiment in a safe virtual environment would be very helpful for therapy.

Experiments

To generate data to train the classifier the study has chosen 51 subjects who were exposed to a scenario of a construction site in a virtual reality environment while EEG data was measured as well as respiratory rate data. The scenario consists of multiple stages, first on the ground and then on a plank high in the air.

Subjects

Subject Demographics
Figure 1 - Demographics of subjects (from [1], table 1)

The authors recruited 51 subjects via the Northeastern University (NEU, China) Forum website. None of them had any neural or heart diseases, no drug dependencies and no uncorrected visual impairments. As seen in Figure 1 28 of the 51 subjects were males aged 25.14 \pm 2.29 years and 23 were female aged 21.70 \pm 1.35 years. To asses their levels of acrophobia the authors designed a self-investigation report. The subjects could receive a compensation for their participation in the study.

Virtual Reality Environment

Using a head mounted VR device (Oculus Rift DK2) the subjects were exposed visually and aurally to a virtual environment of a construction site build and rendered by the authors using the Unity 3D game engine. During the exposure a biofeedback device (SCHUHFRIED Biofeedback 2000 X-pert) was used to collect respiratory rate data and EEG acquisition equipment (NeuroScan, Inc., El Paso, TX, USA) was used to capture the EEG signals.
The virtual world consisted of a modern city construction site of a partially finished building. Outside of the building is an elevator which leads to a plank leaning outside the building.

Experimental Procedure

VR experimental setup
Figure 2 - Visualization of the VR experiment. (b) is an overview of the environment, while (c1) describes the first Phase (SG, stand on ground), (c2) is the ascension in the elevator, while (c3) is the plank walk itself. (d1)-(d3) shows the view from the the plank itself, (d3) especially is the view while EEG data is collected for classification (SP, stand on plank). (e) is an overview of the city in which the construction site is located (from [1], figure 1).

The exposure itself can be divided into four stages. In the first stage (SG, stand on grounyd, Figure 2-(c1)) the subjects were asked to stand on the ground for 20 seconds while hearing appropriate sounds from the surroundings (driving sounds, wind noises, etc.). In the second stage subjects rode an elevator to the upper floor of a building (Figure 2-(c2)). To increase immersion in the virtual environment the subjects had to manually interact with the environment like finding and pressing elevator buttons. The third stage is were the actual exposure to acrophobia begins. In this stage the subjects were asked to walk to the end of the plank (Figure 2-(c3, d1, d2)) and gaze down (Figure 2-(d3)), thus entering the fourth stage (SP, stand on plank) during which EEG and respiratory rate data was collected over a course of 4 minutes. Stages 2-4 can be summarized as the High-altitude Plank Walking Challenge (HPWC). During SG and SP eye and hand movements were avoided as much as possible to reduce artefacts in the data.
After completing the challenge the subjects were asked to fill out a height interpretation questionaire (HIQ) to determine presence and severity of their acrophobia.

Data Collection and Preprocessing Methods

During Phases SG and SP respiratory rate and EEG data were acquired and processed separately. The 30 EEG channels, arranged using the 10-20 Standard, were amplified (using a 40 channel NuAmps amplifier, NeuroScan, Inc., El Paso, TX, USA, with Ag-AgCl Scalp electrodes) and saved with a sampling rate of 1000 Hz. From the SP Phase only the middle 220 seconds were used for further processing to ensure data quality. A bandpass filter was applied to the data ranging from 0.01 Hz to 48 Hz to remove noise. Special attention was paid to the power line interference using a 50 Hz Notch filter.
Further Processing with the Brainstorm software program which is a toolbox in MATLAB included a Baseline correction using the mean of the data from the SP and an Independent Component Analysis, to reject movement artefacts.
The respiratory rate data was recorded at a sampling rate of 100 Hz and thus sampled up to 1000 Hz to match the EEG data. It was baseline corrected similar to the EEG data by subtracting the mean of the 220 seconds during SP from the data itself.
Next the data was cleaned, which is necessary, because the subjects could not maintain a single state of acrophobia during the entire 220 seconds. Thus wrongly labeled data or invalid data was removed. The respiratory rate data was used to filter out wrongly labeled EEG data. It was first downsampled into 5 second windows, afterwards using the distribution of root-mean-squared-values an upper and lower bound was established and EEG data during the outliers removed.
Out of the 51 subjects the EEG data from 39 subjects was used as a trainings set, of which 13 belonged to each class of acrophobia. The data from the remaining 12 were used as a test set. The EEG data was segmented into non overlapping five second epochs, resulting in 1716 epochs for the 39 subjects out of which 1650 were used in training the classifier.

Structure of the Classifier

general structure of the classifier
Figure 3 - Input for the classifier (a) are the 5-minute epochs of EEG data, which are transformed into three 30x30 functional brain matrices using GCA (b). After upscaling and applying the logarithm they become 64x64 images (c) which are used as input to the CNN (d3) which classifies the input into two or three classes. (d1) shows the locations of the EEG-electrodes while (d2) shows a functional brain matrix, which describes the neural connectivity between the signals measured by the electrodes (from [1], figure 3).

To classify the EEG data into either two classes (no acrophobia vs acrophobia) or three classes (no acrophobia vs mild acrophobia vs severe acrophobia) each epoch of the EEG data was first bandpass filtered three times separately to extract the theta (4-7 Hz), alpha (8-13 Hz) and beta (13-30 Hz) frequency bands (Figure 3-(a)). Each set of EEG data was then reduced into a 30 \times 30 matrix using Granger causality analysis to extract the functional brain matrices[2] with each point representing the connection between two measured regions of the brain (Figure 3-(b)). This matrix was upscaled into a 64x64 image, here called Granger' and to create a smoother image the logarithm of the values added with a bias \epsilon was used as an input to the Convolutional Neural Network (Figure 3-(c)):

Granger^\epsilon = log(Granger' + \epsilon)

Architecture of Convolutional Neural Network

The input of the convolutional network are the upscaled Granger^\epsilon matrices with a dimensionality of 64 \times 64 \times 3. The convolutional Neural Network consists of five convolutional Layers with stride [1, 1], "same"-padding and a kernel size of [3 \times 3]. The first two convolutions consist of 12 kernels each, while this number is doubled in the third to include 24 convolutions and doubled again in the 4th and 5th convolutional layer, which consist of 48 individual kernels. Each convolutional layer is followed by a batch normalization layer and a rectified linear unit activation function. Between the Convolutional Layers a max-pooling layer with size [3, 3] and stride [2, 2] reduces the size of the matrices. After the 5th block of convolutional, activation and normalization layer a dropout layer with a 20% deactivation chance is inserted. Finally a fully connected layer reduces the amount of features to three to which a softmax activation function is applied. The 3 outputs then classify how likely each class of acrophobia is present.

Training

The model was trained using five-fold cross-validation. Training time of one fold for the two class seperation task was approximately 231 seconds while it took 312 seconds to train one fold of the three class seperation task. Applying the classifier to one epoch takes around 100 milliseconds, which fulfills the requirement for an excellent online recognition system [3].

Results and comparison to other models

results of different models
Figure 4 - Classification performances of the proposed three models (from [1], table 3).

The model was evaluated for two-class (no acrophobia, acrophobia) and three-class (no acrophobia, mild acrophobia, severe acrophobia) classification. To evaluate performance two other models were used as a comparison, the first first applies a power spectrum density analysis on the EEG-data and followed by a similarly structured Convolutional Neural Network afterwards (PSD-CNN), the second one uses the same Granger causality Analysis which results where then fed into a Support-Vector Machine (GC-SVM), but due to this model performing much worse than the others only limited discussion including it was done. The results are shown in Figure 4, where the GCCNN has by far the best classification performance of the three models, followed by the PSDCNN. The Granger-SVM model has a much lower perfomance than the other two.

Classification metrics

The authors used different metrics to evaluate the performance of their model. They are all based on the rate of true positives TP, true negatives TN, false positives FP and false negatives FN, where the class no acrophobia was used as the positive class in both classification tasks:

Different CNN-Architectures

results of different CNN architectures
Figure 5 - Recognition results (in %) of PSD CNN and GCCNN models generated by multiple convolutional neural network structures and ε values (from [1], table 5).

The authors of the paper created three different CNN-architectures to evaluate performance for both the PSD-CNN model and their own model. The best performing one achieving a recall of 98.97% recall in the three-class separation and a 99.07% recall in the two-class separation task, as seen in Figure 5. Only the best performing architecture was implemented as described above.

Visualization of features

visualization of classes at different layers in the CNN
Figure 6 - tSNE maps for visualizing spatial distributions of both original data and the deep features of the FC layer for the three class seperation task (from [1], figure 5).

To visualize the capability of the models to extract representative features the original data and the features in the fully-connected layer have been plotted using t-distributed stochastic neighbor embedding[4][5]. The results can be seen in Figure 6 on the right, were both networks successfully extract easily seperable features in the fully connected layers. The authors found that their model has a stronger expressive power and outperforms the PSD-CNN in all the comparisons.

Performance on new subjects

Performance on new subjects
Figure 7 - Performance on new subjects for GCCNN and PSDCNN. GCCNN performs well on all unknown subjects, while PSCCNN performs well one some but has much lower accuracy in for other subjects in the two class seperation task. Overall the GCCNN perfoms much better than the comparison model PSDCNN (from [1], figure 6).

The authors model and the PSD-CNN was also applied to the data from the remaining 12 subjects (Figure 7) where results show that performance is very similar in some subjects for both models but very weak in others for the PSD-CNN model, while the authors model keeps performing well. The average accuracy on new subjects is over 94% for the authors method to determine if a person has acrophobia or not.

References

All Figures are directly taken from the paper [1:1].


  1. Fo, Hu & Wang, Hong & Wang, Qiaoxiu & Feng, Naishi & Chen, Jichi & Zhang, Tao. (2020). Acrophobia Quantified by EEG Based on CNN Incorporating Granger Causality. International Journal of Neural Systems. 31. 10.1142/S0129065720500690. (publication) ↩︎ ↩︎

  2. Y. Jiang, M. Duan, X. Chen, X. Zhang, J. Gong, D. Dong, H. Li, Q. Yi, S. Wang, J. Wang, C. Luo and D. Yao, Aberrant prefrontal–thalamic–cerebellar circuit in schizophrenia and depression: Evidence from a possible causal connectivity, Int. J. Neural Syst. 29(5) (2019) 1850032. ↩︎

  3. X. Zhai, B. Jelfs, R. H. M. Chan and C. Tin, Selfrecalibrating surface EMG pattern recognition for neuroprosthesis control based on convolutional neural network, Front. Neurosci. 11 (2017) 379. ↩︎

  4. Z. Jiao, X. Gao, Y. Wang, J. Li and H. Xu, Deep convolutional neural networks for mental load classification based on EEG data, Pattern Recognit. 76 (2018) 582–595. ↩︎

  5. M. H. Rafiei and H. Adeli, A new neural dynamic classification algorithm, IEEE Trans. Neural Netw. Learn. Syst. 28(12) (2017) 3074–3083. ↩︎