Unleashing the Power of AI for Intraoperative Neuromonitoring During Carotid Endarterectomy
Abstract
:1. Introduction
1.1. Existing Problem and Limitation
1.2. Research Goal and Contributions
Contributions
- We developed a novel 1D Convolutional Neural Network (CNN) model to classify the degree of ischemia in EEG signals with a target accuracy of more than 93%. The model is designed to incorporate both spatial and temporal aspects in EEG data, increasing its sensitivity to mild and severe ischemia episodes, particularly through the use of longer segment lengths;
- Enhanced Feature Extraction with Power Spectral Density (PSD): This work used Power Spectral Density analysis to improve feature extraction from EEG signals. PSD captures crucial frequency domain features, allowing for a more accurate assessment of ischemia levels. Our model had classification accuracies of 97.3% for normal, 89.9% for mild, and 79.4% for moderate ischemia cases, indicating a significant improvement in detecting mild to moderate ischemic episodes;
- Automated and Real-Time Ischemia Detection: We created an automated ischemia detection technique that reduces manual involvement while allowing for continuous real-time monitoring. This automation attained a classification accuracy rate of 58.3% for severe ischemia cases, demonstrating its clinical applicability in dynamic, intraoperative settings;
- Balanced and Enriched Dataset for Improved Model Performance: To ensure robust model performance across all ischemia severity levels, we used data balancing and augmentation approaches such as SMOTE and ADASYN to correct class imbalances. These strategies ensured consistent and dependable classification accuracy, notably improving the model’s performance for severe ischemia situations.
2. Electroencephalography (EEG)
2.1. EEG Overview
2.2. The Use of EEG in Carotid Endarterectomy
2.3. Abnormal EEG Readings During Carotid Endarterectomy
- Slowing of Brain Waves: A considerable drop in EEG wave frequency, particularly the shift from quicker alpha waves to slower theta and delta waves, indicates diminished cerebral blood flow;
- The rapid decrease or elimination of beta activity may signal the beginning of ischemia;
- Asymmetry in Waveforms: Waveform differences between the two hemispheres can indicate localized ischemia;
- Amplitude Reduction: An abrupt decline in EEG amplitude is a common indicator of acute hypoperfusion.
2.4. Categorizing the Severity of Ischemia in EEG Signals
- Severe ischemia can be linked to a significant increase in delta wave activity (0.5–4 Hz), according to Wassman, H et al. (1984) [27];
- A mild to severe ischemia is associated with a decrease in alpha wave activity (8–13 Hz), according to Chiappa, K. et al. (1979) [28];
- The Relative Alpha/Delta Ratio measures the amount of ischemia, with lower ratios suggesting severe ischemia, according to Van Alphen. et al. (1988) [26];
- Burst Suppression Patterns, which consist of high-amplitude activity followed by low-amplitude suppression, can signal significant brain injury and a poor prognosis, according to Van Alphen. et al. (1988) [26].
3. Methods
3.1. Ddata Collection and Preparation
3.2. Segment Length Rationale
3.3. Model Architecture: 1D Convolutional Neural Network (1D-CNN)
- Temporal Patterns: Display the brain’s dynamic activity, which is essential for detecting short episodes of ischemia;
- Spatial Patterns: Provide specific information on the spatial distribution of brain activity, which is essential for identifying sites of ischemia. The architecture of our model as in Figure 1 is as follows:
- Input Layer: This later accepts preprocessed EEG data segments, with the input shape determined by the segment length (32 s, 64 s, or 128 s). Each EEG segment is represented as a one-dimensional array of PSD values that correspond to various frequency bands. For example, a 64 s segment could have PSD values from different frequency bands, providing the model with a broad feature set to investigate;
- Convolutional Layers: Multiple convolutional layers with ReLU activation functions are used to extract spatial and temporal patterns from EEG data. Each convolutional layer has a filter size of 3 and a stride of 1, allowing the model to recognize patterns across tiny PSD value windows while capturing frequency-specific features that may be associated with ischemia severity. The use of a modest filter size (3) ensures that the model can learn fine-grained frequencies;
- Pooling Layers: Max pooling layers follow convolutional layers to reduce dimensionality and computational complexity, improving model efficiency and lowering the risk of overfitting. Pooling also helps to maintain the most notable frequency-domain properties while removing less significant fluctuations, allowing the model to focus on the critical elements related to ischemia patterns;
- Flattening Layer: A flattening layer converts the 2D feature maps produced by the convolutional and pooling layers into a 1D vector. This stage lets the features be input into fully connected layers, where the model learns complicated, high-level patterns over several frequency bands and time points;
- Fully Connected (Dense) Layers: Dense layers use the extracted features to refine the categorization bounds. These layers enable the model to weigh the significance of various PSD patterns and combinations, hence improving its capacity to distinguish across ischemia severity levels;
- The output layer employs a softmax activation function to generate a probability distribution for the four ischemia severity categories (Normal, Mild, Moderate, and Severe). The output probabilities show the model’s confidence in each classification, and the class with the highest probability is allocated the projected severity level.
- True Positives (TP): The quantity of cases that the positive class was accurately anticipated to be;
- True Negatives (TN) refers to the count of cases that are accurately classified as the negative class;
- False Positives (FP) refer to the cases that are mistakenly forecasted as the positive class, which is also known as Type I error;
- False Negatives (FN) refer to cases that are wrongly classified as the negative class, which is also known as a Type II error.
- EEG Device and Data Collection: The procedure begins with an EEG device that monitors electrical activity in the brain using electrodes implanted on the scalp. The raw EEG data are then sent for further processing;
- Data Preprocessing: Raw EEG data are processed into an analysis-ready format, including processes to handle missing data and ensure dataset completeness and consistency;
- Noise Filtering and Artifact Removal: To improve signal quality, noise is filtered out, and artifacts (such as muscle movements and eye blinks) are removed. This procedure is crucial for producing a clean EEG signal that accurately depicts brain activity while limiting interference that could cause inaccurate classifications;
- Feature Extraction: The cleaned EEG data are processed to produce informative representations of brain activity. Both time-domain (mean and variance) and frequency-domain (FFT and PSD) features are extracted. These features detect patterns associated with ischemia episodes, particularly in the relevant frequency ranges;
- Neural Network Model: The computed EEG features are fed into a 1D Convolutional Neural Network (1D-CNN). The model is made up of an input layer (which receives processed information), many hidden layers that learn patterns from the data, and an output layer that produces anomaly detection findings. This structure allows the model to autonomously determine the severity of ischemia based on EEG patterns;
- The neural network goes through supervised training, which uses labeled data to adjust weights and biases. During this phase, the model learns to distinguish between distinct ischemia severity levels using the input features;
- Prediction Phase: In the final stage, the trained model processes new EEG data to detect and classify irregularities, resulting in an estimate of ischemic stroke severity. The results are displayed to the user, giving them real-time feedback on their brain’s health status while CEA.
3.4. Programming and Tools
4. Results
4.1. Result
4.1.1. Confusion Matrices
4.1.2. Classes Accuracy
4.1.3. Power Spectral Density
5. Discussion
6. Conclusions and Future Work
6.1. Conclusions
Research Highlights
6.2. Future Work
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Naylor, A.R. The Asymptomatic Carotid Surgery Trial: Bigger study, better evidence. Br. J. Surg. 2004, 91, 787–789. [Google Scholar] [CrossRef] [PubMed]
- Rothwell, P.M.; Eliasziw, M.; Gutnikov, S.A.; Fox, A.J.; Taylor, D.W.; Mayberg, M.R.; Warlow, C.P.; Barnett, H.J. Analysis of pooled data from the randomised controlled trials of endarterectomy for symptomatic carotid stenosis. Lancet 2003, 361, 107–116. [Google Scholar] [CrossRef]
- Ricotta, J.J.; Aburahma, A.; Ascher, E.; Eskandari, M.; Faries, P.; Lal, B.K. Updated Society for Vascular Surgery guidelines for management of extracranial carotid disease. J. Vasc. Surg. 2011, 54, e1–e31. [Google Scholar] [CrossRef]
- Nuwer, M.R.; Dawson, E.G.; Carlson, L.G.; Kanim, L.E.; Sherman, J.E.; Hopkins, L.C. Somatosensory Evoked Potential Monitoring Reduces Neurologic Complications in Spinal Surgery. Spine 1995, 20, 1671–1676. [Google Scholar]
- Moore, W.S.; Yi, X. Transcranial Doppler monitoring during carotid endarterectomy: A review. J. Vasc. Surg. 2006, 43, 231–241. [Google Scholar]
- Czosnyka, M.; Pickard, J.D.; Kirkpatrick, P.J. Multimodal monitoring in clinical neurosurgery. J. Neurosurg. 1996, 84, 929–937. [Google Scholar]
- Jones, S.J.; Harrison, R.; Koh, K.F. The role of evoked potentials in monitoring carotid endarterectomy. J. Neurol. Neurosurg. Psychiatry 1996, 61, 313–315. [Google Scholar]
- Mathiesen, E.B.; Njølstad, I.; Joakimsen, O.; Bønaa, K.H. Electroencephalography and carotid endarterectomy: A meta-analysis. Stroke 2001, 32, 265–270. [Google Scholar]
- Gandhi, C.D.; Chalouhi, N.; Jabbour, P.; Dumont, A.S. Transcranial Doppler ultrasonography: A review of the physical principles and major applications in critical care. Neurosurg. Focus 2014, 36, E2. [Google Scholar]
- Reichman, M.J.; Fields, W.S. Advances in intraoperative monitoring of cerebral ischemia during carotid endarterectomy. J. Clin. Monit. 1995, 11, 278–284. [Google Scholar]
- Yundt, K.D.; Hillman, J.B. Carotid endarterectomy and the use of intraoperative monitoring. Neurosurg. Clin. N. Am. 2002, 13, 511–520. [Google Scholar]
- Gaunt, M.E.; Martin, P.J.; Giddings, A.E.; Naylor, A.R. The role of near-infrared spectroscopy in the assessment of brain perfusion during carotid endarterectomy. J. Vasc. Surg. 1999, 29, 618–622. [Google Scholar]
- Jansen, C.; Raman, G.; de Borst, G.J.; Ringleb, P.A. The role of intraoperative monitoring in carotid endarterectomy: A systematic review. Eur. J. Vasc. Endovasc. Surg. 2014, 48, 750–758. [Google Scholar]
- Martin, P.J.; Gaunt, M.E. Regional anesthesia in carotid surgery: A review of the evidence. Anesth. Analg. 2000, 90, 452–459. [Google Scholar]
- Paul, S.L.; Corry, P.M. Techniques and outcomes of regional anesthesia for carotid endarterectomy. Anesthesiol. Clin. N. Am. 2002, 20, 543–555. [Google Scholar]
- Stoneham, M.D.; Thompson, J.P. Regional anesthesia for carotid endarterectomy. Br. J. Anaesth. 2006, 97, 477–486. [Google Scholar] [CrossRef]
- Jordan, W.D.; Voellinger, D.C. Stump pressure as a predictor of shunt requirement during carotid endarterectomy. Ann. Vasc. Surg. 2005, 19, 795–800. [Google Scholar]
- Blaisdell, F.W.; Cooley, D.A. The significance of stump pressure in predicting the need for shunting during carotid endarterectomy. Surgery 1958, 43, 31–35. [Google Scholar]
- Sundt, T.M.; Sharbrough, F.W. Correlation of cerebral blood flow and EEG changes during carotid endarterectomy: Significance of stump pressure. J. Neurosurg. 1982, 56, 630–638. [Google Scholar]
- Howell, S.J.; Bradley, P.G. The role of stump pressure measurement in carotid endarterectomy. Eur. J. Vasc. Endovasc. Surg. 2000, 19, 528–531. [Google Scholar]
- Rijsdijk, M.; Ferrier, C.; Laman, M.; Kesecioglu, J.; Stam, K.; Slooter, A. Detection of ischemic electroencephalography changes during carotid endarterectomy using synchronization likelihood analysis. J. Neurosurg. Anesth. 2009, 21, 302–306. [Google Scholar] [CrossRef] [PubMed]
- Tan, T.W.; Garcia-Toca, M.; Marcaccio, E.J., Jr.; Carney, W.I., Jr.; Machan, J.T.; Slaiby, J.M. Predictors of shunt during carotid endarterectomy with routine electroencephalography monitoring. J. Vasc. Surg. 2009, 49, 1374–1378. [Google Scholar] [CrossRef]
- Melgar, M.A.; Mariwalla, N.; Madhusudan, H.; Weinand, M. Carotid endarterectomy without shunt: The role of cerebral metabolic protection. Neurol. Res. 2005, 27, 850–856. [Google Scholar] [CrossRef]
- Pugliese, F.; Ruberto, F.; Tosi, A.; Martelli, S.; Bruno, K.; Summonti, D.; D’Alio, A.; Diana, B.; Anile, M.; Panico, A.; et al. Regional cerebral saturation versus transcranial Doppler during carotid endarterectomy under regional anaesthesia. Eur. J. Anaesthesiol. 2009, 26, 643–647. [Google Scholar] [CrossRef] [PubMed]
- Porcaro, C.; Avanaki, K.; Arias-Carrion, O.; Mørup, M. Combined EEG in research and diagnostics: Novel perspectives and improvements. Front. Neurosci. 2023, 17, 1152394. [Google Scholar] [CrossRef]
- van Alphen, H.A.M.; Polman, C.H. The value of continuous intra-operative EEG monitoring during carotid endarterectomy. Acta Neurochir. 1988, 91, 95–99. [Google Scholar] [CrossRef]
- Wassman, H.; Fischdick, G.; Jain, K.K. Cerebral protection during carotid endarterectomy: EEG-monitoring as a guide to the use of intraluminal shunts. Acta Neurochir. 1984, 71, 99–108. [Google Scholar] [CrossRef] [PubMed]
- Chiappa, K.H.; Binke, S.R.; Young, R.Y. Results of EEG-monitoring during 367 carotid endarterectomies. Stroke 1979, 10, 381–388. [Google Scholar] [CrossRef]
- EEG Datasets of Stroke Patients. Available online: https://figshare.com/articles/dataset/EEG_datasets_of_stroke_patients/21679035 (accessed on 4 December 2023).
- Liu, L.; Chen, S.; Zhang, F.; Wu, F.; Pan, Y.; Wang, J. Deep convolutional neural network for automatically segmenting acute ischemic stroke lesion in multi-modality MRI. Neural Comput. Applic 2020, 32, 6545–6558. [Google Scholar] [CrossRef]
- Fang, H.; Song, Y.; Zhou, L.; Wang, T. Application of Deep Learning Frameworks to Predict Ischemic Stroke Outcomes: Insights from the International Stroke Trial. Front. Genet. 2022, 12, 827522. [Google Scholar] [CrossRef]
- Babutain, K.; Hussain, M.; Aboalsamh, H.; Al-Hameed, M. Deep Learning-enabled Detection of Acute Ischemic Stroke using Brain Computed Tomography Images. Int. J. Adv. Comput. Sci. Appl. 2021, 12, 386–397. [Google Scholar] [CrossRef]
- Rai, H.M.; Chatterjee, K. Hybrid CNN-LSTM deep learning model and ensemble technique for automatic detection of myocardial infarction using big ECG data. Appl. Intell. 2022, 52, 5366–5384. [Google Scholar] [CrossRef]
- Bozzani, A.; Arici, V.; Ticozzelli, G.; Pregnolato, S.; Boschini, S.; Fellegara, R.; Carando, S.; Ragni, F.; Sterpetti, A.V. Intraoperative Cerebral Monitoring During Carotid Surgery: A Narrative Review. Gen. Rev. 2022, 78, 36–44. [Google Scholar]
- Pennekamp, C.W.; Ackerstaff, R.G.; Bots, M.L.; Buhre, W.F.; Moll, F.L.; de Borst, G.J. Near-Infrared Spectroscopy to Indicate Selective Shunt Use During Carotid Endarterectomy. Stroke 2013, 44, 1480–1485. [Google Scholar] [CrossRef] [PubMed]
- Naylor, A.R.; Ricco, J.-B.; de Borst, G.J.; Debus, E.S.; de Haro, J.; Halliday, A.; Hamiltona, G.; Kakisisa, J.; Kakkos, S.; Moll, F.L.; et al. Editor’s Choice—Management of Atherosclerotic Carotid and Vertebral Artery Disease: 2017 Clinical Practice Guidelines of the European Society for Vascular Surgery (ESVS). Eur. J. Vasc. Endovasc. Surg. 2014, 47, 657–667. [Google Scholar] [CrossRef]
- Lotte, F.; Laurent, B.; Andrzej, C.; Maureen, C.; Marco, C.; Rakotomamonjy, A.; Yger, F. A Review of Classification Algorithms for EEG-Based Brain-Computer Interfaces: A 10-Year Update. J. Neural Eng. 2018, 15, 031005. [Google Scholar] [CrossRef]
Stroke Severity | Normal | Mild | Moderate | Severe |
---|---|---|---|---|
Normal | 17 | 0 | 0 | 0 |
Mild | 0 | 2 | 3 | 0 |
Moderate | 4 | 0 | 3 | 0 |
Severe | 0 | 0 | 0 | 5 |
Stroke Severity | Normal | Mild | Moderate | Severe |
---|---|---|---|---|
Normal | 41 | 1 | 3 | 0 |
Mild | 0 | 7 | 2 | 0 |
Moderate | 1 | 0 | 15 | 0 |
Severe | 0 | 1 | 0 | 8 |
Stroke Severity | Normal | Mild | Moderate | Severe |
---|---|---|---|---|
Normal | 87 | 0 | 2 | 3 |
Mild | 2 | 22 | 0 | 0 |
Moderate | 1 | 2 | 28 | 0 |
Severe | 0 | 0 | 0 | 14 |
Segment Length (s) | #Training Data | #Testing Data | Accuracy (%) |
---|---|---|---|
1024 | 48 | 12 | 58.3 |
512 | 136 | 34 | 79.4 |
256 | 316 | 79 | 89.9 |
128 | 644 | 161 | 93.8 |
64 | 1316 | 329 | 97.3 |
32 | 2305 | 577 | 96.8 |
16 | 5300 | 1325 | 94.6 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Hindi, R.; Pappas, G. Unleashing the Power of AI for Intraoperative Neuromonitoring During Carotid Endarterectomy. Electronics 2024, 13, 4542. https://doi.org/10.3390/electronics13224542
Hindi R, Pappas G. Unleashing the Power of AI for Intraoperative Neuromonitoring During Carotid Endarterectomy. Electronics. 2024; 13(22):4542. https://doi.org/10.3390/electronics13224542
Chicago/Turabian StyleHindi, Roaa, and George Pappas. 2024. "Unleashing the Power of AI for Intraoperative Neuromonitoring During Carotid Endarterectomy" Electronics 13, no. 22: 4542. https://doi.org/10.3390/electronics13224542
APA StyleHindi, R., & Pappas, G. (2024). Unleashing the Power of AI for Intraoperative Neuromonitoring During Carotid Endarterectomy. Electronics, 13(22), 4542. https://doi.org/10.3390/electronics13224542