BrainStratify: Coarse-to-Fine Disentanglement of Intracranial Neural Dynamics

Hui Zheng, Haiteng Wang, Yi-Tao Jing, Pei-Yang Lin, Han-Qing Zhao, Wei Chen, Peng-Hu Wei, Yong-Zhi Shan, Guo-Guang Zhao, Yun-Zhe LiuarXiv 2025 · DOI

Introduction

Decoding speech directly from brain activity represents a significant frontier in Brain-Computer Interface (BCI) research, offering potential communication restoration for patients with conditions like ALS. However, intracranial recordings such as stereo-electroencephalography (sEEG) and electrocorticography (ECoG) present two major challenges: sparsity and entanglement. Task-relevant signals are often scattered across a few electrodes and are mixed with background noise and unrelated neural processes.

BrainStratify addresses these issues through a novel "coarse-to-fine" framework. By first identifying functional modules and then disentangling overlapping neural dynamics within those modules, the system achieves state-of-the-art accuracy and maintains robustness even with limited labeled clinical data.

Methodology

The BrainStratify architecture consists of (a) Coarse-DL for channel clustering and (b) Fine-DL for decoupled representation learning.

BrainStratify operates in two distinct stages to unmix the "neural cocktail":

Stage 1: Coarse Disentanglement (Channel Clustering)

Instead of treating every electrode as an independent source, the model identifies functional groups. It employs a Spatial Context Pre-training task where the model learns to detect temporal anomalies in channel activity. This self-supervised approach forces the model to learn natural spatial relationships. Subsequently, spectral clustering is applied to group electrodes that exhibit synchronized functional behavior.

Stage 2: Fine Disentanglement (Decoupled Representation)

Within each identified functional group, the model utilizes Decoupled Product Quantization (DPQ). This technique decomposes complex neural signals into multiple independent "codexes." By enforcing a partial-correlation constraint, BrainStratify ensures that these latent components represent distinct neural dynamics, preventing the jumbled representations common in previous architectures. Finally, a Masked Autoencoder (MAE) approach is used to reconstruct missing signal segments, creating a robust representation for the final speech decoding task.

Datasets and Evaluation

The framework was evaluated on three diverse benchmarks:

  1. Du-IN (sEEG): 12 subjects performing a 61-word reading task.
  2. Brain Treebank (sEEG): 10 subjects watching movies, used for decoding features like pitch and word onset.
  3. Epidural ECoG Dataset: A new benchmark featuring an ALS patient performing a 62-word reading task using a minimally invasive epidural grid.

Key Results and Insights

Comparison of inter-channel attention graphs between DUET, PopT, and BrainStratify-Coarse, demonstrating clearer modularity in the proposed framework.

BrainStratify consistently outperformed existing state-of-the-art (SOTA) models across all metrics:

  • Word Classification: Achieved 66.44% accuracy on the Du-IN dataset, surpassing the previous SOTA of 62.70%.
  • ECoG Performance: Reached 58.50% accuracy on the new epidural dataset, a significant improvement over the 52.63% baseline.
  • Syllable Decoding: Hit 75.54% accuracy in complex syllable-based tasks (CTC), compared to 70.66% for previous methods.

Visual analysis of the inter-channel attention graphs (Figure 5) confirms that BrainStratify successfully identifies modular functional networks, whereas previous models like DUET and PopT produce more entangled, less interpretable spatial representations. Furthermore, the model demonstrated high data efficiency, maintaining superior performance even when trained on very few labeled samples, which is critical for clinical deployment.

Conclusion

BrainStratify demonstrates that explicitly modeling the brain's modular organization and forcing independence between latent neural components significantly enhances decoding performance. While the current model focuses on functional grouping, future work will explore dynamic topology—how these groups interact over time—and expand the framework's application to motor control and sensory perception tasks.

Summary updated

BibTeX
@misc{zheng2025brainstratify,
  author = {Hui Zheng and Haiteng Wang and Yi-Tao Jing and Pei-Yang Lin and Han-Qing Zhao and Wei Chen and Peng-Hu Wei and Yong-Zhi Shan and Guo-Guang Zhao and Yun-Zhe Liu},
  title = {{BrainStratify: Coarse-to-Fine Disentanglement of Intracranial Neural Dynamics}},
  year = {2025},
  eprint = {2505.20480},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.20480},
}
Figure