Explainable AI for wearable seizure logging: Impact of data quality, patient age, and antiseizure medication on performance
- PMID: 37336056
- DOI: 10.1016/j.seizure.2023.06.002
Explainable AI for wearable seizure logging: Impact of data quality, patient age, and antiseizure medication on performance
Abstract
Objective: Objective seizure count estimates are crucial for ambulatory epilepsy management. Wearables have shown promise for the detection of tonic-clonic seizures but may suffer from false alarms and undetected seizures. Seizure signatures recorded by wearables often occur over prolonged periods, including increased levels of electrodermal activity and heart rate long after seizure EEG onset, however, previous detection methods only partially exploited these signatures. Understanding the utility of these prolonged signatures for seizure count estimation and what factors generally determine seizure logging performance, including the role of data quality vs. algorithm performance, is thus crucial for improving wearables-based epilepsy monitoring and determining which patients benefit most from this technology.
Methods: In this retrospective study we examined 76 pediatric epilepsy patients during multiday video-EEG monitoring equipped with a wearable (Empatica E4; records of electrodermal activity, EDA, accelerometry, ACC, heart rate, HR; 1983 h total recording time; 45 tonic-clonic seizures). To log seizures on prolonged data trends, we applied deep learning on continuous overlapping 1-hour segments of multimodal data in a leave-one-subject-out approach. We systematically examined factors influencing logging performance, including patient age, antiseizure medication (ASM) load, seizure type and duration, and data artifacts. To gain insights into algorithm function and feature importance we applied Uniform Manifold Approximation and Projection (UMAP, to represent the separability of learned features) and SHapley Additive exPlanations (SHAP, to represent the most informative data signatures).
Results: Performance for tonic-clonic seizure logging increased systematically with patient age (AUC 0.61 for patients 〈 11 years, AUC 0.77 for patients between 11-15 years, AUC 0.85 for patients 〉 15 years). Across all ages, AUC was 0.75 corresponding to a sensitivity of 0.52 and a false alarm rate of 0.28/24 h. Seizures under high ASM load or with shorter duration were detected worse (P=.025, P=.033, respectively). UMAP visualized discriminatory power at the individual patient level, SHAP analyses identified clonic motor activity and peri/postictal increases in HR and EDA as most informative. In contrast, in missed seizures, these features were absent indicating that recording quality but not the algorithm caused the low sensitivity in these patients.
Significance: Our results demonstrate the utility of prolonged, postictal data segments for seizure logging, contribute to algorithm explainability and point to influencing factors, including high ASM dose and short seizure duration. Collectively, these results may help to identify patients who particularly benefit from such technology.
Keywords: Antiseizure medication; Automatic seizure logging; Autonomous nervous system; Deep learning; Epilepsy; Explainable artificial intelligence; Tonic-clonic seizure; Wearables.
Copyright © 2023 British Epilepsy Association. Published by Elsevier Ltd. All rights reserved.
Conflict of interest statement
Declaration of Competing Interest CM is part of pending and approved patents related to seizure detection, seizure prediction, and epilepsy diagnosis. TL has received funding from Empatica in the past, has received device donations from Empatica in the past, and is part of pending and approved patents related to seizure detection, seizure prediction, and epilepsy diagnosis. SV is part of a patent covering technology for seizure forecasting. The rest of the authors declare no conflicting interests.
Similar articles
-
Effects of epileptic seizures on the quality of biosignals recorded from wearables.Epilepsia. 2024 Dec;65(12):3513-3525. doi: 10.1111/epi.18138. Epub 2024 Oct 7. Epilepsia. 2024. PMID: 39373185 Free PMC article.
-
Multimodal wrist-worn devices for seizure detection and advancing research: Focus on the Empatica wristbands.Epilepsy Res. 2019 Jul;153:79-82. doi: 10.1016/j.eplepsyres.2019.02.007. Epub 2019 Feb 27. Epilepsy Res. 2019. PMID: 30846346 Review.
-
Detecting Tonic-Clonic Seizures in Multimodal Biosignal Data From Wearables: Methodology Design and Validation.JMIR Mhealth Uhealth. 2021 Nov 19;9(11):e27674. doi: 10.2196/27674. JMIR Mhealth Uhealth. 2021. PMID: 34806993 Free PMC article.
-
Artificial intelligence-enhanced epileptic seizure detection by wearables.Epilepsia. 2023 Dec;64(12):3213-3226. doi: 10.1111/epi.17774. Epub 2023 Oct 25. Epilepsia. 2023. PMID: 37715325
-
Automated seizure detection with noninvasive wearable devices: A systematic review and meta-analysis.Epilepsia. 2022 Aug;63(8):1930-1941. doi: 10.1111/epi.17297. Epub 2022 May 28. Epilepsia. 2022. PMID: 35545836 Free PMC article.
Cited by
-
Seizure Detection Devices.J Clin Med. 2025 Jan 28;14(3):863. doi: 10.3390/jcm14030863. J Clin Med. 2025. PMID: 39941534 Free PMC article. Review.
-
Effects of epileptic seizures on the quality of biosignals recorded from wearables.Epilepsia. 2024 Dec;65(12):3513-3525. doi: 10.1111/epi.18138. Epub 2024 Oct 7. Epilepsia. 2024. PMID: 39373185 Free PMC article.
-
Perspectives of people with diabetes on AI-integrated wearable devices: perceived benefits, barriers, and opportunities for self-management.Front Med (Lausanne). 2025 Apr 23;12:1563003. doi: 10.3389/fmed.2025.1563003. eCollection 2025. Front Med (Lausanne). 2025. PMID: 40337275 Free PMC article.
-
Advancements in Wearable Digital Health Technology: A Review of Epilepsy Management.Cureus. 2024 Mar 27;16(3):e57037. doi: 10.7759/cureus.57037. eCollection 2024 Mar. Cureus. 2024. PMID: 38681418 Free PMC article. Review.
-
Recent Advances in the Wearable Devices for Monitoring and Management of Heart Failure.Rev Cardiovasc Med. 2024 Oct 28;25(10):386. doi: 10.31083/j.rcm2510386. eCollection 2024 Oct. Rev Cardiovasc Med. 2024. PMID: 39484130 Free PMC article. Review.
MeSH terms
LinkOut - more resources
Full Text Sources
Medical