Toward in-silico data assessment for passive BCIs: generating EEG rhythms with GANs.

Cinquetti, Ettore; Menegaz, Gloria; Storti, Silvia F · J Neural Eng · 2025

basic_science · Level V

Where this comes from

Abstract

<i>Objective.</i>Passive brain-computer interface (BCI) based on electroencephalography (EEG) has gained traction as reliable method for monitoring human vigilance in attention-demanding critical contexts. Unfortunately, the lack of extensive public datasets compromises artificial intelligence (AI) research. Proposing a solution to this issue, we augmented two EEG datasets using generative adversarial networks (GANs). Furthermore, we defined a quality-assessment pipeline to overcome the absence of a univocal method to test synthetic data.<i>Approach.</i>Using GAN, we augmented a publicly resting-state EEG dataset sustained attention to response task and a custom one simulating activity during repetitive tasks. After extracting relevant time-variant rhythms via the continuous wavelet transform, we quantitatively compared synthetic data with the real one using L2 distance and cross-correlation function. To evaluate the impact of data augmentation, we trained six forecasting models, three on the original and three on the augmented datasets, over the whole, half and a quarter of total available data, and compared improvements in MAE and symmetric mean absolute percentage error (SMAPE). To study the forecaster's embeddings, we computed a metric inspired by the Fréchet inception distance (FID) between latent values of real and synthetic data. Finally, to offer a baseline comparison, we extended the performance and embeddings analysis to data generated by a simple linear interpolation method.<i>Main results.</i>The integration of GAN-produced synthetic data improved signal prediction, as evidenced by a 29.0%, 46.4%, 37.4% reduction in mean absolute error (MAE) for splits of the resting-state dataset, and an average MAE reduction of 15.4%, 21.2% for 100% and 50% splits, and a ∼2.5% increase for the 25% split. Conversely, training on interpolated data manifests worse performance and denotes extremely small FID distances w.r.t real signals, a sign of overspecialization.<i>Significance.</i>This study contributes a reproducible and complete framework for EEG signal generation and evaluation, addressing one of the main barriers to scalable AI application in BCI.

Medical subject headings