An Attention-Enhanced 3D-CNN Framework for Spectrogram-Based EEG Analysis in Epilepsy Detection

Epilepsy is a widespread neurological disorder impacting approximately 50 million individuals globally, with a disproportionately high burden in low- and middle-income countries. It is characterized by recurrent seizures caused by sudden and uncontrolled electrical discharges in brain cells, often leading to cognitive and motor impairments. Electroencephalography (EEG) remains the gold standard for epilepsy diagnosis, offering non-invasive monitoring of brain activity. However, the complexity and variability of epileptic patterns make traditional visual analysis subjective, time-consuming, and impractical for continuous monitoring. This underscores the need for automated deep learning solutions to improve diagnostic accuracy and operational efficiency. This study introduces a novel 3D Convolutional Neural Network with integrated Self-Attention (3D-ACNN), specifically designed for the volumetric analysis of multi-channel EEG data. The proposed algorithm preprocesses the 21-channel EEG signals by segmenting them into Hann windows of 4 seconds, applies the Short-Time Fourier Transform (STFT) to extract time-frequency features, and constructs stacked spectrograms that serve as three-dimensional inputs to the model. This proposed model (3D-ACNN), integrated with self-attention mechanisms, effectively captures spatiotemporal dependencies, enhancing seizure classification accuracy. The model achieved a classification accuracy of 99.89%, with a precision of 0.9981, recall of 0.9990, and F1 score of 0.9986 for epileptic signals (class 0), and a precision of 0.9994, recall of 0.9987, and F1 score of 0.9990 for non-epileptic signals (class 1). This high-performance approach demonstrates superior generalization, scalability, and real-time applicability, establishing it as a promising solution for clinical epilepsy monitoring and diagnosis. The study advances AI-driven seizure detection and improves patient management and more accessible epilepsy care.

Authors

Institutions

Publication Details

Journal
IEEE Access
Published
2025-01-01
DOI
https://doi.org/10.1109/access.2025.3574646
Primary Topic
EEG and Brain-Computer Interfaces
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

An Attention-Enhanced 3D-CNN Framework for Spectrogram-Based EEG Analysis in Epilepsy Detection

Hee‐Cheol Kim, Ziaullah Khan, Aakanksha Dayal
1 links
IEEE Access
EEG and Brain-Computer Interfaces
article

An Attention-Enhanced 3D-CNN Framework for Spectrogram-Based EEG Analysis in Epilepsy Detection

Hee‐Cheol Kim, Ziaullah Khan, Aakanksha Dayal
article en

Abstract

Epilepsy is a widespread neurological disorder impacting approximately 50 million individuals globally, with a disproportionately high burden in low- and middle-income countries. It is characterized by recurrent seizures caused by sudden and uncontrolled electrical discharges in brain cells, often leading to cognitive and motor impairments. Electroencephalography (EEG) remains the gold standard for epilepsy diagnosis, offering non-invasive monitoring of brain activity. However, the complexity and variability of epileptic patterns make traditional visual analysis subjective, time-consuming, and impractical for continuous monitoring. This underscores the need for automated deep learning solutions to improve diagnostic accuracy and operational efficiency. This study introduces a novel 3D Convolutional Neural Network with integrated Self-Attention (3D-ACNN), specifically designed for the volumetric analysis of multi-channel EEG data. The proposed algorithm preprocesses the 21-channel EEG signals by segmenting them into Hann windows of 4 seconds, applies the Short-Time Fourier Transform (STFT) to extract time-frequency features, and constructs stacked spectrograms that serve as three-dimensional inputs to the model. This proposed model (3D-ACNN), integrated with self-attention mechanisms, effectively captures spatiotemporal dependencies, enhancing seizure classification accuracy. The model achieved a classification accuracy of 99.89%, with a precision of 0.9981, recall of 0.9990, and F1 score of 0.9986 for epileptic signals (class 0), and a precision of 0.9994, recall of 0.9987, and F1 score of 0.9990 for non-epileptic signals (class 1). This high-performance approach demonstrates superior generalization, scalability, and real-time applicability, establishing it as a promising solution for clinical epilepsy monitoring and diagnosis. The study advances AI-driven seizure detection and improves patient management and more accessible epilepsy care.

IEEE AccessVol. 13
Inje University (KR)
Ministry of Science and ICT, South Korea
Openalex Percentile: Top 89%
EEG and Brain-Computer Interfaces
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.