Abstract
Decoding speech from brain activity requires isolating relevant signals from a sea of non-stationary noise. This paper introduces a "two-branch" State Space Variational Autoencoder (SSVAE) that decouples instantaneous speech-evoked activity from slow-moving background dynamics in Electrocorticography (ECoG) data. By integrating the temporal structure of state-space models with the non-linear representational power of variational autoencoders, the SSVAE achieves significantly lower prediction errors and higher unsupervised speech detection accuracy than traditional baselines.
Introduction
Recording brain activity during speech production, particularly via high-density Electrocorticography (ECoG), yields data characterized by high dimensionality and significant noise. This "noise" is often a complex mixture of irrelevant cognitive processes and residual signals from previous speech events. Because both the signal of interest and the background dynamics are non-stationary, traditional models that treat them as a single system struggle to isolate the specific neural signatures of active speech. The authors propose a computational approach to increase the signal-to-noise ratio by explicitly decoupling these components.
Methods
The core contribution is the State Space Variational Autoencoder (SSVAE), which utilizes a two-branch architecture to model neural dynamics:
- The State Branch ($r_t$): Captures context-dependent background signals and residual information from previous time steps.
- The Input Branch ($u_t$): Captures instantaneous, speech-evoked foreground signals.
Since the true inputs ($u_t$) are latent, the model employs an unsupervised Smoothed Gaussian Mixture Model (SMM) to estimate them. This structure allows the model to learn a cleaner representation of neural dynamics by forcing a separation between historical context and immediate input.
Datasets and Evaluation
The model was evaluated on a high-density ECoG dataset from a human participant performing a sentence production task. The data, sampled at 95 Hz from 256 electrodes, was split into 45 minutes of training data and 30 minutes of testing data (across 19 blocks). Performance was measured using Relative Prediction Error (RPE) and unsupervised voice activity detection accuracy.
Key Results
The SSVAE was compared against three baselines: LSTM-VAE, Vanilla VAE, and the Unscented Kalman Filter (UKF).
As shown in the performance comparison, the SSVAE consistently achieved the lowest RPE across all test blocks, significantly outperforming the UKF and Vanilla VAE. Furthermore, in an unsupervised speech detection task, the SSVAE's latent features aligned more closely with actual voice activity, achieving a hit rate of 0.51, compared to 0.42 for LSTM-VAE and 0.29 for Vanilla VAE. This suggests the model successfully "found" the speech signal without explicit supervision.
Conclusion
The study demonstrates that modeling the brain as two interacting systems—foreground and background—is more effective for neural signal processing than single-system approaches. The SSVAE's ability to handle non-linearity while respecting temporal flow makes it a powerful tool for "mind-to-speech" decoding. Future work will focus on generalizing these results across multiple participants and refining the model's priors to reduce the observed latency in inferred speech features.
Summary updated