Yue Yuan, Junyang Zhang, Chen Wang, Hao Yan, Xiangyu Ye, Wenjun Ruan, Xinzhuo Teng, Zheshan Guo, Zhaoxiang Wang
{"title":"一种基于变压器的数据增强框架,用于跨侵入性和非侵入性神经记录的鲁棒癫痫检测","authors":"Yue Yuan, Junyang Zhang, Chen Wang, Hao Yan, Xiangyu Ye, Wenjun Ruan, Xinzhuo Teng, Zheshan Guo, Zhaoxiang Wang","doi":"10.1111/cns.70584","DOIUrl":null,"url":null,"abstract":"<div>\n \n \n <section>\n \n <h3> Aims</h3>\n \n <p>Epilepsy affects more than 50 million peolple worldwide and requires reliable seizure detection systems to mitigate risks associated with unpredictable seizures. Existing machine learning frameworks are limited in generalizability, signal fidelity, and clinical translation, particularly when bridging invasive and non-invasive modalities. This study aims to develop a robust and generalizable seizure detection model capable of supporting cross-modal applicability.</p>\n </section>\n \n <section>\n \n <h3> Methods</h3>\n \n <p>We proposed a Transformer-based seizure detection framework designed for end-to-end analysis of raw neurophysiological signals. To address class imbalance and temporal variability, three data augmentation strategies: sequential sampling, random contiguous sampling, and random non-contiguous sampling, were implemented. A channel-agnostic attention mechanism was incorporated to ensure robustness across heterogeneous electrode configurations.</p>\n </section>\n \n <section>\n \n <h3> Results</h3>\n \n <p>The framework achieved > 99% accuracy in detecting diverse seizure patterns from rat hippocampal recordings (CA1/CA3) and maintained strong performance across different epilepsy models (PTX- and 4-AP-induced seizures). It also demonstrated resilience under reduced-channel configurations (F1-score: 98.7% with 2 channels). In human electroencephalography (EEG) validation, the model achieved a recall of 99.1% and an overall accuracy of 90.4%, despite the inherent limitations of EEG in resolving high-frequency oscillations and its susceptibility to artifacts.</p>\n </section>\n \n <section>\n \n <h3> Conclusion</h3>\n \n <p>By eliminating manual feature engineering and enabling robust cross-modal adaptation, this framework bridges invasive experimental research and non-invasive clinical practice. Its efficiency and scalability support potential applications in real-time seizure monitoring and closed-loop neuromodulation systems. Future work will focus on integration with hemodynamic biomarkers, validation in chronic epilepsy models, and optimization for wearable and real-time deployment.</p>\n </section>\n </div>","PeriodicalId":154,"journal":{"name":"CNS Neuroscience & Therapeutics","volume":"31 9","pages":""},"PeriodicalIF":5.0000,"publicationDate":"2025-09-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://onlinelibrary.wiley.com/doi/epdf/10.1111/cns.70584","citationCount":"0","resultStr":"{\"title\":\"A Transformer-Based Framework With Data Augmentation for Robust Seizure Detection Across Invasive and Noninvasive Neural Recordings\",\"authors\":\"Yue Yuan, Junyang Zhang, Chen Wang, Hao Yan, Xiangyu Ye, Wenjun Ruan, Xinzhuo Teng, Zheshan Guo, Zhaoxiang Wang\",\"doi\":\"10.1111/cns.70584\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div>\\n \\n \\n <section>\\n \\n <h3> Aims</h3>\\n \\n <p>Epilepsy affects more than 50 million peolple worldwide and requires reliable seizure detection systems to mitigate risks associated with unpredictable seizures. Existing machine learning frameworks are limited in generalizability, signal fidelity, and clinical translation, particularly when bridging invasive and non-invasive modalities. This study aims to develop a robust and generalizable seizure detection model capable of supporting cross-modal applicability.</p>\\n </section>\\n \\n <section>\\n \\n <h3> Methods</h3>\\n \\n <p>We proposed a Transformer-based seizure detection framework designed for end-to-end analysis of raw neurophysiological signals. To address class imbalance and temporal variability, three data augmentation strategies: sequential sampling, random contiguous sampling, and random non-contiguous sampling, were implemented. A channel-agnostic attention mechanism was incorporated to ensure robustness across heterogeneous electrode configurations.</p>\\n </section>\\n \\n <section>\\n \\n <h3> Results</h3>\\n \\n <p>The framework achieved > 99% accuracy in detecting diverse seizure patterns from rat hippocampal recordings (CA1/CA3) and maintained strong performance across different epilepsy models (PTX- and 4-AP-induced seizures). It also demonstrated resilience under reduced-channel configurations (F1-score: 98.7% with 2 channels). In human electroencephalography (EEG) validation, the model achieved a recall of 99.1% and an overall accuracy of 90.4%, despite the inherent limitations of EEG in resolving high-frequency oscillations and its susceptibility to artifacts.</p>\\n </section>\\n \\n <section>\\n \\n <h3> Conclusion</h3>\\n \\n <p>By eliminating manual feature engineering and enabling robust cross-modal adaptation, this framework bridges invasive experimental research and non-invasive clinical practice. Its efficiency and scalability support potential applications in real-time seizure monitoring and closed-loop neuromodulation systems. Future work will focus on integration with hemodynamic biomarkers, validation in chronic epilepsy models, and optimization for wearable and real-time deployment.</p>\\n </section>\\n </div>\",\"PeriodicalId\":154,\"journal\":{\"name\":\"CNS Neuroscience & Therapeutics\",\"volume\":\"31 9\",\"pages\":\"\"},\"PeriodicalIF\":5.0000,\"publicationDate\":\"2025-09-04\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://onlinelibrary.wiley.com/doi/epdf/10.1111/cns.70584\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"CNS Neuroscience & Therapeutics\",\"FirstCategoryId\":\"3\",\"ListUrlMain\":\"https://onlinelibrary.wiley.com/doi/10.1111/cns.70584\",\"RegionNum\":1,\"RegionCategory\":\"医学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"NEUROSCIENCES\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"CNS Neuroscience & Therapeutics","FirstCategoryId":"3","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1111/cns.70584","RegionNum":1,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"NEUROSCIENCES","Score":null,"Total":0}
A Transformer-Based Framework With Data Augmentation for Robust Seizure Detection Across Invasive and Noninvasive Neural Recordings
Aims
Epilepsy affects more than 50 million peolple worldwide and requires reliable seizure detection systems to mitigate risks associated with unpredictable seizures. Existing machine learning frameworks are limited in generalizability, signal fidelity, and clinical translation, particularly when bridging invasive and non-invasive modalities. This study aims to develop a robust and generalizable seizure detection model capable of supporting cross-modal applicability.
Methods
We proposed a Transformer-based seizure detection framework designed for end-to-end analysis of raw neurophysiological signals. To address class imbalance and temporal variability, three data augmentation strategies: sequential sampling, random contiguous sampling, and random non-contiguous sampling, were implemented. A channel-agnostic attention mechanism was incorporated to ensure robustness across heterogeneous electrode configurations.
Results
The framework achieved > 99% accuracy in detecting diverse seizure patterns from rat hippocampal recordings (CA1/CA3) and maintained strong performance across different epilepsy models (PTX- and 4-AP-induced seizures). It also demonstrated resilience under reduced-channel configurations (F1-score: 98.7% with 2 channels). In human electroencephalography (EEG) validation, the model achieved a recall of 99.1% and an overall accuracy of 90.4%, despite the inherent limitations of EEG in resolving high-frequency oscillations and its susceptibility to artifacts.
Conclusion
By eliminating manual feature engineering and enabling robust cross-modal adaptation, this framework bridges invasive experimental research and non-invasive clinical practice. Its efficiency and scalability support potential applications in real-time seizure monitoring and closed-loop neuromodulation systems. Future work will focus on integration with hemodynamic biomarkers, validation in chronic epilepsy models, and optimization for wearable and real-time deployment.
期刊介绍:
CNS Neuroscience & Therapeutics provides a medium for rapid publication of original clinical, experimental, and translational research papers, timely reviews and reports of novel findings of therapeutic relevance to the central nervous system, as well as papers related to clinical pharmacology, drug development and novel methodologies for drug evaluation. The journal focuses on neurological and psychiatric diseases such as stroke, Parkinson’s disease, Alzheimer’s disease, depression, schizophrenia, epilepsy, and drug abuse.