ORIGINAL RESEARCH article

Front. Hum. Neurosci.

Sec. Brain-Computer Interfaces

Volume 19 - 2025 | doi: 10.3389/fnhum.2025.1583342

Adversarial Denoising of EEG Signals: A Comparative Analysis of Standard GAN and WGAN-GP Approaches

Provisionally accepted
  • 1Department of Computer, Automatic and Management Engineering, Faculty of Information Engineering, Computer Science and Statistics, Sapienza University of Rome, Rome, Lazio, Italy
  • 2Department of Psychology, Sapienza University of Rome, Rome, Sicily, Italy
  • 3Ziane Achour University of Djelfa, Djelfa, Algeria
  • 4Department of Computer Sciences, College of Computer and Information Sciences, Princess Nourah bint Abdulrahman University, Riyadh, Saudi Arabia
  • 5School of ICT, Faculty of Engineering, Design and Information & Communications Technology (EDICT), Bahrain Polytechnic, Isa Town, Bahrain
  • 6Applied Science Private University, Amman, Amman, Jordan
  • 7Sapienza University of Rome, Rome, Italy
  • 8National Research Council (CNR), Roma, Lazio, Italy
  • 9Department of Computational Intelligence, Czestochowa University of Technology, Czestochowa, Poland

The final, formatted version of the article will be published soon.

Introduction: Electroencephalography signals frequently contain substantial noise and interference, which can obscure clinically and scientifically relevant features. Traditional denoising approaches, such as linear filtering or wavelet thresholding, often struggle with nonlinear or time-varying artifacts. In response, the present study explores a Generative Adversarial Network framework to enhance EEG signal quality, focusing on two variants: a conventional GAN model and a Wasserstein GAN with Gradient Penalty. Methods: Data were obtained from two distinct EEG datasets: a "healthy" set of 64-channel recordings collected during various motor/imagery tasks, and an "unhealthy" set of 18-channel recordings from individuals with orthopedic impairments. Both datasets underwent comprehensive preprocessing, including band-pass filtering (8-30 Hz), channel standardization, and artifact 1 Tibermacine et al. trimming. The training stage involved adversarial learning, in which a generator sought to reconstruct clean EEG signals while a discriminator attempted to distinguish between real and generated signals. The model evaluation was conducted using quantitative metrics such as signal-to-noise ratio, peak signal-to-noise ratio, correlation coefficient, mutual information, and dynamic time warping distance. Results: Experimental findings indicate that adversarial learning substantially improves EEG signal fidelity across multiple quantitative metrics. Specifically, WGAN-GP achieved an SNR of up to 14.47 dB (compared to 12.37 dB for the standard GAN) and exhibited greater training stability, as evidenced by consistently lower RRMSE values. In contrast, the conventional GAN model excelled in preserving finer signal details, reflected in a PSNR of 19.28 dB and a correlation coefficient exceeding 0.90 in several recordings. Both adversarial frameworks outperformed classical wavelet-based thresholding and linear filtering methods, demonstrating superior adaptability to nonlinear distortions and dynamic interference patterns in EEG time-series data. Discussion: By systematically comparing standard GAN and WGAN-GP architectures, this study highlights a practical trade-off between aggressive noise suppression and high-fidelity signal reconstruction. The demonstrated improvements in signal quality underscore the promise of adversarially trained models for applications ranging from basic neuroscience research to real-time BCI in clinical or consumer-grade settings. The results further suggest that GAN-based frameworks can be easily scaled to next-generation wireless networks and complex electrophysiological datasets, offering robust and dynamic solutions to long-standing challenges in EEG denoising.

Keywords: EEG denoising, generative adversarial network, Wasserstein GAN, Brain-computer interface, deep learning

Received: 25 Feb 2025; Accepted: 09 Apr 2025.

Copyright: © 2025 TIBERMACINE, Russo, Citeroni, Mancini, Rabehi, Alharbi, El-kenawy and Napoli. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence:
Imad Eddine TIBERMACINE, Department of Computer, Automatic and Management Engineering, Faculty of Information Engineering, Computer Science and Statistics, Sapienza University of Rome, Rome, 00185, Lazio, Italy
Amal H. Alharbi, Department of Computer Sciences, College of Computer and Information Sciences, Princess Nourah bint Abdulrahman University, Riyadh, Saudi Arabia

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.