Single-Trial ERSP Classification of EEG Data Across Multiple Axes Using Deep and Machine Learning: Spectrograms vs. Frequency- and Subject-Level Analysis

Authors

  • Arian Yavari Author
  • Russell Butler Supervisor

Abstract

This study presents a novel approach for classifying visual stimuli from single-trial Event-Related Spectral Perturbation (ERSP) responses derived from electroencephalographic (EEG) recordings. To improve the reliability and interpretability of visual Brain-Computer Interfaces (BCIs), we propose a classification approach that systematically evaluates neural responses across five key dimensions: subject variability, frequency bands, trial-level differences, stimulus categories, and post-stimulus time windows.

To address the multi-dimensional nature of ERSP data, both deep learning and classical machine learning approaches were applied to EEG recordings from thirtyone neurologically and psychiatrically healthy participants. Deep learning models—including convolutional neural networks (CNNs) and recurrent architectures such as bidirectional long short-term memory (LSTM) and gated recurrent units (GRUs)—were trained on spectrogram representations of ERSPs. A CNN architecture incorporating dropout and batch normalization achieved validation accuracies of up to 85.57% in binary classification tasks involving high-contrast stimuli and participants with strong gamma-band responses. However, performance declined in multiclass tasks involving all stimuli and participants, with validation accuracy plateauing around 30%, primarily due to substantial inter-subject variability and limited training data.

In parallel, classical machine learning approaches were applied in a subject-and frequency-specific manner. Random Forest classifiers delivered strong and interpretable results, particularly in the gamma frequency range (20–40 Hz), early post-stimulus intervals, and among participants with pronounced gamma activity. Ensemble-based models consistently outperformed support vector machines, logistic regression, and gradient boosting, underscoring the effectiveness of individualized modeling in data-constrained settings.

This study is among the first to systematically investigate ERSP classification across multiple predictive dimensions using both deep spectrogram-based models and subject- and frequency-aware classical approaches. The findings emphasize the complementary strengths of these methods: deep learning performs well with structured, high-resolution inputs when sufficient data are available, while classical approaches offer robustness and interpretability in subject-specific contexts. Future research should explore hybrid strategies, subject-informed training methods, and the application of self-supervised or transfer learning approaches fine-tuned for task-relevant scenarios to compare and investigate the possibility of improving generalizability across participants and experimental conditions.

Downloads

Published

2025-05-02

Issue

Section

Dissertations