Increasing Robustness of Brain–Computer Interfaces Through Automatic Detection and Removal of Corrupted Input Signals

Jordan L. Vasko, Laura Aume, Sanjay Tamrakar, Samuel C. Colachis, Collin Dunlap, Adam Rich, Eric Meyers, David Gabrieli, David A. FriedenbergFrontiers in Neuroscience 2022

Abstract

For brain-computer interfaces (BCIs) to be viable for long-term daily usage, they must be able to quickly identify and adapt to signal disruptions. Furthermore, the detection and mitigation steps need to occur automatically and without the need for user intervention while also being computationally tractable for the low-power hardware that will be used in a deployed BCI system. Here, we focus on disruptions that are likely to occur during chronic use that cause some recording channels to fail but leave the remaining channels unaffected. In these cases, the algorithm that translates recorded neural activity into actions, the neural decoder, should seamlessly identify and adjust to the altered neural signals with minimal inconvenience to the user. First, we introduce an adapted statistical process control (SPC) method that automatically identifies disrupted channels so that both decoding algorithms can be adjusted, and technicians can be alerted. Next, after identifying corrupted channels, we demonstrate the automated and rapid removal of channels from a neural network decoder using a masking approach that does not change the decoding architecture, making it amenable for transfer learning. Finally, using transfer and unsupervised learning techniques, we update the model weights to adjust for the corrupted channels without requiring the user to collect additional calibration data. We demonstrate with both real and simulated neural data that our approach can maintain high-performance while simultaneously minimizing computation time and data storage requirements. This framework is invisible to the user but can dramatically increase BCI robustness and usability.

Introduction

Intracortical brain-computer interfaces (BCIs) have demonstrated remarkable potential in laboratory settings, enabling individuals with paralysis to control external devices using neural activity. However, the transition from controlled environments to long-term "home use" reveals a significant challenge: chronic signal disruption. Over time, implanted electrodes may fail due to biological responses like scarring, material degradation, or mechanical failure. When specific channels in a high-density array (e.g., 96 electrodes) become noisy or "float," they can severely degrade the performance of neural decoders. Current solutions often require manual intervention by technicians to identify and remove faulty channels, followed by time-consuming recalibration. For BCIs to become viable daily assistive tools, they must possess "self-healing" capabilities—automatically detecting and adapting to hardware failures without user burden.

Methods

The researchers developed a three-stage framework designed to maintain BCI robustness automatically and invisibly.

1. Automated Detection via Statistical Process Control (SPC)

To identify corrupted channels without human intuition, the system employs Statistical Process Control (SPC), a methodology traditionally used in industrial quality management. The framework monitors four key array-level metrics: electrode impedance, voltage range, and the maximum/minimum pairwise correlations between channels. A channel is flagged as "corrupted" if its metrics deviate significantly from historical baselines for two consecutive days. This provides a mathematically grounded threshold for defining "bad" electrodes.

2. Mitigation through a Masking Layer

Rather than retraining or redesigning the neural network architecture upon channel failure, the authors introduced a non-trainable masking layer at the input stage.

Overview of the automated BCI robustness framework, showing the pipeline from neural signal acquisition to movement prediction via SPC detection and masking.

To "remove" a corrupted channel, the system simply sets the corresponding weight in the masking layer to zero. This approach effectively converts high-amplitude "floating" noise into a neutral zero signal. Crucially, because the network dimensions remain constant, the system can continue using pre-trained weights, facilitating efficient transfer learning.

3. Adaptation via Unsupervised Updating

Once a channel is masked, the remaining network must adapt to the loss of information. The framework utilizes unsupervised learning to fine-tune model weights in the background. By using the model’s own previous predictions as "pseudo-labels," the system recalibrates itself without requiring the user to perform dedicated training tasks.

Detailed architecture of the neural network decoder, highlighting the masking layer and the subsequent LSTM and convolutional layers.

Experimental Evaluation

The framework was validated using a longitudinal dataset spanning five years from a human participant with tetraplegia. To test the system's limits, researchers simulated "floating" electrode failures by artificially corrupting the most informative channels in "clean" data, ranging from 1 to 50 lost channels. The proposed unsupervised Neural Network with Masking (uNN-MASK) was benchmarked against standard Support Vector Machines (SVMs) and models retrained from scratch.

Results

The uNN-MASK framework demonstrated significant resilience to hardware failure. When 15 of the most critical channels were corrupted, standard decoders typically failed, yet the proposed system maintained over 85% accuracy and 80% success rates. Furthermore, the masking and unsupervised update process proved to be 4 to 10 times faster than retraining a model from scratch, making it suitable for low-power, deployed hardware. Importantly, the entire process is "invisible" to the user, eliminating the need for repetitive manual calibration.

Discussion and Conclusion

While the system offers a robust solution for acute failures, some limitations remain. The current SPC configuration requires two days of data to confirm a failure, potentially leading to a short period of sub-optimal performance. Additionally, while effective for sudden disruptions, further research is needed to evaluate performance against very slow, subtle signal decay.

In conclusion, by combining industrial quality control with deep learning adaptation, this framework significantly increases the reliability and usability of BCIs for long-term clinical applications.

Summary updated

BibTeX
@inproceedings{vasko2022increasing,
  author = {Jordan L. Vasko and Laura Aume and Sanjay Tamrakar and Samuel C. Colachis and Collin Dunlap and Adam Rich and Eric Meyers and David Gabrieli and David A. Friedenberg},
  title = {{Increasing Robustness of Brain–Computer Interfaces Through Automatic Detection and Removal of Corrupted Input Signals}},
  booktitle = {Frontiers in Neuroscience},
  year = {2022},
  doi = {10.3389/fnins.2022.858377},
}
Figure