article · Discover Artificial Intelligence
Epileptic seizure detection from EEG recordings is a fundamental requirement for neurological patient monitoring and for enabling next-generation wearable healthcare systems. However, reliable seizure detection remains challenging due to the non-stationary nature of EEG signals, strong inter-patient variability, class imbalance, and the difficulty of deploying accurate models on resource-constrained Internet of Medical Things devices. In this paper, we propose an uncertainty-aware lightweight transformer for zero-shot epileptic seizure detection on TinyML-enabled edge devices. The proposed framework transforms pre-processed multichannel EEG windows into compact temporal tokens, processes them using shallow transformer encoder blocks, and produces a seizure probability through a lightweight classification head. To improve patient-independent generalization, a strict patient-wise zero-shot protocol is adopted, where test patients are completely excluded from training, validation, threshold selection, and model adaptation. In addition, an entropy-based uncertainty quantification module is integrated to identify ambiguous EEG windows and support reliability-aware decision-making. To enable embedded deployment, the model is compressed using a progressive pipeline composed of $$30\%$$ structured pruning, fine-tuning, quantization-aware training, and final INT8 conversion. Experimental results on the CHB-MIT dataset show that the full-precision model achieves $$97.74\%$$ accuracy, $$97.74\%$$ F1-score, and $$95.91\%$$ AUC-ROC, while the final compressed model maintains competitive performance with $$93.86\%$$ accuracy, $$93.88\%$$ F1-score, and $$90.51\%$$ AUC-ROC. The final TinyML model reduces the memory footprint from $$194.6$$ KB to $$30.6$$ and decreases inference time from $$12.8$$ to $$3.7$$ ms, requiring only $$2.99\%$$ of a 1 MB Flash budget. These results demonstrate that the proposed framework offers an effective trade-off between seizure detection performance, uncertainty-aware reliability, cross-patient generalization, and embedded deployment efficiency.
This page summarises published work. The authoritative version sits with the publisher.
DOI: 10.1007/s44163-026-01656-8
Is something wrong with this record? Report it or request removal.
Discussion
Have you built on this work, tried to replicate it, or seen it applied in practice? Share what you know. Verified researchers and MARATTO™ domain experts can open a discussion, and any member can reply. Contributions are reviewed before they appear.
No discussion yet. Open the first thread.
New to MARATTO™? Create a free account.