1
|
Wang J, Sun M, Huang W. Unsupervised EEG-Based Seizure Anomaly Detection with Denoising Diffusion Probabilistic Models. Int J Neural Syst 2024; 34:2450047. [PMID: 38864575 DOI: 10.1142/s0129065724500473] [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] [Indexed: 06/13/2024]
Abstract
While many seizure detection methods have demonstrated great accuracy, their training necessitates a substantial volume of labeled data. To address this issue, we propose a novel method for unsupervised seizure anomaly detection called SAnoDDPM, which uses denoising diffusion probabilistic models (DDPM). We designed a novel pipeline that uses a variable lower bound on Markov chains to identify potential values that are unlikely to occur in anomalous data. The model is first trained on normal data, then anomalous data is input to the trained model. The model resamples the anomalous data and converts it to normal data. Finally, the presence of seizures can be determined by comparing the before and after data. Moreover, the input 2D spectrograms are encoded into vector-quantized representations, which enables powerful and efficient DDPM while maintaining its quality. Experimental comparisons on the publicly available datasets, CHB-MIT and TUH, show that our method delivers better results, significantly reduces inference time, and is suitable for deployment in a clinical environments. As far as we are aware, this is the first DDPM-based method for seizure anomaly detection. This novel approach significantly contributes to the progression of seizure detection algorithms, thereby augmenting their practicality in clinical settings.
Collapse
Affiliation(s)
- Jiale Wang
- School of Information Science and Engineering, Shandong Normal University, Jinan, P. R. China
| | - Mengxue Sun
- School of Information Science and Engineering, Shandong Normal University, Jinan, P. R. China
| | - Wenhui Huang
- School of Information Science and Engineering, Shandong Normal University, Jinan, P. R. China
| |
Collapse
|
2
|
Liu C, Chen W, Li M. A hybrid EEG classification model using layered cascade deep learning architecture. Med Biol Eng Comput 2024; 62:2213-2229. [PMID: 38507121 DOI: 10.1007/s11517-024-03072-5] [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: 09/19/2023] [Accepted: 03/11/2024] [Indexed: 03/22/2024]
Abstract
The problem of multi-class classification is always a challenge in the field of EEG (electroencephalogram)-based seizure detection. The traditional studies focus on computing or learning a set of features from EEG to distinguish between different patterns. However, the extraction of characteristic information becomes increasingly difficult as the number of EEG types increases. To address this issue, a creative EEG classification technique is proposed by employing a principal component analysis network (PCANet) coupled with phase space reconstruction (PSR) and power spectrum density (PSD). We have introduced the PSR and PSD to prepare the inputs, where dynamic and frequency information are exposed from deep within PCANet. It is remarkable that a layered cascade strategy is designed to make a powerful deep learner according to the rule of one network vs one task (OVO). The proposed method has achieved greater effects than the individual models and shown superior performance in comparison with state-of-the-art algorithms, which present 98.0% of sensitivity, 99.90% of specificity, and 99.07% of accuracy. Our ensemble PCANet model works in an assembly line-like manner, obviating the need for hand-craft features. Results demonstrate that the proposed scheme can greatly enhances the accuracy and robustness of seizure detection from EEG signals.
Collapse
Affiliation(s)
- Chang Liu
- College of Communication Engineering, Jilin University, Ren Min Street 5988, Changchun, China
| | - Wanzhong Chen
- College of Communication Engineering, Jilin University, Ren Min Street 5988, Changchun, China
| | - Mingyang Li
- College of Communication Engineering, Jilin University, Ren Min Street 5988, Changchun, China.
| |
Collapse
|
3
|
Gill TS, Zaidi SSH, Shirazi MA. Attention-based deep convolutional neural network for classification of generalized and focal epileptic seizures. Epilepsy Behav 2024; 155:109732. [PMID: 38636140 DOI: 10.1016/j.yebeh.2024.109732] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Journal Information] [Submit a Manuscript] [Subscribe] [Scholar Register] [Received: 06/09/2023] [Revised: 02/03/2024] [Accepted: 02/27/2024] [Indexed: 04/20/2024]
Abstract
Epilepsy affects over 50 million people globally. Electroencephalography is critical for epilepsy diagnosis, but manual seizure classification is time-consuming and requires extensive expertise. This paper presents an automated multi-class seizure classification model using EEG signals from the Temple University Hospital Seizure Corpus ver. 1.5.2. 11 features including time-based correlation, time-based eigenvalues, power spectral density, frequency-based correlation, frequency-based eigenvalues, sample entropy, spectral entropy, logarithmic sum, standard deviation, absolute mean, and ratio of Daubechies D4 wavelet transformed coefficients were extracted from 10-second sliding windows across channels. The model combines multi-head self-attention mechanism with a deep convolutional neural network (CNN) to classify seven subtypes of generalized and focal epileptic seizures. The model achieved 0.921 weighted accuracy and 0.902 weighted F1 score in classifying focal onset non-motor, generalized onset non-motor, simple partial, complex partial, absence, tonic, and tonic-clonic seizures. In comparison, a CNN model without multi-head attention achieved 0.767 weighted accuracy. Ablation studies were conducted to validate the importance of transformer encoders and attention. The promising classification results demonstrate the potential of deep learning for handling EEG complexity and improving epilepsy diagnosis. This seizure classification model could enable timely interventions when translated into clinical practice.
Collapse
Affiliation(s)
- Taimur Shahzad Gill
- Department of Electronics and Power Engineering, National University of Sciences and Technology, Islamabad 44000, Pakistan.
| | - Syed Sajjad Haider Zaidi
- Department of Electronics and Power Engineering, National University of Sciences and Technology, Islamabad 44000, Pakistan.
| | - Muhammad Ayaz Shirazi
- Department of Electronics and Power Engineering, National University of Sciences and Technology, Islamabad 44000, Pakistan.
| |
Collapse
|
4
|
Dong X, Wen Y, Ji D, Yuan S, Liu Z, Shang W, Zhou W. Epileptic Seizure Detection with an End-to-End Temporal Convolutional Network and Bidirectional Long Short-Term Memory Model. Int J Neural Syst 2024; 34:2450012. [PMID: 38230571 DOI: 10.1142/s0129065724500126] [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] [Indexed: 01/18/2024]
Abstract
Automatic seizure detection plays a key role in assisting clinicians for rapid diagnosis and treatment of epilepsy. In view of the parallelism of temporal convolutional network (TCN) and the capability of bidirectional long short-term memory (BiLSTM) in mining the long-range dependency of multi-channel time-series, we propose an automatic seizure detection method with a novel end-to-end TCN-BiLSTM model in this work. First, raw EEG is filtered with a 0.5-45 Hz band-pass filter, and the filtered data are input into the proposed TCN-BiLSTM network for feature extraction and classification. Post-processing process including moving average filtering, thresholding and collar technique is then employed to further improve the detection performance. The method was evaluated on two EEG database. On the CHB-MIT scalp EEG database, our method achieved a segment-based sensitivity of 94.31%, specificity of 97.13%, and accuracy of 97.09%. Meanwhile, an event-based sensitivity of 96.48% and an average false detection rate (FDR) of 0.38/h were obtained. On the SH-SDU database we collected, the segment-based sensitivity of 94.99%, specificity of 93.25%, and accuracy of 93.27% were achieved. In addition, an event-based sensitivity of 99.35% and a false detection rate of 0.54/h were yielded. The total detection time consumed for 1[Formula: see text]h EEG data was 5.65[Formula: see text]s. These results demonstrate the superiority and promising potential of the proposed method in real-time monitoring of epileptic seizures.
Collapse
Affiliation(s)
- Xingchen Dong
- School of Integrated Circuits, Shandong University, Jinan 250100, P. R. China
- Shenzhen Institute of Shandong University, Shenzhen 518057, P. R. China
| | - Yiming Wen
- School of Integrated Circuits, Shandong University, Jinan 250100, P. R. China
- Shenzhen Institute of Shandong University, Shenzhen 518057, P. R. China
| | - Dezan Ji
- School of Integrated Circuits, Shandong University, Jinan 250100, P. R. China
- Shenzhen Institute of Shandong University, Shenzhen 518057, P. R. China
| | - Shasha Yuan
- School of Computer Science, Qufu Normal University, Rizhao 276826, P. R. China
| | - Zhen Liu
- Second Hospital of Shandong University, Jinan 250100, P. R. China
| | - Wei Shang
- Second Hospital of Shandong University, Jinan 250100, P. R. China
| | - Weidong Zhou
- School of Integrated Circuits, Shandong University, Jinan 250100, P. R. China
- Shenzhen Institute of Shandong University, Shenzhen 518057, P. R. China
| |
Collapse
|
5
|
Han Z, Huang W. Arbitrary scale super-resolution diffusion model for brain MRI images. Comput Biol Med 2024; 170:108003. [PMID: 38262200 DOI: 10.1016/j.compbiomed.2024.108003] [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: 08/25/2023] [Revised: 12/22/2023] [Accepted: 01/13/2024] [Indexed: 01/25/2024]
Abstract
Given the constraints posed by hardware capacity, scan duration, and patient cooperation, the reconstruction of magnetic resonance imaging (MRI) images emerges as a pivotal aspect of medical imaging research. Currently, deep learning-based super-resolution (SR) methods have been widely discussed in medical image processing due to their ability to reconstruct high-quality, high resolution (HR) images from low resolution (LR) inputs. However, most existing MRI SR methods are designed for specific magnifications and cannot generate MRI images at arbitrary scales, which hinders the radiologists from fully visualizing the lesions. Moreover, current arbitrary scale SR methods often suffer from issues like excessive smoothing and artifacts. In this paper, we propose an Arbitrary Scale Super-Resolution Diffusion Model (ASSRDM), which combines implicit neural representation with the denoising diffusion probabilistic model to achieve arbitrary-scale, high-fidelity medical images SR. Moreover, we formulate a continuous resolution regulation mechanism, comprising a multi-scale LR guidance network and a scaling factor. The scaling factor finely adjusts the resolution and dynamically influences the weighting of LR details and synthesized features in the final output. This capability allows the model to seamlessly adapt to the requirements of continuous resolution adjustments. Additionally, the multi-scale LR guidance network provides the denoising block with multi-resolution LR features to enrich texture information and restore high-frequency details. Extensive experiments conducted on the IXI and fastMRI datasets demonstrate that our ASSRDM exhibits superior performance compared to existing techniques and has tremendous potential in clinical practice.
Collapse
Affiliation(s)
- Zhitao Han
- School of Information Science and Engineering, Shandong Normal University, Jinan, 250358, China
| | - Wenhui Huang
- School of Information Science and Engineering, Shandong Normal University, Jinan, 250358, China.
| |
Collapse
|
6
|
Yousif MAA, Ozturk M. Deep Learning-Based Classification of Epileptic Electroencephalography Signals Using a Concentrated Time-Frequency Approach. Int J Neural Syst 2023; 33:2350064. [PMID: 37830300 DOI: 10.1142/s0129065723500648] [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] [Indexed: 10/14/2023]
Abstract
ConceFT (concentration of frequency and time) is a new time-frequency (TF) analysis method which combines multitaper technique and synchrosqueezing transform (SST). This combination produces highly concentrated TF representations with approximately perfect time and frequency resolutions. In this paper, it is aimed to show the TF representation performance and robustness of ConceFT by using it for the classification of the epileptic electroencephalography (EEG) signals. Therefore, a signal classification algorithm which uses TF images obtained with ConceFT to feed the transfer learning structure has been presented. Epilepsy is a common neurological disorder that millions of people suffer worldwide. Daily lives of the patients are quite difficult because of the unpredictable time of seizures. EEG signals monitoring the electrical activity of the brain can be used to detect approaching seizures and make possible to warn the patient before the attack. GoogLeNet which is a well-known deep learning model has been preferred to classify TF images. Classification performance is directly related to the TF representation accuracy of the ConceFT. The proposed method has been tested for various classification scenarios and obtained accuracies between 95.83% and 99.58% for two and three-class classification scenarios. High results show that ConceFT is a successful and promising TF analysis method for non-stationary biomedical signals.
Collapse
Affiliation(s)
- Mosab A A Yousif
- Department of Biomedical Engineering, Institute of Graduate Studies, Istanbul University-Cerrahpasa, Istanbul, Turkey
- Department of Electronics Engineering, University of Gezira, Wad-Madani, Sudan
| | - Mahmut Ozturk
- Department of Electrical and Electronics Engineering, Engineering Faculty, Istanbul University-Cerrahpasa, Istanbul, Turkey
| |
Collapse
|
7
|
Sun M, Wang J, Gong Q, Huang W. Enhancing gland segmentation in colon histology images using an instance-aware diffusion model. Comput Biol Med 2023; 166:107527. [PMID: 37778210 DOI: 10.1016/j.compbiomed.2023.107527] [Citation(s) in RCA: 2] [Impact Index Per Article: 2.0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 03/30/2023] [Revised: 08/17/2023] [Accepted: 09/19/2023] [Indexed: 10/03/2023]
Abstract
In pathological image analysis, determination of gland morphology in histology images of the colon is essential to determine the grade of colon cancer. However, manual segmentation of glands is extremely challenging and there is a need to develop automatic methods for segmenting gland instances. Recently, due to the powerful noise-to-image denoising pipeline, the diffusion model has become one of the hot spots in computer vision research and has been explored in the field of image segmentation. In this paper, we propose an instance segmentation method based on the diffusion model that can perform automatic gland instance segmentation. Firstly, we model the instance segmentation process for colon histology images as a denoising process based on a diffusion model. Secondly, to recover details lost during denoising, we use Instance Aware Filters and multi-scale Mask Branch to construct global mask instead of predicting only local masks. Thirdly, to improve the distinction between the object and the background, we apply Conditional Encoding to enhance the intermediate features with the original image encoding. To objectively validate the proposed method, we compared several state-of-the-art deep learning models on the 2015 MICCAI Gland Segmentation challenge (GlaS) dataset (165 images), the Colorectal Adenocarcinoma Glands (CRAG) dataset (213 images) and the RINGS dataset (1500 images). Our proposed method obtains significantly improved results for CRAG (Object F1 0.853 ± 0.054, Object Dice 0.906 ± 0.043), GlaS Test A (Object F1 0.941 ± 0.039, Object Dice 0.939 ± 0.060), GlaS Test B (Object F1 0.893 ± 0.073, Object Dice 0.889 ± 0.069), and RINGS dataset (Precision 0.893 ± 0.096, Dice 0.904 ± 0.091). The experimental results show that our method significantly improves the segmentation accuracy, and the experiment results demonstrate the efficacy of the method.
Collapse
Affiliation(s)
- Mengxue Sun
- School of Information Science and Engineering, Shandong Normal University, Jinan, 250358, China
| | - Jiale Wang
- School of Information Science and Engineering, Shandong Normal University, Jinan, 250358, China
| | - Qingtao Gong
- Ulsan Ship and Ocean College, Ludong University, Yantai, 264025, China
| | - Wenhui Huang
- School of Information Science and Engineering, Shandong Normal University, Jinan, 250358, China.
| |
Collapse
|