Real-Time Seizure Prediction Using Low-Power Spiking Neural Networks on Wearable Edge Devices
DOI:
https://doi.org/10.65204/djes.v3i3.840Keywords:
Spiking Neural Networks (SNNs), Seizure Prediction, Wearable Edge Devices, EEG Signal Processing, Energy-Efficient ComputingAbstract
Epilepsy is a condition that is present in 50 million individuals all over the world, but predicting seizures in real-time on wearable devices is a challenging task because of stringent power and latency requirements. The current paper introduces a wearable edge devices-based low-power seizure prediction system based on Spiking Neural Networks (SNNs). In contrast to traditional deep learning models, SNNs compute EEG signals as a result of events, and spikes, which consumes much less energy by a factor of ten. We suggest a three-layer SNN, leaky integrate-and-fire neurons, adaptive thresholding and sparse connectivity, trained using a surrogate gradient descent. The system based on CHB-MIT scalp EEG database and patient-wise splitting, has a sensitivity of 88.4, specificity of 93.2 and a false alarm rate of 0.08/hour, predicting seizures 5-30 minutes before they occur. The system is implemented on an ARM Cortex-M4 microcontroller, using 3.4 - 13 times less energy than a CNN-LSTM baseline to make an inference, and has 45 ms latency. Ablation experiments validate the work of adaptive thresholding, population coding and 16 ms timestep resolution. This is the first SNN-based seizure prediction system to the best of knowledge that has been tested on a publicly available EEG dataset and with wearable-edge hardware simulation. The framework shows that neuromorphic computing has the capabilities to address clinical and engineering needs of real-time neurological monitoring.
References
Fiest, K.M.; Sauro, K.M.; Wiebe, S.; Patten, S.B.; Kwon, C.S.; et al. Prevalence and incidence of epilepsy: A systematic review and meta-analysis of international studies. Neurology 2017, 88, 296–303. https://doi.org/10.1212/WNL.0000000000003509
Sahu, R.; Dash, S.R.; Cacha, L.A.; Poznanski, R.R.; et al. Epileptic seizure detection: A comparative study between deep and traditional machine learning techniques. Journal of Integrative Neuroscience 2020, 19, 1–9. https://doi.org/10.31083/j.jin.2020.01.24
Bugmann, G. Biologically plausible neural computation. Biosystems 1997, 40, 11–19. https://doi.org/10.1016/0303-2647(96)01625-5
Wei, W.; Zhang, M.; Zhang, J.; Belatreche, A.; Wu, J.; Xu, Z.; Qiu, X.; Chen, H.; Yang, Y.; Li, H. Event-driven learning for spiking neural networks. arXiv 2024, arXiv:2403.00270. https://doi.org/10.48550/arXiv.2403.00270
Covi, E.; Donati, E.; Liang, X.; Kappel, D.; Heidari, H.; Payvand, M.; Wang, W. Adaptive extreme edge computing for wearable devices. Frontiers in Neuroscience 2021, 15, 611300. https://doi.org/10.3389/fnins.2021.611300
Yadollahpour, A.; Jalilifar, M. Seizure prediction methods: A review of the current predicting techniques. Biomedical & Pharmacology Journal 2014, 7, 153–162.
Gadhoumi, K.; Lina, J.M.; Mormann, F.; Gotman, J. Seizure prediction for therapeutic devices: A review. Journal of Neuroscience Methods 2016, 260, 270–282. https://doi.org/10.1016/j.jneumeth.2015.06.010
Daoud, H.; Bayoumi, M.A. Efficient epileptic seizure prediction based on deep learning. IEEE Transactions on Biomedical Circuits and Systems 2019, 13, 804–813. https://doi.org/10.1109/TBCAS.2019.2929053
Ryu, S.; Joe, I. A Hybrid DenseNet-LSTM Model for Epileptic Seizure Prediction. Appl. Sci. 2021, 11, 7661. https://doi.org/10.3390/app11167661
Ghosh-Dastidar, S.; Adeli, H. Improved spiking neural networks for EEG classification and epilepsy and seizure detection. Integrated Computer-Aided Engineering 2007, 14, 187–212. https://doi.org/10.3233/ICA-2007-14301
Li, R.; Zhao, G.; Muir, D.R.; Ling, Y.; Burelo, K.; Khoe, M.; Wang, D.; Xing, Y.; Qiao, N. Real-time sub-milliwatt epilepsy detection implemented on a spiking neural network edge inference processor. Computers in Biology and Medicine 2024, 183, 109225. https://doi.org/10.1016/j.compbiomed.2024.109225
Deng, L.; Wu, Y.; Hu, Y.; Liang, L.; Li, G.; Hu, X.; Ding, Y.; Li, P.; Xie, Y. Comprehensive SNN compression using ADMM optimization and activity regularization. IEEE Transactions on Neural Networks and Learning Systems 2021. https://doi.org/10.1109/TNNLS.2021.3109064
Javanshir, A.; Nguyen, T.T.; Mahmud, M.A.P.; Kouzani, A.Z. Advancements in algorithms and neuromorphic hardware for spiking neural networks. Neural Computation 2022, 34, 1289–1328. https://doi.org/10.1162/neco_a_01499
Goldberger, A.L.; Amaral, L.A.N.; Glass, L.; Hausdorff, J.M.; Ivanov, P.C.; Mark, R.G.; Mietus, J.E.; Moody, G.B.; Peng, C.-K.; Stanley, H.E. PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals. Circulation 2000, 101, e215–e220. https://doi.org/10.1161/01.CIR.101.23.e215
Sun, W.; Su, Y.; Wu, X.; Wu, X. A novel end-to-end 1D-ResCNN model to remove artifact from EEG signals. Neurocomputing 2020, 404, 108–121. https://doi.org/10.1016/j.neucom.2020.04.029
Pan, Y.; Dong, F.; Wu, J.; Xu, Y. Downsampling of EEG signals for deep learning-based epilepsy detection. IEEE Sensors Letters 2023, 7, 1–4. https://doi.org/10.1109/LSENS.2023.3332392
Belwafi, K.; Gannouni, S.; Aboalsamh, H. An effective zeros-time windowing strategy to detect sensorimotor rhythms related to motor imagery EEG signals. IEEE Access 2020, 8, 152669–152679. https://doi.org/10.1109/ACCESS.2020.3017888
Orhan, E. The leaky integrate-and-fire neuron model. 2012. Available online: https://www.cns.nyu.edu/~eorhan/notes/lif-neuron.pdf
Neftci, E.O.; Mostafa, H.; Zenke, F. Surrogate gradient learning in spiking neural networks: Bringing the power of gradient-based optimization to spiking neural networks. IEEE Signal Processing Magazine 2019, 36, 51–63. https://doi.org/10.1109/MSP.2019.2931595
Ponghiran, W.; Roy, K. Spiking neural networks with improved inherent recurrence dynamics for sequential learning. In Proceedings of the AAAI Conference on Artificial Intelligence 2022, 36, 8001–8008. https://doi.org/10.1609/aaai.v36i7.20771
Engelborghs, S.; D’hooge, R.; De Deyn, P.P. Pathophysiology of epilepsy. Acta Neurologica Belgica 2000, 100, 201–213.
Le Van Quyen, M.; Soss, J.; Navarro, V.; Robertson, R.; Chavez, M.; Baulac, M.; Martinerie, J. Preictal state identification by synchronization changes in long-term intracranial EEG recordings. Clinical Neurophysiology 2005, 116, 559–568. https://doi.org/10.1016/j.clinph.2004.10.014
Newson, J.J.; Thiagarajan, T.C. EEG frequency bands in psychiatric disorders: A review of resting state studies. Frontiers in Human Neuroscience 2019, 12, 521. https://doi.org/10.3389/fnhum.2018.00521
Wu, J.; Wang, Y.; Li, Z.; Lu, L.; Li, Q. A review of computing with spiking neural networks. Computers, Materials & Continua 2024, 78, 2909–2939. https://doi.org/10.32604/cmc.2024.047240
Lian, S.; Shen, J.; Wang, Z.; Tang, H. IM-LIF: Improved neuronal dynamics with attention mechanism for direct training deep spiking neural network. IEEE Transactions on Emerging Topics in Computational Intelligence 2024, 8, 2075–2085. https://doi.org/10.1109/TETCI.2024.3359539
Billeci, L.; Marino, D.; Insana, L.; Vatti, G.; Varanini, M. Patient-specific seizure prediction based on heart rate variability and recurrence quantification analysis. PLoS ONE 2018, 13, e0204339. https://doi.org/10.1371/journal.pone.0204339
Prasanna, J.; Subathra, M.S.P.; Mohammed, M.A.; Ibrahim, D.A.; et al. Automated epileptic seizure detection in pediatric subjects of CHB-MIT EEG database—A survey. Journal of Personalized Medicine 2021, 11, 1028. https://doi.org/10.3390/jpm11101028
Gordon, E.; Cooper, N.; Rennie, C.; Hermens, D.; Williams, L.M. Integrative neuroscience: The role of a standardized database. Clinical EEG and Neuroscience 2005, 36, 64–75. https://doi.org/10.1177/155005940503600205
Aldawsari, H.; Al-Ahmadi, S.; Muhammad, F. Optimizing 1D-CNN-based emotion recognition process through channel and feature selection from EEG signals. Diagnostics 2023, 13, 2624. https://doi.org/10.3390/diagnostics13162624
Shahbazi, M.; Aghajan, H. A generalizable model for seizure prediction based on deep learning using CNN-LSTM architecture. In Proceedings of the IEEE Global Conference on Signal and Information Processing (GlobalSIP), Anaheim, CA, USA, 2018; pp. 469–473. https://doi.org/10.1109/GlobalSIP.2018.8646505
Iftikhar, M.; Khan, S.A.; Hassan, A. A survey of deep learning and traditional approaches for EEG signal processing and classification. In Proceedings of the IEEE 9th Annual Information Technology, Electronics and Mobile Communication Conference (IEMCON), Vancouver, BC, Canada, 2018; pp. 395–400. https://doi.org/10.1109/IEMCON.2018.8614893
Selvathi, D.; Selvaraj, H. FPGA implementation for epileptic seizure detection using amplitude and frequency analysis of EEG signals. In Proceedings of the 25th International Conference on Systems Engineering (ICSEng), Las Vegas, NV, USA, 2017; pp. 183–192. https://doi.org/10.1109/ICSEng.2017.56
Segal, G.; Keidar, N.; Lotan, R.M.; Romano, Y.; Friedman, D.; Ben-Jacob, E. Utilizing risk-controlling prediction calibration to reduce false alarm rates in epileptic seizure prediction. Frontiers in Neuroscience 2023, 17, 1184990. https://doi.org/10.3389/fnins.2023.1184990
Winterhalder, M.; Maiwald, T.; Voss, H.U.; Aschenbrenner-Scheibe, R.; Timmer, J.; Schulze-Bonhage, A. The seizure prediction characteristic: A general framework to assess and compare seizure prediction methods. Epilepsy & Behavior 2003, 4, 318–325. https://doi.org/10.1016/S1525-5050(03)00105-7
Pradipta, G.A.; Wardoyo, R.; Musdholifah, A.; Sanjaya, I.N.H.; Ismail, M. SMOTE for handling imbalanced data problem: A review. In Proceedings of the Sixth International Conference on Informatics and Computing (ICIC), Jakarta, Indonesia, 2021; pp. 1–8. https://doi.org/10.1109/ICIC54025.2021.9632912
Manna, D.L.; Vicente-Sola, A.; Kirkland, P.; Bihl, T.J.; Di Caterina, G. Frameworks for SNNs: A review of data science-oriented software and an expansion of SpykeTorch. In Engineering Applications of Neural Networks (EANN 2023); Iliadis, L., Maglogiannis, I., Alonso, S., Jayne, C., Pimenidis, E., Eds.; Communications in Computer and Information Science; Springer: Cham, Switzerland, 2023; Vol. 1826; pp. 265–280. https://doi.org/10.1007/978-3-031-34204-2_20
Schulman, A.; Schmid, T.; Dutta, P.; Spring, N. Phone power monitoring with BattOr. In Proceedings of the ACM International Conference on Mobile Computing and Networking (MobiCom), Las Vegas, NV, USA, 2011. Available online: https://cseweb.ucsd.edu/~schulman/docs/mobicom11-phonepowermonitor-demo.pdf (accessed on 27 April 2026).
David, R.; Duke, J.; Jain, A.; Reddi, V.J.; Jeffries, N.; Li, J.; Kreeger, N.; Nappier, I.; Natraj, M.; Wang, T.; Warden, P.; Rhodes, R. TensorFlow Lite Micro: Embedded machine learning for TinyML systems. Proceedings of Machine Learning and Systems 2021, 3.
Downloads
Published
Versions
- 2026-09-02 (2)
- 2026-08-26 (1)