Abstract
Inter-subject variability, often termed the "brain signature" problem, remains a primary obstacle in developing robust foundation models for electroencephalography (EEG) and magnetoencephalography (MEG). This paper introduces SuLoRA (Subject-Specific Low-Rank Adapters), a novel neural network layer designed to disentangle universal neural patterns from individual-specific variations. By employing lightweight, low-rank corrections for each subject, SuLoRA enables efficient personalization while maintaining a shared backbone of subject-invariant features. Experimental results across speech perception and motor imagery tasks demonstrate that SuLoRA outperforms traditional baselines and state-of-the-art models, often with significantly fewer subject-specific parameters.
Introduction
Building "foundation models" for brain signals is inherently challenging due to high inter-subject variability. Unlike natural language, where linguistic rules are relatively stable across populations, neural activity patterns vary significantly between individuals. This creates a "catch-22": models trained on pooled multi-subject data (subject-agnostic) often fail to capture individual nuances, while models trained on single subjects (subject-specific) suffer from data scarcity. This fragmentation hinders the application of "scaling laws" that have revolutionized computer vision and NLP. The core challenge lies in learning shared, transferable knowledge while efficiently accounting for the unique "distribution shift" of every human brain.
Methodology: Subject-Specific Low-Rank Adapters (SuLoRA)
The proposed SuLoRA method is inspired by Low-Rank Adaptation (LoRA) techniques used in fine-tuning Large Language Models. Instead of a single weight matrix $W$ for a given layer, SuLoRA decomposes the operation into a shared component and a subject-specific correction.
Mathematically, for a subject $s$, the effective weight $W_s$ is defined as: $$W_s = W_{general} + A_s B_s$$ where $W_{general}$ is a full-rank matrix capturing subject-invariant features, and $A_s, B_s$ are low-rank matrices unique to each subject. Because the rank $r$ is small, these adapters add minimal parameter overhead. Key innovations include:
- Universal Compatibility: SuLoRA acts as a drop-in replacement for standard linear and convolutional layers.
- Deterministic Routing: The model uses known subject identity to select the appropriate adapter during both training and inference, avoiding complex gating mechanisms.
Experimental Setup
SuLoRA was evaluated on three diverse benchmarks:
- MEG Speech Perception: 27 subjects listening to 56.2 hours of fictional stories. The task is audio segment retrieval from brain activity.
- BCI Competition IV 2a: 22-channel EEG from 9 subjects performing four motor imagery tasks (left hand, right hand, feet, tongue).
- BCI Competition IV 2b: 3-channel EEG from 9 subjects performing two motor imagery tasks.
Results and Discussion
Disentangling Brain Signatures
A critical insight from this work is the successful disentanglement of task-relevant features from subject-specific noise. t-SNE visualizations reveal that while baseline models often produce cluttered latent spaces, SuLoRA helps organize these representations into task-relevant clusters within each subject's individual signature.
Performance and Efficiency
In speech decoding, SuLoRA achieved a Top-1 accuracy of 41.94%, surpassing the 40.60% baseline. Crucially, removing subject-specific layers caused performance to drop to 19.23%, highlighting the necessity of modeling individual differences. In motor imagery (BCI IV 2a), SuLoRA reached 64.72% accuracy, significantly outperforming both subject-agnostic (55.00%) and independently trained subject-specific models (59.36%).
Furthermore, SuLoRA demonstrated high parameter efficiency. In the speech task, a model with rank $r=32$ outperformed the state-of-the-art while using 50% fewer subject-specific parameters. The method also proved architecture-agnostic, showing gains across both CNNs (EEGNeX) and Transformers (Patched Brain Transformer).
Conclusion and Future Work
SuLoRA provides a scalable path toward EEG foundation models by efficiently addressing inter-subject variability. While the current implementation requires subject identity at test time and scales linearly with the number of subjects, future research may explore adapter sharing among similar subjects or hierarchical structures to support thousands of individuals. Additionally, the discovery that adapters can sometimes be transferred "zero-shot" between subjects suggests a shared underlying structure in "individual" brain signatures that warrants further investigation.
Summary updated