Convolutional Neural Network Classification of Rest EEG Signals among People with Epilepsy, Psychogenic Non Epileptic Seizures and Control Subjects

Michele Lo Giudice, Edoardo Ferlazzo, Nadia Mammone, Sara Gasparini, Vittoria Cianci, Angelo Pascarella, Anna Mammì, Danilo P. Mandic, Francesco Carlo Morabito, Umberto AgugliaInternational Journal of Environmental Research and Public Health 2022 · DOI

TL;DR

This paper introduces a novel deep learning approach using Convolutional Neural Networks (CNNs) combined with Empirical Mode Decomposition (EMD) to classify interictal EEG signals into three categories: Epileptic Seizures (ES), Psychogenic Non-Epileptic Seizures (PNES), and Control Subjects (CS). The method achieves an impressive 85.7% accuracy, offering a promising tool to aid clinicians in differentiating these challenging conditions, especially when standard visual inspection of EEG is inconclusive.

What Problem Does This Paper Address?

Diagnosing epilepsy and differentiating it from psychogenic non-epileptic seizures (PNES) can be a significant clinical challenge. Both conditions can present with similar symptoms, and crucially, interictal EEG (EEG recordings between seizures) often appears normal in visual inspection for all three groups: ES, PNES, and healthy controls (CS). This ambiguity can lead to misdiagnosis, inappropriate treatment, and a delay in proper care. Traditional methods rely heavily on clinical history and sometimes require lengthy video-EEG monitoring during actual seizures, which isn't always feasible or informative for interictal states. The paper aims to bridge this gap by developing an automated system that can detect subtle abnormalities in resting-state EEG, even when they are not apparent to the human eye.

Methods

The core of the proposed method lies in a two-stage process:

  1. Empirical Mode Decomposition (EMD): This is a data-driven technique used to break down complex signals into a set of intrinsic mode functions (IMFs). Unlike methods that rely on pre-defined basis functions (like wavelets), EMD adaptively generates its basis from the signal itself. This allows it to decompose signals into physically meaningful components representing different time scales and frequencies, effectively extracting subtle, latent features from the EEG data. The paper specifically extracts the first three IMFs from each EEG channel.
  2. Convolutional Neural Network (CNN): The extracted IMFs are then fed into a customized CNN. This deep learning architecture is designed to automatically learn complex patterns and features directly from the data. The CNN in this study consists of two convolutional layers, two max-pooling layers, three fully connected layers (with a dropout layer for regularization), and a softmax output layer for classification. This architecture is trained to distinguish between the three classes (ES, PNES, CS).

The workflow involves acquiring 19-channel EEG, segmenting it into 5-second overlapping windows, applying EMD to extract IMFs, and then feeding these IMFs into the CNN for classification.

Datasets

The study utilized EEG data from 103 subjects:

  • 42 subjects with new-onset clinically diagnosed Epileptic Seizures (ES).
  • 42 subjects with video-recorded Psychogenic Non-Epileptic Seizures (PNES).
  • 19 Control Subjects (CS) who were clinically healthy and had normal interictal EEGs on visual inspection.

All subjects had normal interictal EEGs and were not taking psychotropic drugs at the time of recording. The dataset was partitioned into 80% for training and 20% for testing, with a 5-fold cross-validation approach to mitigate overfitting.

Key Insights and Ideas

  • EMD as a powerful feature extractor for subtle EEG abnormalities: The paper highlights that EMD can uncover hidden information in interictal EEG that is not visible through standard visual inspection. This is crucial for differentiating conditions where interictal EEGs are typically normal.
  • Data-driven approach is key: By using EMD, the system avoids relying on pre-defined signal decomposition methods, making it more adaptive and potentially more effective for complex biological signals like EEG.
  • CNNs excel at learning from complex, multi-channel data: The CNN architecture effectively learns discriminative patterns from the EMD-derived features across multiple EEG channels, demonstrating the power of deep learning for this diagnostic task.
  • Three-way classification is a significant challenge: Extending the classification from binary (ES vs. PNES) to a three-way problem (ES vs. PNES vs. CS) significantly increases complexity, making the achieved accuracy particularly noteworthy.

Key Results

The proposed CNN model achieved an accuracy of 85.7% for classifying EEG segments into ES, PNES, or CS. This performance was consistent across precision, recall, and F1-score, all also at 85.7%. This is considered a strong result, especially given the difficulty of classifying interictal EEGs. The authors compare their results to previous studies, noting that while some binary classification studies achieved higher accuracies, their three-way classification on a challenging dataset is highly encouraging for clinical applications.

Limitations and Future Work

  • Dataset Size and Balance: The authors acknowledge that the number of subjects, particularly in the control group (19 CS), is a limitation. Future work should focus on acquiring larger and more balanced datasets to minimize bias and improve generalization.
  • Real-time Application: While the classification latency of 31 seconds is reasonable, it currently prevents the definition of a real-time system. Future research will aim to optimize this through more potent GPUs and potentially architectural refinements.
  • Patient-Level vs. Epoch-Level Classification: The current epoch-based approach provides a probability of classification for individual EEG traces, which may help clinicians but does not offer a definitive patient-level diagnosis. Future work could explore patient-level discrimination.
  • Information Theoretic Analysis: The authors plan to conduct further analysis using information theory to understand which IMFs contribute most to the classification, potentially leading to more efficient feature selection.
  • Exploring Other DL Architectures and EMD Variants: Further investigation into different CNN architectures and variations of EMD (e.g., Ensemble EMD) is also suggested.

Summary updated

Abstract

Identifying subjects with epileptic seizures or psychogenic non-epileptic seizures from healthy subjects via interictal EEG analysis can be a very challenging issue. Indeed, at visual inspection, EEG can be normal in both cases. This paper proposes an automatic diagnosis approach based on deep learning to differentiate three classes: subjects with epileptic seizures (ES), subjects with non-epileptic psychogenic seizures (PNES) and control subjects (CS), analyzed by non-invasive low-density interictal scalp EEG recordings. The EEGs of 42 patients with new-onset ES, 42 patients with PNES video recorded and 19 patients with CS all with normal interictal EEG on visual inspection, were analyzed in the study; none of them was taking psychotropic drugs before registration. The processing pipeline applies empirical mode decomposition (EMD) to 5s EEG segments of 19 channels in order to extract enhanced features learned automatically from the customized convolutional neural network (CNN). The resulting CNN has been shown to perform well during classification, with an accuracy of 85.7%; these results encourage the use of deep processing systems to assist clinicians in difficult clinical settings.
BibTeX
@article{giudice2022convolutional,
  author = {Michele Lo Giudice and Edoardo Ferlazzo and Nadia Mammone and Sara Gasparini and Vittoria Cianci and Angelo Pascarella and Anna Mammì and Danilo P. Mandic and Francesco Carlo Morabito and Umberto Aguglia},
  title = {{Convolutional Neural Network Classification of Rest EEG Signals among People with Epilepsy, Psychogenic Non Epileptic Seizures and Control Subjects}},
  journal = {International Journal of Environmental Research and Public Health},
  year = {2022},
  doi = {10.3390/ijerph192315733},
}
Figure