Mohamed Sami Nafea has a total of 1 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    GT-STAFG: Graph Transformer with Spatiotemporal Attention Fusion Gate for Epileptic Seizure Detection in Imbalanced EEG Data

    by Mohamed Sami Nafea, Zool Hilmi Ismail

    Background: Electroencephalography (EEG) assists clinicians in diagnosing epileptic seizures by recording brain electrical activity. Existing models process spatiotemporal features inefficiently either through cascaded spatiotemporal architectures or static functional connectivity, limiting their ability to capture deeper spatial–temporal correlations. Objectives: To address these limitations, we propose a Graph Transformer with Spatiotemporal Attention Fusion Gate (GT-STAFG). Methods: We analyzed 18-channel EEG data sampled at 200 Hz, transformed into the frequency domain, and segmented into 30- second windows. The graph transformer exploits dynamic graph data, while STAFG leverages self-attention and gating mechanisms to capture complex interactions by augmenting graph features with both spatial and temporal information. The clinical significance of extracted features was validated using the Integrated Gradients attribution method, emphasizing the clinical relevance of the proposed model. Results: GT-STAFG achieves the highest area under the precision–recall curve (AUPRC) scores of 0.605 on the TUSZ dataset and 0.498 on the CHB-MIT dataset, surpassing baseline models and demonstrating strong cross-patient generalization on imbalanced datasets. We applied transfer learning to leverage knowledge from the TUSZ dataset when analyzing the CHB-MIT dataset, yielding an average improvement of 8.3 percentage points in AUPRC. Conclusions: Our approach has the potential to enhance patient outcomes and optimize healthcare utilization.


  • Open Access

    IMPRESS: Informative Mutual Patch Representation for EEG Semi-Supervised Learning in Seizure Type Classification

    by Mohamed Sami Nafea, Zool Hilmi Ismail

    Electroencephalogram (EEG) data annotation demands considerable expertise and is a time-intensive process. Moreover, inter-subject variability intensifies the challenge of domain shift, adversely impacting the generalization performance of deep learning models on unseen subjects. Current methods in EEG data analysis often struggle to handle the complex nature of brain activity without relying on EEG feature engineering. In this paper, we present a hybrid semi-supervised framework for seizure type classification, which relies on minimal domain knowledge provided by exploiting spectral and spatial patch-level representations of raw unlabeled EEG data, while leveraging a small amount of labeled data. Our method, IMPRESS, enhances EEG representation learning by combining multi-patch mutual information maximization with adversarial distribution alignment. We assessed the framework’s performance for cross-patient seizure classification using the publicly accessible Temple University Seizure corpus. IMPRESS surpasses the best-performing semi-supervised learning method by 1.92% and 0.72% using balanced accuracy and macro-F1 metrics, respectively, with 40 labeled samples per class. Remarkably, IMPRESS surpasses the fully-supervised method while requiring only 25 labeled samples per class. Additionally, we visualize the learned feature embeddings, highlighting the underlying dynamics across different seizure types, aiding in understanding the model’s behavior. This demonstrates the potential of leveraging multi-patch information from unlabeled data through a contrastive data-driven approach, alleviating the burden of annotating large amounts of EEG data.


  • Top Cited Papers
    Open Access

    Supervised Machine Learning and Deep Learning Techniques for Epileptic Seizure Recognition Using EEG Signals—A Systematic Literature Review

    by Mohamed Sami Nafea, Zool Hilmi Ismail

    Electroencephalography (EEG) is a complicated, non-stationary signal that requires extensive preprocessing and feature extraction approaches to be accurately analyzed. In recent times, Deep learning (DL) has shown great promise in exploiting the characteristics of EEG signals as it can learn relevant features from raw data autonomously. Although studies involving DL have become more common in the last two years, the topic of whether DL truly delivers advantages over conventional Machine learning (ML) methodologies remains unsettled. This study aims to present a detailed overview of the main challenges in the field of seizure detection, prediction, and classification utilizing EEG data, and the approaches taken to solve them using ML and DL methods. A systematic review was conducted surveying peer-reviewed publications published between 2017 and 16 July 2022 using two scientific databases (Web of Science and Scopus) totaling 6822 references after discarding duplicate publications. Whereas 2262 articles were screened based on the title, abstract, and keywords, only 214 were eligible for full-text assessment. A total of 91 papers have been included in this survey after meeting the eligible inclusion and exclusion criteria. The most significant findings from the review are summarized, and several important concepts involving ML and DL for seizure detection, prediction, and classification are discussed in further depth. This review aims to learn more about the different approaches for identifying different types and stages of epileptic seizures, which may then be employed to enhance the lives of epileptic patients in the future, as well as aid experts in the field.