DOI: https://doi.org/10.3389/fnins.2025.1622847
PMID: https://pubmed.ncbi.nlm.nih.gov/40717726
تاريخ النشر: 2025-07-11
المؤلف: Zhenis Otarbay وآخرون
الموضوع الرئيسي: تخطيط الدماغ وواجهات الدماغ-الكمبيوتر
نظرة عامة
يتناول هذا القسم من ورقة البحث التقدم في واجهات الدماغ-الكمبيوتر (BCIs) التي تستخدم إشارات EEG لتخيل الحركة (MI)، مع التركيز بشكل خاص على تحديات تباين الإشارة العالي وتداخل الفئات. يقدم البحث بنية تعلم عميقة هجينة تجمع بين الشبكات العصبية التلافيفية (CNNs) وشبكات الذاكرة طويلة وقصيرة المدى (LSTMs) وآلية انتباه معززة بدعم آلة المتجهات (SVM) جديدة. تهدف هذه الطريقة إلى تحسين قابلية الفصل بين الفئات من خلال تضمين هدف تعظيم الهامش الخاص بـ SVMs في حساب الانتباه الذاتي، مما يعزز تعلم الميزات. تم تقييم النموذج على أربعة مجموعات بيانات مرجعية—Physionet وWeibo وBCI Competition IV a وb—باستخدام بروتوكول ترك موضوع واحد خارج (LOSO)، مما أسفر عن تحسينات كبيرة في دقة التصنيف وF-score والحساسية مقارنة بالطرق التقليدية.
تشير النتائج إلى أن بنية CNN+LSTM الهجينة، وخاصة مع آلية الانتباه المعززة بـ SVM، تتفوق على النماذج الرائدة في التقاط الأنماط المكانية والزمنية بينما تقوم بتحسين قابلية الفصل بين الفئات من خلال الانتباه القائم على الهامش. على الرغم من أن النماذج المعتمدة على المحولات أظهرت نتائج قوية على مجموعة بيانات Physionet، إلا أن البنية المقترحة أظهرت أداءً متفوقًا باستمرار عبر إعدادات مختلفة. كما يعيد البحث النظر في بنية CNN التي قدمها Abibullaev وآخرون (2020)، والتي، على الرغم من كونها متقاربة في الدقة، تقدم وقت حساب مخفض، مما يجعلها قاعدة خفيفة قابلة للاستخدام لتصنيف MI. بشكل عام، يقدم النموذج المقترح حلاً قويًا وفعالًا لتطبيقات BCI في الوقت الحقيقي، مع التأكيد على دمج تحسين حدود الفئات ضمن آليات الانتباه لمعالجة تعقيدات إشارات EEG المزعجة.
مقدمة
تناقش مقدمة هذه الورقة البحثية أهمية واجهات الدماغ-الكمبيوتر (BCIs) في تسهيل التواصل للأفراد الذين يعانون من حالات مثل ALS ومرض باركنسون من خلال تجاوز طرق التواصل التقليدية. تسلط الورقة الضوء على استخدام تطبيع الدفعات (BN) ضمن إطار الشبكة العصبية التلافيفية (CNN) للتخفيف من الإفراط في التكيف وتعزيز أداء التصنيف، خاصة في سياق إشارات تخيل الحركة (MI) المستمدة من تخطيط الدماغ الكهربائي (EEG). بينما يُفضل EEG لدقته الزمنية العالية وطبيعته غير الغازية، يتم الاعتراف بالتحديات المتعلقة بتصنيف إشارات EEG، خاصة في مهام تخيل الحركة، بسبب عدم استقراريتها ووجود أنماط متداخلة.
لمعالجة هذه التحديات، يقترح البحث دمجًا مبتكرًا لمبادئ آلة المتجهات الداعمة (SVM) مع آليات الانتباه لتحسين تصنيف EEG. تهدف هذه الطريقة إلى تعزيز صلة الميزات وتحسين فصل حدود الفئات، مما يزيد من القوة ضد الضوضاء ويحسن دقة التصنيف. كما تؤكد الورقة على الحاجة إلى تقنيات فعالة لتقليل الأبعاد وأهمية اختيار هياكل النماذج المناسبة وأشكال بيانات الإدخال لتطبيقات التعلم العميق في تصنيف EEG MI. في النهاية، يسعى البحث إلى المساهمة في تطوير نماذج تصنيف تعتمد على EEG أكثر دقة وموثوقية، والتي تعتبر ضرورية لتقدم تطبيقات BCI في العالم الحقيقي.
طرق
في هذه الدراسة، يتم اقتراح بنية هجينة جديدة لتعزيز تصنيف EEG، خاصة في مهام تخيل الحركة التي تتميز بإشارات مزعجة وغير مستقرة مع تداخل كبير بين الفئات. يحدد المؤلفون أن آليات الانتباه التقليدية، على الرغم من فعاليتها في التأكيد على الميزات ذات الصلة، لا تفرض قيود الهامش بين الفئات، مما يمكن أن يعيق أداء التصنيف في وجود ميزات متداخلة.
لمعالجة هذه القيود، يقدم الباحثون آلية انتباه معززة بـ SVM تدمج مبدأ تعظيم الهامش لآلات المتجهات الداعمة (SVM) في حساب الانتباه. من خلال تضمين قيود تحسين SVM داخل طبقة الانتباه، لا تلتقط الطريقة المقترحة صلة الميزات فحسب، بل تعزز أيضًا الفصل الهندسي للفئات في فضاء الميزات. تؤدي هذه الأهداف المزدوجة إلى حدود قرار أكثر قوة وأداء تصنيف محسّن في بيئات EEG الصعبة، مما يميزها عن النماذج الهجينة السابقة التي طبقت SVM في المعالجة اللاحقة أو كتصنيف مستقل.
نتائج
في هذا القسم، يقدم المؤلفون نتائج تقييمهم المقارن لآلية الانتباه الذاتي المعززة بـ SVM مقابل نماذج هجينة مختلفة، مع التركيز بشكل خاص على دقة التصنيف عبر أربعة مجموعات بيانات EEG لتخيل الحركة باستخدام بروتوكول ترك موضوع واحد خارج (LOSO). تشير النتائج، الملخصة في الجداول 1-3، إلى أن شبكة CNN-LSTM أدت بشكل متغير عبر مجموعات بيانات BCI IV 2a وWeibo وBCI IV 2b، مع دقة اختبار متوسطة تتراوح من 0.56 إلى 0.81 اعتمادًا على الموضوع وتكوين النموذج. من الجدير بالذكر أن نموذج الانتباه الذاتي المعزز بـ SVM تفوق باستمرار على CNN-LSTM ونماذج أخرى معتمدة على الانتباه، محققًا دقة تصنيف متفوقة عبر جميع مجموعات البيانات، خاصة في التقييمات المستقلة عن الموضوع. يُعزى هذا التحسن إلى قدرة SVM على تعزيز قابلية الفصل بين الفئات، مما يعالج القيود الموجودة في آليات الانتباه التقليدية.
توضح دراسة الإزالة أيضًا مساهمات المكونات المعمارية المختلفة، كاشفة أن كل تحسين—يبدأ من CNN-LSTM الأساسية وينتهي بالانتباه المعزز بـ SVM—أدى إلى تحسينات كبيرة في F1-score وفصل الفئات والحساسية. أكدت التحليلات الإحصائية، بما في ذلك اختبارات ANOVA أحادية الاتجاه، على أهمية الفروق في الأداء عبر النماذج لمعظم مجموعات البيانات، حيث أظهر نموذج الانتباه الذاتي المعزز بـ SVM قدرات تعميم قوية. كما يبرز المؤلفون كفاءة نموذجهم، محققين دقة تنافسية مع عدد أقل من المعلمات مقارنة بالهياكل الأكثر تعقيدًا، مما يشير إلى إمكانيته لتطبيقات أوسع في مهام تخيل الحركة متعددة الفئات. بشكل عام، تؤكد النتائج فعالية دمج تحسين الهامش القائم على SVM ضمن آليات الانتباه لمهام تصنيف EEG.
مناقشة
تقدم هذه الدراسة بنية تعلم عميقة هجينة جديدة تدمج الشبكات العصبية التلافيفية (CNN) وطبقات الذاكرة طويلة وقصيرة المدى (LSTM) وآلية انتباه معززة بـ SVM لتعزيز تصنيف EEG لتخيل الحركة (MI) لتطبيقات واجهة الدماغ-الكمبيوتر (BCI). يجمع النموذج بشكل فعال بين استخراج الميزات المكانية ونمذجة التسلسل الزمني بينما يدمج تحسينًا قائمًا على الهامش لتحسين دقة التصنيف، خاصة في سياق بيانات EEG المزعجة وعالية الأبعاد.
تعتبر إضافة كبيرة لهذا العمل هي دمج قيود آلة المتجهات الداعمة (SVM) مباشرة في آلية الانتباه. يسمح هذا التكامل للنموذج بالتركيز ليس فقط على الميزات ذات الصلة ولكن أيضًا لتحسين قابلية الفصل بين الفئات من خلال فرض مبادئ تعظيم الهامش أثناء حساب أوزان الانتباه. تعالج هذه الطريقة قيود آليات الانتباه التقليدية، التي تعطي الأولوية عادةً لتشابه الميزات دون النظر بشكل صريح إلى حدود الفئات. تُظهر البنية المقترحة أداءً محسّنًا في التصنيف، مما يبرز إمكانياتها لتطبيقات BCI في الوقت الحقيقي وقوتها ضد التحديات الشائعة في تحليل بيانات EEG.
DOI: https://doi.org/10.3389/fnins.2025.1622847
PMID: https://pubmed.ncbi.nlm.nih.gov/40717726
Publication Date: 2025-07-11
Author(s): Zhenis Otarbay et al.
Primary Topic: EEG and Brain-Computer Interfaces
Overview
This research paper section discusses advancements in Brain-Computer Interfaces (BCIs) that utilize motor imagery (MI) EEG signals, particularly focusing on the challenges of high signal variability and class overlap. The study introduces a hybrid deep learning architecture that combines Convolutional Neural Networks (CNNs), Long Short-Term Memory networks (LSTMs), and a novel Support Vector Machine (SVM)-enhanced attention mechanism. This approach aims to improve interclass separability by embedding the margin maximization objective of SVMs into the self-attention computation, thereby enhancing feature learning. The model was evaluated on four benchmark datasets—Physionet, Weibo, BCI Competition IV a, and b—using a Leave-One-Subject-Out (LOSO) protocol, yielding significant improvements in classification accuracy, F-score, and sensitivity compared to traditional methods.
The findings indicate that the CNN+LSTM hybrid architecture, particularly with the SVM-enhanced attention mechanism, outperforms state-of-the-art models in capturing spatial and temporal patterns while refining class separability through margin-based attention. Although transformer-based models showed strong results on the Physionet dataset, the proposed architecture consistently demonstrated superior performance across various settings. The study also revisits a CNN architecture by Abibullaev et al. (2020), which, while comparable in accuracy, offers reduced computational time, making it a viable lightweight baseline for MI classification. Overall, the proposed model presents a robust and efficient solution for real-time BCI applications, emphasizing the integration of class boundary optimization within attention mechanisms to address the complexities of noisy EEG signals.
Introduction
The introduction of this research paper discusses the significance of Brain-Computer Interfaces (BCIs) in facilitating communication for individuals with conditions such as ALS and Parkinson’s disease by bypassing traditional communication methods. The paper highlights the use of batch normalization (BN) within a Convolutional Neural Network (CNN) framework to mitigate overfitting and enhance classification performance, particularly in the context of motor imagery (MI) signals derived from electroencephalograms (EEG). While EEG is favored for its high temporal resolution and non-invasive nature, the challenges of classifying EEG signals, especially in motor imagery tasks, are acknowledged due to their non-stationarity and the presence of overlapping patterns.
To address these challenges, the study proposes an innovative integration of Support Vector Machine (SVM) principles with attention mechanisms to improve EEG classification. This approach aims to enhance feature relevance and optimize class boundary separation, thereby increasing robustness against noise and improving classification accuracy. The paper also emphasizes the need for effective dimensionality reduction techniques and the importance of selecting appropriate model architectures and input data formats for deep learning applications in MI EEG classification. Ultimately, the research seeks to contribute to the development of more accurate and reliable EEG-based classification models, which are crucial for advancing real-world BCI applications.
Methods
In this study, a novel hybrid architecture is proposed to enhance EEG classification, particularly in motor imagery tasks characterized by noisy and nonstationary signals with significant class overlap. The authors identify that traditional attention mechanisms, while effective in emphasizing relevant features, do not enforce interclass margin constraints, which can hinder classification performance in the presence of overlapping features.
To address this limitation, the researchers introduce an SVM-enhanced attention mechanism that integrates the margin-maximization principle of Support Vector Machines (SVM) into the attention computation. By embedding SVM optimization constraints within the attention layer, the proposed method not only captures feature relevance but also promotes geometric separation of classes in the feature space. This dual objective results in more robust decision boundaries and improved classification performance in challenging EEG environments, distinguishing it from previous hybrid models that applied SVM in postprocessing or as a standalone classifier.
Results
In this section, the authors present the results of their comparative evaluation of the proposed SVM Self-Attention mechanism against various hybrid models, specifically focusing on classification accuracy across four motor imagery EEG datasets using a Leave-One-Subject-Out (LOSO) protocol. The results, summarized in Tables 1-3, indicate that the CNN-LSTM network performed variably across the BCI IV 2a, Weibo, and BCI IV 2b datasets, with average test accuracies ranging from 0.56 to 0.81 depending on the subject and model configuration. Notably, the SVM Self-Attention model consistently outperformed the CNN-LSTM and other attention-based models, achieving superior classification accuracy across all datasets, particularly in subject-independent evaluations. This improvement is attributed to the SVM’s ability to enhance class separability, addressing limitations found in traditional attention mechanisms.
An ablation study further elucidates the contributions of various architectural components, revealing that each enhancement—starting from a baseline CNN-LSTM and culminating in the SVM-enhanced attention—led to significant improvements in F1-score, class separation, and sensitivity. Statistical analyses, including one-way ANOVA tests, confirmed the significance of the performance differences across models for most datasets, with the SVM Self-Attention model demonstrating robust generalization capabilities. The authors also highlight the efficiency of their model, achieving competitive accuracy with fewer parameters compared to more complex architectures, thus suggesting its potential for broader applications in multi-class motor imagery tasks. Overall, the findings underscore the effectiveness of integrating SVM-based margin optimization within attention mechanisms for EEG classification tasks.
Discussion
This study presents a novel hybrid deep learning architecture that integrates convolutional neural networks (CNN), long short-term memory (LSTM) layers, and an SVM-enhanced attention mechanism to enhance motor imagery (MI) EEG classification for brain-computer interface (BCI) applications. The model effectively combines spatial feature extraction and temporal sequence modeling while incorporating margin-based optimization to improve classification accuracy, particularly in the context of noisy and high-dimensional EEG data.
A significant advancement of this work is the incorporation of Support Vector Machine (SVM) constraints directly into the attention mechanism. This integration allows the model to not only focus on relevant features but also to optimize class separability by enforcing margin-maximization principles during the attention weight computation. This approach addresses the limitations of traditional attention mechanisms, which typically prioritize feature similarity without explicitly considering class boundaries. The proposed architecture demonstrates improved classification performance, highlighting its potential for real-time BCI applications and its robustness against common challenges in EEG data analysis.
