Adaptive EEG-based stroke diagnosis with a GRU-TCN classifier and deep Q-learning thresholding
Shakeel Abdulkareem, Bora Yimenicioglu, Khartik Uppalapati, Aneesh Gudipati, Adan Eftekhari, Saleh Yassin
TL;DR
The paper addresses rapid, bedside stroke triage using EEG by developing an adaptive multitask classifier that converts 32-channel EEG to spectral features and employs a GRU-TCN to predict stroke type, hemispheric lateralization, and severity. An accompanying deep Q-network thresholding module dynamically adjusts decision thresholds to optimize clinically relevant sensitivity–specificity trade-offs, improving macro-F1 for stroke-type classification from 92.8% to 97.7% and achieving high accuracy and AUC metrics on the primary dataset. Robustness tests on an independent, low-density EEG cohort showed performance declines due to domain shift, but adaptive thresholding continued to provide benefits over static thresholds. The approach is complemented by an interpretable GUI with scalp topographies and spectral views, supporting clinician review; overall, the work demonstrates that learned threshold adaptation can meaningfully enhance EEG-based diagnostic performance while preserving interpretability and calibration, albeit with limitations related to sample size and generalizability.
Abstract
Rapid triage of suspected stroke needs accurate, bedside-deployable tools; EEG is promising but underused at first contact. We present an adaptive multitask EEG classifier that converts 32-channel signals to power spectral density features (Welch), uses a recurrent-convolutional network (GRU-TCN) to predict stroke type (healthy, ischemic, hemorrhagic), hemispheric lateralization, and severity, and applies a deep Q-network (DQN) to tune decision thresholds in real time. Using a patient-wise split of the UCLH Stroke EIT/EEG data set (44 recordings; about 26 acute stroke, 10 controls), the primary outcome was stroke-type performance; secondary outcomes were severity and lateralization. The baseline GRU-TCN reached 89.3% accuracy (F1 92.8%) for stroke type, about 96.9% (F1 95.9%) for severity, and about 96.7% (F1 97.4%) for lateralization. With DQN threshold adaptation, stroke-type accuracy increased to about 98.0% (F1 97.7%). We also tested robustness on an independent, low-density EEG cohort (ZJU4H) and report paired patient-level statistics. Analyses follow STARD 2015 guidance for diagnostic accuracy studies (index test: GRU-TCN+DQN; reference standard: radiology/clinical diagnosis; patient-wise evaluation). Adaptive thresholding shifts the operating point to clinically preferred sensitivity-specificity trade-offs, while integrated scalp-map and spectral visualizations support interpretability.
