Abstract: Electroencephalography (EEG) serves as an effective diagnostic tool for mental disorders and neurological abnormalities. Enhanced analysis and classification of EEG signals can help improve detection performance. A new approach is examined here for enhancing EEG classification performance by leveraging knowledge of spatial layout of EEG sensors. Performance of two classification models - model 1 that ignores the sensor layout and model 2 that factors it in - is investigated and found to achieve consistently higher detection accuracy. The analysis is based on the information content of these signals represented in two different ways: concatenation of the channels of the frequency bands and an image-like 2D representation of the EEG channel locations. Performance of these models is examined on two tasks, social anxiety disorder (SAD) detection, and emotion recognition using a dataset for emotion analysis using physiological signals (DEAP). We hypothesized that model 2 will significantly outperform model 1 and this was validated in our results as model 2 yielded 5–8% higher accuracy in all machine learning algorithms investigated. Convolutional Neural Networks (CNN) provided the best performance far exceeding that of Support Vector Machine (SVM) and k-Nearest Neighbors (kNNs) algorithms.
Introduction: The Spatial Gap in EEG Analysis
The core challenge in EEG analysis is the "spatial gap." EEG electrodes are placed across the scalp in specific patterns, such as the International 10-20 system. Because brain activity in one region often correlates with adjacent areas, the physical distance between sensors carries vital information. Traditionally, machine learning models treat EEG channels as a simple list of independent data streams, effectively destroying this spatial context.
Most existing classification models use "Model 1" logic: they concatenate features from all channels into a single long vector. The authors propose "Model 2," which preserves the sensor layout by mapping electrode data onto a 2D grid, allowing deep learning models to "see" the spatial relationships of brain waves.
Methodology: From Signals to Brain Images
The researchers developed a pipeline that transforms raw EEG signals into "brain images":
- Feature Extraction: Wavelet Packet Decomposition (WPD) was used to break signals into five standard frequency bands (Delta, Theta, Alpha, Beta, Gamma). From these, energy and entropy features were calculated.
- Spatial Mapping: Instead of a flat list, the 32–34 sensors were mapped onto a 15x15 grid based on their actual scalp coordinates.
- Interpolation: Since a 15x15 grid has 225 pixels but only ~34 sensors, Inverse Distance Weighting (IDW) was used to estimate values for the "empty" pixels between sensors, creating a smooth, dense image of brain activity.
- Classification: These 2D "images" (or 3D stacks for different frequency bands) were fed into a Convolutional Neural Network (CNN). This was compared against standard models like Support Vector Machines (SVM) and k-Nearest Neighbors (kNN).
- Data Augmentation: To prevent overfitting, image-style augmentation (horizontal and vertical shifts) was applied to the generated brain maps.
The study evaluated this approach on two distinct tasks: the SAD Dataset (Social Anxiety Disorder detection) and the DEAP Dataset (a benchmark for emotion analysis labeled for "Valence" and "Arousal").
Key Results and Discussion
The "Model 2" (spatial-aware) approach consistently outperformed the standard "Model 1" (spatial-ignorant) approach across the board. The most significant finding is that the spatial arrangement of sensors is a primary feature. When the CNN can "see" a cluster of activity in specific lobes, it generalizes much better.
- SAD Detection: Accuracy jumped from 84.38% (Model 1) to 92.19% (Model 2) using the CNN.
- Emotion Recognition (DEAP): In subject-independent tests, Valence accuracy reached 91.85% and Arousal reached 91.06%, significantly outperforming previous benchmarks.
- Consistency: Model 2 yielded 5–8% higher accuracy regardless of the machine learning algorithm used, proving that the benefit comes from the data representation itself.
Conclusion and Future Directions
While the results are impressive, the authors note areas for further exploration. Converting 1D signals into 3D arrays increases computational load. Additionally, the 15x15 grid size was chosen empirically; different sensor densities might require different resolutions. Future work could explore more advanced interpolation methods or Graph Convolutional Networks (GCNs) to handle non-grid spatial data.
Reference: Mokatren, L. S., et al. (2020). EEG Classification by factoring in Sensor Configuration. arXiv:1905.09472v2 [eess.SP].
Summary updated