Lee Gha-Hyun, Sung Sang Min, Choi Kwang-Dong, Kim Jiyoung, Cho Jae Wook, Kim Sang Ho
Department of Neurology, Pusan National University Hospital, Busan, South Korea; Pusan National University School of Medicine, Research Institute for Convergence of Biomedical Science and Technology, Yangsan, South Korea.
Department of Neurology, Pusan National University Hospital, Busan, South Korea; Pusan National University School of Medicine, Research Institute for Convergence of Biomedical Science and Technology, Yangsan, South Korea.
Seizure. 2025 Aug;130:59-67. doi: 10.1016/j.seizure.2025.05.007. Epub 2025 May 13.
Predicting long-term outcomes in newly diagnosed epilepsy remains limited by reliance on clinical features and visual EEG interpretation. Machine learning enhances this potential by identifying complex patterns in EEG data, as demonstrated in studies on predicting surgical outcomes and seizure initiation. However, its application to predicting ASM response in newly diagnosed epilepsy has been underexplored. This study aimed to develop a machine learning model to predict ASM response in newly diagnosed epilepsy patients, with the goal of improving personalized treatment strategies and early identification of drug resistance.
This retrospective cohort study included adult patients with a new epilepsy diagnosis who underwent EEG prior to ASM initiation. Patients with structural brain lesions on MRI were excluded. Seizure control was assessed two years after starting ASM treatment, with responders defined as those achieving at least one year of seizure freedom during the second year. We applied three prediction approaches: one using only clinical variables, another using only EEG features, and a third integrating both clinical and EEG data. For each approach, Logistic Regression, Extreme Gradient Boosting (XGBoost) and Random Forest models were implemented to assess predictive performance and suitability for ASM response prediction. Model performance was evaluated at both epoch and patient levels, with patient-level predictions generated by averaging class probabilities across epochs.
This study included 94 patients with newly diagnosed epilepsy who received EEG before starting ASM treatment, of whom 77 (81.9%) achieved seizure freedom. Machine learning models using clinical features showed moderate predictive performance, with the XGBoost model achieving the highest AUROC of 0.69. For EEG features, patient-level predictions improved model performance, with the Random Forest model achieving an AUROC of 0.68. The combined clinical-EEG model significantly enhanced accuracy, with Random Forest model achieving the best performance (AUROC: 0.81). Among EEG features, power spectral density (PSD) in the beta and gamma bands, along with sample entropy, were identified as the most predictive of treatment response.
Quantitative EEG analysis using machine learning shows significant potential in predicting the long-term prognosis of newly diagnosed epilepsy, even in patients without structural brain lesions or visually abnormal background EEGs. By integrating clinical variables with quantitative EEG features, these machine learning models demonstrate potential to support individualized treatment planning and the early identification of drug resistance. However, further validation in larger and diverse populations is needed before clinical implementation.
对新诊断癫痫患者长期预后的预测,仍受限于对临床特征和脑电图(EEG)视觉解读的依赖。机器学习通过识别EEG数据中的复杂模式增强了这种预测潜力,这在预测手术结果和癫痫发作起始的研究中得到了证实。然而,其在预测新诊断癫痫患者抗癫痫药物(ASM)反应方面的应用尚未得到充分探索。本研究旨在开发一种机器学习模型,以预测新诊断癫痫患者的ASM反应,目标是改进个性化治疗策略并早期识别耐药性。
这项回顾性队列研究纳入了新诊断癫痫的成年患者,这些患者在开始使用ASM之前接受了EEG检查。排除MRI显示有脑结构病变的患者。在开始ASM治疗两年后评估癫痫控制情况,反应者定义为在第二年实现至少一年无癫痫发作的患者。我们应用了三种预测方法:一种仅使用临床变量,另一种仅使用EEG特征,第三种整合临床和EEG数据。对于每种方法,实施逻辑回归、极端梯度提升(XGBoost)和随机森林模型,以评估预测性能和对ASM反应预测的适用性。在epoch和患者层面评估模型性能,患者层面的预测通过对各epoch的类别概率求平均值生成。
本研究纳入了94例新诊断癫痫患者,他们在开始ASM治疗前接受了EEG检查,其中77例(81.9%)实现了无癫痫发作。使用临床特征的机器学习模型显示出中等预测性能,XGBoost模型的曲线下面积(AUROC)最高,为0.69。对于EEG特征,患者层面的预测提高了模型性能,随机森林模型的AUROC为0.68。临床-EEG联合模型显著提高了准确性,随机森林模型表现最佳(AUROC:0.81)。在EEG特征中,β和γ频段的功率谱密度(PSD)以及样本熵被确定为对治疗反应最具预测性的指标。
使用机器学习进行定量EEG分析在预测新诊断癫痫的长期预后方面显示出巨大潜力,即使对于没有脑结构病变或视觉上背景EEG异常的患者也是如此。通过将临床变量与定量EEG特征相结合,这些机器学习模型显示出支持个性化治疗计划和早期识别耐药性的潜力。然而,在临床应用之前,需要在更大且多样化的人群中进行进一步验证。