Submitted:
04 November 2025
Posted:
05 November 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
- –
- Image-based encoding: Gaussian connectivity-based image representations are encoded into a shared latent space that captures complementary spatio-temporal and frequency information, enabling more discriminative and interpretable feature representations.
- –
- Multi-objective training: The model is optimized through a composite loss that jointly enforces reconstruction fidelity, classification accuracy, and latent space regularization, enhancing robustness to noise and mitigating inter-subject variability.
- –
- VAE-based interpretability: The framework’s variational autoencoder design enables direct qualitative assessment. By analyzing the reconstructed topographic maps and visualizing the latent space, we can validate the physiological relevance of the learned features and confirm the model’s ability to create a well-separated feature space, enhancing overall transparency.
2. Materials and Methods
2.1. GIGAScience Dataset for EEG-based Motor Imagery
2.2. Laplacian Filtering and Time Segmentation
2.3. Kernel-Based Cross-Spectral Gaussian Connectivity for EEG Imaging
2.4. Topographic Map Generation
2.5. EEG-GCIRNet: Multimodal Architecture
3. Experimental Set-Up
3.1. Stage 1: Signal Preprocessing and Feature Engineering
3.2. Stage 2: Topographic Map Generation
3.3. Stage 3: EEG-GCIRNet Architecture and Training
3.4. Evaluation Criteria
4. Results
4.1. MI Classification Performance
4.2. Robustness and Generalization Across Subject Groups
4.3. Interpretability and Internal Model Dynamics
4.3.1. Adaptive Learning Through Loss Weight Reorganization
4.3.2. Qualitative analysis of learned representations
4.3.3. Structure and Separability of the Latent Space
5. Discussion
6. Concluding Remarks
Author Contributions
Funding
Institutional Review Board Statement
Data Availability Statement
Conflicts of Interest
References
- Nair-Bedouelle, S. Engineering for sustainable development: Delivering on the sustainable development goals; United Nations Educational, Scientific, and Cultural Organization, 2021.
- Mordor Intelligence. Brain-Computer Interface Market - Growth, Trends, COVID-19 Impact, and Forecasts (2025 - 2030), 2025.
- Chaudhary, U. , Non-invasive Brain Signal Acquisition Techniques: Exploring EEG, EOG, fNIRS, fMRI, MEG, and fUS; 2025; pp. 25–80. [CrossRef]
- Spanos, M.; Gazea, T.; Triantafyllidis, V.; Mitsopoulos, K.; Vrahatis, A.; Hadjinicolaou, M.; Bamidis, P.D.; Athanasiou, A. Post Hoc Event-Related Potential Analysis of Kinesthetic Motor Imagery-Based Brain-Computer Interface Control of Anthropomorphic Robotic Arms. Electronics 2025, 14. [Google Scholar] [CrossRef]
- Lionakis, E.; Karampidis, K.; Papadourakis, G. Current trends, challenges, and future research directions of hybrid and deep learning techniques for motor imagery brain–computer interface. Multimodal Technologies and Interaction 2023, 7, 95. [Google Scholar] [CrossRef]
- Saibene, A.; Caglioni, M.; Corchs, S.; Gasparini, F. EEG-Based BCIs on Motor Imagery Paradigm Using Wearable Technologies: A Systematic Review. Sensors 2023, 23. [Google Scholar] [CrossRef]
- Singh, A.; Hussain, A.; Lal, S.; Guesgen, H. A comprehensive review on critical issues and possible solutions of motor imagery based electroencephalography brain-computer interface. Sensors 2021, 21, 2173. [Google Scholar] [CrossRef] [PubMed]
- Bouazizi, S.; Ltifi, H. Enhancing accuracy and interpretability in EEG-based medical decision making using an explainable ensemble learning framework application for stroke prediction. Decision Support Systems 2023, 178, 114126. [Google Scholar] [CrossRef]
- Kim, D.; Shin, D.; Kam, T. Bridging the BCI illiteracy gap: a subject-to-subject semantic style transfer for EEG-based motor imagery classification. Frontiers in Human Neuroscience 2023, 17, 1194751. [Google Scholar] [CrossRef] [PubMed]
- Maswanganyi, R.; Tu, C.; Pius, O.; Du, S. Statistical Evaluation of Factors Influencing Inter-Session and Inter-Subject Variability in EEG- Based Brain Computer Interface. IEEE Access 2022, PP, 1–1. [Google Scholar] [CrossRef]
- Saha, S.; Baumert, M. Intra- and inter-subject variability in EEG-based sensorimotor brain-computer interface: A review. Frontiers in Computational Neuroscience 2020, 13, 87. [Google Scholar] [CrossRef]
- Horowitz, A.; Guger, C.; Korostenskaja, M. What External Variables Affect Sensorimotor Rhythm Brain-Computer Interface (SMR-BCI) Performance? HCA Healthcare Journal of Medicine 2021, 2. [Google Scholar] [CrossRef]
- Raza, A.; Yusoff, M.Z. Deep Learning Approaches for EEG-Motor Imagery-Based BCIs: Current Models, Generalization Challenges, and Emerging Trends. IEEE Access 2025, 13, 151866–151893. [Google Scholar] [CrossRef]
- Wang, Y.; Nakanishi, M.; Zhang, D. EEG-based brain–computer interfaces. In Brain–Computer Interface Systems; Springer, 2019; pp. 131–155. [CrossRef]
- Köllőd, C.M.; Adolf, A.; Iván, K.; Márton, G.; Ulbert, I. Deep Comparisons of Neural Networks from the EEGNet Family. Electronics 2023, 12. [Google Scholar] [CrossRef]
- Velasco, I.; Sipols, A.; Simon, C.; Pastor, L.; Bayona, S. Motor imagery EEG signal classification with a multivariate time series approach. BioMedical Engineering OnLine 2023, 22. [Google Scholar] [CrossRef]
- Liu, Z.; Wang, L.; Xu, S.; Lu, K. A multiwavelet-based sparse time-varying autoregressive modeling for motor imagery EEG classification. Computers in Biology and Medicine 2022, 155, 106196. [Google Scholar] [CrossRef] [PubMed]
- Atla, K.G.R.; Sharma, R. Motor imagery classification using a novel CNN in EEG-BCI with common average reference and sliding window techniques. Alexandria Engineering Journal 2025, 120, 532–546. [Google Scholar] [CrossRef]
- Pfurtscheller, G.; Lopes da Silva, F.H. Event-related EEG/MEG synchronization and desynchronization: basic principles. Clinical neurophysiology 1999, 110, 1842–1857. [Google Scholar] [CrossRef] [PubMed]
- Ang, K.K.; Chin, Z.H.; Zhang, H.; Guan, C. Filter bank common spatial pattern algorithm on BCI competition IV datasets 2a and 2b. In Proceedings of the 2008 IEEE International Joint Conference on Neural Networks (IEEE World Congress on Computational Intelligence). IEEE; 2008; pp. 2390–2397. [Google Scholar] [CrossRef]
- Lotte, F.; Bougrain, L.; Cichocki, A.; Clerc, M.; Congedo, M.; Rakotomamonjy, A.; Yger, F. A review of classification algorithms for EEG-based brain–computer interfaces: a 10 year update. Journal of Neural Engineering 2018, 15. [Google Scholar] [CrossRef]
- Akuthota, S.; Kumar, K.; Chander, J. A Complete Survey on Common Spatial Pattern Techniques in Motor Imagery BCI. Journal of Scientific and Innovative Research 2023, 12, 40–49. [Google Scholar] [CrossRef]
- Pan, L.; Wang, K.; Huang, Y.; Sun, X.; Meng, J.; Yi, W.; Xu, M.; Jung, T.P.; Ming, D. Enhancing motor imagery EEG classification with a Riemannian geometry-based spatial filtering (RSF) method. Neural Networks 2025, p. 107511. [CrossRef]
- Deng, X.; Zhang, B.; Yu, N.; Liu, K.; Sun, K. Advanced TSGL-EEGNet for Motor Imagery EEG-Based Brain-Computer Interfaces. IEEE Access 2021, PP, 1–1. [Google Scholar] [CrossRef]
- Roots, K.; Muhammad, Y.; Muhammad, N. Fusion convolutional neural network for cross-subject EEG motor imagery classification. Computers 2020, 9, 72. [Google Scholar] [CrossRef]
- Riyad, M.; Khalil, M.; Abdellah, A. A novel multi-scale convolutional neural network for motor imagery classification. Biomedical Signal Processing and Control 2021, 68, 102747. [Google Scholar] [CrossRef]
- Tobon-Henao, M.; Álvarez Meza, A.; Castellanos-Dominguez, G. Kernel-based Regularized EEGNet using Centered Alignment and Gaussian Connectivity for Motor Imagery Discrimination 2023. [CrossRef]
- Liang, Z.; Zheng, Z.; Chen, W.; Pei, Z.; Wang, J.; Chen, J. A novel deep transfer learning framework integrating general and domain-specific features for EEG-based brain–computer interface. Biomedical Signal Processing and Control 2024, 95, 106311. [Google Scholar] [CrossRef]
- Khan, S.; Naseer, M.; Hayat, M.; Zamir, S.W.; Khan, F.; Shah, M. Transformers in Vision: A Survey 2021. [CrossRef]
- Zhao, W.; Jiang, X.; Zhang, B.; Xiao, S.; Weng, S. CTNet: a convolutional transformer network for EEG-based motor imagery classification. Scientific Reports 2024, 14, 12345. [Google Scholar] [CrossRef]
- Hameed, A.; Fourati, R.; Ammar, B.; Ksibi, A.; Alluhaidan, A.S.; Ayed, M.B.; Khleaf, H.K. Temporal–spatial transformer based motor imagery classification for BCI using independent component analysis. Biomedical Signal Processing and Control 2024, 87, 105359. [Google Scholar] [CrossRef]
- Zhang, X.; Yao, L.; Wang, X.; Monaghan, J.; McAlpine, D. A Survey on Deep Learning based Brain Computer Interface: Recent Advances and New Frontiers 2019. [CrossRef]
- Ahmadi, H.; Mahdimahalleh, S.E.; Farahat, A.; Saffari, B. Unsupervised Time-Series Signal Analysis with Autoencoders and Vision Transformers: A Review of Architectures and Applications. Journal of Intelligent Learning Systems and Applications 2025, 17, 77–111. [Google Scholar] [CrossRef]
- Li, S.; Wang, H.; Chen, X.; Wu, D. Multimodal Brain-Computer Interfaces: AI-powered Decoding Methodologies 2025. [CrossRef]
- Shiam, A.A.; Hassan, K.; Islam, M.; Almassri, A.; Wagatsuma, H.; Molla, M.K. Motor Imagery Classification Using Effective Channel Selection of Multichannel EEG. Brain Sciences 2024, 14, 462. [Google Scholar] [CrossRef]
- Almohammadi, H.; colleagues. Revealing functional and structural connectivity patterns in EEG using hybrid deep learning models. IEEE Transactions on Neural Systems and Rehabilitation Engineering 2023, 31, 987–996. [Google Scholar] [CrossRef]
- Friston, K.; Moran, R.; Seth, A.K. Analysing connectivity with Granger causality and dynamic causal modelling. Current Opinion in Neurobiology 2013, 23, 172–178. [Google Scholar] [CrossRef]
- García-Murillo, D.G.; Álvarez Meza, A.M.; Castellanos-Dominguez, C.G. KCS-FCnet: Kernel Cross-Spectral Functional Connectivity Network for EEG-Based Motor Imagery Classification. Diagnostics 2023, 13. [Google Scholar] [CrossRef]
- Cohen, M.X. Analyzing neural time series data: theory and practice; MIT press, 2014. [CrossRef]
- Kanagawa, M.; Hennig, P.; Sejdinovic, D.; Sriperumbudur, B. Gaussian Processes and Kernel Methods: A Review on Connections and Equivalences, 2018. [CrossRef]
- Azangulov, I.; Smolensky, A.; Terenin, A.; Borovitskiy, V. Stationary Kernels and Gaussian Processes on Lie Groups and their Homogeneous Spaces I: the Compact Case 2022. [CrossRef]
- Rasmussen, C.; Bousquet, O.; Luxburg, U.; Rätsch, G. Gaussian Processes in Machine Learning. Advanced Lectures on Machine Learning: ML Summer Schools 2003, Canberra, Australia, February 2 - 14, 2003, Tübingen, Germany, August 4 - 16, 2003, Revised Lectures, 63-71 (2004) 2004, 3176. [CrossRef]
- Garcia, D.; Alvarez-Meza, A.; Castellanos-Dominguez, G. Single-Trial Kernel-Based Functional Connectivity for Enhanced Feature Extraction in Motor-Related Tasks. Sensors 2021, 21, 2750. [Google Scholar] [CrossRef]
- Tobón-Henao, M.; Álvarez Meza, A.M.; Castellanos-Dominguez, C.G. Kernel-Based Regularized EEGNet Using Centered Alignment and Gaussian Connectivity for Motor Imagery Discrimination. Computers 2023, 12. [Google Scholar] [CrossRef]
- Lee, D.; Jeong, J.; Lee, B. Motor Imagery Classification Using Inter-Task Transfer Learning via a Channel-Wise Variational Autoencoder-Based Convolutional Neural Network. In Proceedings of the 2022 International Conference on Artificial Intelligence in Information and Communication (ICAIIC), 2022. [CrossRef]
- Mishra, S.; Mahmudi, O.; Jalali, A. Motor Imagery Signal Classification Using Adversarial Learning: A Systematic Literature Review. In Proceedings of the 2024 IEEE Symposium Series on Computational Intelligence (SSCI), 2024. [CrossRef]
- Dhanushkodi, S.; S, P. Automatic channel selection using multi-objective prioritized jellyfish search (MPJS) algorithm for motor imagery classification using modified DB-EEGNET. Neural Computing and Applications 2025, 37, 6749–6776. [Google Scholar] [CrossRef]
- Pfeffer, M.A.; Wong, J.K.W.; Ling, S.H. Trends and Limitations in Transformer-Based BCI Research. Applied Sciences 2025, 15. [Google Scholar] [CrossRef]
- Luo, W.; Al-qaness, M.A.A.; Li, Y.; Shen, J.; Li, K. EEG-Based Brain-Computer Interface: Fundamentals, Methods, Applications, and Challenges. IEEE Internet of Things Journal 2025, pp. 1–1. [CrossRef]
- Lawhern, V.; Solon, A.; Waytowich, N.; Gordon, S.; Hung, C.; Lance, B. EEGNet: a compact convolutional neural network for EEG-based brain–computer interfaces. Journal of Neural Engineering 2018, 15. [Google Scholar] [CrossRef]
- Schirrmeister, R.T.; Springenberg, J.T.; Fiederer, L.D.J.; Glasstetter, M.; Eggensperger, K.; Tangermann, M.; Hutter, F.; Burgard, W.; Ball, T. Deep learning with convolutional neural networks for EEG decoding and visualization. Human brain mapping 2017, 38, 5391–5420. [Google Scholar] [CrossRef]
- Kim, S.J.; Lee, D.H.; Lee, S.W. Rethinking CNN Architecture for Enhancing Decoding Performance of Motor Imagery-Based EEG Signals. IEEE Access 2022, PP, 1–1. [Google Scholar] [CrossRef]
- Musallam, Y.; AlFassam, N.; Muhammad, G.; Amin, S.; Alsulaiman, M.; Abdul, W.; Altaheri, H.; Bencherif, M.; Algabri, M. Electroencephalography-based motor imagery classification using temporal convolutional network fusion. Biomedical Signal Processing and Control 2021, 69, 102826. [Google Scholar] [CrossRef]
- Nagarajan, A.; Robinson, N.; Ang, K.; Chua, K.; Chew, E.; Guan, C. Transferring a deep learning model from healthy subjects to stroke patients in a motor imagery brain–computer interface. Journal of Neural Engineering 2024, 21. [Google Scholar] [CrossRef]
- Gómez-Orozco, V.; Martínez, C. EEG representation approach based on Kernel Canonical Correlation Analysis highlighting discriminative patterns for BCI applications. In Proceedings of the 2021 43rd Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC). IEEE, 2021, pp. 1726–1729. [CrossRef]
- Demir, A.; Koike-Akino, T.; Wang, Y.; Erdogmus, D. AutoBayes: Automated Bayesian Graph Exploration for Nuisance-Robust Inference 2020. [CrossRef]
- Li, H.; Han, T. Enforcing Sparsity on Latent Space for Robust and Explainable Representations. In Proceedings of the 2024 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV); 2024; pp. 5270–5279. [Google Scholar] [CrossRef]
- Liang, S.; Li, L.; Zu, W.; Feng, W.; Hang, W. Adaptive deep feature representation learning for cross-subject EEG decoding. BMC Bioinformatics 2024, 25. [Google Scholar] [CrossRef]
- Liu, X.; Yoo, C.; Xing, F.; Oh, H.; Fakhri, G.; Kang, J.W.; Woo, J. Deep Unsupervised Domain Adaptation: A Review of Recent Advances and Perspectives. 05 2022. [CrossRef]
- Ahmed, T.; Longo, L. Examining the Size of the Latent Space of Convolutional Variational Autoencoders Trained With Spectral Topographic Maps of EEG Frequency Bands. 2022, Vol. 10, pp. 107575–107586. [CrossRef]
- Sharma, N.; Sharma, M.; Singhal, A.; Vyas, R.; Afthanorhan, A.; Hossaini, M. Recent Trends in EEG-Based Motor Imagery Signal Analysis and Recognition: A Comprehensive Review. IEEE Access 2023, PP, 1–1. [Google Scholar] [CrossRef]










| Block | Layer | Kernel/Units | Strides | Activation | Output Shape |
|---|---|---|---|---|---|
| Input Image | |||||
| Encoder | Conv2D | , 6 Filters | SELU | ||
| () | AvgPool2D | - | |||
| Conv2D | , 16 Filters | SELU | |||
| AvgPool2D | - | ||||
| Conv2D | , 120 Filters | SELU | |||
| Flatten | - | - | - | ||
| Dense | 128 Units | - | SELU | ||
| Latent Space | Dense () | 128 Units | - | Linear | |
| (Reparameterization) | Dense () | 128 Units | - | Linear | |
| Decoder | Dense | 128 Units | - | SELU | |
| () | Dense | 12000 Units | - | SELU | |
| Reshape | - | - | |||
| Conv2DTranspose | , 16 Filters | SELU | |||
| Upsampling | - | ||||
| Conv2DTranspose | , 6 Filters | SELU | |||
| Upsampling | - | ||||
| Reconstruction | - | Sigmoid | |||
| Classifier | Dense | 128 Units | - | SELU | |
| () | Dense (Output) | 2 Units | - | Softmax | |
| Model | ACC |
|---|---|
| CSP [20] | |
| EEGNet [50] | |
| KREEGNet [44] | |
| KCS-FCNet [38] | |
| DeepConvNet [51] | |
| ShallowConvNet [52] | |
| TCFusionNet [53] | |
| EEG-GCIRNet (Our) |
| Model | Avg. Ranking | Avg. T-test p-value |
|---|---|---|
| CSP | ||
| EEGNet | ||
| KCS-FCNet | ||
| KREEGNet | ||
| DeepConvNet | ||
| ShallowConvNet | ||
| TCFusionNet | ||
| EEG-GCIRNet |
| Approach | Group | Accuracy (%) | Gain (%) |
|---|---|---|---|
| EEGNet | Good | 89.64 | – |
| Mid | 70.54 | – | |
| Bad | 54.65 | – | |
| EEG-GCIRNet | Good | 87.86 | |
| Mid | 84.24 | ||
| Bad | 76.20 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).