إزالة الضوضاء العدائية لإشارات EEG: تحليل مقارن لأساليب GAN القياسية وWGAN-GP
Adversarial denoising of EEG signals: a comparative analysis of standard GAN and WGAN-GP approaches

المجلة: Frontiers in Human Neuroscience، المجلد: 19
DOI: https://doi.org/10.3389/fnhum.2025.1583342
PMID: https://pubmed.ncbi.nlm.nih.gov/40395688
تاريخ النشر: 2025-05-06
المؤلف: Imad Eddine Tibermacine وآخرون
الموضوع الرئيسي: تخطيط الدماغ وواجهات الدماغ-الكمبيوتر

نظرة عامة

في هذه الدراسة، يقارن المؤلفون بشكل منهجي بين الشبكات التنافسية التوليدية القياسية (GAN) وWasserstein GAN مع عقوبة التدرج (WGAN-GP) في هياكلها من أجل إزالة الضوضاء وإعادة بناء إشارات EEG. تكشف النتائج عن وجود تبادل كبير بين قمع الضوضاء العدواني وإعادة بناء الإشارة عالية الدقة. تظهر كلا النموذجين تحسينات كبيرة في وضوح الإشارة، مما يجعلها مناسبة لمجموعة متنوعة من التطبيقات، بما في ذلك أبحاث علوم الأعصاب وواجهات الدماغ-الكمبيوتر (BCIs). من الجدير بالذكر أن الأطر القائمة على GAN تظهر وعدًا في التوسع إلى الشبكات اللاسلكية من الجيل التالي ومجموعات البيانات الكهربائية المعقدة، مما يعالج التحديات المستمرة في إزالة ضوضاء EEG.

تشير النتائج إلى أنه بينما يتفوق WGAN-GP في تقليل مستويات عالية من التداخل، يمكن أن تؤدي إزالة الضوضاء العدوانية أحيانًا إلى المساس بتفاصيل الإشارة الدقيقة. على العكس من ذلك، يحافظ EEG-GAN على هيكل الإشارة الأصلية بشكل أكثر فعالية، مما يجعله مفضلًا للتطبيقات التي تتطلب دقة عالية في شكل الموجات، مثل تحليل EEG السريري ودراسات تخيل الحركة. بشكل عام، تخدم الهياكل المعمارية الاثنين أدوارًا تكاملية: يعد EEG-GAN مثاليًا للسيناريوهات التي تتطلب الاحتفاظ الدقيق بموجات EEG، بينما يعد WGAN-GP مفيدًا في السياقات التي يتم فيها إعطاء الأولوية لإزالة الشوائب القوية. تسلط هذه الدراسة الضوء على قابلية التكيف لأساليب GAN في معالجة إشارات EEG، مقدمة تبادلات متميزة بين دقة الإشارة وتقليل الضوضاء.

مقدمة

تناقش مقدمة هذه الورقة البحثية قيود الطرق الخطية التقليدية لتحسين الإشارة، مثل خوارزميات أقل متوسط مربع (LMS)، خاصة في سياق الإشارات غير الخطية وتقليل الضوضاء. بينما تكون هذه الطرق بسيطة، إلا أنها غالبًا ما تفشل في تحقيق القضاء الأمثل على الضوضاء. بالمقابل، أظهرت التقنيات غير الخطية، بما في ذلك تحويلات الموجات والشبكات العصبية العميقة (DNNs)، فعالية أكبر في التعامل مع أنماط الضوضاء المعقدة، خاصة في البيئات الديناميكية. من الجدير بالذكر أن الشبكات التنافسية التوليدية (GANs) ونسخها، مثل Wasserstein GANs (WGANs)، قد ظهرت كأدوات قوية لإزالة ضوضاء الإشارة، مما يظهر مرونة تجاه الضوضاء الديناميكية والقدرة على الحفاظ على الخصائص الدقيقة للإشارة.

تهدف الورقة إلى سد فجوة في الأدبيات الحالية من خلال مقارنة مباشرة لأداء GANs القياسية وWGANs مع عقوبة التدرج (WGAN-GP) في مهام إزالة ضوضاء EEG. تركز على التبادلات بين قمع الضوضاء والاحتفاظ بالتفاصيل، مقدمة إرشادات لاختيار الإطار التنافسي المناسب بناءً على مقاييس كمية واعتبارات عملية. تشمل مساهمات الدراسة تطوير خط أنابيب تنافسي لقمع الضوضاء في كل من السياقات اللاسلكية وEEG، وتقييم شامل لأداء GAN وWGAN-GP، ورؤى حول قابليتها للتطبيق في الإعدادات السريرية مقابل الإعدادات ذات التداخل العالي. تؤكد هذه الدراسة على إمكانات التعلم التنافسي في معالجة تحديات معالجة الإشارة الأوسع بينما توضح استراتيجيات النشر للتطبيقات في العالم الحقيقي.

طرق

استخدمت الدراسة مجموعتين بيانات متميزتين للتحقيق في تسجيلات EEG خلال مهام تخيل الحركة. تتكون **مجموعة البيانات الصحية** من تسجيلات EEG بـ 64 قناة من 109 متطوعين، بإجمالي أكثر من 1,500 تسجيل تتراوح مدته بين دقيقة إلى دقيقتين لكل منها. شارك المشاركون في 14 تجربة تجريبية، والتي تضمنت تجربتين أساسيتين (عيون مفتوحة ومغلقة) وثلاث تجارب لكل من أربع مهام: (1) حركات قبضة جسدية استجابةً لهدف بصري، (2) حركات قبضة متخيلة، (3) حركات جسدية لكل من اليدين أو القدمين بناءً على موضع الهدف، و(4) حركات متخيلة لكل من الأطراف. تم وضع علامة على كل حدث بمؤشرات (T0 للراحة، T1 وT2 لبدايات الحركة) لتسهيل التحليل.

تتكون **مجموعة البيانات غير الصحية** من إشارات EEG بـ 18 قناة من سبعة مشاركين يعانون من إعاقات عظمية، تم جمعها خلال مهام تخيل الحركة عبر ثلاث جلسات، تحتوي كل منها على 40 تجربة. كانت المهام عشوائية وشملت أربع حركات متميزة: الوصول، الالتواء، الرفع، والإمساك. اتبعت كل تجربة تنسيقًا هيكليًا، بدءًا من علامة تثبيت، تليها إشارة بصرية، فترة انتقال، وانتهت بفترة للحركة المتخيلة. يسمح هذا النهج المكون من مجموعتين بيانات بتحليل شامل لإشارات EEG، مما يعزز الإمكانية لتقنيات إزالة الضوضاء الفعالة عبر ظروف المشاركين المتنوعة.

نتائج

في قسم النتائج، تقيم الدراسة قابلية تعميم نماذج EEG-GAN وWGAN-GP من خلال إعادة بناء الإشارات على قنوات EEG التي لم تُستخدم أثناء التدريب. أظهرت كلا النموذجين أداءً قويًا مع الحد الأدنى من الإفراط في التكيف، كما هو موضح في الأشكال 3A-C و4A-C. تم استخدام نهج شبه صناعي لتعريف إشارات EEG النظيفة من خلال تحديد مقاطع منخفضة الشوائب وإدخال ضوضاء خاضعة للرقابة، مما وفر حقيقة موثوقة لحساب مقاييس مثل متوسط الخطأ المطلق (MAE)، نسبة الإشارة إلى الضوضاء (SNR)، والارتباط.

تشير المقاييس الكمية المقدمة في الجداول 6 و7 إلى أنه بينما يكون EEG-GAN فعالًا في الحفاظ على تفاصيل الإشارة الدقيقة، كما يتضح من قيم نسبة الإشارة إلى الضوضاء العالية (PSNR)، يظهر WGAN-GP قدرات أفضل في قمع الضوضاء، كما يتجلى في قيم SNR الأعلى. ينجح كلا النموذجين في التمييز بين إشارات EEG الصحية وغير الصحية، مما يبرز إمكانياتهما السريرية. تمثل المقاييس المبلغ عنها متوسطات عبر جميع القنوات، مع تقديم تحليل أداء مفصل لـ SNR وPSNR ومقاييس الخطأ الأخرى، مما يبرز قابلية التكيف للتعلم التنافسي في إزالة ضوضاء إشارات EEG وإزالة الشوائب.

مناقشة

في قسم المناقشة، تسلط الورقة الضوء على تطور تقنيات إزالة ضوضاء EEG، مع التركيز على قيود الطرق التقليدية مثل التصفية والعتبة المعتمدة على الموجات في التعامل مع الشوائب المعقدة وغير الخطية. يشير المؤلفون إلى تحول نحو الأساليب المدفوعة بالبيانات، خاصة تطبيق الشبكات التنافسية التوليدية (GANs) وWasserstein GANs (WGANs)، التي أظهرت أداءً متفوقًا في قمع الشوائب ودقة الإشارة مقارنةً بالطرق الكلاسيكية. على سبيل المثال، أظهر GAN لتحسين الإشارة اللاسلكية (WSE-GAN) وWGAN مع خسارة التردد الزمني المكاني (TSF) فعالية في تقليل الضوضاء مع الحفاظ على الهيكل متعدد الأبعاد لإشارات EEG.

تحدد الورقة الفجوات في الأدبيات الحالية، خاصة نقص المقارنات المباشرة بين هياكل GAN المختلفة وطرق إزالة الضوضاء الكلاسيكية تحت ظروف تجريبية متسقة. كما تشير إلى الحاجة إلى تقييمات شاملة عبر مجموعات بيانات EEG متنوعة لتقييم قابلية تعميم النتائج. يتناول المؤلفون هذه الفجوات من خلال مقارنة منهجية بين GAN عادي وWGAN (مع وبدون عقوبة التدرج) ضد تقنيات إزالة الضوضاء الكلاسيكية، مما يضمن تحليلًا قويًا لمقاييس الأداء مثل نسبة الإشارة إلى الضوضاء (SNR) ومتوسط الخطأ المطلق (MAE). يهدف هذا النهج الشامل إلى تقديم رؤى حول التبادلات بين فعالية إزالة الشوائب ودقة الإشارة، مما يسهم في تقدم منهجيات معالجة إشارات EEG.

القيود

تناقش قسم القيود الآثار العملية لتحسين جودة EEG من خلال الأساليب التنافسية، خاصة في التطبيقات مثل واجهات الدماغ-الكمبيوتر (BCIs)، والتشخيصات السريرية، وأنظمة التغذية الراجعة العصبية. يعزز التركيز على إزالة الشوائب القوية وضوح الإشارات العصبية، مما قد يقلل من حجب الأحداث العصبية الرئيسية بواسطة الضوضاء. يتم تقييم أداء النماذج المختلفة، بما في ذلك نموذج GAN القياسي ونماذج قائمة على WGAN، باستخدام مقاييس كمية مثل نسبة الإشارة إلى الضوضاء (SNR)، ونسبة الإشارة إلى الضوضاء القصوى (PSNR)، ومتوسط الخطأ المطلق (MAE).

بينما يظهر نموذج GAN القياسي سلامة إشارة متفوقة مع قيم SNR أعلى ومعدلات خطأ أقل، يقدم WGAN-GP قدرات محسنة في قمع الضوضاء، على الرغم من وجود تشوهات طفيفة في شكل الإشارة. يعتمد الاختيار بين هذه النماذج على متطلبات التطبيق المحددة: لتحليلات سريرية عالية الدقة، يُفضل GAN القياسي، بينما قد يكون WGAN-GP مناسبًا في السياقات التي يكون فيها بعض تدهور الإشارة مقبولًا مقابل تقليل الضوضاء بشكل أكثر قوة. يجب أن تبحث الأبحاث المستقبلية في النتائج المحددة للمهام لفهم الفوائد العملية لهذه التقنيات في إزالة الضوضاء في السيناريوهات الواقعية.

Journal: Frontiers in Human Neuroscience, Volume: 19
DOI: https://doi.org/10.3389/fnhum.2025.1583342
PMID: https://pubmed.ncbi.nlm.nih.gov/40395688
Publication Date: 2025-05-06
Author(s): Imad Eddine Tibermacine et al.
Primary Topic: EEG and Brain-Computer Interfaces

Overview

In this study, the authors systematically compare standard Generative Adversarial Networks (GAN) and Wasserstein GAN with Gradient Penalty (WGAN-GP) architectures for the denoising and reconstruction of EEG signals. The findings reveal a significant trade-off between aggressive noise suppression and high-fidelity signal reconstruction. Both models demonstrate substantial improvements in signal clarity, making them suitable for various applications, including neuroscience research and brain-computer interfaces (BCIs). Notably, GAN-based frameworks show promise for scaling to next-generation wireless networks and complex electrophysiological datasets, addressing longstanding challenges in EEG denoising.

The results indicate that while WGAN-GP excels in reducing high levels of interference, its aggressive denoising can sometimes compromise fine-grained signal details. Conversely, EEG-GAN maintains the original signal structure more effectively, making it preferable for applications that require high waveform fidelity, such as clinical EEG analysis and motor-imagery studies. Overall, the two architectures serve complementary roles: EEG-GAN is ideal for scenarios demanding meticulous retention of EEG waveforms, whereas WGAN-GP is advantageous in contexts where robust artifact removal is prioritized. This research highlights the adaptability of GAN-based methods in EEG signal processing, offering distinct trade-offs between signal fidelity and noise reduction.

Introduction

The introduction of this research paper discusses the limitations of traditional linear methods for signal enhancement, such as least-mean-square (LMS) algorithms, particularly in the context of non-linear signals and noise reduction. While these methods are straightforward, they often fail to achieve optimal noise elimination. In contrast, non-linear techniques, including wavelet transforms and deep neural networks (DNNs), have shown greater efficacy in handling complex noise patterns, especially in dynamic environments. Notably, Generative Adversarial Networks (GANs) and their variants, such as Wasserstein GANs (WGANs), have emerged as powerful tools for signal denoising, demonstrating resilience to dynamic noise and the ability to preserve subtle signal characteristics.

The paper aims to fill a gap in the existing literature by directly comparing the performance of standard GANs and WGANs with gradient penalty (WGAN-GP) in EEG denoising tasks. It focuses on the trade-offs between noise suppression and detail retention, providing guidelines for selecting the appropriate adversarial framework based on quantitative metrics and practical considerations. The study’s contributions include the development of an adversarial pipeline for noise suppression in both wireless and EEG contexts, a comprehensive evaluation of GAN and WGAN-GP performance, and insights into their applicability in clinical versus high-interference settings. This research underscores the potential of adversarial learning in addressing broader signal processing challenges while clarifying deployment strategies for real-world applications.

Methods

The study utilized two distinct datasets to investigate EEG recordings during motor-imagery tasks. The **healthy dataset** consisted of 64-channel EEG recordings from 109 volunteers, totaling over 1,500 recordings of one to two minutes each. Participants engaged in 14 experimental runs, which included two baseline runs (eyes open and closed) and three runs for each of four tasks: (1) physical fist movements in response to a visual target, (2) imagined fist movements, (3) physical movements of both fists or feet based on target position, and (4) imagined movements of both limbs. Each event was labeled with indicators (T0 for rest, T1 and T2 for motion onsets) to facilitate analysis.

The **unhealthy dataset** comprised 18-channel EEG signals from seven participants with orthopedic impairments, collected during motor-imagery tasks across three sessions, each containing 40 trials. The tasks were randomized and included four distinct movements: Reach, Twist, Lift, and Grasp. Each trial followed a structured format, beginning with a fixation cross, followed by a visual cue, a transition period, and concluding with a period for imagined movement. This dual-dataset approach allows for comprehensive analysis of EEG signals, enhancing the potential for effective denoising techniques across varying participant conditions.

Results

In the results section, the study evaluates the generalizability of EEG-GAN and WGAN-GP models through signal reconstructions on EEG channels not used during training. Both models exhibited robust performance with minimal overfitting, as illustrated in Figures 3A-C and 4A-C. A semi-synthetic approach was employed to define clean EEG signals by identifying low-artifact segments and introducing controlled noise, which provided a reliable ground truth for computing metrics such as Mean Absolute Error (MAE), Signal-to-Noise Ratio (SNR), and correlation.

Quantitative metrics presented in Tables 6 and 7 indicate that while EEG-GAN is effective in preserving finer signal details, evidenced by higher Peak Signal-to-Noise Ratio (PSNR) values, WGAN-GP demonstrates superior noise suppression capabilities, reflected in higher SNR values. Both models successfully differentiate between healthy and unhealthy EEG signals, highlighting their potential clinical applications. The reported metrics represent averages across all channels, with detailed performance analysis provided for SNR, PSNR, and other error metrics, underscoring the adaptability of adversarial learning in denoising EEG signals and artifact removal.

Discussion

In the discussion section, the paper highlights the evolution of EEG denoising techniques, emphasizing the limitations of traditional methods such as filtering and wavelet-based thresholding in handling complex, nonlinear artifacts. The authors note a shift towards data-driven approaches, particularly the application of Generative Adversarial Networks (GANs) and Wasserstein GANs (WGANs), which have shown superior performance in artifact suppression and signal fidelity compared to classical methods. For instance, the Wireless Signal Enhancement GAN (WSE-GAN) and the WGAN with temporal-spatial-frequency (TSF) loss have demonstrated effective noise reduction while preserving the multi-dimensional structure of EEG signals.

The paper identifies gaps in the existing literature, particularly the lack of direct comparisons between different GAN architectures and classical denoising methods under consistent experimental conditions. It also points out the need for comprehensive evaluations across diverse EEG datasets to assess the generalizability of findings. The authors address these gaps by systematically comparing a vanilla GAN and a WGAN (with and without gradient penalty) against classical denoising techniques, ensuring a robust analysis of performance metrics such as signal-to-noise ratio (SNR) and mean absolute error (MAE). This thorough approach aims to provide insights into the trade-offs between artifact removal effectiveness and signal fidelity, ultimately contributing to the advancement of EEG signal processing methodologies.

Limitations

The section on limitations discusses the practical implications of improving EEG quality through adversarial methods, particularly in applications like brain-computer interfaces (BCIs), clinical diagnostics, and neurofeedback systems. The focus on robust artifact removal enhances the clarity of neural signals, potentially mitigating the masking of key neural events by noise. The performance of various models, including standard GAN and WGAN-based approaches, is evaluated using quantitative metrics such as Signal-to-Noise Ratio (SNR), Peak Signal-to-Noise Ratio (PSNR), and Mean Absolute Error (MAE).

While the standard GAN model demonstrates superior signal integrity with higher SNR and lower error rates, WGAN-GP offers enhanced noise suppression capabilities, albeit with minor distortions in the signal waveform. The choice between these models hinges on the specific application requirements: for high-fidelity clinical analyses, the standard GAN is preferable, whereas the WGAN-GP may be suitable in contexts where some signal degradation is acceptable in exchange for more robust noise reduction. Future research should investigate task-specific outcomes to better understand the practical benefits of these denoising techniques in real-world scenarios.