{"title":"GEM-CRAP: a fusion architecture for focal seizure detection.","authors":"Jianwei Shi, Yuanyuan Zhang, Ziang Song, Hang Xu, Yanfeng Yang, Lei Jin, Hengxin Dong, Zhaoying Li, Penghu Wei, Yongzhi Shan, Guoguang Zhao","doi":"10.1186/s12967-025-06414-5","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Identification of seizures is essential for the treatment of epilepsy. Current machine-learning and deep-learning models often perform well on public datasets when classifying generalized seizures with prominent features. However, their performance was less effective in detecting brief, localized seizures. These seizure-like patterns can be masked by fixed brain rhythms.</p><p><strong>Methods: </strong>Our study proposes a supervised multilayer hybrid model called GEM-CRAP (gradient-enhanced modulation with CNN-RES, attention-like, and pre-policy networks), with three parallel feature extraction channels: a CNN-RES module, an amplitude-aware channel with attention-like mechanisms, and an LSTM-based pre-policy layer integrated into the recurrent neural network. The model was trained on the Xuanwu Hospital and HUP iEEG dataset, including intracranial, cortical, and stereotactic EEG data from 83 patients, covering over 8500 labeled electrode channels for hybrid classification (wakefulness and sleep). A post-SVM network was used for secondary training on channels with classification accuracy below 80%. We introduced an average channel deviation rate metric to assess seizure detection accuracy.</p><p><strong>Results: </strong>For public datasets, the model achieved over 97% accuracy for intracranial and cortical EEG sequences in patients, and over 95% for mixed sequences, with deviations below 5%. In the Xuanwu Hospital dataset, it maintained over 94% accuracy for wakefulness seizures and around 90% during sleep. SVM secondary training improved average channel accuracy by over 10%. Additionally, a strong positive correlation was found between channel accuracy distribution and the temporal distribution of seizure states.</p><p><strong>Conclusions: </strong>GEM-CRAP enhances focal epilepsy detection through adaptive adjustments and attention mechanisms, achieving higher precision and robustness in complex signal environments. Beyond improving seizure interval detection, it excels in identifying and analyzing specific epileptic waveforms, such as high-frequency oscillations. This advancement may pave the way for more precise epilepsy diagnostics and provide a suitable artificial intelligence algorithm for closed-loop neurostimulation.</p>","PeriodicalId":17458,"journal":{"name":"Journal of Translational Medicine","volume":"23 1","pages":"405"},"PeriodicalIF":6.1000,"publicationDate":"2025-04-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Translational Medicine","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1186/s12967-025-06414-5","RegionNum":2,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"MEDICINE, RESEARCH & EXPERIMENTAL","Score":null,"Total":0}
引用次数: 0
Abstract
Background: Identification of seizures is essential for the treatment of epilepsy. Current machine-learning and deep-learning models often perform well on public datasets when classifying generalized seizures with prominent features. However, their performance was less effective in detecting brief, localized seizures. These seizure-like patterns can be masked by fixed brain rhythms.
Methods: Our study proposes a supervised multilayer hybrid model called GEM-CRAP (gradient-enhanced modulation with CNN-RES, attention-like, and pre-policy networks), with three parallel feature extraction channels: a CNN-RES module, an amplitude-aware channel with attention-like mechanisms, and an LSTM-based pre-policy layer integrated into the recurrent neural network. The model was trained on the Xuanwu Hospital and HUP iEEG dataset, including intracranial, cortical, and stereotactic EEG data from 83 patients, covering over 8500 labeled electrode channels for hybrid classification (wakefulness and sleep). A post-SVM network was used for secondary training on channels with classification accuracy below 80%. We introduced an average channel deviation rate metric to assess seizure detection accuracy.
Results: For public datasets, the model achieved over 97% accuracy for intracranial and cortical EEG sequences in patients, and over 95% for mixed sequences, with deviations below 5%. In the Xuanwu Hospital dataset, it maintained over 94% accuracy for wakefulness seizures and around 90% during sleep. SVM secondary training improved average channel accuracy by over 10%. Additionally, a strong positive correlation was found between channel accuracy distribution and the temporal distribution of seizure states.
Conclusions: GEM-CRAP enhances focal epilepsy detection through adaptive adjustments and attention mechanisms, achieving higher precision and robustness in complex signal environments. Beyond improving seizure interval detection, it excels in identifying and analyzing specific epileptic waveforms, such as high-frequency oscillations. This advancement may pave the way for more precise epilepsy diagnostics and provide a suitable artificial intelligence algorithm for closed-loop neurostimulation.
期刊介绍:
The Journal of Translational Medicine is an open-access journal that publishes articles focusing on information derived from human experimentation to enhance communication between basic and clinical science. It covers all areas of translational medicine.