1
|
Busia P, Cossettini A, Ingolfsson TM, Benatti S, Burrello A, Jung VJB, Scherer M, Scrugli MA, Bernini A, Ducouret P, Ryvlin P, Meloni P, Benini L. Reducing False Alarms in Wearable Seizure Detection With EEGformer: A Compact Transformer Model for MCUs. IEEE TRANSACTIONS ON BIOMEDICAL CIRCUITS AND SYSTEMS 2024; 18:608-621. [PMID: 38261487 DOI: 10.1109/tbcas.2024.3357509] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [MESH Headings] [Track Full Text] [Subscribe] [Scholar Register] [Indexed: 01/25/2024]
Abstract
The long-term, continuous analysis of electroencephalography (EEG) signals on wearable devices to automatically detect seizures in epileptic patients is a high-potential application field for deep neural networks, and specifically for transformers, which are highly suited for end-to-end time series processing without handcrafted feature extraction. In this work, we propose a small-scale transformer detector, the EEGformer, compatible with unobtrusive acquisition setups that use only the temporal channels. EEGformer is the result of a hardware-oriented design exploration, aiming for efficient execution on tiny low-power micro-controller units (MCUs) and low latency and false alarm rate to increase patient and caregiver acceptance.Tests conducted on the CHB-MIT dataset show a 20% reduction of the onset detection latency with respect to the state-of-the-art model for temporal acquisition, with a competitive 73% seizure detection probability and 0.15 false-positive-per-hour (FP/h). Further investigations on a novel and challenging scalp EEG dataset result in the successful detection of 88% of the annotated seizure events, with 0.45 FP/h.We evaluate the deployment of the EEGformer on three commercial low-power computing platforms: the single-core Apollo4 MCU and the GAP8 and GAP9 parallel MCUs. The most efficient implementation (on GAP9) results in as low as 13.7 ms and 0.31 mJ per inference, demonstrating the feasibility of deploying the EEGformer on wearable seizure detection systems with reduced channel count and multi-day battery duration.
Collapse
|
2
|
Ali E, Angelova M, Karmakar C. Epileptic seizure detection using CHB-MIT dataset: The overlooked perspectives. ROYAL SOCIETY OPEN SCIENCE 2024; 11:230601. [PMID: 39076791 PMCID: PMC11286169 DOI: 10.1098/rsos.230601] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Figures] [Subscribe] [Scholar Register] [Received: 05/19/2023] [Revised: 11/23/2023] [Accepted: 03/28/2024] [Indexed: 07/31/2024]
Abstract
Epilepsy is a life-threatening neurological condition. Manual detection of epileptic seizures (ES) is laborious and burdensome. Machine learning techniques applied to electroencephalography (EEG) signals are widely used for automatic seizure detection. Some key factors are worth considering for the real-world applicability of such systems: (i) continuous EEG data typically has a higher class imbalance; (ii) higher variability across subjects is present in physiological signals such as EEG; and (iii) seizure event detection is more practical than random segment detection. Most prior studies failed to address these crucial factors altogether for seizure detection. In this study, we intend to investigate a generalized cross-subject seizure event detection system using the continuous EEG signals from the CHB-MIT dataset that considers all these overlooked aspects. A 5-second non-overlapping window is used to extract 92 features from 22 EEG channels; however, the most significant 32 features from each channel are used in experimentation. Seizure classification is done using a Random Forest (RF) classifier for segment detection, followed by a post-processing method used for event detection. Adopting all the above-mentioned essential aspects, the proposed event detection system achieved 72.63% and 75.34% sensitivity for subject-wise 5-fold and leave-one-out analyses, respectively. This study presents the real-world scenario for ES event detectors and furthers the understanding of such detection systems.
Collapse
Affiliation(s)
- Emran Ali
- School of Information Technology, Deakin University, Melbourne Burwood Campus, Melbourne, Victoria3125, Australia
| | - Maia Angelova
- School of Information Technology, Deakin University, Melbourne Burwood Campus, Melbourne, Victoria3125, Australia
- Aston Digital Futures Institute, EPS, Aston University, Birmingham, UK
- Institute of Biophysics and Biomedical Engineering, Bulgarian Academy of Sciences, Sofia, Bulgaria
| | - Chandan Karmakar
- School of Information Technology, Deakin University, Melbourne Burwood Campus, Melbourne, Victoria3125, Australia
| |
Collapse
|
3
|
Y MK, P VK. Efficient EEG motion artifact elimination framework for ambulatory epileptic seizure detection application. Biomed Phys Eng Express 2024; 10:035005. [PMID: 38437724 DOI: 10.1088/2057-1976/ad2ff4] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 09/12/2023] [Accepted: 03/04/2024] [Indexed: 03/06/2024]
Abstract
Motion artifacts are a pervasive challenge in EEG ambulatory monitoring, often obscuring critical neurological signals and impeding accurate seizure detection. In this study, we propose a new approach of outlier based grouping of two level Singular Spectrum Analysis (SSA) decomposition combined with Relative Total Variation (RTV) filter for the effective removal of motion-induced noise from ambulatory EEG data. A two-stage SSA method was employed to decompose single-channel EEG signal, which had been interfered with, into various fre quency bands. The affected sub-band signal was then subjected to an RTV filter to estimate the artifact signal. Subtracting this estimated artifact signal from the contaminated sub-band signal yielded the filtered sub-band signal. Subse quently, the filtered sub-band signal was reintegrated with the other decomposed components from noise-free bands, culminating in the generation of the ultimate denoised EEG signal. Based on the comprehensive set of simulation results, it can be deduced that the algorithm described in the paper outperforms existing methods. It demonstrates superior metrics evaluation in terms of ΔSNR,η,MAE, andPSNRwhen compared to these alternatives. Our framework sig- nificantly enhances the quality of EEG data by successfully eliminating motion artifacts while preserving crucial brainwave information. To evaluate the prac tical impact of this noise reduction technique, we assess its performance in the context of seizure detection. The results reveal a substantial improvement in the accuracy and reliability of seizure detection algorithms when applied to EEG data preprocessed with proposed method.
Collapse
Affiliation(s)
- Murali Krishna Y
- Department of Electronics and Communication Engineering, JNTUK, Kakinada, 533003, Andhra Pradesh, India
| | - Vinay Kumar P
- Department of Electronics and Communication Engineering, UCEK, JNTUK, Kakinada, 533003, Andhra Pradesh, India
| |
Collapse
|
4
|
Liao J, Wang J, Zhan CA, Yang F. Parameterized aperiodic and periodic components of single-channel EEG enables reliable seizure detection. Phys Eng Sci Med 2024; 47:31-47. [PMID: 37747646 DOI: 10.1007/s13246-023-01340-6] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 01/05/2023] [Accepted: 09/14/2023] [Indexed: 09/26/2023]
Abstract
Although it is clinically important, a reliable and economical solution to automatic seizure detection for patients at home is yet to be developed. Traditional algorithms rely on multi-channel EEG signals and features of canonical EEG power description. This study is aimed to propose an effective single-channel EEG seizure detection method centered on novel EEG power parameterization and channel selection algorithms. We employed the publicly available multi-channel CHB-MIT Scalp EEG database to gauge the effectiveness of our approach. We first adapted a power spectra parameterization algorithm to characterize the aperiodic and periodic components of the ictal and inter-ictal EEGs. We selected four features based on their statistical significance and interpretability, and developed a ranking approach to channel selection for each patient. We then tested the effectiveness of our approaches to channel and feature selection for automatic seizure detection using support vector machine (SVM) as the classifier. The performance of our algorithm was evaluated using five-fold cross-validation and compared to those methods of comparable complexity (using one or two channels of EEG), in terms of accuracy, specificity, sensitivity, precision and F1 score. Some channels of EEG signals show strikingly different distributions of PSD features between the ictal and inter-ictal states. Four features including the offset and exponent parameters for the aperiodic component and the first and second highest total power (TPW1 and TPW2) form the basis of channel selection and the input of SVM classifier. The selected channel is found to be patient-specific. Our approach has achieved a mean sensitivity of 95.6%, specificity of 99.2%, accuracy of 98.6%, precision of 95.5%, and F1 score of 95.5%. Compared with algorithms in previous studies that used one or two channels of EEG signals, ours outperforms in specificity and accuracy with comparable sensitivity. EEG power spectra parameterization to feature extraction and feature ranking-based channel selection are found to enable efficient and effective automatic seizure detection based on single-channel EEG signal.
Collapse
Affiliation(s)
- Jiahui Liao
- School of Biomedical Engineering, Southern Medical University, Guangzhou, 510515, China
- Guangdong Provincial Key Laboratory of Medical Image Processing, Southern Medical University, Guangzhou, China
| | - Jun Wang
- Department of Neurosurgery, Nanfang Hospital, Southern Medical University, Guangzhou, 510515, China
| | - Chang'an A Zhan
- School of Biomedical Engineering, Southern Medical University, Guangzhou, 510515, China.
- Guangdong Provincial Key Laboratory of Medical Image Processing, Southern Medical University, Guangzhou, China.
- Department of Rehabilitation Medicine, Zhujiang Hospital, Southern Medical University, Guangzhou, 510280, China.
| | - Feng Yang
- School of Biomedical Engineering, Southern Medical University, Guangzhou, 510515, China.
- Guangdong Provincial Key Laboratory of Medical Image Processing, Southern Medical University, Guangzhou, China.
| |
Collapse
|
5
|
Ingolfsson TM, Benatti S, Wang X, Bernini A, Ducouret P, Ryvlin P, Beniczky S, Benini L, Cossettini A. Minimizing artifact-induced false-alarms for seizure detection in wearable EEG devices with gradient-boosted tree classifiers. Sci Rep 2024; 14:2980. [PMID: 38316856 PMCID: PMC10844293 DOI: 10.1038/s41598-024-52551-0] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 07/04/2023] [Accepted: 01/19/2024] [Indexed: 02/07/2024] Open
Abstract
Electroencephalography (EEG) is widely used to monitor epileptic seizures, and standard clinical practice consists of monitoring patients in dedicated epilepsy monitoring units via video surveillance and cumbersome EEG caps. Such a setting is not compatible with long-term tracking under typical living conditions, thereby motivating the development of unobtrusive wearable solutions. However, wearable EEG devices present the challenges of fewer channels, restricted computational capabilities, and lower signal-to-noise ratio. Moreover, artifacts presenting morphological similarities to seizures act as major noise sources and can be misinterpreted as seizures. This paper presents a combined seizure and artifacts detection framework targeting wearable EEG devices based on Gradient Boosted Trees. The seizure detector achieves nearly zero false alarms with average sensitivity values of [Formula: see text] for 182 seizures from the CHB-MIT dataset and [Formula: see text] for 25 seizures from the private dataset with no preliminary artifact detection or removal. The artifact detector achieves a state-of-the-art accuracy of [Formula: see text] (on the TUH-EEG Artifact Corpus dataset). Integrating artifact and seizure detection significantly reduces false alarms-up to [Formula: see text] compared to standalone seizure detection. Optimized for a Parallel Ultra-Low Power platform, these algorithms enable extended monitoring with a battery lifespan reaching 300 h. These findings highlight the benefits of integrating artifact detection in wearable epilepsy monitoring devices to limit the number of false positives.
Collapse
Affiliation(s)
| | - Simone Benatti
- University of Bologna, 40126, Bologna, Italy
- University of Modena and Reggio Emilia, 41121, Reggio Emilia, Italy
| | | | - Adriano Bernini
- University Hospital of Lausanne (CHUV), 1011, Lausanne, Switzerland
| | - Pauline Ducouret
- University Hospital of Lausanne (CHUV), 1011, Lausanne, Switzerland
| | - Philippe Ryvlin
- University Hospital of Lausanne (CHUV), 1011, Lausanne, Switzerland
| | - Sandor Beniczky
- Aarhus University Hospital, 8200, Aarhus, Denmark
- Danish Epilepsy Centre (Filadelfia), 4293, Dianalund, Denmark
| | - Luca Benini
- ETH Zürich, D-ITET, 8092, Zürich, Switzerland
- University of Bologna, 40126, Bologna, Italy
| | | |
Collapse
|
6
|
García-Ramó KB, Sanchez-Catasus CA, Winston GP. Deep learning in neuroimaging of epilepsy. Clin Neurol Neurosurg 2023; 232:107879. [PMID: 37473486 DOI: 10.1016/j.clineuro.2023.107879] [Citation(s) in RCA: 1] [Impact Index Per Article: 1.0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 04/14/2023] [Revised: 05/24/2023] [Accepted: 07/04/2023] [Indexed: 07/22/2023]
Abstract
In recent years, artificial intelligence, particularly deep learning (DL), has demonstrated utility in diverse areas of medicine. DL uses neural networks to automatically learn features from the raw data while this is not possible with conventional machine learning. It is helpful for the assessment of patients with epilepsy and whilst most published studies have been aimed at the automatic detection and prediction of seizures from electroencephalographic records, there is a growing number of investigations that use neuroimaging modalities (structural and functional magnetic resonance imaging, diffusion-weighted imaging and positron emission tomography) as input data. We review the application of DL to neuroimaging (sMRI, fMRI, DWI and PET) of focal epilepsy, specifically presurgical evaluation of drug-refractory epilepsy. First, a brief theoretical overview of artificial neural networks and deep learning is presented. Next, we review applications of deep learning to neuroimaging of epilepsy: diagnosis and lateralization, automated detection of lesion, presurgical evaluation and prediction of postsurgical outcome. Finally, the limitations, challenges and possible future directions in the application of these methods in the study of epilepsies are discussed. This approach could become an essential tool in clinical practice, particularly in the evaluation of images considered negative by visual inspection, in individualized treatments, and in the approach to epilepsy as a network disorder. However, greater multicenter collaboration is required to achieve the collection of sufficient data with the required quality together with the open access availability of the developed codes and tools.
Collapse
Affiliation(s)
- Karla Batista García-Ramó
- Group of Neuroimaging Processing, International Center for Neurological Restoration, Cuba; Department of Clinical Investigations, Center of Isotopes, Cuba.
| | - Carlos A Sanchez-Catasus
- Department of Neurology, Clínica Universidad de Navarra, Spain; Department of Nuclear Medicine and Molecular Imaging, University of Groningen, University Medical Center Groningen, Hanzeplein 1, 9713 GZ Groningen, the Netherlands.
| | - Gavin P Winston
- Division of Neurology, Department of Medicine, Queen's University, Canada; Centre for Neuroscience Studies, Queen's University, Canada.
| |
Collapse
|
7
|
Amiri M, Aghaeinia H, Amindavar HR. Automatic epileptic seizure detection in EEG signals using sparse common spatial pattern and adaptive short-time Fourier transform-based synchrosqueezing transform. Biomed Signal Process Control 2023. [DOI: 10.1016/j.bspc.2022.104022] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 10/15/2022]
|
8
|
Supervised Machine Learning and Deep Learning Techniques for Epileptic Seizure Recognition Using EEG Signals-A Systematic Literature Review. BIOENGINEERING (BASEL, SWITZERLAND) 2022; 9:bioengineering9120781. [PMID: 36550987 PMCID: PMC9774931 DOI: 10.3390/bioengineering9120781] [Citation(s) in RCA: 6] [Impact Index Per Article: 3.0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Figures] [Subscribe] [Scholar Register] [Received: 08/26/2022] [Revised: 10/07/2022] [Accepted: 10/11/2022] [Indexed: 12/13/2022]
Abstract
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.
Collapse
|