Optimising seizure prediction with reduced computational resources using depthwise CNN
Main Article Content
Abstract
Existing deep learning models for epileptic seizure prediction are accurate but parameter-heavy, which limits their deployment on wearable and other resource-constrained edge devices. We present DSCNN_Net, a 3D depthwise separable convolutional network operating on Mel-frequency cepstral coefficient (MFCC) features extracted from scalp EEG. On the CHB-MIT dataset DSCNN_Net reaches 89.58% sensitivity with 11,714 parameters and 45.75 KB of weight memory – roughly an order of magnitude fewer parameters than comparable CNN baselines at similar sensitivity. Replacing standard 3D convolution with its depthwise separable form reduces the per-layer multiply – accumulate cost by approximately 10× without a loss of predictive performance, supporting real-time operation on low-power edge platforms.
Downloads
Article Details

This work is licensed under a Creative Commons Attribution 4.0 International License.
How to Cite
Accepted 2026-05-19
Published 2026-05-21
References
Abdelhameed, A. and Bayoumi, M., 2021. A Deep Learning Approach for Automatic Seizure Detection in Children With Epilepsy. Frontiers in Computational Neuroscience, 15, p.650050. Available from: https://doi.org/10.3389/fncom.2021.650050. DOI: https://doi.org/10.3389/fncom.2021.650050
Alotaiby, T.N., Alshebeili, S.A., Alotaibi, F.M. and Alrshoud, S.R., 2017. Epileptic Seizure Prediction Using CSP and LDA for Scalp EEG Signals. Computational Intelligence and Neuroscience, 2017(1), p.1240323. Available from: https://doi.org/10.1155/2017/1240323. DOI: https://doi.org/10.1155/2017/1240323
Bandarabadi, M., Rasekhi, J., Teixeira, C.A., Karami, M.R. and Dourado, A., 2015. On the proper selection of preictal period for seizure prediction. Epilepsy & Behavior, 46, pp.158–166. Available from: https://doi.org/10.1016/j.yebeh.2015.03.010. DOI: https://doi.org/10.1016/j.yebeh.2015.03.010
Bates, S., Hastie, T. and Tibshirani, R., 2024. Cross-Validation: What Does It Estimate and How Well Does It Do It? Journal of the American Statistical Association, 119(546), pp.1434–1445. Available from: https://doi.org/10.1080/01621459.2023.2197686. DOI: https://doi.org/10.1080/01621459.2023.2197686
Binder, D.K. and Haut, S.R., 2013. Toward new paradigms of seizure detection. Epilepsy & Behavior, 26(3), pp.247–252. Available from: https://doi.org/10.1016/j.yebeh.2012.10.027. DOI: https://doi.org/10.1016/j.yebeh.2012.10.027
Bou Assi, E., Nguyen, D.K., Rihana, S. and Sawan, M., 2017. Towards accurate prediction of epileptic seizures: A review. Biomedical Signal Processing and Control, 34, pp.144–157. Available from: https://doi.org/10.1016/j.bspc.2017.02.001. DOI: https://doi.org/10.1016/j.bspc.2017.02.001
Cai, E., Juan, D.C., Stamoulis, D. and Marculescu, D., 2017. Neuralpower: Predict and deploy energy-efficient convolutional neural networks. In: M.L. Zhang and Y.K. Noh, eds. Proceedings of the Ninth Asian Conference on Machine Learning, Proceedings of machine learning research, vol. 77. Yonsei University, Seoul, Republic of Korea: PMLR, pp.622–637. Available from: http://proceedings.mlr.press/v77/cai17a/cai17a.pdf.
Chen, Y.H., Krishna, T., Emer, J.S. and Sze, V., 2017. Eyeriss: An Energy-Efficient Reconfigurable Accelerator for Deep Convolutional Neural Networks. IEEE Journal of Solid-State Circuits, 52(1), pp.127–138. Available from: https://doi.org/10.1109/JSSC.2016.2616357. DOI: https://doi.org/10.1109/JSSC.2016.2616357
Dissanayake, T., Fernando, T., Denman, S., Sridharan, S. and Fookes, C., 2020. Patient-independent Epileptic Seizure Prediction using Deep Learning Models. CoRR, abs/2011.09581. Available from: https://doi.org/10.48550/arXiv.2011.09581.
Eranian, S., 2006. Perfmon2: a flexible performance monitoring interface for Linux. Proceeding of the 2006 Ottawa Linux Symposium. pp.269–288. Available from: https://www.kernel.org/doc/ols/2006/ols2006v1-pages-269-288.pdf.
García-Martín, E., Rodrigues, C.F., Riley, G. and Grahn, H., 2019. Estimation of energy consumption in machine learning. Journal of Parallel and Distributed Computing, 134, pp.75–88. Available from: https://doi.org/10.1016/j.jpdc.2019.07.007. DOI: https://doi.org/10.1016/j.jpdc.2019.07.007
Gauen, K., Rangan, R., Mohan, A., Lu, Y.H., Liu, W. and Berg, A.C., 2017. Low-power image recognition challenge. 2017 22nd Asia and South Pacific Design Automation Conference (ASPDAC). pp.99–104. Available from: https://doi.org/10.1109/ASPDAC.2017.7858303. DOI: https://doi.org/10.1109/ASPDAC.2017.7858303
Guo, S. and Zhang, F., 2022. A SPCNN Model for Patient-Independent Prediction of Epilepsy Using MFCC Features. 2022 12th International Conference on Information Science and Technology (ICIST). pp.68–73. Available from: https://doi.org/10.1109/ICIST55546.2022.9926793. DOI: https://doi.org/10.1109/ICIST55546.2022.9926793
Guttag, J., 2010. CHB-MIT Scalp EEG Database. PhysioNet. Version 1.0.0. Available from: https://doi.org/10.13026/C2K01R.
Hekim, M., 2012. ANN-based classification of EEG signals using the average power based on rectangle approximation window. Electrical Review, 88(8). Available from: https://archiwum.pe.org.pl/articles/2012/8/55.pdf.
Khan, H., Marcuse, L., Fields, M., Swann, K. and Yener, B., 2018. Focal Onset Seizure Prediction Using Convolutional Networks. IEEE Transactions on Biomedical Engineering, 65(9), pp.2109–2118. Available from: https://doi.org/10.1109/TBME.2017.2785401. DOI: https://doi.org/10.1109/TBME.2017.2785401
Lane, N.D., Bhattacharya, S., Georgiev, P., Forlivesi, C. and Kawsar, F., 2015. An Early Resource Characterization of Deep Learning on Wearables, Smartphones and Internet-of-Things Devices. Proceedings of the 2015 International Workshop on Internet of Things towards Applications, IoTApp’15. New York, NY, USA: Association for Computing Machinery, pp.7–12. Available from: https://doi.org/10.1145/2820975.2820980. DOI: https://doi.org/10.1145/2820975.2820980
Lawhern, V.J., Solon, A.J., Waytowich, N.R., Gordon, S.M., Hung, C.P. and Lance, B.J., 2018. EEGNet: a compact convolutional neural network for EEG-based brain–computer interfaces. Journal of Neural Engineering, 15(5), p.056013. Available from: https://doi.org/10.1088/1741-2552/aace8c. DOI: https://doi.org/10.1088/1741-2552/aace8c
Li, Y., Yu, Z., Chen, Y., Yang, C., Li, Y., Allen Li, X. and Li, B., 2020. Automatic Seizure Detection using Fully Convolutional Nested LSTM. International Journal of Neural Systems, 30(04), p.2050019. Available from: https://doi.org/10.1142/S0129065720500197. DOI: https://doi.org/10.1142/S0129065720500197
Liu, X. and Richardson, A.G., 2021. Edge deep learning for neural implants: a case study of seizure detection and prediction. Journal of Neural Engineering, 18(4), p.046034. Available from: https://doi.org/10.1088/1741-2552/abf473. DOI: https://doi.org/10.1088/1741-2552/abf473
Maiwald, T., Winterhalder, M., Aschenbrenner-Scheibe, R., Voss, H.U., Schulze-Bonhage, A. and Timmer, J., 2004. Comparison of three nonlinear seizure prediction methods by means of the seizure prediction characteristic. Physica D: Nonlinear Phenomena, 194(3), pp.357–368. Available from: https://doi.org/10.1016/j.physd.2004.02.013. DOI: https://doi.org/10.1016/j.physd.2004.02.013
Mendonça, F., Mostafa, S.S., Ravelo-García, A.G., Morgado-Dias, F. and Penzel, T., 2019. A Review of Obstructive Sleep Apnea Detection Approaches. IEEE Journal of Biomedical and Health Informatics, 23(2), pp.825–837. Available from: https://doi.org/10.1109/JBHI.2018.2823265. DOI: https://doi.org/10.1109/JBHI.2018.2823265
Mormann, F., Andrzejak, R.G., Elger, C.E. and Lehnertz, K., 2007. Seizure prediction: the long and winding road. Brain, 130(2), pp.314–333. Available from: https://doi.org/10.1093/brain/awl241. DOI: https://doi.org/10.1093/brain/awl241
Ozcan, A.R. and Erturk, S., 2019. Seizure Prediction in Scalp EEG Using 3D Convolutional Neural Networks With an Image-Based Approach. IEEE Transactions on Neural Systems and Rehabilitation Engineering, 27(11), pp.2284–2293. Available from: https://doi.org/10.1109/TNSRE.2019.2943707. DOI: https://doi.org/10.1109/TNSRE.2019.2943707
Phanikrishna, B.V., Prakash, A.J. and Suchismitha, C., 2023. Deep Review of Machine Learning Techniques on Detection of Drowsiness Using EEG Signal. IETE Journal of Research, 69(6), pp.3104–3119. Available from: https://doi.org/10.1080/03772063.2021.1913070. DOI: https://doi.org/10.1080/03772063.2021.1913070
Qiu, S., Wang, W. and Jiao, H., 2023. LightSeizureNet: A Lightweight Deep Learning Model for Real-Time Epileptic Seizure Detection. IEEE Journal of Biomedical and Health Informatics, 27(4), pp.1845–1856. Available from: https://doi.org/10.1109/JBHI.2022.3223970. DOI: https://doi.org/10.1109/JBHI.2022.3223970
Rodrigues, C., Riley, G. and Luján, M., 2018. SyNERGY: An energy measurement and prediction framework for Convolutional Neural Networks on Jetson TX1. PDPTA’18 - The 24th International Conference on Parallel and Distributed Processing Techniques and Applications. Available from: https://research.manchester.ac.uk/en/publications/synergy-an-energy-measurement-and-prediction-framework-for-convol/.
Schelter, B., Winterhalder, M., Maiwald, T., Brandt, A., Schad, A., Schulze-Bonhage, A. and Timmer, J., 2006. Testing statistical significance of multivariate time series analysis techniques for epileptic seizure prediction. Chaos: An Interdisciplinary Journal of Nonlinear Science, 16(1), p.013108. Available from: https://doi.org/10.1063/1.2137623. DOI: https://doi.org/10.1063/1.2137623
Shoaran, M., Haghi, B.A., Taghavi, M., Farivar, M. and Emami-Neyestanak, A., 2018. Energy-Efficient Classification for Resource-Constrained Biomedical Applications. IEEE Journal on Emerging and Selected Topics in Circuits and Systems, 8(4), pp.693–707. Available from: https://doi.org/10.1109/JETCAS.2018.2844733. DOI: https://doi.org/10.1109/JETCAS.2018.2844733
Swain, M., Routray, A. and Kabisatpathy, P., 2018. Databases, features and classifiers for speech emotion recognition: a review. International Journal of Speech Technology, 21(1), pp.93–120. Available from: https://doi.org/10.1007/s10772-018-9491-z. DOI: https://doi.org/10.1007/s10772-018-9491-z
Tan, T. and Cao, G., 2021. Deep Learning Video Analytics on Edge Computing Devices. 2021 18th Annual IEEE International Conference on Sensing, Communication, and Networking (SECON). pp.1–9. Available from: https://doi.org/10.1109/SECON52354.2021.9491614. DOI: https://doi.org/10.1109/SECON52354.2021.9491614
Tian, X., Deng, Z., Ying, W., Choi, K.S., Wu, D., Qin, B., Wang, J., Shen, H. and Wang, S., 2019. Deep Multi-View Feature Learning for EEG-Based Epileptic Seizure Detection. IEEE Transactions on Neural Systems and Rehabilitation Engineering, 27(10), pp.1962–1972. Available from: https://doi.org/10.1109/TNSRE.2019.2940485. DOI: https://doi.org/10.1109/TNSRE.2019.2940485
Truong, N.D., Nguyen, A.D., Kuhlmann, L., Bonyadi, M.R., Yang, J., Ippolito, S. and Kavehei, O., 2018. Convolutional neural networks for seizure prediction using intracranial and scalp electroencephalogram. Neural Networks, 105, pp.104–111. Available from: https://doi.org/10.1016/j.neunet.2018.04.018. DOI: https://doi.org/10.1016/j.neunet.2018.04.018
Wang, X., Wang, X., Liu, W., Chang, Z., Kärkkäinen, T. and Cong, F., 2021. One dimensional convolutional neural networks for seizure onset detection using long-term scalp and intracranial EEG. Neurocomputing, 459, pp.212–222. Available from: https://doi.org/10.1016/j.neucom.2021.06.048. DOI: https://doi.org/10.1016/j.neucom.2021.06.048
Xu, Y., Yang, J. and Sawan, M., 2022. Trends and challenges of processing measurements from wearable devices intended for epileptic seizure prediction. Journal of Signal Processing Systems, 94(6), pp.527–542. Available from: https://doi.org/10.1007/s11265-021-01659-x. DOI: https://doi.org/10.1007/s11265-021-01659-x
Yang, T.J., Chen, Y.H., Emer, J. and Sze, V., 2017. A method to estimate the energy consumption of deep neural networks. 2017 51st Asilomar Conference on Signals, Systems, and Computers. pp.1916–1920. Available from: https://doi.org/10.1109/ACSSC.2017.8335698. DOI: https://doi.org/10.1109/ACSSC.2017.8335698
Yang, Z., Adamek, K. and Armour, W., 2024. Accurate and Convenient Energy Measurements for GPUs: A Detailed Study of NVIDIA GPU’s Built-In Power Sensor. SC24: International Conference for High Performance Computing, Networking, Storage and Analysis. IEEE, pp.1–17. Available from: https://doi.org/10.1109/SC41406.2024.00028. DOI: https://doi.org/10.1109/SC41406.2024.00028
Ye, R., Liu, F. and Zhang, L., 2019. 3D Depthwise Convolution: Reducing Model Parameters in 3D Vision Tasks. In: M.J. Meurs and F. Rudzicz, eds. Advances in Artificial Intelligence, Lecture Notes in Computer Science, vol. 11489. Springer, pp.186–199. Available from: https://doi.org/10.1007/978-3-030-18305-9_15. DOI: https://doi.org/10.1007/978-3-030-18305-9_15
Zabidi, A., Mansor, W., Lee, Y.K. and Che Wan Fadzal, C.W.N.F., 2012. Short-time Fourier Transform analysis of EEG signal generated during imagined writing. 2012 International Conference on System Engineering and Technology (ICSET). pp.1–4. Available from: https://doi.org/10.1109/ICSEngT.2012.6339284. DOI: https://doi.org/10.1109/ICSEngT.2012.6339284
Zanetti, R., Arza, A., Aminifar, A. and Atienza, D., 2022. Real-Time EEG-Based Cognitive Workload Monitoring on Wearable Devices. IEEE Transactions on Biomedical Engineering, 69(1), pp.265–277. Available from: https://doi.org/10.1109/TBME.2021.3092206. DOI: https://doi.org/10.1109/TBME.2021.3092206
Zhang, P., Lo, E. and Lu, B., 2020. High Performance Depthwise and Pointwise Convolutions on Mobile Devices. Proceedings of the AAAI Conference on Artificial Intelligence, 34(04), pp.6795–6802. Available from: https://doi.org/10.1609/aaai.v34i04.6159. DOI: https://doi.org/10.1609/aaai.v34i04.6159
Zhang, Y., Guo, Y., Yang, P., Chen, W. and Lo, B., 2020. Epilepsy Seizure Prediction on EEG Using Common Spatial Pattern and Convolutional Neural Network. IEEE Journal of Biomedical and Health Informatics, 24(2), pp.465–474. Available from: https://doi.org/10.1109/JBHI. 2019.2933046. DOI: https://doi.org/10.1109/JBHI.2019.2933046
Zhao, S., Yang, J. and Sawan, M., 2022. Energy-Efficient Neural Network for Epileptic Seizure Prediction. IEEE Transactions on Biomedical Engineering, 69(1), pp.401–411. Available from: https://doi.org/10.1109/TBME.2021.3095848. DOI: https://doi.org/10.1109/TBME.2021.3095848