Adversarial Feature Learning in Brain Interfacing: An Experimental Study on Eliminating Drowsiness Effects

Ozan Özdenizci, Barry Oken, Tab Memmott, Melanie Fried-Oken, Deniz ErdogmusarXiv 2019

Introduction

Electroencephalography (EEG) based Brain-Computer Interfaces (BCIs) often struggle with signal non-stationarity. Neural patterns shift significantly not only between individuals but also within a single user over time. A primary driver of this intra-session variability is the onset of drowsiness and fatigue during prolonged tasks. Traditionally, BCIs require frequent re-calibration to account for these shifts. This study proposes an alternative: an adversarial learning framework designed to create models that are fundamentally invariant to the user's state of alertness.

Methodology: Adversarial Feature Learning

The researchers implemented an adversarial framework to "censor" drowsiness-related information from the feature space while preserving task-relevant signals. The architecture, based on the EEGNet convolutional neural network, consists of three components:

  1. The Encoder: Transforms raw EEG data into a compact feature representation.
  2. The Classifier: Predicts the BCI task (e.g., target vs. non-target letters in a speller).
  3. The Adversary: Attempts to predict the recording block ID—a proxy for the user's fatigue level—from the encoded features.

During training, the encoder is optimized to minimize classification loss while simultaneously maximizing the adversary's loss. This "adversarial game" is controlled by a regularization weight, $\lambda$. By increasing $\lambda$, the network is forced to discard features that the adversary uses to identify the user's state, effectively filtering out nuisance information related to fatigue.

Experimental Setup and Validation of Fatigue

The study involved 19 healthy participants performing a rapid serial visual presentation (RSVP) task using the RSVP Keyboard™. Data was collected over five consecutive blocks, spanning approximately one hour. To confirm that participants experienced increasing fatigue, the researchers administered the Karolinska Sleepiness Scale (KSS) and a boredom questionnaire.

Fatigue and boredom scores across experimental blocks show a clear upward trend, validating the presence of drowsiness.

As shown in the figure above, both boredom and sleepiness scores increased consistently from the pre-experiment baseline through the final block, confirming that the experimental design successfully induced the targeted "nuisance" state.

Results and Performance Gains

The adversarial approach yielded significant improvements in command-decoding performance. While standard CNN models ($\lambda=0$) often exploit drowsiness-related patterns—making them sensitive to state changes—the adversarial models demonstrated greater robustness.

Comparison of AUC scores across 19 participants and the mean performance for different adversarial weights (λ).

Key findings include:

  • Quantitative Improvements: The average Area-Under-the-Curve (AUC) rose from 78.6% for the baseline model to between 80.1% and 80.7% for adversarial models.
  • Statistical Significance: Improvements were statistically significant ($p < 0.0004$ for $\lambda=0.1$), suggesting that the gain is consistent across the cohort.
  • Feature Invariance: As $\lambda$ increased, the adversary's accuracy in identifying the recording block dropped toward chance levels, confirming that the learned features became increasingly invariant to the user's fatigue state.

Discussion and Future Directions

This study demonstrates that adversarial feature learning can effectively mitigate the impact of internal state changes in BCIs. By treating drowsiness as a nuisance variable to be ignored rather than a state to be detected, the system becomes more reliable over long sessions.

Future research will focus on moving from offline analysis to real-time, closed-loop implementations. Additionally, replacing the "block ID" proxy with continuous physiological markers (such as heart rate variability) could further refine the adversarial target. Ultimately, this framework holds promise for addressing other forms of variability, potentially paving the way for "plug-and-play" BCIs that require minimal daily calibration.

Summary updated

BibTeX
@misc{ozdenizci2019adversarial,
  author = {Ozan Özdenizci and Barry Oken and Tab Memmott and Melanie Fried-Oken and Deniz Erdogmus},
  title = {{Adversarial Feature Learning in Brain Interfacing: An Experimental Study on Eliminating Drowsiness Effects}},
  year = {2019},
  eprint = {1907.09540},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1907.09540},
}
Figure