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

<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.

Authors

Institutions

Publication Details

Journal
Journal of Neural Engineering
Published
2025-11-06
DOI
https://doi.org/10.1088/1741-2552/ae1c6f
Primary Topic
EEG and Brain-Computer Interfaces
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

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

Gloria Menegaz, Silvia Francesca Storti, Ettore Cinquetti
Journal of Neural Engineering
EEG and Brain-Computer Interfaces
article

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

Gloria Menegaz, Silvia Francesca Storti, Ettore Cinquetti
article en

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.

Journal of Neural EngineeringVol. 22(6)
University of Verona (IT)
Openalex Percentile: Top 67%
EEG and Brain-Computer Interfaces
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.