Performance measurement · Research feature

High-performance prediction of epilepsy surgical outcomes based on the genetic neural networks and hybrid iEEG marker

A study shows a genetic neural network using hybrid iEEG markers improves prediction accuracy of epilepsy surgery outcomes by 7 percentage points.

Adapted from research by Sun L, Feng C, Zhang E and colleagues.

Journal publication · 2024-03-14 · Attribution & reuse
In this article
Editorial illustration of aperture mechanism.

Editor’s introduction

The study evaluated the predictive performance of a genetic neural network (GNN) model using a hybrid intracranial electroencephalography (iEEG) marker derived from 21 seizure onset zone-related biomarkers. The hybrid marker was constructed using LASSO regression to select seven key markers from a set of 21, then integrated into a GNN model for surgical outcome prediction. This model outperformed six mainstream machine learning approaches, achieving 94.3% accuracy compared to an average of 87% in the control models (P = 0.0412). The improvement was observed both with single and combined marker inputs, with high-gamma spectral features showing strong performance in isolated use. The results suggest that the GNN model, when paired with the hybrid marker, effectively captures complex relationships among clinical variables.

Introduction

Epilepsy, a debilitating neurological disorder, affects an estimated 60 million people worldwide and approximately 30% of those affected suffer from drug-resistant epilepsy (DRE). Successful surgical intervention provide better seizure control and overall quality of life compared to medication. However, the success rate of the epilepsy surgery was only 70% for adult. Central to the success of surgical interventions is the accurate identification of the seizure onset zone (SOZ). By accurately identifying the SOZ, physicians can surgically target and remove or disrupt the brain regions generating these abnormal activities, effectively reducing the frequency and severity of seizures. Moreover, localizing the SOZ helps prevent damage to healthy brain tissue, preserving the patient’s neurological function and cognitive abilities to the greatest extent possible. Therefore, for patients with drug-resistant epilepsy, precise localization of the SOZ is fundamental and a critical step in surgical treatment. This process necessitates neuroimaging assessments and localization techniques to ensure optimal therapeutic outcomes and patient safety, ultimately improving the quality of life for individuals living with epilepsy,. However, it is difficult to identify SOZ due to the high complexity of the brain network and the variability of epilepsy manifestations,.

A number of EEG markers have been employed to localize the SOZ. These markers are mainly established based on frequency band power analysis, functional connectivity analysis, and graph theory. For example, High-frequency oscillations (HFOs), those higher than 100 Hz, have emerged as excellent surgical marker due to its contribution to the precise localization of SOZ–. In addition, functional connectivity analysis has also gained popularity as a strategy for identifying the SOZ. This approach allows researchers to map out the SOZ by observing alterations in brain activity pre-seizure and post-seizure and analyzing the functional connectivity of electrical signals across various brain nodes. Pearson’s correlation coefficient is often regarded as a measurement marker of intracranial functional connection. Recently, the principle of neural fragility, which hypothesizes that epilepsy results from the disruption of the brain’s stable connectivity, is leveraged to pinpoint the SOZ. Moreover, graph theory is utilized to gauge alterations in brain network connectivity–. Some graph theory constructs, including eigenvector centrality and betweenness centrality, have been used to detect the SOZ,. Graph theory have also been applied to high-frequency oscillation analysis, and exhibits high performance in identifying the SOZ. It should be noted that, however, most of the above studies only focus on a single marker and the precision of individual markers for predicting and delineating the SOZ is often restricted, given their basis on specific assumptions and the variable recognition efficiency tied to patient-specific traits and distinct datasets. Faced with the high complexity and variability of epilepsy manifestations, it is necessary to identify the most suitable model tailored to the characteristics of iEEG data. Hence, the incorporation of diverse markers and development of an effective mathematical model is of paramount importance.

In this study, by combining the hybrid iEEG markers, we developed a predictive neural network model based on genetic algorithms, which is GNN. We compared its predictive capacity for surgery outcomes with that of six other mainstream machine learning methods, including logistic regression (LR), decision tree (DT), backpropagation neural network (BPNN), support vector machine (SVM), naive bayes model (NBM), and k-nearest neighbor (KNN)–. Specifically, based on the analysis of the iEEG data from 79 epilepsy patients, we selected seven exceptional markers from 21 SOZ identification markers, including neural fragility and 6 spectral-based features and combined them into a hybrid SOZ related marker. Leveraging the GNN model based on genetic algorithms, we formed an internal quantitative relationship between the hybrid marker characteristics and surgical outcomes in epilepsy patients. As the result, this model predicted surgery outcomes with an accuracy of over 94%, showing substantial benefit to clinical surgeries with ordinarily low success rates of 30–70%. A series of comparisons revealed superior performance of the GNN over traditional machine learning models when utilizing both hybrid and single markers, and improved performance when hybrid markers was employed various machine learning models relative to single markers.

Twenty-one SOZ markers

The fragility of neural nodes can be quantified using high-resolution EEG technology to identify the SOZ. Centrality, a graph theory concept, is also used in this study. It describes the importance of each node in the network based on the correlation of different nodes. Two different modes of centrality are used in this study: degree and eigenvector centralities,, which describe the importance of nodes in various ways and help distinguish the seizure area from other areas. The centrality is calculated based on the correlation coefficient and coherence of EEG data. The correlation coefficient is applied to time domain signals, whereas coherence measures the relevance between node signals in the frequency domain. EEG data are transformed from the time domain to the frequency domain by Fourier transformation and then subjected to the spectrum analysis. Based on the six spectral-based features of EEG (such as the beta band ranging from 13 to 30 Hz and high-gamma > 90 Hz), the average values are taken in a small-time window to obtain the brain energy changes. Please refer to the Method section for the formulae used for calculating the aforementioned markers.

Discussion

In this study, we have undertaken an exhaustive comparison of common and SOZ related hybrid iEEG markers across a range of machine learning models, with a specific focus on their effectiveness in predicting successful epilepsy surgical outcomes. Our findings reveals that the GNN, underpinned by hybrid markers, achieves an impressive accuracy of over 94%, surpassing other models by more than 6.59% (P = 0.0412). This remarkable accuracy is achieved using the GNN model paired with hybrid markers, whether in singular or combined feature. In the single marker prediction, the spectral feature of high-gamma band has great performance, which is consistent with the current mainstream concepts such as the influence of high-frequency oscillation on epilepsy, suggesting that high-frequency band (> 90 Hz) cannot be ignored in the study of epilepsy origin–.

Epilepsy surgery is crucial for treating patients with drug-resistant epilepsy, and improving the success rate of surgery is of utmost importance. Even a small increase in prediction accuracy would represent a significant step forward. Numerous researchers have proposed various SOZ localization markers and epilepsy localization models to facilitate the assessment of the feasibility and efficacy of surgical plans by clinicians before surgery. Some of them also utilize machine learning models to predict surgical outcomes, achieving accuracy rates ranging from 60 to 95%,,. Our accuracy surpasses the results reported in the majority of these research studies. Particularly noteworthy is that studies employing hybrid label-driven machine learning models consistently demonstrated strong performance on their own datasets, affirming the viability and effectiveness of this approach,. Our study presents a comprehensive “combination boxing” approach with an impressive prediction accuracy of 94.30%. With the incorporation of additional data, markers, or machine learning models, we can further enhance the precision of our predictions using this method.

Machine learning is an effective tool for recognizing data patterns with unclear mechanisms. However, training an unimproved machine learning model may yield inadequate results. Our GNN model differs from other mainstream machine learning models due to the utilization of genetic algorithm, which trains and optimizes neural network parameters through evolutionary processes, rather than relying solely on gradient-based optimization methods. This enables GNN model to effectively capture complex relationships within the data, enhancing its capability to handle nonlinear relationships and high-dimensional data. The significant improvement in prediction accuracy of GNN model is a result of the synergistic interaction between its unique neural network functionality and integrated genetic algorithm. In this study, we compare the performance of a common neural network with that of a GNN. GNN outperformed in both single-marker and hybrid-marker scenarios. In particular, the GNN achieve an accuracy of 75.68% for a single marker and 94.30% for hybrid markers, whereas the common neural network achieved an accuracy of only 73.18% for a single marker and 85.70% for hybrid markers. Notably, the author of the fragility work also use deformation models of traditional random forests to predict surgical outcomes, whereas we propose a genetic algorithm-based neural network that can expand the range of machine learning models with efficient prediction ability.

Currently, the inadequate availability of high-quality data and incomplete surgical information are major obstacles to accurately predicting epilepsy surgery outcomes. Our study data are from the open data repository,. These samples, originating from various studies, may be subject to factors such as collection methods, selection biases, or publication biases. While the sample size in our epilepsy SOZ recognition field may be deemed acceptable, it may still be insufficient for a large-scale model training purpose. The scarcity of data makes it challenging to apply large-scale models and use high-dimensional inputs, which in turn complicates the validation of the reliability of each SOZ marker in other study. Insufficient data not only relates to the current state of surgical treatment but also presents ethical considerations in medical practice. Furthermore, SOZ markers from different perspectives rely on their assumptions and unpublished data, complicating the replication of previous studies and making it difficult to evaluate the reliability of these markers.

Our manuscript delineates a study employing an approach combining multiple markers and machine learning models, applied to iEEG data to explore the potential for localizing SOZ and predicting surgical outcomes. Our findings stem from real clinical surgical samples across various studies, integrating 21 markers and 7 machine learning models. Considering factors such as sample representativeness, external validity, clinical relevance, and potential limitations affecting generalizability, we believe the credibility and persuasiveness of our research outcomes. However, in no way are we proposing that the direct clinical application of these algorithms or models. Instead, our discovery suggests that the integration of hybrid marker with the GNN model can more effectively identify SOZ and assist in predicting surgical outcomes, underscoring the need for caution when applying singular marker and machine learning models in clinical settings.

Our study has revealed a proliferation of various SOZ identification markers, offering new possibilities for clinical translation. We have proposed an innovative approach, termed the “combination boxing” method, which involves constructing hybrid markers and integrating refined machine learning models. This method holds promise in consolidating diverse markers to leverage their strengths, thereby enhancing identification accuracy and predictive performance. Moreover, we plan to investigate alternative data collection channels to maximize resource utilization, thus bolstering the credibility and impact of our study. Concurrently, we will engage in discussions regarding future research directions to further evaluate the applicability of our findings in clinical practice.

Data processing

All the iEEG data are resampled to 512 Hz, notch filtered at 60 Hz with a cut-off window of 2 Hz, and band-pass-filtered between 0.5 Hz and the Nyquist frequency with a fourth-order Butterworth filter. All markers from 30 s before the onset of seizure to the end are calculated by discrete time windows. And these time windows are set differently for different markers. Specifically, the time window of neutral fragility is 250 ms with 125 ms as the moving step, while that of other markers is 2.5 s with 500 ms as the step size,. Furthermore, in each time window, the calculation results of other markers except the related marks of feature vector centrality are normalized, to improve the accuracy of the machine learning models used subsequently.

spectral-based features

The frequency bands for brain waves are strict, and different frequency bands correspond to different functional states of the brain. We divided the frequency bands into the following categorizations: Delta frequency band: 0.5–4 Hz; Theta frequency band: 4–8 Hz; Alpha frequency band: 8–13 Hz; Beta frequency band: 13–30 Hz; Gamma frequency band: 30–90 Hz; High-gamma frequency band: > 90 Hz. Notably, HFOs are included in the high-gamma frequency band.

Under the frequency signal, we consider the average value of each electrode as the spectral-based features in different time windows and then normalize them (Eq. 4). This normalization method is employed to prepare an electrode with a larger value that becomes a part of SOZ and an isotropic agent with the significance of other markers.

Feature extraction

Each marker first needs to undergo feature extraction to use it as an input for the model and is represented as a two-dimensional data matrix consisting of time and electrode channels. To facilitate feeding the features into machine learning models, we perform dimension reduction by the following two steps. First, to extract 20 quantiles, we regard the surgical resection area marked in the dataset as SOZ and the remaining as SOZc. We accumulate the marker values of the SOZ and SOZc channels in each time dimension and then extract 10 quantiles of each channel in the time sequence respectively to obtain 20 values (the first 10 are SOZ and the last 10 are SOZc). Secondly, for the principal component analysis. We obtain the principal components from 20 values using 85% as the threshold of cumulative contribution rate. In this way, we have achieved dimensionality reduction for each marker.

Mainstream machine-learning models

The training of each model is divided into the training set (70%), the test set (10%) and the verification set (20%, it can also be called lock-box set). In the training set, 20% cross-validation and weight adjustment of the loss function are employed to prevent over-fitting. After training, the accuracy of the model is calculated in the training-test and verification sets. All 147 combined models are trained 10 times, and the training-test sets are re-divided for each training session and the verification set is fixed. Finally, the average accuracy of the model in the training-test set and the average accuracy in the verification set are calculated. The training mode of the hybrid feature model is the same as above.

Statistics analysis

McNemar’s test is employed to compare the surgical prediction accuracy among these models. This test is particularly suitable for comparing the performance of models using the same dataset. Delong’s test is used to assess the significance of the ROC curve. This test helps determine whether there are significant differences in the performance of the models based on the ROC curve analysis. Furthermore, the Mann–Whitney U test investigates whether there is any influence of gender and dominant hand on the prediction ability of the model. This test allows us to determine if there are any statistically significant differences in the model’s performance based on these factors. A significance level of P < 0.05 is considered to indicate statistical significance. All the statistical analyses are conducted using Python version 3.9.