NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

UniBCI: Towards a Unified Pretrained Model for Invasive Brain-Computer Interfaces

Binjie Hong, Rui Xiong, Liyuan Han, Tielin ZhangarXiv 2026

TL;DR

UniBCI is a highly compact and efficient foundation model for invasive brain-computer interfaces (BCIs) that learns generalizable neural representations from large-scale unlabeled spike data. By combining context-conditioned text metadata with a novel hierarchical attention mechanism, it achieves state-of-the-art performance across multiple species, subjects, and brain regions while using 46× fewer trainable parameters than existing models.

What Problem Does This Paper Address?

Invasive brain-computer interfaces (BCIs) record high-resolution neural activity directly from neurons via spikes. While powerful, modeling this data is notoriously difficult due to three major hurdles:

  1. Data Heterogeneity: Datasets are fragmented, small-scale, and collected using vastly different electrode layouts and experimental paradigms.
  2. Cross-Domain Distribution Shifts: Neural signals vary drastically across different recording sessions, individual subjects, and species.
  3. Spatiotemporal Complexity: Brain activity exhibits intricate, non-stationary temporal dynamics and localized spatial correlations.

Existing BCI foundation models often force a trade-off: they either suffer from high computational latency (making them impractical for real-time applications) or rely heavily on expensive, hard-to-get behavioral labels. UniBCI aims to break this trade-off by providing a unified, self-supervised framework that is simultaneously accurate, fast, and highly generalizable.

Methods

UniBCI introduces a structured architecture designed to handle the unique properties of neural spike trains. Its pipeline consists of three main stages:

  1. Spike Train Normalization: Raw, irregular spike recordings are discretized into temporal bins and grouped into localized spatial "areas" to standardize diverse electrode layouts into a uniform tensor format.
  2. Context-conditioned Spatio-temporal Tokenization (CST): To help the model navigate distribution shifts, the authors use a frozen, pretrained natural language model (MiniLM-L6-v2) to encode metadata descriptions (e.g., species, brain region, task) into context embeddings. These text embeddings are injected directly into the spike representations, expanding the latent space and making tokens from different sources distinct.
  3. Interval-Area Attention (IAA) Block: Instead of using standard, computationally heavy self-attention, UniBCI uses a decoupled hierarchical attention mechanism:
  4. Interval Linear Attention (ILA): Captures fine-grained temporal patterns within short time slots. Linear attention is used here because it is highly efficient and naturally suppresses noise in sparse spike data.
  5. Area-wise Sliding Window Attention (ASWA): Models spatial population dynamics across adjacent brain areas while keeping computational complexity linear.

The entire model is pretrained using a self-supervised Masked Signals Reconstruction objective, where the model learns to predict masked segments (50% masking ratio) of the spike trains without needing any behavioral labels.

Figure 1: a. Architecture of UniBCI consists of context-aware tokenization and stacked interval-area attention layers. b. The normalized spike signal is tokenized with metadata. c. Then interval embeddings are through interval linear attention ILA to learn temporal features within a short slot. Followed by area-wise sliding window attention ASWA, spatial dependency of spikes is considered. d. The reconstruction objective aims to generate masked parts of spike tokens from extracted features of spike trains.

Datasets

The authors curated a massive pretraining corpus spanning 263.7 hours of neural recordings across multiple species and tasks:

  • Pretraining Data: Macaque datasets (M1-CO1, M1-CO2, Pac-Man, HPC-HG) covering motor, prefrontal, and hippocampal regions during reaching and navigation tasks; and a Mouse dataset (LICK) tracking subcortical licking behaviors.
  • Downstream Evaluation: Evaluated on entirely unseen sessions, subjects, and tasks, including the PPC-FINGER dataset (Human posterior parietal cortex during finger presses), the Perich reaching dataset, and the Neural Latent Benchmark suite (MC-Maze, Area2-Bump).

Key Insights and Ideas

  • Text as a Modality Bridge: Injecting natural language metadata acts as a powerful regularizer. Because raw spike patterns have low variability, their embeddings tend to crowd into a low-rank subspace. Rich text descriptions expand this geometry, providing a "semantic anchor" that helps the model generalize across species and domains.
  • Why Linear Attention Wins for Spikes: Standard fully connected self-attention computes dense pairwise interactions across all positions, which amplifies background noise in sparse neural data. Linear attention aggregates features first, acting as a natural noise filter that is perfectly aligned with the low-rank structure of spike dynamics.
  • Manifold Smoothing: Decoupling time (via local intervals) and space (via sliding windows over brain areas) acts as a form of manifold smoothing, aligning heterogeneous representations into a shared latent space efficiently.

Key Results

UniBCI sets a new standard for efficiency and performance in the BCI foundation model landscape:

  • State-of-the-Art Performance: It consistently outperformed strong baselines (like POYO and NDT2) across both classification and regression tasks. Notably, it achieved a balanced accuracy of 0.967 on the human PPC-FINGER dataset, proving its zero-shot cross-species transfer capability from rodents/primates to humans.
  • Extreme Compactness: UniBCI contains only 0.28M trainable parameters—roughly 46 times smaller than NDT1 and POYO.
  • Real-Time Latency: It achieves a highly competitive inference latency of 7.6 ms, making it fully viable for closed-loop, real-time BCI applications.
Comparison of model efficiency, parameter count, and latency.

Limitations and Future Work

Despite its strong performance, the authors note a few limitations:

  • Rigid Tokenization: The model relies on pre-defined temporal binning and fixed channel grouping. This spatial assumption might limit its flexibility when dealing with highly irregular, variable-density electrode arrays or continuous-time, binless neural events.
  • Spike-Only Modality: UniBCI is currently restricted to spike-based data and does not natively support multimodal integration with other neuroimaging streams like fMRI or calcium imaging.

Future work will focus on developing adaptive, data-driven tokenization schemes and expanding the framework to support unified multimodal neural representation learning.

Summary updated

BibTeX
@misc{hong2026unibci,
  author = {Binjie Hong and Rui Xiong and Liyuan Han and Tielin Zhang},
  title = {{UniBCI: Towards a Unified Pretrained Model for Invasive Brain-Computer Interfaces}},
  year = {2026},
  eprint = {2605.00061},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.00061},
}
Figure