journal article·2025-10-28Open access

Quaternion CNN in Deep Learning Processing for EEG with Applications to Brain Disease Detection

Gerardo Ortega-Flores, Guillermo Altamirano-Escobedo, Diego Mercado-Ravell, Eduardo Bayro-Corrochano

Applied Sciences· Volume 15· Issue 21

Abstract

Despite the popularity of electroencephalograms (EEGs) as tools for assessing brain health, they can sometimes be abstract and prone to noise, making them difficult to interpret. The following work aims to implement a Quaternion Convolutional Neural Network (QCNN) to detect abnormal EEGs obtained from a database that includes both people with excellent mental health and individuals with different types of mental illnesses. Unlike other approaches in which the QCNN is used exclusively for image processing, in the present work, a unique architecture with mainly quaternionic layers is proposed, specifically designed for the classification of time-varying signals. Using the database “The TUH EEG Abnormal Corpus”, the signals are preprocessed using the Wavelet Transform, a mathematical tool capable of performing simultaneous time and frequency analysis, configured with a level 4 decomposition value. Subsequently, the results are subjected to a partial spectrogram-type treatment to integrate the energy parameter into the analysis. They are then conditioned in each of the elements of the quaternion and processed by the QCNN, leveraging quaternion algebra to maintain the relationships between its elements, both in the input and in the convolutional product. In this way, it is possible to obtain significant percentages in the precision, recall, and accuracy metrics with values higher than 77%. Its performance, which uses 4 times less computational memory, allows the QCNN to be considered an alternative for classifying EEG signals. Finally, a comparison of the proposed model was made with other architectures commonly used in the literature, as well as with developments in other research and with a hybrid model whose performance places it at the highest classification standard, not to mention the ability of the QCNN to preserve multi-channel dependencies in EEG signals in a more natural way, achieving parameter efficiencies by leveraging quaternion algebra, reducing the computational cost compared to real-valued CNNs.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: EEG and Brain-Computer Interfaces · ECG Monitoring and Analysis · Neurological disorders and treatments

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Centro de Investigación y de Estudios Avanzados del Instituto Politécnico Nacional Campus Guadalajara, Av. del Bosque 1145, Zapopan 45019, Mexico

Institute of Robotics and Automation of the Poznan University of Technology, 60-965 Poznan, Poland

References (28)

Show source-provided references
1. López, S., Suarez, G., Jungreis, D., Obeid, I., and Picone, J. (2015, January 12). Automated Identication of Abnormal Adult EEGs. Proceedings of the IEEE Signal Processing in Medicine and Biology Symposium, Philadelphia, PA, USA.10.1109/SPMB.2015.7405423 ↗
2. EEG in the diagnosis, classification, and management of patients with epilepsy10.1136/jnnp.2005.069245 ↗
3. Harati, A., Lopez, S., Obeid, I., Jacobson, M., Tobochnik, S., and Picone, J. (2014, January 13). The Tuh Eeg Corpus: A Big Data Resource for Automated EEG Interpretation. Proceedings of the IEEE Signal Processing in Medicine and Biology Symposium, Philadelphia, PA, USA.10.1109/SPMB.2014.7002953 ↗
4. Choi, W., Kim, J., Nam, H., and Kam, T. (2025, January 24–26). Curriculum Learning with Sampling Scheduler for Imbalanced EEG-Based Seizure Detection. Proceedings of the 2025 13th International Conference on Brain-Computer Interface (BCI), Gangwon, Republic of Korea.10.1109/BCI65088.2025.10931459 ↗
5. Huang, Y., Chen, Y., Xu, S., Wu, D., and Wu, X. (2025). Self-Supervised Learning with Adaptive Frequency-Time Attention Transformer for Seizure Prediction and Classification. Brain Sci., 15.10.3390/brainsci15040382 ↗
6. Chen, Z., Matsubara, Y., Sakurai, Y., and Sun, J. (2025, January 25). Long-Term EEG Partitioning for Seizure Onset Detection. Proceedings of the Thirty-Ninth AAAI Conference on Artificial Intelligence, Philadelphia, PA, USA.10.1609/aaai.v39i13.33557 ↗
7. Lekkas, G., Vrochidou, E., and Papakostas, G. (2025). Time–Frequency Transformations for Enhanced Biomedical Signal Classification with Convolutional Neural Networks. BioMedInformatics, 5.10.3390/biomedinformatics5010007 ↗
8. Ranjan, S., Tripathi, A., Shende, H., Badal, R., Kumar, A., Yadav, P., Joshi, D., and Kumar, L. (2025). Deep learning-based classification of dementia using image representation of subcortical signals. BMC Med. Inform. Decis. Mak., 25.10.1186/s12911-025-02924-w ↗
9. Jang, K., In, Y., Jin, H., Joon, S., and Woon, P. (2025). Dementia classification using two-channel electroencephalography features. Sci. Rep., 15.10.1038/s41598-025-93513-4 ↗
10. Chen, T., and Guestrin, C. (2016, January 13–17). XGBoost: A Scalable Tree Boosting System. KDD ’16: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA.10.1145/2939672.2939785 ↗
11. Deep Learning Model for Analyzing EEG Signal Analysis10.1109/ACCESS.2025.3563760 ↗
12. Schirrmeister, R., Gemein, L., Eggensperger, K., Hutter, F., and Ball, T. (2017, January 2). Deep learning with convolutional neural networks for decoding and visualization of EEG pathology. Proceedings of the 2017 IEEE Signal Processing in Medicine and Biology Symposium (SPMB), Philadelphia, PA, USA.10.1109/SPMB.2017.8257015 ↗
13. Cognitive Smart Healthcare for Pathology Detection and Monitoring10.1109/ACCESS.2019.2891390 ↗
14. EEG Pathology Detection Based on Deep Learning10.1109/ACCESS.2019.2901672 ↗
15. Shoeb, A. (2009). Application of Machine Learning to Epileptic Seizure Onset Detection and Treatment. [Ph.D. Dissertation, Massachusetts Institute of Technology]. Available online: http://hdl.handle.net/1721.1/54669.
16. Prusa, J., Khoshgoftaar, T., Dittman, D., and Napolitano, A. (2015, January 6–8). Using random undersampling to alleviate class imbalance on tweet sentiment data. Proceedings of the 2015 IEEE International Conference on Information Reuse and Integration, San Jose, CA, USA.10.1109/IRI.2015.39 ↗
17. BCI2000: A general-purpose brain-computer interface (BCI) system10.1109/TBME.2004.827072 ↗
18. Computation of wavelet and multiwavelet transforms using Fast Fourier Transform10.36371/port.2020.2.7 ↗
19. Montoya, J. (2001). La Transformada Wavelet, Revista de la Universidad de Mendoza.
20. Pinto, E. (2025, February 26). Análisis y Evaluación de los Niveles de Energía Obtenidos Mediante WPT Para Defectología En Ejes, Available online: https://e-archivo.uc3m.es/bitstream/10016/16582/1/PFC_Elena_Pinto_Moreno_Anexos.pdf.
21. An optimized two-level discrete wavelet implementation using residue number system10.1186/s13634-018-0559-3 ↗
22. Conformal Geometric Algebra for Medical Robotics and Quaternion Wavelet Neural Network for Adaptive PID Control of Haptic Devices
23. Quaternion Convolutional Neural Networks: Current Advances and Future Directions10.1007/s00006-024-01350-x ↗
24. Zhu, X., Xu, Y., Xu, H., and Chen, C. (2018, January 8–14). Quaternion Convolutional Neural Networks. Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany.10.1007/978-3-030-01237-3_39 ↗
25. Gaudet, C., and Maida, A. (2018, January 8–13). Deep Quaternion Networks. Proceedings of the 2018 International Joint Conference on Neural Networks (IJCNN), Rio de Janeiro, Brazil.10.1109/IJCNN.2018.8489651 ↗
26. VNDHR: Variational Single Nighttime Image Dehazing for Enhancing Visibility in Intelligent Transportation Systems via Hybrid Regularization10.1109/TITS.2025.3550267 ↗
27. Quaternion-based weighted nuclear norm minimization for color image restoration10.1016/j.patcog.2022.108665 ↗
28. Parcollet, T., Morchid, M., and Linarès, G. (2019, January 12–17). Quaternion convolutional neural networks for heterogeneous image processing. Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Brighton, UK.10.1109/ICASSP.2019.8682495 ↗