{"title":"Optimized hybrid Transformer-based model for EEG classification: application to wheelchair control.","authors":"Lassaad Zaway, Intissar Zaway, Jalel Ktari, Nader Ben Amor, Laurent Delahoche, Larbi Chrifi Alaoui, Mohamed Jallouli","doi":"10.3934/Neuroscience.2026020","DOIUrl":null,"url":null,"abstract":"<p><p>The purpose of this study is to improve the classification of electroencephalogram (EEG) signals for motor imagery-based brain-computer interfaces (MI-BCIs), thus enabling more reliable user interactions in assistive technologies such as autonomous wheelchairs. The study contributes by systematically investigating and comparing the performance of both simple (Transformer, Convolutional Neural Networks (CNNs), Long Short-Term Memory (LSTM)) and hybrid deep learning architectures (Transformer + CNN, Transformer + LSTM, CNN + LSTM) for EEG signal classification using multiple evaluation metrics, including accuracy, ROC AUC, confusion matrices, and prediction time. The findings demonstrate that the Transformer + CNN hybrid model consistently outperforms all other architectures, thereby achieving perfect classification accuracy (1.00), zero misclassifications, flawless AUC scores (1.000), and a competitive inference time (1.17 s), thus making it highly suitable for real-time MI-BCI applications. In contrast, simple models, particularly LSTM, show lower accuracies and reduced stabilities. Overall, this study highlights the advantage of combining attention mechanisms and convolutional architectures to effectively capture both spatial and contextual patterns in nonstationary EEG signals, thus establishing Transformer-based hybrid models as a promising approach for robust, real-time EEG classifications in next-generation MI-BCI systems.</p>","PeriodicalId":7732,"journal":{"name":"AIMS Neuroscience","volume":"13 3","pages":"452-475"},"PeriodicalIF":4.3000,"publicationDate":"2026-08-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13658059/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"AIMS Neuroscience","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3934/Neuroscience.2026020","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/1/1 0:00:00","PubModel":"eCollection","JCR":"Q2","JCRName":"NEUROSCIENCES","Score":null,"Total":0}
引用次数: 0
Abstract
The purpose of this study is to improve the classification of electroencephalogram (EEG) signals for motor imagery-based brain-computer interfaces (MI-BCIs), thus enabling more reliable user interactions in assistive technologies such as autonomous wheelchairs. The study contributes by systematically investigating and comparing the performance of both simple (Transformer, Convolutional Neural Networks (CNNs), Long Short-Term Memory (LSTM)) and hybrid deep learning architectures (Transformer + CNN, Transformer + LSTM, CNN + LSTM) for EEG signal classification using multiple evaluation metrics, including accuracy, ROC AUC, confusion matrices, and prediction time. The findings demonstrate that the Transformer + CNN hybrid model consistently outperforms all other architectures, thereby achieving perfect classification accuracy (1.00), zero misclassifications, flawless AUC scores (1.000), and a competitive inference time (1.17 s), thus making it highly suitable for real-time MI-BCI applications. In contrast, simple models, particularly LSTM, show lower accuracies and reduced stabilities. Overall, this study highlights the advantage of combining attention mechanisms and convolutional architectures to effectively capture both spatial and contextual patterns in nonstationary EEG signals, thus establishing Transformer-based hybrid models as a promising approach for robust, real-time EEG classifications in next-generation MI-BCI systems.
期刊介绍:
AIMS Neuroscience is an international Open Access journal devoted to publishing peer-reviewed, high quality, original papers from all areas in the field of neuroscience. The primary focus is to provide a forum in which to expedite the speed with which theoretical neuroscience progresses toward generating testable hypotheses. In the presence of current and developing technology that offers unprecedented access to functions of the nervous system at all levels, the journal is designed to serve the role of providing the widest variety of the best theoretical views leading to suggested studies. Single blind peer review is provided for all articles and commentaries.