Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Hybrid Attention-Based Transformers-CNN Model for Seizure Prediction Through Electronic Health Records

Author 1: Janjhyam Venkata Naga Ramesh Author 2: M. Misba Author 3: S. Balaji Author 4: K. Kiran Kumar Author 5: Elangovan Muniyandy Author 6: Yousef A. Baker El-Ebiary Author 7: B Kiran Bala Author 8: Radwan Abdulhadi .M. Elbasir
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 16, No. 2 · Published 2025 · Cited by 6

DOI: https://doi.org/10.14569/IJACSA.2025.01602110

Abstract

Seizures are a serious neurological disease, and proper prognosis by electroencephalography (EEG) dramatically enhances patient outcomes. Current seizure prediction methods fail to deal with big data and usually need intensive preprocessing. Recent breakthroughs in deep learning can automatically extract features and detect seizures. This work suggests a CNN-Transformer model for epileptic seizure prediction from EEG data with the goal of increasing precision and prediction rates by investigating spatial and temporal relationships within data. The innovation is in employing CNN for spatial feature extraction and a Transformer-based architecture for temporal dependencies over the long term. In contrast to conventional methods that depend on hand-crafted features, this method uses an optimization approach to enhance predictive performance for large-scale EEG datasets. The dataset, which was obtained from Kaggle, consists of EEG signals from 500 subjects with 4097 data points per subject in 23.6 seconds. CNN layers extract spatial characteristics, while the Transformer takes temporal sequences in through a Self-Attention Profiler to process EEG's temporality. The suggested CNN-Transformer model also performs well with 98.3% accuracy, 97.9% precision, 98.73% F1-score, 98.21% specificity, and 98.5% sensitivity. These outcomes show how the model identifies seizures while being low on false positives. The results indicate how the hybrid CNN-Transformer model is effective at utilizing spatiotemporal EEG features in seizure prediction. Its high sensitivity and accuracy indicate important clinical promise for early intervention, enhancing treatment for epilepsy patients. This method improves seizure prediction, allowing for better management and early therapeutic response in the clinic.

Keywords

How to Cite this Article

Ramesh, J. V. N., Misba, M., Balaji, S., Kumar, K. K., Muniyandy, E., El-Ebiary, Y. A. B., Bala, B. K., & Elbasir, R. A. .. (2025). Hybrid Attention-Based Transformers-CNN Model for Seizure Prediction Through Electronic Health Records. International Journal of Advanced Computer Science and Applications, 16(2). https://doi.org/10.14569/IJACSA.2025.01602110

Ramesh, Janjhyam Venkata Naga, et al.. "Hybrid Attention-Based Transformers-CNN Model for Seizure Prediction Through Electronic Health Records." International Journal of Advanced Computer Science and Applications, vol. 16, no. 2, 2025, https://doi.org/10.14569/IJACSA.2025.01602110.

@article{Ramesh2025,
  title     = {Hybrid Attention-Based Transformers-CNN Model for Seizure Prediction Through Electronic Health Records},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {16},
  number    = {2},
  year      = {2025},
  publisher = {The Science and Information Organization},
  author    = {Janjhyam Venkata Naga Ramesh and M. Misba and S. Balaji and K. Kiran Kumar and Elangovan Muniyandy and Yousef A. Baker El-Ebiary and B Kiran Bala and Radwan Abdulhadi .M. Elbasir},
  doi       = {10.14569/IJACSA.2025.01602110},
  url       = {https://doi.org/10.14569/IJACSA.2025.01602110}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.