Lightweight Seizure Prediction Model based on Kernel-Enhanced Global Temporal Attention
Defu Zhai1, Jie Wang1, Han Xiao1
1Shandong Province Key Laboratory of Medical Physics and Image Processing Technology, School of Physics and Electronics, Shandong Normal University, Jinan 250358, P. R. China.
None:
Clinically, epilepsy manifests as a chronic condition marked by unprovoked, recurrent seizures, plaguing over 70 million individuals with debilitating seizures and life-threatening complications. Approximately 30% of patients with epilepsy do not respond to conventional antiepileptic drugs, indicating the limited efficacy of these medications in controlling seizures universally. Therefore, seizure prediction has become a key factor in enabling timely intervention for epilepsy patients, which can provide crucial time for clinical treatment and preventive measures. This study aimed to propose a lightweight seizure prediction model integrating a residual network (ResNet) with a kernel-enhanced global temporal attention Block (GTA Block). The ResNet extracts electroencephalogram (EEG) features while maintaining gradient stability, and the GTA mechanism constructs full-sequence temporal association matrices to capture the dynamic evolution of EEG patterns. Then a kernel function is embedded into GTA Block for mapping EEG samples into a high-dimensional space in which the distinction between preictal and interictal states is enhanced. The model significantly outperforms existing methods while maintaining a lightweight architecture suitable for embedded systems. With only 1.94 million parameters and an inference time of 0.00207[Formula: see text]s, this lightweight design facilitates real-time deployment on wearable devices, enhancing feasibility for continuous clinical monitoring in resource-constrained settings.


