Lemoine Émile, Toffa Denahin, Xu An Qi, Tessier Jean-Daniel, Jemel Mezen, Lesage Frédéric, Nguyen Dang Khoa, Bou Assi Elie
Department of Neuroscience, Université de Montréal, Montréal, Canada, H3T 1J4.
Institute of Biomedical Engineering, Polytechnique Montréal, Montréal, Canada, H3T 0A3.
Brain Commun. 2025 Aug 25;7(5):fcaf319. doi: 10.1093/braincomms/fcaf319. eCollection 2025.
The yield of routine EEG to diagnose epilepsy is limited by low sensitivity and the potential for misinterpretation of interictal epileptiform discharges. Our objective is to develop, train and validate a deep learning model that can identify epilepsy from routine EEG recordings, complementing traditional interpretation based on identifying interictal discharges. This is a retrospective cohort study of diagnostic accuracy. All consecutive patients undergoing routine EEG at our tertiary care centre between January 2018 and September 2019 were included. EEGs recorded between July 2019 and September 2019 constituted a temporally shifted testing cohort. The diagnosis of epilepsy was established by the treating neurologist at the end of the available follow-up period, based on clinical file review. Original EEG reports were reviewed for IEDs. We developed seven novel deep learning models based on Vision Transformers and Convolutional Neural Networks, training them to classify raw EEG recordings. We compared their performance to interictal discharge-based interpretation and two previously proposed machine learning methods. The study included 948 EEGs from 846 patients (820 EEGs/728 patients in training/validation, 128 EEGs/118 patients in testing). Median follow-up was 2.2 years and 1.7 years in each cohort, respectively. Our flagship Vision Transformer model, DeepEpilepsy, achieved an area under the receiver operating characteristic curve of 0.76 (95% confidence interval: 0.69-0.83), outperforming interictal discharge-based interpretation (0.69; 0.64-0.73) and previous methods. Combining DeepEpilepsy with interictal discharges increased the performance to 0.83 (0.77-0.89). DeepEpilepsy can identify epilepsy on routine EEG independently of interictal discharges, suggesting that deep learning can detect novel EEG patterns relevant to epilepsy diagnosis. Further research is needed to understand the exact nature of these patterns and evaluate the clinical impact of this increased diagnostic yield in specific settings.
常规脑电图诊断癫痫的效能受到低敏感性以及发作间期癫痫样放电可能被误判的限制。我们的目标是开发、训练并验证一种深度学习模型,该模型能够从常规脑电图记录中识别癫痫,以补充基于识别发作间期放电的传统解读方法。这是一项关于诊断准确性的回顾性队列研究。纳入了2018年1月至2019年9月期间在我们三级医疗中心接受常规脑电图检查的所有连续患者。2019年7月至9月期间记录的脑电图构成了一个时间上错开的测试队列。癫痫的诊断由主治神经科医生在可用随访期结束时根据临床病历审查确定。对原始脑电图报告进行发作间期放电审查。我们基于视觉Transformer和卷积神经网络开发了七种新型深度学习模型,训练它们对原始脑电图记录进行分类。我们将它们的性能与基于发作间期放电的解读以及两种先前提出的机器学习方法进行了比较。该研究纳入了来自846例患者的948份脑电图(训练/验证组中有820份脑电图/728例患者,测试组中有128份脑电图/118例患者)。每个队列的中位随访时间分别为2.2年和1.7年。我们的旗舰视觉Transformer模型DeepEpilepsy的受试者操作特征曲线下面积为0.76(95%置信区间:0.69 - 0.83),优于基于发作间期放电的解读(0.69;0.64 - 0.73)和先前的方法。将DeepEpilepsy与发作间期放电相结合可将性能提高到0.83(0.77 - 0.89)。DeepEpilepsy能够独立于发作间期放电在常规脑电图上识别癫痫,这表明深度学习可以检测到与癫痫诊断相关的新型脑电图模式。需要进一步研究以了解这些模式的确切性质,并评估在特定环境中这种提高的诊断效能的临床影响。