Using adversarial networks to extend brain computer interface decoding accuracy over time

Xuan Ma, Fabio Rizzoglio, Kevin Bodkin, Eric J. Perreault, Lee E. Miller, Ann Kennedy

TL;DR

This paper introduces Cycle-GAN, a novel adversarial network approach to stabilize brain-computer interface (BCI) decoders over time. By aligning neural recording distributions across days, Cycle-GAN significantly improves decoding accuracy without requiring frequent recalibration, offering a more robust and user-friendly BCI experience.

What Problem Does This Paper Address?

Intracortical brain-computer interfaces (iBCIs) are revolutionary tools that translate neural activity into control signals, restoring movement for individuals with paralysis. However, a major hurdle is the degradation of decoder performance over time. This occurs because the neurons being recorded change or "turn over," altering the neural signals that the decoder relies on. Traditionally, this issue is addressed by recalibrating the decoder, which is time-consuming and interrupts the user's workflow. The authors aim to solve this by developing an "input stabilizer" that can adapt the neural signals to match the original decoder's expectations, thus maintaining performance without user intervention.

Methods

The core of this work lies in domain adaptation using Generative Adversarial Networks (GANs). The authors compare three unsupervised methods:

  • Procrustes Alignment of Factors (PAF): A linear method that aligns low-dimensional manifolds derived from neural activity using Factor Analysis.
  • Adversarial Domain Adaptation Network (ADAN): A GAN-based method that aligns latent signals within low-dimensional neural manifolds. ADAN uses an autoencoder to find these manifolds and then aligns the distributions of residuals between actual neural activity and its reconstruction.
  • Cycle-Consistent Adversarial Networks (Cycle-GAN): The novel approach proposed here. Cycle-GAN aligns the full-dimensional neural recordings directly, without requiring dimensionality reduction to a low-dimensional manifold. It uses a "cycle-consistency" mechanism, where data is translated from day-k to day-0 and then back to day-k, ensuring the learned transformation is reversible and more robust. This direct alignment of full-dimensional data is a key advantage.

All methods are unsupervised and aim to make a decoder trained on "day-0" data perform well on "day-k" data.

Datasets

The study utilized datasets from six adult male rhesus monkeys performing five different behavioral tasks:

  • Isometric wrist task (flexion/extension, radial/ulnar deviation)
  • Power grasp task
  • Key grasp task
  • Center-out reaching task
  • Random-target reaching task

These datasets spanned recording sessions over periods of up to 100 days. The data included multi-unit neural activity and electromyograms (EMGs) or hand trajectories. No new benchmarks were introduced; rather, existing datasets were used to rigorously compare the proposed methods.

Key Insights and Ideas

  • Neural drift is a fundamental challenge: The study clearly demonstrates that even with stable motor outputs, neural recordings degrade significantly over time, impacting BCI performance.
  • Domain adaptation is a promising solution: GAN-based domain adaptation methods show significant potential for stabilizing iBCI decoders.
  • Full-dimensional alignment is superior: Cycle-GAN's ability to align the full-dimensional neural recordings, rather than just low-dimensional manifolds, leads to better performance and a simpler implementation.
  • Cycle-consistency is key for robustness: The cycle-consistency loss in Cycle-GAN makes it less sensitive to hyperparameter tuning and more robust than ADAN.
  • Minimal data is needed: All tested unsupervised methods, especially the GAN-based ones, require surprisingly little training data to achieve significant improvements.

Key Results

  • Performance degradation is significant: A day-0 decoder's accuracy dropped substantially on later days (day-k), with performance degradation occurring even within a few days.
  • Cycle-GAN outperforms others: Cycle-GAN consistently showed the best performance in stabilizing decoder accuracy across various tasks and monkeys, significantly outperforming both ADAN and PAF.
  • Reduced performance drop: Cycle-GAN reduced the performance drop by approximately 0.02 on day-1, compared to -0.06 for ADAN and -0.11 for PAF.
  • Robustness and ease of training: Cycle-GAN was found to be easier to train and more robust to hyperparameter settings (batch size, learning rates) than ADAN.
  • Minimal training data required: All aligners improved performance with as few as 20-40 trials, with performance plateauing thereafter. Cycle-GAN and ADAN significantly outperformed PAF even with limited data.
  • Improved neural manifold alignment: Both ADAN and Cycle-GAN successfully aligned neural manifolds, making day-k trajectories closely resemble day-0 trajectories. Cycle-GAN achieved a significantly lower between-day MMD than ADAN.

Limitations and Future Work

  • Behavioral strategy shifts: The authors acknowledge that changes in the animal's behavioral strategy could contribute to decoding error, and unsupervised alignment might not fully compensate for these shifts.
  • Offline evaluation: The study relied on offline estimates of decoder accuracy. Future work could explore real-time implementation and evaluation.
  • Clinical practicality: While promising, further validation in human users is needed to confirm clinical practicality.
  • Further investigation of GANs: The authors suggest that replacing the KLD-based alignment in other methods (like NoMAD) with a Cycle-GAN-based aligner could yield even better performance. They also highlight the need for standardized benchmark datasets to disentangle contributions from preprocessing, alignment, and decoding.

Summary updated

BibTeX
@inproceedings{ma2023using,
  author = {Xuan Ma and Fabio Rizzoglio and Kevin Bodkin and Eric J. Perreault and Lee E. Miller and Ann Kennedy},
  title = {{Using adversarial networks to extend brain computer interface decoding accuracy over time}},
  booktitle = {eLife},
  year = {2023},
  doi = {10.7554/elife.84296},
}
Figure