UniBCI: unified pretrained foundation model for invasive Brain-Computer Interfaces. Context-conditioned spatio-temporal tokenization, Interval-Area Attention, self-supervised masked reconstruction. Trigger words: UniBCI, invasive BCI, neural spike foundation model, brain-computer interface, spatio-temporal tokenization.
Scanned 9/11/2026
Install to Claude Code
npx -y skills add hiyenwong/ai_collection --skill unibci-invasive-foundation-model --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Unibci Invasive Foundation Model?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/hiyenwong-unibci-invasive-foundation-model-ai-collection)More formats (shields.io, HTML) on the badges page.
---
name: unibci-invasive-foundation-model
description: "UniBCI: unified pretrained foundation model for invasive Brain-Computer Interfaces. Context-conditioned spatio-temporal tokenization, Interval-Area Attention, self-supervised masked reconstruction. Trigger words: UniBCI, invasive BCI, neural spike foundation model, brain-computer interface, spatio-temporal tokenization."
category: neuroscience
---
# UniBCI: Unified Pretrained Model for Invasive Brain-Computer Interfaces
Skill based on arXiv:2605.00061v1 - UniBCI: Towards a Unified Pretrained Model for Invasive Brain-Computer Interfaces.
## Core Problem
Modeling invasive neural spike data is fundamental to advancing high-performance BCIs. Existing approaches face critical challenges:
- **Limited-scale heterogeneous data**: Small datasets from different recording systems
- **Cross-domain distribution shift**: Different subjects, devices, brain regions
- **Intrinsic spatiotemporal complexity**: Spike dynamics have complex patterns
## UniBCI Architecture
### Component 1: Context-Conditioned Spatio-Temporal Tokenization (CST)
- **Purpose**: Embed neural signals with metadata into shared representation space
- **Input**: Raw spike data + contextual metadata (subject, device, brain region, etc.)
- **Output**: Unified token representation
- **Key insight**: Metadata conditioning handles cross-domain distribution shift
### Component 2: Hierarchical Interval-Area Attention (IAA)
Two-tier attention mechanism:
#### Linear Attention (Interval-level)
- Captures **patterns of spike dynamics** across time intervals
- Linear complexity O(N) for long sequences
- Global temporal context
#### Sliding-Window Attention (Area-level)
- Captures **locality dependencies** within spatial neighborhoods
- Local spatial context
- Models electrode proximity effects
### Component 3: Self-Supervised Masked Signal Reconstruction
- **Objective**: Learn generalizable neural representations
- **Method**: Mask portions of input signals, predict from context
- **Scale**: Pretrain on large-scale heterogeneous spike datasets
- **Result**: Foundation model adaptable to downstream BCI tasks
## Key Innovations
### 1. Unified Framework
- Single model handles multiple BCI tasks
- Adapts to different recording modalities
- Cross-subject generalization
### 2. Context Conditioning
- Metadata as first-class input
- Handles domain shift explicitly
- Enables zero/few-shot adaptation
### 3. Hierarchical Attention
- Multi-scale spatiotemporal modeling
- Linear + local attention combination
- Efficient for long spike sequences
## Implementation
### Pretraining Pipeline
```
Step 1: Collect heterogeneous spike datasets
Step 2: Apply CST tokenization with metadata
Step 3: Pretrain with masked signal reconstruction
Step 4: Fine-tune on downstream BCI tasks
```
### Fine-tuning Tasks
- Motor intention decoding
- Speech decoding
- Cursor control
- Prosthetic limb control
- Neural state classification
### Data Format
- Input: Spike trains (timestamps, amplitudes, channel IDs)
- Metadata: Subject ID, device type, brain region, task context
- Output: Task-specific predictions
## Advantages Over Traditional BCI Models
| Aspect | Traditional | UniBCI |
|--------|------------|--------|
| Data Scale | Single dataset | Multi-dataset pretraining |
| Domain Shift | Poor generalization | Explicit handling via CST |
| Task Flexibility | Task-specific | Unified model |
| Adaptation | Retrain from scratch | Few-shot fine-tuning |
| Spatiotemporal | Fixed window | Hierarchical attention |
## Applications
### Clinical BCIs
- Restoring motor function
- Speech prosthetics
- Communication for locked-in patients
### Research BCIs
- Neural decoding benchmarks
- Cross-laboratory comparisons
- Standardized evaluation
### Future Extensions
- Non-invasive BCI adaptation
- Multi-modal neural data (spike + LFP + EEG)
- Real-time inference optimization
## Technical Parameters
- **Model size**: Scalable (tested at various scales)
- **Attention heads**: Configurable per layer
- **Window size**: Tunable for locality
- **Mask ratio**: ~15-30% for pretraining
- **Sequence length**: Handles long spike trains
## References
- **Paper**: UniBCI: Towards a Unified Pretrained Model for Invasive Brain-Computer Interfaces
- **Authors**: Binjie Hong, Rui Xiong, Liyuan Han, et al.
- **arXiv**: 2605.00061v1 [cs.NE]
- **Categories**: Neural and Evolutionary Computing (cs.NE)
- **Date**: April 30, 2026
## Related Skills
- neural-digital-twins-bci
- eeg-brain-connectivity-bci
- eeg-ieeg-bridge-bci
- mind2drive-eeg-driver-intention
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!