Continuous-Latent Predictive Modeling with Semantic Alignment for EEG-Language Foundation Models
Summary
The paper proposes BLPM, an EEG-language foundation model that uses continuous latent predictive modeling and semantic alignment to map EEG signals to text embeddings, achieving generalizable neural decoding across diverse tasks and datasets.
View Cached Full Text
Cached at: 08/13/26, 03:37 PM
# Continuous-Latent Predictive Modeling with Semantic Alignment for EEG-Language Foundation Models
Source: [https://arxiv.org/html/2608.11656](https://arxiv.org/html/2608.11656)
###### Abstract
Recent advances in EEG foundation models have demonstrated the potential of large\-scale pretraining to enable generalizable neural decoding across subjects, recording environments, and datasets\. However, dominant pretraining paradigms face key challenges: masked autoencoding tends to prioritize low\-level signal reconstruction over task\-relevant semantics, while autoregressive modeling creates a mismatch between continuous neural dynamics and discrete token spaces\. To address these challenges, new strategies are needed to effectively align continuous EEG representations with natural\-language semantics and enable their integration with large language models\. Accordingly, we proposeBrain Latent Predictive Model \(BLPM\), an EEG–language foundation model that reformulates heterogeneous EEG decoding tasks as a continuous semantic embedding prediction problem\. BLPM introduces a Continuous EEG Latent Predictive \(CELP\) encoder that learns transferable representations through latent target prediction\. Building on these representations, a Multi\-Query Semantic Decomposition \(MQSD\) module extracts task\-relevant information and aligns continuous EEG representations with textual semantics within a shared latent space according to their semantic relationships\. Experiments across multiple benchmarks demonstrate consistent generalization performance across diverse tasks, establishing continuous latent semantic prediction as an effective paradigm for EEG\-language foundation models\.
22footnotetext:Corresponding author## Introduction
Foundation models have achieved remarkable advances across diverse modalities, including vision\([25](https://arxiv.org/html/2608.11656#bib.bib1)\), language\([29](https://arxiv.org/html/2608.11656#bib.bib2)\), and speech\([28](https://arxiv.org/html/2608.11656#bib.bib3)\)\. Their integration with pretrained large language models \(LLMs\) has further advanced multimodal learning and expanded their applications to healthcare domains such as clinical diagnosis\([6](https://arxiv.org/html/2608.11656#bib.bib4)\)and biosignal analysis\([10](https://arxiv.org/html/2608.11656#bib.bib5)\)\. Motivated by these innovative advances, electroencephalography \(EEG\) decoding research has increasingly shifted from task\-specific models toward universal foundation models designed to generalize across different subjects, recording environments, and datasets\. This transition has been driven by self\-supervised learning \(SSL\) on large\-scale unlabeled EEG data, enabling EEG foundation models to learn transferable representations that can be applied to diverse downstream tasks within a single unified model\([16](https://arxiv.org/html/2608.11656#bib.bib27);[35](https://arxiv.org/html/2608.11656#bib.bib28)\)\. Despite this progress, existing approaches still retain several fundamental limitations\.
Prior studies on EEG foundation models mainly learn universal representations through masked signal reconstruction\([35](https://arxiv.org/html/2608.11656#bib.bib28);[42](https://arxiv.org/html/2608.11656#bib.bib29);[8](https://arxiv.org/html/2608.11656#bib.bib23)\), masked discrete token prediction\([16](https://arxiv.org/html/2608.11656#bib.bib27);[27](https://arxiv.org/html/2608.11656#bib.bib34);[23](https://arxiv.org/html/2608.11656#bib.bib35)\), or autoregressive next\-token prediction\([15](https://arxiv.org/html/2608.11656#bib.bib31);[38](https://arxiv.org/html/2608.11656#bib.bib32);[34](https://arxiv.org/html/2608.11656#bib.bib33)\)\. Their training and evaluation rely predominantly on reconstruction and prediction objectives defined either in the input space or in discrete representation spaces\.
Among these paradigms, masked autoencoding\([12](https://arxiv.org/html/2608.11656#bib.bib8)\)tends to focus on reconstructing low\-level signal structures\. The learned representations can remain sensitive to fine\-grained waveform characteristics, noise, and subject\-specific variability\([36](https://arxiv.org/html/2608.11656#bib.bib6)\)\. Moreover, they do not explicitly organize EEG representations around task\-relevant semantic concepts or directly align them with the semantic space of pretrained LLMs\. Consequently, strong reconstruction performance does not necessarily guarantee semantically rich and language\-compatible EEG representations that generalize across heterogeneous EEG decoding tasks\.
Meanwhile, LLMs are inherently designed to model discrete token sequences, such as text\. Therefore, converting continuous EEG embeddings into discrete neural tokens and modeling them through autoregressive next\-token prediction has been established as a prominent paradigm for integrating EEG signals with LLMs\([15](https://arxiv.org/html/2608.11656#bib.bib31);[38](https://arxiv.org/html/2608.11656#bib.bib32);[34](https://arxiv.org/html/2608.11656#bib.bib33)\)\. While this formulation enables the use of established sequence\-modeling frameworks, quantizing continuous neural dynamics into a finite codebook may discard discriminative patterns that are critical for distinguishing task\-relevant neural states\([5](https://arxiv.org/html/2608.11656#bib.bib9);[39](https://arxiv.org/html/2608.11656#bib.bib10)\)\. Moreover, converting all neural information into discrete tokens and optimizing for next\-token prediction can also create an unnecessary representational bottleneck\([41](https://arxiv.org/html/2608.11656#bib.bib11)\)\. Autoregressive modeling is well suited for text generation, but it may not be the most appropriate learning objective when the primary goal is discriminative EEG decoding guided by semantic understanding\. These limitations motivate alternative approaches that directly learn semantic structure in continuous latent spaces without being constrained by discrete tokenization or an autoregressive next\-token prediction objective\.
To address these challenges, we propose theBrain Latent Predictive Model \(BLPM\), a non\-generative and non\-autoregressive EEG–language foundation model that reformulates heterogeneous EEG decoding tasks as a continuous semantic embedding prediction problem in a shared latent space\. Rather than directly reconstructing raw EEG waveforms, BLPM employs aContinuous EEG Latent Predictive \(CELP\) Encoderthat predicts latent representations of target EEG segments from contextual EEG observations, thereby reducing excessive dependence on low\-level waveform details and subject\-specific variations while learning transferable representations that capture higher\-level neurophysiological structures\. BLPM then connects the learned continuous EEG representations to a text semantic embedding space without converting EEG signals into discrete neural tokens\. To this end, we introduce aMulti\-Query Semantic Decomposition \(MQSD\) module, which uses multiple language\-guided semantic queries to extract complementary task\-relevant information from each EEG representation\. This semantic information is then integrated with the continuous EEG embeddings to predict the embedding of the corresponding answer in a shared latent space\. The predicted embedding is matched against the embeddings of candidate answers, allowing the model to select the answer that is semantically most compatible with the EEG representation\. This design enables distinct semantic factors contained within the same EEG segment to be selectively accessed according to the given task, thereby reformulating heterogeneous EEG decoding tasks within a unified latent semantic prediction framework\.
The main contributions of this paper are as follows:
- •We propose BLPM, an EEG\-language foundation model that aligns continuous EEG representations with language semantics through semantic embedding prediction in a latent space\. This formulation enables unified EEG decoding without discrete neural tokenization or autoregressive generation\.
- •We introduce the CELP encoder, which learns universal EEG representations by predicting target latent representations from contextual EEG observations\. Its latent predictive objective promotes higher\-level abstraction without directly reconstructing low\-level details\.
- •We present the MQSD module, which decomposes continuous EEG representations into multiple task\-relevant semantic queries with language\-derived semantic guidance\. Combined with multi\-task instruction tuning and semantic answer matching, it reformulates heterogeneous EEG decoding tasks as unified latent semantic prediction problems\.
- •We systematically evaluate BLPM using standardized benchmarks to enable fair comparisons and demonstrate its robust performance\. These results support continuous latent semantic prediction as an effective paradigm for EEG\-language foundation models\.
Figure 1:Overall framework of the BLPM\. Stage 1 trains the CELP encoder through continuous latent representation prediction\. Stage 2 aligns continuous EEG representations with natural\-language semantics through language\-guided multi\-query decomposition, while Stage 3 performs instruction\-conditioned answer embedding prediction and semantic matching\.
## Methods
In this section, we introduce BLPM, a continuous latent predictive EEG–language foundation model that aligns EEG representations with natural language semantics in a shared latent space\. As illustrated in Figure 1, BLPM comprises three main components: \(1\) a CELP encoder for learning universal continuous EEG representations; \(2\) a Language\-Guided MQSD module for aligning EEG representations with language semantics; and \(3\) a multi\-task instruction\-tuning framework with semantic answer matching for unified EEG decoding\.
### Continuous EEG Latent Predictive Encoder
#### Input Formulation\.
Given input EEG dataXEEG∈ℝC×TX\_\{\\mathrm\{EEG\}\}\\in\\mathbb\{R\}^\{C\\times T\}, we divide each channel into non\-overlapping segments of lengthLL, obtainingX∈ℝC×P×LX\\in\\mathbb\{R\}^\{C\\times P\\times L\}, whereCCis the number of channels,TTis the number of temporal samples, andP=⌊T/L⌋P=\\lfloor T/L\\rflooris the number of segments per channel\. Each segmentxc,p∈ℝLx\_\{c,p\}\\in\\mathbb\{R\}^\{L\}wherec∈\{1,…,C\}c\\in\\\{1,\\dots,C\\\}andp∈\{1,…,P\}p\\in\\\{1,\\dots,P\\\}is treated as an individual EEG token, resulting in a total sequence ofN=C×PN=C\\times Ptokens\.
#### Patch Embedding\.
Each EEG tokenxc,p∈ℝLx\_\{c,p\}\\in\\mathbb\{R\}^\{L\}is mapped into add\-dimensional latent vector through a dual\-branch patch embedding module\. The temporal branch applies 1D convolutional layers to the segment to capture local temporal dynamics, while the spectral branch computes the fast Fourier transform \(FFT\) ofxc,px\_\{c,p\}and projects its magnitude spectrum into the samedd\-dimensional space via a linear layer\. The temporal and spectral embeddings are additively fused to form spatio\-temporal patch embeddingsZ∈ℝC×P×dZ\\in\\mathbb\{R\}^\{C\\times P\\times d\}\. A depthwise convolutional positional encoding is then applied across the channel and temporal dimensions to inject spatio\-temporal positional information\. Finally, the channel and temporal dimensions are flattened into a single token dimension, producing the position\-encoded token embeddingsZ~∈ℝN×d\\tilde\{Z\}\\in\\mathbb\{R\}^\{N\\times d\}\.
#### Joint Latent Predictive Pretraining\.
The CELP Encoder is trained with a latent predictive pretraining scheme inspired by the joint\-embedding predictive architecture \(JEPA\)\([2](https://arxiv.org/html/2608.11656#bib.bib7)\)\. The scheme consists of an online encoder, a target encoder, and an embedding predictor\.
#### Structured Multi\-Block Masking\.
To preserve the intrinsic structure of EEG signals, the CELP encoder applies multi\-block masking over the channel\-time EEG token sequence\. The visible maskMvM\_\{v\}defines the observable context tokens, while the prediction masks\{Mp\}\\\{M\_\{p\}\\\}define structured target regions to be inferred\. In practice, the target masks include temporal\-span masks and channel\-block masks, encouraging the model to exploit temporal continuity, channel\-wise dependencies, and inter\-token context\.
#### Online Encoder\.
The online encoderfθf\_\{\\theta\}takes the visible subset of token embeddings𝐙~Mv\\tilde\{\\mathbf\{Z\}\}\_\{M\_\{v\}\}as input and encodes them into visible latent representations𝐇v\\mathbf\{H\}\_\{v\}:
𝐇v=fθ\(𝐙~Mv\)\.\\mathbf\{H\}\_\{v\}=f\_\{\\theta\}\(\\tilde\{\\mathbf\{Z\}\}\_\{M\_\{v\}\}\)\.\(1\)Unlike masked autoencoding, which reconstructs masked segments, the CELP encoder predicts masked targets in the latent space from visible tokens\. This design encourages the model to learn abstract semantic representations rather than relying on reconstruction objectives that are sensitive to low\-level noise and fluctuations\.
#### Target Encoder\.
The target encoderfθ¯f\_\{\\bar\{\\theta\}\}processes the full EEG token sequence and provides latent targets at masked prediction positions\. At training stepkk, the target encoder parametersθ¯\\bar\{\\theta\}are updated using the exponential moving average \(EMA\) of the online encoder parametersθ\\thetawith a momentum coefficientmkm\_\{k\}:
θ¯\(k\)←mkθ¯\(k−1\)\+\(1−mk\)θ\(k\)\.\\bar\{\\theta\}^\{\(k\)\}\\leftarrow m\_\{k\}\\bar\{\\theta\}^\{\(k\-1\)\}\+\(1\-m\_\{k\}\)\\theta^\{\(k\)\}\.\(2\)This EMA encoder provides stable latent prediction targets and helps mitigate representation collapse during pretraining\.
#### Embedding Predictor\.
For each prediction maskMpM\_\{p\}, the embedding predictorgϕg\_\{\\phi\}estimates the masked latent representations from the visible context and learnable mask queries:
𝐇^Mp=gϕ\(𝐇v,𝐦\+𝐩Mp\)\.\\hat\{\\mathbf\{H\}\}\_\{M\_\{p\}\}=g\_\{\\phi\}\\left\(\\mathbf\{H\}\_\{v\},\\mathbf\{m\}\+\\mathbf\{p\}\_\{M\_\{p\}\}\\right\)\.\(3\)where𝐦\\mathbf\{m\}is a learnable mask token and𝐩Mp\\mathbf\{p\}\_\{M\_\{p\}\}denotes the positional representation of the masked target positions\. Once pretraining is completed, the online encoder is used as the pretrained EEG encoder backbone\.
#### Latent Predictive Objective\.
The training objective is defined in the latent space rather than the input space\. Let𝐇t=fθ¯\(𝐙~\)\\mathbf\{H\}\_\{t\}=f\_\{\\bar\{\\theta\}\}\(\\tilde\{\\mathbf\{Z\}\}\)denote the target latent representations obtained from the target encoder\. The target representations are normalized along the feature dimension and used as prediction targets\. The CELP encoder is optimized with a Smooth L1 loss over masked positions:
ℒCELP=1\|ℳ\|∑Mp∈ℳ1\|Mp\|∑i∈Mpρ\(𝐡^i,LN\(𝐡t,i\)\)\.\\mathcal\{L\}\_\{\\mathrm\{CELP\}\}=\\frac\{1\}\{\|\\mathcal\{M\}\|\}\\sum\_\{M\_\{p\}\\in\\mathcal\{M\}\}\\frac\{1\}\{\|M\_\{p\}\|\}\\sum\_\{i\\in M\_\{p\}\}\\rho\\left\(\\hat\{\\mathbf\{h\}\}\_\{i\},\\mathrm\{LN\}\(\\mathbf\{h\}\_\{t,i\}\)\\right\)\.\(4\)whereρ\(⋅,⋅\)\\rho\(\\cdot,\\cdot\)denotes the Smooth L1 loss,ℳ\\mathcal\{M\}is the set of prediction masks,𝐡^i\\hat\{\\mathbf\{h\}\}\_\{i\}and𝐡t,i\\mathbf\{h\}\_\{t,i\}denote the predicted and target latent vectors at positionii, andLN\(⋅\)\\mathrm\{LN\}\(\\cdot\)represents layer normalization\.
After pretraining, the CELP encoder is applied to the token embeddings𝐙~\\tilde\{\\mathbf\{Z\}\}, and the output sequence is reshaped into continuous EEG embeddings:
𝐇EEG=reshape\(fθ\(𝐙~\)\)∈ℝC×P×d\.\\mathbf\{H\}\_\{\\mathrm\{EEG\}\}=\\operatorname\{reshape\}\\left\(f\_\{\\theta\}\(\\tilde\{\\mathbf\{Z\}\}\)\\right\)\\in\\mathbb\{R\}^\{C\\times P\\times d\}\.\(5\)
### Multi\-Query Semantic Alignment
In this stage, we freeze the CELP encoder and align its continuous EEG embeddings with natural\-language semantics using theLanguage\-Guided Multi\-Query Semantic Decomposition \(MQSD\) moduleandLanguage\-Initialized Semantic Embedding Predictor\. The goal of this stage is to predict natural\-language semantic representations in a semantic embedding space from continuous EEG representations\.
#### Continuous EEG Representations\.
The frozen CELP encoder provides continuous EEG embeddings𝐇EEG∈ℝC×P×d\\mathbf\{H\}\_\{\\mathrm\{EEG\}\}\\in\\mathbb\{R\}^\{C\\times P\\times d\}\. We flatten the channel\-time dimensions into a token sequence:
𝐡=Flatten\(𝐇EEG\)∈ℝN×d\.\\mathbf\{h\}=\\mathrm\{Flatten\}\\left\(\\mathbf\{H\}\_\{\\mathrm\{EEG\}\}\\right\)\\in\\mathbb\{R\}^\{N\\times d\}\.\(6\)The EEG token sequence𝐡\\mathbf\{h\}serves directly as the key and value for the multi\-query cross\-attention, retaining its original feature space prior to projection\.
#### Language\-Guided Semantic Queries\.
To interpret the EEG representations from complementary perspectives, MQSD introduces a fixed set ofMMsemantic queries\. These queries correspond to task\-relevant EEG factors, including temporal dynamics, spectral characteristics, spatial relationships, and morphological patterns\. Each semantic query is tokenized and embedded using the input embedding layer of the LLM\. Themm\-th query is represented by a padded sequence of language token embeddings𝐐m∈ℝLmax×dLM\\mathbf\{Q\}\_\{m\}\\in\\mathbb\{R\}^\{L\_\{\\max\}\\times d\_\{\\mathrm\{LM\}\}\}, whereLmaxL\_\{\\max\}is the maximum query length\. A corresponding attention mask is used to exclude padding tokens\.
#### Multi\-Query EEG Decomposition\.
Each semantic query sequence independently attends to the continuous EEG tokens through semantic query cross\-attention:
𝐑m\\displaystyle\\mathbf\{R\}\_\{m\}=CrossAttn\(𝐐m,𝐡,𝐡\),\\displaystyle=\\mathrm\{CrossAttn\}\(\\mathbf\{Q\}\_\{m\},\\mathbf\{h\},\\mathbf\{h\}\),\(7\)𝐬~m\\displaystyle\\tilde\{\\mathbf\{s\}\}\_\{m\}=Pooltok\(𝐑m\)\.\\displaystyle=\\mathrm\{Pool\}\_\{\\mathrm\{tok\}\}\(\\mathbf\{R\}\_\{m\}\)\.Here,𝐑m∈ℝLmax×d\\mathbf\{R\}\_\{m\}\\in\\mathbb\{R\}^\{L\_\{\\max\}\\times d\}indicates the query\-conditioned EEG representations associated with the language tokens of themm\-th semantic query\. The operatorPooltok\\mathrm\{Pool\}\_\{\\mathrm\{tok\}\}performs masked mean pooling over the language\-token dimension, yielding an intermediate semantic summary𝐬~m∈ℝd\\tilde\{\\mathbf\{s\}\}\_\{m\}\\in\\mathbb\{R\}^\{d\}\.
Finally, each semantic summary is projected into the hidden dimension of the LLM using the linear projectorPhP\_\{h\}:
𝐬m=Ph\(𝐬~m\)∈ℝdLM\.\\mathbf\{s\}\_\{m\}=P\_\{h\}\(\\tilde\{\\mathbf\{s\}\}\_\{m\}\)\\in\\mathbb\{R\}^\{d\_\{\\mathrm\{LM\}\}\}\.\(8\)The semantic summaries obtained from allMMqueries are collected as
𝐒q=\[𝐬1;𝐬2;…;𝐬M\]∈ℝM×dLM\.\\mathbf\{S\}\_\{q\}=\[\\mathbf\{s\}\_\{1\};\\mathbf\{s\}\_\{2\};\\ldots;\\mathbf\{s\}\_\{M\}\]\\in\\mathbb\{R\}^\{M\\times d\_\{\\mathrm\{LM\}\}\}\.\(9\)This decomposition allows the model to extract complementary semantic summaries from the same continuous EEG embeddings rather than compressing all the information into a single global representation\.
#### Language\-Initialized Semantic Embedding Predictor\.
To preserve fine\-grained information alongside the semantic summaries, the continuous EEG embeddings are also projected into the LLM embedding space via a token projectorPuP\_\{u\}:
𝐮=Pu\(𝐡\)∈ℝN×dLM\.\\mathbf\{u\}=P\_\{u\}\(\\mathbf\{h\}\)\\in\\mathbb\{R\}^\{N\\times d\_\{\\mathrm\{LM\}\}\}\.\(10\)The multi\-query semantic summaries𝐒q\\mathbf\{S\}\_\{q\}and projected EEG embeddings𝐮\\mathbf\{u\}are then concatenated and fed into the semantic embedding predictor:
𝐇=G\(\[𝐒q;𝐮\]\)\.\\mathbf\{H\}=G\(\[\\mathbf\{S\}\_\{q\};\\mathbf\{u\}\]\)\.\(11\)whereGGindicates the semantic embedding predictor\. The projected EEG embeddings preserve fine\-grained token\-level EEG information, while𝐒q\\mathbf\{S\}\_\{q\}provides language\-guided semantic summaries\. AlthoughGGconsists of pretrained LLM decoder layers, we use a bidirectional attention mask instead of a causal mask to predict semantic embeddings rather than to generate the next token\.
We extract the contextualized hidden states corresponding to theMMsemantic\-query summaries:
𝐇q=𝐇1:M\.\\mathbf\{H\}\_\{q\}=\\mathbf\{H\}\_\{1:M\}\.\(12\)We then obtain the predictive representation by mean pooling over the semantic\-query states:
𝐡pred=Poolqry\(𝐇q\)=1M∑m=1M𝐇q,m\.\\mathbf\{h\}\_\{\\mathrm\{pred\}\}=\\mathrm\{Pool\}\_\{\\mathrm\{qry\}\}\(\\mathbf\{H\}\_\{q\}\)=\\frac\{1\}\{M\}\\sum\_\{m=1\}^\{M\}\\mathbf\{H\}\_\{q,m\}\.\(13\)The pooled representation is mapped into the text embedding space:
𝐳e=norm\(Pe\(𝐡pred\)\)\.\\mathbf\{z\}\_\{e\}=\\operatorname\{norm\}\\left\(P\_\{e\}\(\\mathbf\{h\}\_\{\\mathrm\{pred\}\}\)\\right\)\.\(14\)wherePeP\_\{e\}is the prediction head, andnorm\(⋅\)\\operatorname\{norm\}\(\\cdot\)denotes L2 normalization\.
#### Natural\-Language Semantic Targets\.
For the text branch, each class labelyyis expressed as natural\-language textℓy\\ell\_\{y\}representing its class semantics\. The semantic text is encoded using a pretrained text embedding model:
𝐳y=norm\(Etext\(ℓy\)\)\.\\mathbf\{z\}\_\{y\}=\\operatorname\{norm\}\\left\(E\_\{\\mathrm\{text\}\}\(\\ell\_\{y\}\)\\right\)\.\(15\)This maps labels from heterogeneous EEG tasks into a shared natural\-language semantic embedding space\.
#### Semantic Alignment Objective\.
We optimize the model using a bidirectional multi\-positive contrastive objective\. The similarity between theii\-th predicted EEG\-conditioned embedding𝐳e,i\\mathbf\{z\}\_\{e,i\}and thejj\-th target semantic embedding𝐳y,j\\mathbf\{z\}\_\{y,j\}is computed as
Aij=𝐳e,i⊤𝐳y,j/τ\.A\_\{ij\}=\\mathbf\{z\}\_\{e,i\}^\{\\top\}\\mathbf\{z\}\_\{y,j\}/\\tau\.\(16\)whereτ\\tauis a temperature parameter, and both𝐳e\\mathbf\{z\}\_\{e\}and𝐳y\\mathbf\{z\}\_\{y\}are L2\-normalized embeddings in the shared semantic space\. The final objective is a symmetric InfoNCE loss:
ℒalign=12\[ℒe→t\+ℒt→e\]\.\\mathcal\{L\}\_\{\\mathrm\{align\}\}=\\frac\{1\}\{2\}\\left\[\\mathcal\{L\}\_\{e\\rightarrow t\}\+\\mathcal\{L\}\_\{t\\rightarrow e\}\\right\]\.\(17\)Samples sharing the same semantic text are treated as positives, preventing samples with the same class semantics from being used as false negatives\.
### Multi\-task Instruction Tuning with Semantic Embedding Prediction
We perform multi\-task instruction tuning to adapt BLPM to diverse downstream datasets under a unified semantic prediction framework\. Instead of autoregressively generating answer tokens, BLPM predicts the semantic embedding of the target answer in a single forward pass\.
#### Instruction\-Conditioned Semantic Prediction\.
Given the multi\-query semantic summaries𝐒q\\mathbf\{S\}\_\{q\}and projected EEG tokens𝐮\\mathbf\{u\}obtained in the previous stage, the task instructionsks\_\{k\}is tokenized and embedded using the input embedding layer of the pretrained language model:
𝐓k=EmbedLM\(sk\)\.\\mathbf\{T\}\_\{k\}=\\mathrm\{Embed\}\_\{\\mathrm\{LM\}\}\(s\_\{k\}\)\.\(18\)The instruction embeddings are concatenated with the EEG tokens and semantic summaries, and then processed by the non\-causal LLM as a semantic predictor:
𝐇\(k\)=G\(\[𝐓k;𝐒q;𝐮\]\)\.\\mathbf\{H\}^\{\(k\)\}=G\\left\(\[\\mathbf\{T\}\_\{k\};\\mathbf\{S\}\_\{q\};\\mathbf\{u\}\]\\right\)\.\(19\)The predicted answer embedding is obtained from the contextualized semantic\-query states using the same query\-level pooling employed in the semantic alignment stage:
𝐳^=norm\(Pa\(Poolqry\(𝐇q\(k\)\)\)\)\.\\hat\{\\mathbf\{z\}\}=\\operatorname\{norm\}\\left\(P\_\{a\}\\left\(\\mathrm\{Pool\}\_\{\\mathrm\{qry\}\}\(\\mathbf\{H\}^\{\(k\)\}\_\{q\}\)\\right\)\\right\)\.\(20\)where𝐇q\(k\)\\mathbf\{H\}^\{\(k\)\}\_\{q\}denotes the contextualized hidden states corresponding to theMMsemantic\-query summaries, andPaP\_\{a\}is the shared answer prediction head\. This formulation conditions semantic prediction on the task instruction while preserving a shared prediction architecture across tasks\.
#### Instruction Tuning Objective\.
Each target labelyyis associated with the natural\-language semantic textℓy\\ell\_\{y\}and its corresponding target embedding𝐳y\\mathbf\{z\}\_\{y\}\. The model is optimized using the bidirectional multi\-positive InfoNCE objective\([19](https://arxiv.org/html/2608.11656#bib.bib39)\)to align the predicted answer embedding𝐳^\\hat\{\\mathbf\{z\}\}with𝐳y\\mathbf\{z\}\_\{y\}\. Samples with the same answer semantics are treated as positive pairs\.
#### Inference by Semantic Matching\.
During inference, the candidate answer texts for taskkkare encoded using the pretrained text embedding model\([32](https://arxiv.org/html/2608.11656#bib.bib37)\)and projected into the shared semantic embedding space\. The predicted label is selected by semantic matching within the task\-specific candidate set:
y^=argmaxc∈𝒞k𝐳^⊤𝐳c\.\\hat\{y\}=\\arg\\max\_\{c\\in\\mathcal\{C\}\_\{k\}\}\\hat\{\\mathbf\{z\}\}^\{\\top\}\\mathbf\{z\}\_\{c\}\.\(21\)where𝒞k\\mathcal\{C\}\_\{k\}denotes the candidate label set for taskkk, and𝐳c\\mathbf\{z\}\_\{c\}is the embedding of the natural\-language semantic textℓc\\ell\_\{c\}representing candidate labelcc\. This formulation unifies heterogeneous EEG tasks within a shared semantic space without relying on discrete tokenization and autoregressive next\-token prediction\.
## Experimental Setup
### Datasets and Benchmarks
#### Pretraining\.
BLPM is pretrained on the Temple University Hospital EEG Corpus \(TUEG\)\([24](https://arxiv.org/html/2608.11656#bib.bib12)\), a large\-scale publicly available clinical EEG dataset comprising 69,652 recordings from 14,987 subjects, with a total of 27,062 hours of recordings\.
#### Downstream Tasks\.
To assess the generalization ability of BLPM across diverse EEG applications, we conduct experiments on seven representative downstream tasks\. The tasks include mental workload classification \(COG\-BCI\([13](https://arxiv.org/html/2608.11656#bib.bib18)\)\), mental stress detection \(Mental Arithmetic\([43](https://arxiv.org/html/2608.11656#bib.bib19)\)\), abnormal detection \(TUAB\([22](https://arxiv.org/html/2608.11656#bib.bib16)\)\), event type classification \(TUEV\([11](https://arxiv.org/html/2608.11656#bib.bib17)\)\), motor imagery classification \(PhysioNet\-MI\([30](https://arxiv.org/html/2608.11656#bib.bib15)\)\), emotion recognition \(FACED\([4](https://arxiv.org/html/2608.11656#bib.bib13)\)\), and sleep staging \(HMC\([1](https://arxiv.org/html/2608.11656#bib.bib14)\)\)\.
#### Evaluation Benchmark\.
We use NeuralBench\([3](https://arxiv.org/html/2608.11656#bib.bib21)\), a unified framework for benchmarking models of brain activity to evaluate model performance systematically and fairly across various downstream tasks and datasets\. NeuralBench provides standardized evaluation protocols, enabling consistent comparisons across datasets, tasks, and model architectures\. Unless otherwise specified, we follow the standard benchmark settings for task formulations, data splits, preprocessing, and evaluation metrics\.
Table 1:Balanced Accuracy \(B\-Acc, %\) comparison across seven downstream datasets\. The best and second\-best results are marked in bold and underlined, respectively\.Table 2:Performance comparison on the COG\-BCI, Mental Arithmetic, and TUEV datasets across multiple evaluation metrics\. The best and second\-best results are marked in bold and underlined, respectively\.
### Implementation Details
#### Data Preprocessing\.
For pretraining, we apply a standardized preprocessing pipeline\([35](https://arxiv.org/html/2608.11656#bib.bib28)\)with several modifications\. Recordings shorter than five minutes are removed, the first and last minutes of each recording are discarded, and standard channels from the international 10\-20 system are retained\. The signals are then band\-pass filtered at 0\.3\-75 Hz, notch filtered at 60 Hz, resampled to 200 Hz, and split into non\-overlapping 30\-second segments\. Segments with absolute amplitudes exceeding 100μ\\muV are excluded\. The resulting EEG segments are used for self\-supervised latent predictive pretraining\. For each task dataset, we use NeuralSet\([17](https://arxiv.org/html/2608.11656#bib.bib20)\)and NeuralBench\([3](https://arxiv.org/html/2608.11656#bib.bib21)\)to reproduce the preprocessing pipelines originally used for each baseline model\. Since pretrained models depend on specific input distributions and signal statistics, we use model\-specific preprocessing\.
#### Baseline Models\.
We compare BLPM against seven representative EEG decoding models under the same standardized evaluation framework\. The baseline models are grouped into two categories based on their training strategies\. The first category includes task\-specific EEG decoding models, namely EEGNet\([18](https://arxiv.org/html/2608.11656#bib.bib25)\)and EEGConformer\([31](https://arxiv.org/html/2608.11656#bib.bib22)\)\. EEGNet is a compact convolutional model for EEG classification, and EEGConformer integrates local convolutional encoding with Transformer\-based global dependency modeling\. The second category consists of EEG foundation models, including BIOT\([37](https://arxiv.org/html/2608.11656#bib.bib26)\), LaBraM\([16](https://arxiv.org/html/2608.11656#bib.bib27)\), CBraMod\([35](https://arxiv.org/html/2608.11656#bib.bib28)\), REVE\([8](https://arxiv.org/html/2608.11656#bib.bib23)\), and LUNA\([7](https://arxiv.org/html/2608.11656#bib.bib24)\)\. These models learn universal EEG representations through large\-scale pretraining and are adapted separately to each downstream dataset\. In contrast, BLPM is trained under a unified multi\-task setting and performs instruction\-conditioned semantic embedding prediction across all seven downstream tasks\.
#### Evaluation Metrics\.
We assess performance using different evaluation metrics for multiclass and binary classification settings\. For multiclass classification, we report Balanced Accuracy, Cohen’s Kappa, and Weighted F1\-score\. For binary classification, we use Balanced Accuracy, AUPRC, and AUROC\.
#### Training & Environment Settings\.
All experiments were conducted using four NVIDIA GeForce RTX 3090 GPUs with Python 3\.12\.13 and PyTorch 2\.6\. The best\-performing checkpoint for each model was selected based on validation\-set performance and subsequently evaluated on the test set\. We report the mean and standard deviation over five independent runs with different seeds\.
#### LLM Backbone\.
Unlike prior studies that adopt the GPT\-2\([15](https://arxiv.org/html/2608.11656#bib.bib31);[38](https://arxiv.org/html/2608.11656#bib.bib32)\)or the Qwen 2\.5 series\([34](https://arxiv.org/html/2608.11656#bib.bib33)\), we employ Llama 3\.2\-1B\-Instruct\([9](https://arxiv.org/html/2608.11656#bib.bib36)\)as our language model backbone\. We adapt the model using low\-rank adaptation \(LoRA\)\([14](https://arxiv.org/html/2608.11656#bib.bib38)\)applied to the linear projection layers, enabling parameter\-efficient adaptation\.
## Experimental Results
### Performance on Downstream Tasks
To provide a comprehensive evaluation of downstream performance, we conduct experiments on seven representative tasks\. The quantitative balanced accuracy results for all downstream tasks are summarized in Table[1](https://arxiv.org/html/2608.11656#Sx3.T1)\. Table[2](https://arxiv.org/html/2608.11656#Sx3.T2)reports results for COG\-BCI, Mental Arithmetic, and TUEV across multiple evaluation metrics\.
#### Performance Comparison with Baselines\.
As shown in Table[1](https://arxiv.org/html/2608.11656#Sx3.T1)and Table[2](https://arxiv.org/html/2608.11656#Sx3.T2), BLPM demonstrates strong generalization capabilities across heterogeneous EEG decoding tasks\.
Comparison with Task\-Specific Models:BLPM consistently outperforms the task\-specific baselines, EEGNet and EEGConformer, across all seven downstream tasks, with substantial performance gains on most datasets, even though these baselines are trained specifically for each task\. In particular, BLPM achieves performance improvements of14\.0%14\.0\\%,10\.6%10\.6\\%, and9\.9%9\.9\\%over the best\-performing task\-specific baseline on Mental Arithmetic, TUEV, and PhysioNet\-MI, respectively\. These substantial performance gains indicate that BLPM generalizes more effectively across diverse downstream tasks with heterogeneous signal characteristics than task\-specific models\.
Comparison with EEG Foundation Models:BLPM also demonstrates stronger performance than existing foundation models, which have shown robust performance across various downstream tasks\. Compared with the strongest EEG foundation model baseline on each dataset, BLPM achieves a higher balanced accuracy on six datasets\. Specifically, BLPM achieves a balanced accuracy of34\.3%34\.3\\%on FACED,75\.4%75\.4\\%on Mental Arithmetic, and57\.2%57\.2\\%on TUEV, outperforming REVE, the strongest EEG foundation model baseline, by2\.3%2\.3\\%,2\.1%2\.1\\%, and1\.9%1\.9\\%, respectively\. BLPM also increases performance on COG\-BCI, TUAB, and HMC by1\.7%1\.7\\%,1\.4%1\.4\\%, and0\.6%0\.6\\%\. These results show that BLPM consistently provides robust performance across nearly all downstream tasks spanning diverse EEG paradigms\. On PhysioNet\-MI, BLPM achieves the second\-best performance with a balanced accuracy of68\.2%68\.2\\%, trailing REVE by only1\.2%1\.2\\%, while outperforming the next strongest foundation model baseline, LUNA by6\.5%6\.5\\%\. Remarkably, BLPM achieves these improvements using a unified multi\-task model, whereas the competing foundation models are separately fine\-tuned on individual datasets\. These overall performance gains indicate that continuous latent prediction and language\-guided semantic decomposition learn transferable representations and effectively align them with task\-relevant semantics across heterogeneous neural decoding tasks\. Furthermore, these results suggest that representing discrete texts as continuous semantic representations in a shared embedding space and aligning them with EEG representations enables the model to generalize across datasets without separately optimized task\-specific prediction heads\.
### Ablation Studies
To systematically evaluate the contributions of the key architectural components and training strategies in BLPM, we conducted comprehensive ablation studies on the TUEV, FACED, and HMC datasets\. The detailed results are presented in Table[3](https://arxiv.org/html/2608.11656#Sx4.T3)\.
#### Effect of the Pretraining Objective\.
To examine the effectiveness of latent prediction for EEG pretraining, we compare embedding\-space prediction with input\-space reconstruction by replacing our latent prediction objective with a masked reconstruction objective\. As shown in Table[3](https://arxiv.org/html/2608.11656#Sx4.T3)\(a\), the masked reconstruction variant achieves balanced accuracies of 54\.63%, 32\.71%, and 76\.84% on TUEV, FACED, and HMC, respectively\. In contrast, our model achieves superior performance across all three datasets, with balanced accuracies of 57\.18%, 34\.29%, and 77\.10%, corresponding to improvements of up to 2\.55%p\. These results demonstrate that latent representation prediction captures task\-relevant EEG dynamics more effectively than masked autoencoding\-based approaches, which are more susceptible to noisy, low\-level signal variations\.
#### Effect of the EEG\-Language Semantic Alignment\.
To validate the effect of EEG\-language semantic alignment, we remove the alignment stage between EEG representations and language\-derived semantic embeddings while retaining the remaining components of the framework\. As shown in Table[3](https://arxiv.org/html/2608.11656#Sx4.T3)\(b\), eliminating the alignment stage reduces performance from 57\.18 to 52\.02 on TUEV, from 34\.29 to 27\.38 on FACED and from 77\.10 to 72\.17 on HMC, with the largest decrease of 6\.91% observed on FACED\. These results demonstrate that the alignment stage plays an important role in bridging the modality gap between EEG and language representations, thereby facilitating the integration of continuous neural signals and textual semantic information\.
#### Effect of the Multi\-Query Semantic Decomposition\.
We compare the proposed MQSD module with two simplified alternatives\. As shown in Table[3](https://arxiv.org/html/2608.11656#Sx4.T3)\(c\), the global\-pooling variant directly averages the projected EEG tokens without semantic queries\. In contrast, Table[3](https://arxiv.org/html/2608.11656#Sx4.T3)\(d\) uses randomly initialized learnable queries with the same query\-based aggregation structure as MQSD, but without language\-derived semantic guidance\. The global\-pooling variant achieves balanced accuracies of 55\.61%, 32\.54%, and 75\.02%, while the learnable\-query variant achieves 56\.36%, 33\.48%, and 76\.58% on TUEV, FACED, and HMC, respectively\. The full model with the MQSD module in Table[3](https://arxiv.org/html/2608.11656#Sx4.T3)\(f\) further improves performance to 57\.18%, 34\.29%, and 77\.10%\. These results demonstrate that MQSD decomposes EEG representations into multiple semantically guided components, enabling the model to capture complementary neural patterns that are not fully preserved by global pooling or generic learnable queries\.
#### Effect of the Semantic Embedding Prediction\.
To evaluate the effect of the semantic prediction target, we replace continuous semantic embedding prediction with autoregressive next\-token prediction in the token space while retaining the remaining components of the framework\. Specifically, the autoregressive variant predicts the class\-specific answer token according to its conditional likelihood, whereas our approach predicts a continuous semantic embedding corresponding to the target class\. As shown in Table[3](https://arxiv.org/html/2608.11656#Sx4.T3)\(e\), the token\-prediction variant achieves balanced accuracies of 55\.27%, 32\.92%, and 75\.96% on TUEV, FACED, and HMC, respectively\. In comparison, the full BLPM in Table[3](https://arxiv.org/html/2608.11656#Sx4.T3)\(f\) achieves 57\.18%, 34\.29%, and 77\.10%, corresponding to improvements of 1\.91%, 1\.37%, and 1\.14%, respectively\. These results indicate that predicting continuous semantic embeddings provides a more effective supervision signal for EEG decoding tasks than generating discrete answer tokens based on conditional likelihood, as it focuses on aligning EEG representations with natural\-language semantics rather than optimizing the generation probabilities of token forms\.
Table 3:Ablation study on TUEV, FACED, and HMC\. Rows \(a\)–\(e\) each differ from the full model \(f\) in a single component:Pretrain, the pretraining objective \(Recon\., masked reconstruction; CELP, our latent prediction\);Align\., the EEG\-language semantic alignment stage;Query, the query mechanism \(GP, global pooling; LQ, generic learnable queries; MQSD, our multi\-query semantic decomposition\);Pred\., the prediction target \(Token, autoregressive token generation; Embed\., semantic embedding prediction\)\.
## Conclusion
In this paper, we introduce BLPM, a continuous latent predictive EEG–language foundation model that reformulates heterogeneous EEG decoding as a semantic embedding prediction problem\. By replacing discrete tokenization and autoregressive modeling with continuous semantic prediction, BLPM aligns EEG representations with language semantics in a continuous latent space rather than a discrete token space\. Across diverse EEG benchmarks, BLPM demonstrates strong performance on heterogeneous neural decoding tasks\. These results support continuous latent prediction as an effective modeling paradigm for universal EEG decoding\.
## References
- Alvarez\-Estevez and Rijsman \(2022\)D\. Alvarez\-Estevez and R\. RijsmanHaaglanden Medisch Centrum sleep staging database\.PhysioNet\.Note:Version 1\.1External Links:[Document](https://dx.doi.org/10.13026/t79q-fr32),[Link](https://doi.org/10.13026/t79q-fr32)Cited by:[3rd item](https://arxiv.org/html/2608.11656#A2.I1.i3.p1.1),[Appendix B](https://arxiv.org/html/2608.11656#A2.SS0.SSSx3.p1.1),[Downstream Tasks\.](https://arxiv.org/html/2608.11656#Sx3.SSx1.SSSx2.p1.1)\.
- Assranet al\.\(2023\)M\. Assran, Q\. Duval, I\. Misra, P\. Bojanowski, P\. Vincent, M\. Rabbat, Y\. LeCun, and N\. BallasSelf\-supervised learning from images with a joint\-embedding predictive architecture\.InProceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition,pp\. 15619–15629\.Cited by:[Joint Latent Predictive Pretraining\.](https://arxiv.org/html/2608.11656#Sx2.SSx1.SSSx3.p1.1)\.
- Banvilleet al\.\(2026\)H\. Banville, S\. d’Ascoli, S\. Dahan, J\. Rapin, M\. Careil, Y\. Benchetrit, J\. Lévy, S\. Panchavati, A\. Ratouchniak, E\. Cascardi,et al\.NeuralBench: a unifying framework to benchmark neuroai models\.arXiv preprint arXiv:2605\.08495\.Cited by:[Appendix B](https://arxiv.org/html/2608.11656#A2.SS0.SSSx5.p2.1),[Appendix B](https://arxiv.org/html/2608.11656#A2.p1.1),[Evaluation Benchmark\.](https://arxiv.org/html/2608.11656#Sx3.SSx1.SSSx3.p1.1),[Data Preprocessing\.](https://arxiv.org/html/2608.11656#Sx3.SSx2.SSSx1.p1.1)\.
- Chenet al\.\(2023\)J\. Chen, X\. Wang, C\. Huang, X\. Hu, X\. Shen, and D\. ZhangA large finer\-grained affective computing eeg dataset\.Scientific Data10\(1\),pp\. 740\.Cited by:[6th item](https://arxiv.org/html/2608.11656#A2.I1.i6.p1.1),[Appendix B](https://arxiv.org/html/2608.11656#A2.SS0.SSSx6.p1.1),[Downstream Tasks\.](https://arxiv.org/html/2608.11656#Sx3.SSx1.SSSx2.p1.1)\.
- Cuiet al\.\(2026\)M\. Cui, T\. Chen, Y\. Jiao, Y\. Wang, L\. Xie, Y\. Pan, and L\. MainardiBrainRVQ: a high\-fidelity eeg foundation model via dual\-domain residual quantization and hierarchical autoregression\.arXiv preprint arXiv:2602\.16951\.Cited by:[Introduction](https://arxiv.org/html/2608.11656#Sx1.p4.1)\.
- Daiet al\.\(2026\)D\. Dai, P\. Chen, C\. Ekbote, and P\. LiangQoq\-med: building multimodal clinical foundation models with domain\-aware grpo training\.Advances in Neural Information Processing Systems38,pp\. 37406–37453\.Cited by:[Introduction](https://arxiv.org/html/2608.11656#Sx1.p1.1)\.
- Döneret al\.\(2025\)B\. Döner, T\. M\. Ingolfsson, L\. Benini, and Y\. LiLUNA: efficient and topology\-agnostic foundation model for EEG signal analysis\.InThe Thirty\-ninth Annual Conference on Neural Information Processing Systems,External Links:[Link](https://openreview.net/forum?id=uazfjnFL0G)Cited by:[Appendix C](https://arxiv.org/html/2608.11656#A3.SSx2.SSSx5.p1.1),[Table S5](https://arxiv.org/html/2608.11656#A7.T5.1.10.1),[Table S6](https://arxiv.org/html/2608.11656#A7.T6.1.10.1),[Table S7](https://arxiv.org/html/2608.11656#A7.T7.1.10.1),[Table S8](https://arxiv.org/html/2608.11656#A7.T8.1.10.1),[Baseline Models\.](https://arxiv.org/html/2608.11656#Sx3.SSx2.SSSx2.p1.1)\.
- El Ouahidiet al\.\(2025\)Y\. El Ouahidi, J\. Lys, P\. Thölke, N\. Farrugia, B\. Pasdeloup, V\. Gripon, K\. Jerbi, and G\. LioiREVE: a foundation model for EEG—adapting to any setup with large\-scale pretraining on 25,000 subjects\.InAdvances in Neural Information Processing Systems,Vol\.38\.Cited by:[Appendix A](https://arxiv.org/html/2608.11656#A1.SSx2.SSSx1.p1.1),[Appendix C](https://arxiv.org/html/2608.11656#A3.SSx2.SSSx4.p1.1),[Table S5](https://arxiv.org/html/2608.11656#A7.T5.1.9.1),[Table S6](https://arxiv.org/html/2608.11656#A7.T6.1.9.1),[Table S7](https://arxiv.org/html/2608.11656#A7.T7.1.9.1),[Table S8](https://arxiv.org/html/2608.11656#A7.T8.1.9.1),[Introduction](https://arxiv.org/html/2608.11656#Sx1.p2.1),[Baseline Models\.](https://arxiv.org/html/2608.11656#Sx3.SSx2.SSSx2.p1.1)\.
- Grattafioriet al\.\(2024\)A\. Grattafiori, A\. Dubey, A\. Jauhri, A\. Pandey, A\. Kadian, A\. Al\-Dahle, A\. Letman, A\. Mathur, A\. Schelten, A\. Vaughan,et al\.The llama 3 herd of models\.arXiv preprint arXiv:2407\.21783\.Cited by:[LLM Backbone\.](https://arxiv.org/html/2608.11656#Sx3.SSx2.SSSx5.p1.1)\.
- Guet al\.\(2026\)W\. Gu, L\. Tianming, Q\. Zhang, M\. Ye, X\. Shen, W\. Chen, Y\. Li, Y\. Zhang, J\. Hong, B\. Lu, and W\. ZhengCerebraGloss: instruction\-tuning a large vision\-language model for fine\-grained clinical EEG interpretation\.InThe Fourteenth International Conference on Learning Representations,External Links:[Link](https://openreview.net/forum?id=Xi1jkajWi9)Cited by:[Appendix A](https://arxiv.org/html/2608.11656#A1.SSx3.p2.1),[Introduction](https://arxiv.org/html/2608.11656#Sx1.p1.1)\.
- Haratiet al\.\(2015\)A\. Harati, M\. Golmohammadi, S\. Lopez, I\. Obeid, and J\. PiconeImproved eeg event classification using differential energy\.In2015 IEEE Signal Processing in Medicine and Biology Symposium \(SPMB\),pp\. 1–4\.Cited by:[2nd item](https://arxiv.org/html/2608.11656#A2.I1.i2.p1.1),[Appendix B](https://arxiv.org/html/2608.11656#A2.SS0.SSSx2.p1.1),[Downstream Tasks\.](https://arxiv.org/html/2608.11656#Sx3.SSx1.SSSx2.p1.1)\.
- Heet al\.\(2022\)K\. He, X\. Chen, S\. Xie, Y\. Li, P\. Dollár, and R\. GirshickMasked autoencoders are scalable vision learners\.InProceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition,pp\. 16000–16009\.Cited by:[Introduction](https://arxiv.org/html/2608.11656#Sx1.p3.1)\.
- Hinsset al\.\(2023\)M\. F\. Hinss, E\. S\. Jahanpour, B\. Somon, L\. Pluchon, F\. Dehais, and R\. N\. RoyOpen multi\-session and multi\-task eeg cognitive dataset for passive brain\-computer interface applications\.Scientific Data10\(1\),pp\. 85\.Cited by:[4th item](https://arxiv.org/html/2608.11656#A2.I1.i4.p1.1),[Appendix B](https://arxiv.org/html/2608.11656#A2.SS0.SSSx4.p1.1),[Downstream Tasks\.](https://arxiv.org/html/2608.11656#Sx3.SSx1.SSSx2.p1.1)\.
- Huet al\.\(2022\)E\. J\. Hu, Y\. Shen, P\. Wallis, Z\. Allen\-Zhu, Y\. Li, S\. Wang, L\. Wang, and W\. ChenLoRA: low\-rank adaptation of large language models\.InInternational Conference on Learning Representations,Cited by:[LLM Backbone\.](https://arxiv.org/html/2608.11656#Sx3.SSx2.SSSx5.p1.1)\.
- Jianget al\.\(2025\)W\. Jiang, Y\. Wang, B\. Lu, and D\. LiNeuroLM: a universal multi\-task foundation model for bridging the gap between language and EEG signals\.InThe Thirteenth International Conference on Learning Representations,Cited by:[Appendix A](https://arxiv.org/html/2608.11656#A1.SSx2.SSSx2.p1.1),[Appendix A](https://arxiv.org/html/2608.11656#A1.SSx2.SSSx3.p1.1),[Introduction](https://arxiv.org/html/2608.11656#Sx1.p2.1),[Introduction](https://arxiv.org/html/2608.11656#Sx1.p4.1),[LLM Backbone\.](https://arxiv.org/html/2608.11656#Sx3.SSx2.SSSx5.p1.1)\.
- Jianget al\.\(2024\)W\. Jiang, L\. Zhao, and B\. LuLarge brain model for learning generic representations with tremendous EEG data in BCI\.InThe Twelfth International Conference on Learning Representations,Cited by:[Appendix A](https://arxiv.org/html/2608.11656#A1.SSx2.SSSx2.p1.1),[Appendix C](https://arxiv.org/html/2608.11656#A3.SSx2.SSSx2.p1.1),[Table S5](https://arxiv.org/html/2608.11656#A7.T5.1.7.1),[Table S6](https://arxiv.org/html/2608.11656#A7.T6.1.7.1),[Table S7](https://arxiv.org/html/2608.11656#A7.T7.1.7.1),[Table S8](https://arxiv.org/html/2608.11656#A7.T8.1.7.1),[Introduction](https://arxiv.org/html/2608.11656#Sx1.p1.1),[Introduction](https://arxiv.org/html/2608.11656#Sx1.p2.1),[Baseline Models\.](https://arxiv.org/html/2608.11656#Sx3.SSx2.SSSx2.p1.1)\.
- Kinget al\.\(2026\)J\. King, C\. Bel, L\. Evanson, J\. Gadonneix, S\. Houhamdi, J\. Lévy, J\. Raugel, A\. S\. Revilla, M\. Zhang, J\. Bonnaire,et al\.NeuralSet: a high\-performing python package for neuro\-ai\.arXiv preprint arXiv:2605\.03169\.Cited by:[Appendix B](https://arxiv.org/html/2608.11656#A2.p3.1),[Data Preprocessing\.](https://arxiv.org/html/2608.11656#Sx3.SSx2.SSSx1.p1.1)\.
- Lawhernet al\.\(2018\)V\. J\. Lawhern, A\. J\. Solon, N\. R\. Waytowich, S\. M\. Gordon, C\. P\. Hung, and B\. J\. LanceEEGNet: a compact convolutional neural network for EEG\-based brain–computer interfaces\.Journal of Neural Engineering15\(5\),pp\. 056013\.External Links:[Document](https://dx.doi.org/10.1088/1741-2552/aace8c)Cited by:[Appendix A](https://arxiv.org/html/2608.11656#A1.SSx1.p1.1),[Appendix C](https://arxiv.org/html/2608.11656#A3.SSx1.SSSx1.p1.1),[Table S5](https://arxiv.org/html/2608.11656#A7.T5.1.3.1),[Table S6](https://arxiv.org/html/2608.11656#A7.T6.1.3.1),[Table S7](https://arxiv.org/html/2608.11656#A7.T7.1.3.1),[Table S8](https://arxiv.org/html/2608.11656#A7.T8.1.3.1),[Baseline Models\.](https://arxiv.org/html/2608.11656#Sx3.SSx2.SSSx2.p1.1)\.
- Leeet al\.\(2022\)J\. Lee, J\. Kim, H\. Shon, B\. Kim, S\. H\. Kim, H\. Lee, and J\. KimUniclip: unified framework for contrastive language\-image pre\-training\.InAdvances in Neural Information Processing Systems,Vol\.35,pp\. 1008–1019\.Cited by:[Instruction Tuning Objective\.](https://arxiv.org/html/2608.11656#Sx2.SSx3.SSSx2.p1.1)\.
- Liet al\.\(2026\)J\. Li, J\. Chen, F\. Shen, J\. Yang, J\. Li, Z\. Yuan, B\. Cheng, M\. Li, and Y\. YangAssembling the mind’s mosaic: towards EEG semantic intent decoding\.InThe Fourteenth International Conference on Learning Representations,External Links:[Link](https://openreview.net/forum?id=8OgJ2uhiu8)Cited by:[Appendix A](https://arxiv.org/html/2608.11656#A1.SSx3.p1.1)\.
- Liuet al\.\(2026\)R\. Liu, Z\. Chen, Pengshu, W\. You, Z\. Huang, J\. Wu, and K\. TanMindMix: a multimodal foundation model for auditory perception decoding via deep neural\-acoustic alignment\.InThe Fourteenth International Conference on Learning Representations,External Links:[Link](https://openreview.net/forum?id=1ifQzlETeG)Cited by:[Appendix A](https://arxiv.org/html/2608.11656#A1.SSx3.p1.1)\.
- Lopezet al\.\(2015\)S\. Lopez, G\. Suarez, D\. Jungreis, I\. Obeid, and J\. PiconeAutomated identification of abnormal adult eegs\.In2015 IEEE Signal Processing in Medicine and Biology Symposium \(SPMB\),pp\. 1–5\.Cited by:[1st item](https://arxiv.org/html/2608.11656#A2.I1.i1.p1.1),[Appendix B](https://arxiv.org/html/2608.11656#A2.SS0.SSSx1.p1.1),[Downstream Tasks\.](https://arxiv.org/html/2608.11656#Sx3.SSx1.SSSx2.p1.1)\.
- Maet al\.\(2026\)J\. Ma, F\. Wu, Q\. Lin, Y\. Xing, C\. Liu, Z\. Jia, and M\. FengCodeBrain: bridging decoupled tokenizer and multi\-scale architecture for EEG foundation model\.InThe Fourteenth International Conference on Learning Representations,External Links:[Link](https://openreview.net/forum?id=msJgEkjwh5)Cited by:[Appendix A](https://arxiv.org/html/2608.11656#A1.SSx2.SSSx2.p1.1),[Introduction](https://arxiv.org/html/2608.11656#Sx1.p2.1)\.
- Obeid and Picone \(2016\)I\. Obeid and J\. PiconeThe temple university hospital eeg data corpus\.Frontiers in Neuroscience10,pp\. 196\.Cited by:[Pretraining\.](https://arxiv.org/html/2608.11656#Sx3.SSx1.SSSx1.p1.1)\.
- Oquabet al\.\(2024\)M\. Oquab, T\. Darcet, T\. Moutakanni, H\. Vo, M\. Szafraniec, V\. Khalidov, P\. Fernandez, D\. Haziza, F\. Massa, A\. El\-Nouby,et al\.Dinov2: learning robust visual features without supervision\.Transactions on Machine Learning Research Journal\.Cited by:[Introduction](https://arxiv.org/html/2608.11656#Sx1.p1.1)\.
- Pradeepkumaret al\.\(2026a\)J\. Pradeepkumar, Z\. Chen, and J\. SunNeural signals generate clinical notes in the wild\.arXiv preprint arXiv:2601\.22197\.Cited by:[Appendix A](https://arxiv.org/html/2608.11656#A1.SSx3.p2.1)\.
- Pradeepkumaret al\.\(2026b\)J\. Pradeepkumar, X\. Piao, Z\. Chen, and J\. SunTokenizing single\-channel eeg with time\-frequency motif learning\.InInternational Conference on Learning Representations,Vol\.2026,pp\. 36611–36637\.Cited by:[Introduction](https://arxiv.org/html/2608.11656#Sx1.p2.1)\.
- Radfordet al\.\(2023\)A\. Radford, J\. W\. Kim, T\. Xu, G\. Brockman, C\. McLeavey, and I\. SutskeverRobust speech recognition via large\-scale weak supervision\.InProceedings of the 40th International Conference on Machine Learning,Vol\.202,pp\. 28492–28518\.Cited by:[Introduction](https://arxiv.org/html/2608.11656#Sx1.p1.1)\.
- Radfordet al\.\(2019\)A\. Radford, J\. Wu, R\. Child, D\. Luan, D\. Amodei, I\. Sutskever,et al\.Language models are unsupervised multitask learners\.OpenAI Blog1\(8\),pp\. 9\.Cited by:[Introduction](https://arxiv.org/html/2608.11656#Sx1.p1.1)\.
- Schalk \(2009\)G\. SchalkEEG motor movement/imagery dataset\.PhysioNet\.Note:Version 1\.0\.0External Links:[Document](https://dx.doi.org/10.13026/C28G6P),[Link](https://doi.org/10.13026/C28G6P)Cited by:[7th item](https://arxiv.org/html/2608.11656#A2.I1.i7.p1.1),[Appendix B](https://arxiv.org/html/2608.11656#A2.SS0.SSSx7.p1.1),[Downstream Tasks\.](https://arxiv.org/html/2608.11656#Sx3.SSx1.SSSx2.p1.1)\.
- Songet al\.\(2023\)Y\. Song, Q\. Zheng, B\. Liu, and X\. GaoEEG Conformer: convolutional transformer for EEG decoding and visualization\.IEEE Transactions on Neural Systems and Rehabilitation Engineering31,pp\. 710–719\.External Links:[Document](https://dx.doi.org/10.1109/TNSRE.2022.3230250)Cited by:[Appendix A](https://arxiv.org/html/2608.11656#A1.SSx1.p1.1),[Appendix C](https://arxiv.org/html/2608.11656#A3.SSx1.SSSx2.p1.1),[Table S5](https://arxiv.org/html/2608.11656#A7.T5.1.4.1),[Table S6](https://arxiv.org/html/2608.11656#A7.T6.1.4.1),[Table S7](https://arxiv.org/html/2608.11656#A7.T7.1.4.1),[Table S8](https://arxiv.org/html/2608.11656#A7.T8.1.4.1),[Baseline Models\.](https://arxiv.org/html/2608.11656#Sx3.SSx2.SSSx2.p1.1)\.
- Veraet al\.\(2025\)H\. S\. Vera, S\. Dua, B\. Zhang, D\. Salz, R\. Mullins, S\. R\. Panyam, S\. Smoot, I\. Naim, J\. Zou, F\. Chen,et al\.Embeddinggemma: powerful and lightweight text representations\.arXiv preprint arXiv:2509\.20354\.Cited by:[Inference by Semantic Matching\.](https://arxiv.org/html/2608.11656#Sx2.SSx3.SSSx3.p1.1)\.
- Wanget al\.\(2024\)G\. Wang, W\. Liu, Y\. He, C\. Xu, L\. Ma, and H\. LiEEGPT: pretrained transformer for universal and reliable representation of EEG signals\.InAdvances in Neural Information Processing Systems,Cited by:[Appendix A](https://arxiv.org/html/2608.11656#A1.SSx2.SSSx1.p1.1)\.
- Wanget al\.\(2026\)H\. Wang, W\. Yang, S\. Shen, and Y\. LiKAST\-BAR: knowledge\-anchored semantically\-dynamic topology brain autoregressive modeling for universal neural interpretation\.arXiv preprint arXiv:2605\.13133\.Cited by:[Appendix A](https://arxiv.org/html/2608.11656#A1.SSx2.SSSx3.p1.1),[Introduction](https://arxiv.org/html/2608.11656#Sx1.p2.1),[Introduction](https://arxiv.org/html/2608.11656#Sx1.p4.1),[LLM Backbone\.](https://arxiv.org/html/2608.11656#Sx3.SSx2.SSSx5.p1.1)\.
- Wanget al\.\(2025\)J\. Wang, S\. Zhao, Z\. Luo, Y\. Zhou, H\. Jiang, S\. Li, T\. Li, and G\. PanCBraMod: a criss\-cross brain foundation model for EEG decoding\.InThe Thirteenth International Conference on Learning Representations,Cited by:[Appendix A](https://arxiv.org/html/2608.11656#A1.SSx2.SSSx1.p1.1),[Appendix C](https://arxiv.org/html/2608.11656#A3.SSx2.SSSx3.p1.1),[Table S5](https://arxiv.org/html/2608.11656#A7.T5.1.8.1),[Table S6](https://arxiv.org/html/2608.11656#A7.T6.1.8.1),[Table S7](https://arxiv.org/html/2608.11656#A7.T7.1.8.1),[Table S8](https://arxiv.org/html/2608.11656#A7.T8.1.8.1),[Introduction](https://arxiv.org/html/2608.11656#Sx1.p1.1),[Introduction](https://arxiv.org/html/2608.11656#Sx1.p2.1),[Data Preprocessing\.](https://arxiv.org/html/2608.11656#Sx3.SSx2.SSSx1.p1.1),[Baseline Models\.](https://arxiv.org/html/2608.11656#Sx3.SSx2.SSSx2.p1.1)\.
- Wuet al\.\(2024\)D\. Wu, S\. Li, J\. Yang, and M\. SawanNeuro\-bert: rethinking masked autoencoding for self\-supervised neurological pretraining\.IEEE Journal of Biomedical and Health Informatics30\(2\),pp\. 970–980\.Cited by:[Introduction](https://arxiv.org/html/2608.11656#Sx1.p3.1)\.
- Yanget al\.\(2023\)C\. Yang, M\. B\. Westover, and J\. SunBIOT: biosignal transformer for cross\-data learning in the wild\.InAdvances in Neural Information Processing Systems,Vol\.36,pp\. 78240–78260\.Cited by:[Appendix A](https://arxiv.org/html/2608.11656#A1.SSx2.p1.1),[Appendix C](https://arxiv.org/html/2608.11656#A3.SSx2.SSSx1.p1.1),[Table S5](https://arxiv.org/html/2608.11656#A7.T5.1.6.1),[Table S6](https://arxiv.org/html/2608.11656#A7.T6.1.6.1),[Table S7](https://arxiv.org/html/2608.11656#A7.T7.1.6.1),[Table S8](https://arxiv.org/html/2608.11656#A7.T8.1.6.1),[Baseline Models\.](https://arxiv.org/html/2608.11656#Sx3.SSx2.SSSx2.p1.1)\.
- Yanget al\.\(2025\)W\. Yang, W\. Yan, W\. Liu, Y\. Ma, and Y\. LiTHD\-BAR: topology hierarchical derived brain autoregressive modeling for EEG generic representations\.InAdvances in Neural Information Processing Systems,Cited by:[Appendix A](https://arxiv.org/html/2608.11656#A1.SSx2.SSSx2.p1.1),[Appendix A](https://arxiv.org/html/2608.11656#A1.SSx2.SSSx3.p1.1),[Introduction](https://arxiv.org/html/2608.11656#Sx1.p2.1),[Introduction](https://arxiv.org/html/2608.11656#Sx1.p4.1),[LLM Backbone\.](https://arxiv.org/html/2608.11656#Sx3.SSx2.SSSx5.p1.1)\.
- Zhaiet al\.\(2026\)L\. Zhai, H\. Ding, M\. Lin, C\. Zhao, F\. Wang, G\. Wang, W\. Zhi, and W\. XiVP\-vae: rethinking vector quantization via adaptive vector perturbation\.arXiv preprint arXiv:2602\.17133\.Cited by:[Introduction](https://arxiv.org/html/2608.11656#Sx1.p4.1)\.
- Zhenget al\.\(2026\)J\. Zheng, H\. Jia, M\. LI, Y\. Zheng, Y\. Zeng, Y\. Gao, and C\. LiangLearning brain representation with hierarchical visual embeddings\.InThe Fourteenth International Conference on Learning Representations,External Links:[Link](https://openreview.net/forum?id=IEq71qS8B7)Cited by:[Appendix A](https://arxiv.org/html/2608.11656#A1.SSx3.p1.1)\.
- Zhenget al\.\(2025\)P\. Zheng, J\. Wang, Y\. Chang, Y\. Yu, R\. Ma, and Z\. WuRethinking discrete tokens: treating them as conditions for continuous autoregressive image synthesis\.InProceedings of the IEEE/CVF International Conference on Computer Vision,pp\. 17390–17400\.Cited by:[Introduction](https://arxiv.org/html/2608.11656#Sx1.p4.1)\.
- Zhouet al\.\(2026\)Y\. Zhou, J\. Wu, Z\. Ren, Z\. Yao, W\. Lu, K\. Peng, Q\. Zheng, C\. Song, W\. Ouyang, and C\. GouCSBrain: a cross\-scale spatiotemporal brain foundation model for EEG decoding\.InAdvances in Neural Information Processing Systems,Cited by:[Appendix A](https://arxiv.org/html/2608.11656#A1.SSx2.SSSx1.p1.1),[Introduction](https://arxiv.org/html/2608.11656#Sx1.p2.1)\.
- Zymaet al\.\(2019\)I\. Zyma, S\. Tukaev, I\. Seleznov, K\. Kiyono, A\. Popov, M\. Chernykh, and O\. ShpenkovElectroencephalograms during mental arithmetic task performance\.Data4\(1\),pp\. 14\.Cited by:[5th item](https://arxiv.org/html/2608.11656#A2.I1.i5.p1.1),[Appendix B](https://arxiv.org/html/2608.11656#A2.SS0.SSSx5.p1.1),[Downstream Tasks\.](https://arxiv.org/html/2608.11656#Sx3.SSx1.SSSx2.p1.1)\.
## Appendix ARelated Work
### Conventional EEG Decoding Methods
Conventional EEG decoding methods predominantly relied on supervised learning to extract task\-relevant features from labeled EEG data\. EEGNet\([18](https://arxiv.org/html/2608.11656#bib.bib25)\)introduced a compact convolutional architecture employing depthwise and separable convolutions to efficiently capture temporal and spatial EEG features\. EEGConformer\([31](https://arxiv.org/html/2608.11656#bib.bib22)\)combined convolutional feature extraction with transformer\-based self\-attention to jointly model local patterns and long\-range temporal dependencies\. Despite their effectiveness, these models are generally trained for specific tasks and datasets and depend heavily on labeled data, while much of the available EEG data remains unlabeled\. These limitations have motivated the development of EEG foundation models that learn generalizable representations from large\-scale unlabeled EEG data\.
### EEG Foundation Models
Early EEG foundation models sought to learn transferable representations from heterogeneous EEG datasets with varying electrode configurations, sampling rates, and signal lengths\. BIOT\([37](https://arxiv.org/html/2608.11656#bib.bib26)\), for example, enabled cross\-dataset pretraining through channel\-wise tokenization that accommodated diverse montages and sampling rates\. Subsequent studies have primarily adopted three approaches: masked autoencoding, discrete neural tokenization, and autoregressive modeling\. These approaches are not mutually exclusive and have often been combined within a single framework\.
#### Masked Autoencoding\.
Universal EEG representations are commonly learned by masking portions of the input and reconstructing raw EEG signals, latent representations, or discrete tokens\. EEGPT\([33](https://arxiv.org/html/2608.11656#bib.bib30)\)employed a dual self\-supervised pretraining objective that combined masked EEG reconstruction with spatio\-temporal representation alignment to learn robust and generalizable EEG representations\. CBraMod\([35](https://arxiv.org/html/2608.11656#bib.bib28)\)proposed a criss\-cross transformer designed to separately model spatial and temporal dependencies among EEG patches through parallel attention mechanisms and pretrained it using masked EEG reconstruction\. CSBrain\([42](https://arxiv.org/html/2608.11656#bib.bib29)\)introduced cross\-scale spatio\-temporal tokenization to aggregate multi\-scale neural patterns within temporal windows and anatomical brain regions, along with structured sparse attention to model long\-range dependencies across windows and regions\. It was pretrained by reconstructing masked EEG segments\. REVE\([8](https://arxiv.org/html/2608.11656#bib.bib23)\)introduced a 4D spatio\-temporal positional encoding scheme to accommodate arbitrary electrode configurations and signal lengths\. It was pretrained using spatio\-temporal block masking and masked raw EEG reconstruction on a large\-scale heterogeneous EEG corpus\.
#### Discrete Neural Tokenization\.
EEG signals can also be quantized into discrete neural tokens that provide compact representations of continuous EEG embeddings and serve as prediction targets during pretraining\. LaBraM\([16](https://arxiv.org/html/2608.11656#bib.bib27)\)introduced a vector\-quantized neural tokenizer trained via Fourier\-spectrum prediction to encode continuous EEG channel patches into discrete neural codes\. NeuroLM\([15](https://arxiv.org/html/2608.11656#bib.bib31)\)and THD\-BAR\([38](https://arxiv.org/html/2608.11656#bib.bib32)\)similarly learned discrete EEG tokenizers and further combined them with autoregressive modeling\. CodeBrain\([23](https://arxiv.org/html/2608.11656#bib.bib35)\)introduced a TFDual\-Tokenizer that quantized joint time\-frequency EEG embeddings using separate temporal and frequency codebooks, together with a multi\-scale architecture that captured sparse long\-range dependencies through structured global convolution and local intra\-patch dependencies through sliding\-window attention\. During pretraining, the model predicted the temporal and frequency token indices of masked EEG patches\.
#### Autoregressive Modeling\.
Building on discrete neural tokenization, recent models learn causal dependencies among EEG tokens and integrate the token sequences into autoregressive generative models\. NeuroLM\([15](https://arxiv.org/html/2608.11656#bib.bib31)\)learned a text\-aligned neural tokenizer through vector\-quantized temporal\-frequency prediction and integrated the resulting neural tokens into an LLM through multi\-channel autoregressive pretraining and multi\-task instruction tuning\. THD\-BAR\([38](https://arxiv.org/html/2608.11656#bib.bib32)\)introduced a brain topology hierarchy and developed a topology\-hierarchical VQ\-VAE for multi\-scale discrete EEG tokenization, followed by autoregressive pretraining based on next\-scale\-time prediction\. KAST\-BAR\([34](https://arxiv.org/html/2608.11656#bib.bib33)\)combined topology\-preserving discrete EEG tokenization with expert\-level semantic profiles generated from physiological features and jointly pretrained textual knowledge and discrete EEG tokens using next\-token prediction\.
### Cross\-Modal Alignment and LLM Integration
Recent studies have extended brain\-signal representation learning by aligning neural signals with semantic representations from linguistic, visual, and acoustic modalities\. BrainMosaic\([20](https://arxiv.org/html/2608.11656#bib.bib40)\)introduced semantic intent decoding, which decomposed EEG and sEEG signals into compositional semantic units and reconstructed natural\-language descriptions from the decoded intents\. MindMix\([21](https://arxiv.org/html/2608.11656#bib.bib41)\)aligned EEG representations with neural\-acoustic features to support transferable decoding across auditory perception tasks\. Hierarchical visual alignment\([40](https://arxiv.org/html/2608.11656#bib.bib42)\)mapped brain signals to multi\-scale visual embeddings extracted from complementary pretrained visual encoders, preserving both high\-level semantic information and fine\-grained visual details\.
Beyond cross\-modal representation alignment, recent studies have integrated neural signals directly into pretrained language models or multimodal LLMs for generative interpretation\. In the clinical domain, CerebraGloss\([10](https://arxiv.org/html/2608.11656#bib.bib5)\)treated EEG waveforms as visual inputs and instruction\-tuned a pretrained vision\-language model on paired EEG images and clinical text for fine\-grained clinical EEG interpretation\. CELM\([26](https://arxiv.org/html/2608.11656#bib.bib43)\)connected a long\-context EEG encoder with an LLM through sequence\-aware alignment, enabling clinical report generation directly from long\-duration EEG recordings\. Collectively, these studies demonstrate the potential of cross\-modal alignment and pretrained language models for semantically grounding neural representations\. However, most existing approaches rely on modality\-specific paired data or generative decoding, whereas BLPM aligns EEG representations with language through a shared semantic space using language\-derived supervision without autoregressive text generation\.
CategoryTaskDataset\#ChannelsRateDuration\#Subjects\#Samples\#ClassesClinicalPathology detectionTUAB16256 Hz5 s2,383409k2Clinical event detectionTUEV16250 Hz3 s370112k6SleepSleep stage classificationHMC4256 Hz30 s151137k5Internal stateMental workload classificationCOG\-BCI64500 Hz5 s2915\.4k3Mental stress detectionMental Arithmetic20500 Hz5 s361\.7k2Emotion classificationFACED32250 Hz5 s12310\.3k9BCIMotor imagery classificationPhysioNet\-MI64160 Hz4 s1099\.8k4Table S1:The seven downstream datasets, grouped byNeuralBenchtask category\.*\#Channels*: number of EEG electrodes;*Rate*: native sampling rate;*Duration*: window length fed to the model;*\#Subjects*/*\#Samples*: participant and labelled\-segment counts \(rounded to thousands, k\);*\#Classes*: number of target labels\.
## Appendix BDataset details and Preprocessing
We evaluate BLPM on seven downstream datasets spanning fourNeuralBench\([3](https://arxiv.org/html/2608.11656#bib.bib21)\)task categories—*clinical*,*sleep*,*internal\-state*, and*BCI*decoding\. Table[S1](https://arxiv.org/html/2608.11656#A1.T1)summarizes their recording configurations; they differ widely in electrode montage, sampling rate, and scale, providing a heterogeneous evaluation setting for cross\-task and cross\-dataset generalization\.
- •Clinical — TUAB\([22](https://arxiv.org/html/2608.11656#bib.bib16)\): binary normal/abnormal EEG classification from the Temple University Hospital Abnormal corpus\.
- •Clinical — TUEV\([11](https://arxiv.org/html/2608.11656#bib.bib17)\): six\-class EEG event\-type classification from the Temple University Hospital Event corpus\.
- •Sleep — HMC\([1](https://arxiv.org/html/2608.11656#bib.bib14)\): five\-class sleep\-stage classification over 30\-second epochs from the Haaglanden Medisch Centrum sleep database\.
- •Internal state — COG\-BCI\([13](https://arxiv.org/html/2608.11656#bib.bib18)\): three\-class mental workload classification\.
- •Internal state — Mental Arithmetic\([43](https://arxiv.org/html/2608.11656#bib.bib19)\): binary mental stress detection\.
- •Internal state — FACED\([4](https://arxiv.org/html/2608.11656#bib.bib13)\): nine\-class emotion recognition using 32\-channel EEG recordings elicited by affective video stimuli\.
- •BCI — PhysioNet\-MI\([30](https://arxiv.org/html/2608.11656#bib.bib15)\): four\-class motor\-imagery classification from 64\-channel EEG\.
All datasets are processed and evaluated using a unified pipeline implemented with NeuralSet\([17](https://arxiv.org/html/2608.11656#bib.bib20)\), including signal preprocessing, window extraction, and subject\-level data partitioning\.
The following paragraphs provide detailed descriptions of each dataset, including its participants, recording configuration, and task formulation\.
#### TUAB\.
TUAB is a large\-scale clinical EEG dataset used for binary abnormal EEG detection\([22](https://arxiv.org/html/2608.11656#bib.bib16)\)\. Each clinical EEG recording is labeled as either normal or abnormal based on interpretations provided by clinical EEG experts\. The task evaluates whether a model can identify pathological or otherwise abnormal patterns in routine clinical EEG recordings\.
Following the preprocessing protocol used in our experiments, we retain 16 channels with most recordings sampled at 256 Hz\. The signals are divided into non\-overlapping 5\-s windows\. We follow the official TUAB partition: recordings in the official evaluation subset are used exclusively as the test set\. The remaining official training data are divided at the subject level, with 20% of the training subjects assigned to validation using random state 33\. This preserves the official test set while preventing recordings from the same patient from appearing in both training and validation subsets\.
#### TUEV\.
TUEV is a clinical EEG event dataset used to classify pathological events and common non\-cerebral patterns in clinical EEG recordings\([11](https://arxiv.org/html/2608.11656#bib.bib17)\)\. We use the standard six event categories: spike\-and\-sharp wave \(SPSW\), generalized periodic epileptiform discharge \(GPED\), periodic lateralized epileptiform discharge \(PLED\), eye movement \(EYEM\), artifact \(ARTF\), and background activity \(BCKG\)\. The first three categories represent clinically relevant epileptiform patterns, whereas the remaining categories represent eye movements, artifacts, and background EEG activity\.
Following our experimental preprocessing, 16 EEG channels are retained and all signals are resampled to 120 Hz\. Event\-centered EEG segments are extracted using 3\-s windows with a 1\-s stride, resulting in a 2\-s overlap, and are assigned one of the six event labels\. We use the official TUEV evaluation partition as the test set\. The official development data are divided at the subject level into training and validation subsets, with 20% of development subjects assigned to validation using random state 33\. Consequently, no patient is shared across the training, validation, and test subsets\.
#### HMC\.
The Haaglanden Medisch Centrum \(HMC\) sleep staging database is a clinical polysomnography dataset used for automatic sleep\-stage classification from whole\-night recordings\([1](https://arxiv.org/html/2608.11656#bib.bib14)\)\. It contains 151 recordings acquired from a heterogeneous clinical population referred for the assessment of sleep disorders\.
All channels were resampled to 200 Hz\. Sleep stages were manually annotated in non\-overlapping 30\-s epochs according to standard clinical sleep\-scoring guidelines\. The original database provides five stage labels: Wake, N1, N2, N3, and REM\. Recordings are divided at the subject level into training, validation, and test subsets, with validation and test ratios of 0\.2 using random state 33\. Prior to epoch extraction, long wake periods occurring before the first sleep epoch and after the last sleep epoch are limited to a maximum of 30 minutes\.
#### COG\-BCI\.
COG\-BCI is a multi\-session cognitive EEG dataset developed for passive brain\-computer interface research and cognitive\-state decoding\([13](https://arxiv.org/html/2608.11656#bib.bib18)\)\. The full dataset contains recordings from 29 participants collected across three sessions while they performed four cognitive tasks: MATB\-II, N\-back, psychomotor vigilance, and Flanker tasks\. In this study, we use the MATB\-II recordings for three\-class mental workload classification, corresponding to easy, medium, and difficult workload conditions\.
The EEG signals were originally recorded from 64 channels at 500 Hz and resampled to 120 Hz\. Following the NeuralBench workload protocol, only theMATBeasy,MATBmed, andMATBdiffconditions are retained\. Each continuous task recording is divided into non\-overlapping 5\-s windows, and incomplete windows are discarded\. Subjects are divided into disjoint training, validation, and test sets, with validation and test ratios of 0\.2\.
#### Mental Arithmetic\.
The Mental Arithmetic dataset is a cognitive EEG dataset used to distinguish resting\-state brain activity from activity recorded during mental arithmetic\([43](https://arxiv.org/html/2608.11656#bib.bib19)\)\. It contains recordings from 36 healthy participants under two conditions: a resting background condition and a mental serial\-subtraction condition\.
The EEG signals were acquired from 20 scalp channels at 500 Hz and resampled to 200 Hz\. During the original data collection, a 0\.5\-Hz high\-pass filter, a 45\-Hz low\-pass filter, and a 50\-Hz power\-line notch filter were applied\. The released data include artifact\-free resting and mental\-arithmetic recordings selected through expert visual inspection\. Following NeuralBench\([3](https://arxiv.org/html/2608.11656#bib.bib21)\), the signals are divided into non\-overlapping 5\-s windows\. Subjects are assigned to mutually exclusive training, validation, and test subsets, with validation and test ratios of 0\.2 using random state 33\. Class weights are estimated from the training data to address class imbalance\.
#### FACED\.
FACED is an affective EEG dataset designed for fine\-grained emotion recognition from neural responses elicited by emotional video stimuli\([4](https://arxiv.org/html/2608.11656#bib.bib13)\)\. It contains EEG recordings from 123 participants who watched 28 video clips covering nine emotion categories: amusement, inspiration, joy, tenderness, anger, fear, disgust, sadness, and neutral emotion\. EEG signals were recorded from 32 channels, with the original acquisition rate differing between the two data\-collection cohorts \(250 or 1000 Hz\), and were provided after downsampling to 250 Hz\.
Following the NeuralBench emotion\-recognition formulation, only the last 30 s of each video presentation are retained, and the selected signals are divided into non\-overlapping 5\-s windows, with up to six segments extracted per video clip\. Each window is assigned the emotion category associated with the corresponding video clip\. The dataset is divided into mutually exclusive training, validation, and test subjects using a subject\-disjoint split\. The validation and test ratios are both set to 0\.2, using random state 33\. Class weights are computed from the training subset to mitigate the substantial imbalance among emotion categories\.
#### PhysioNet\-MI\.
PhysioNet\-MI is a motor imagery EEG dataset used to classify imagined movements of different body parts\([30](https://arxiv.org/html/2608.11656#bib.bib15)\)\. It contains 64\-channel EEG recordings collected from 109 participants using the BCI2000 system\. Participants performed both motor execution and motor imagery tasks involving the left fist, right fist, both fists, and both feet\. In this work, only motor imagery trials are used, resulting in a four\-class motor imagery classification task\.
The EEG signals were acquired at 160 Hz and resampled to 120 Hz\. Following the NeuralBench motor imagery protocol, only events whose annotations correspond to motor imagery are retained, while motor execution events are excluded\. A single 4\-s EEG segment is extracted from each imagery trial onset without sliding\-window overlap\. Subjects S088, S092, and S100 are excluded according to the NeuralBench dataset configuration\. Because PhysioNet\-MI does not provide an official machine\-learning train/test partition, the remaining subjects are divided into subject\-disjoint training, validation, and test sets\. The validation and test ratios are both 0\.2, using random state 33\.
## Appendix CBaseline Models
We compare BLPM against two widely adopted supervised models and five recent foundation models for EEG representation learning\. For all pretrained baselines, we initialize the encoder using the publicly released pretrained checkpoint and adapt the model to each downstream dataset with a task\-specific classification head\. The task\-specific models are trained from scratch under the same downstream evaluation protocol\.
### Task\-specific Models
#### EEGNet\.
EEGNet\([18](https://arxiv.org/html/2608.11656#bib.bib25)\)is a compact convolutional neural network architecture designed to generalize across different EEG\-based brain\-computer interface paradigms\. It first applies temporal convolutions to learn frequency\-selective filters and then uses depthwise spatial convolutions to capture channel\-specific spatial patterns\. A subsequent separable convolution combines the learned temporal and spatial features while maintaining a small number of trainable parameters\. Given its computational efficiency and broad applicability, we include EEGNet as a representative lightweight task\-specific baseline\.
#### EEGConformer\.
EEGConformer\([31](https://arxiv.org/html/2608.11656#bib.bib22)\)combines convolutional feature extraction with transformer\-based sequence modeling\. Its convolution module uses temporal and spatial convolutions to obtain local EEG features and partitions the resulting feature map into temporal tokens\. These tokens are then processed by multi\-head self\-attention layers to model long\-range dependencies across time\. A fully connected classification head maps the resulting representation to the downstream label space\. We train EEGConformer separately on each target dataset as a supervised baseline\.
### Foundation Models
#### BIOT\.
BIOT\([37](https://arxiv.org/html/2608.11656#bib.bib26)\)is a linear transformer\-based model developed for cross\-dataset learning from heterogeneous biosignals\. To accommodate differences in channel configurations, sequence lengths, and missing observations, BIOT independently divides each signal channel into fixed\-duration segments and rearranges the resulting segments into a unified token sequence\. Channel and relative positional embeddings retain the spatial and temporal identity of individual tokens, while a linear transformer models their interactions with reduced computational complexity\. We use its pretrained biosignal encoder and optimize a task\-specific classification head for each downstream task\.
#### LaBraM\.
LaBraM\([16](https://arxiv.org/html/2608.11656#bib.bib27)\)is a large\-scale EEG foundation model trained using discrete neural tokenization and masked EEG modeling\. Raw EEG recordings are divided into channel\-wise temporal patches, and a vector\-quantized neural tokenizer maps each continuous patch to a discrete neural code\. The transformer encoder is subsequently pretrained to recover the neural codes of masked patches from the visible context\. Temporal and spatial embeddings allow the model to process recordings with different durations and electrode configurations\. For downstream evaluation, we fine\-tune the pretrained LaBraM encoder together with a task\-specific classification head\.
#### CBraMod\.
CBraMod\([35](https://arxiv.org/html/2608.11656#bib.bib28)\)introduces a criss\-cross transformer for learning structured spatio\-temporal EEG representations\. Instead of flattening all channel and temporal patches into a single sequence, its transformer blocks apply spatial and temporal attention in parallel, explicitly accounting for the heterogeneous dependencies along the two dimensions\. CBraMod further uses asymmetric conditional positional encoding to generate input\-dependent positional information for EEG recordings with varying channel arrangements\. The model is pretrained on the Temple University Hospital EEG Corpus using masked patch reconstruction and is subsequently fine\-tuned for individual downstream tasks\.
#### REVE\.
REVE\([8](https://arxiv.org/html/2608.11656#bib.bib23)\)is an EEG foundation model designed to transfer across heterogeneous recording systems and electrode layouts\. Each EEG channel is divided into temporal patches, which are augmented with a four\-dimensional spatio\-temporal positional encoding derived from the three\-dimensional electrode coordinates and temporal positions\. During pretraining, contiguous regions are masked across the spatial and temporal dimensions, and a decoder reconstructs the missing raw EEG segments\. REVE is pretrained on more than 60,000 hours of EEG collected from 92 datasets and approximately 25,000 participants\. We adapt the released pretrained encoder to each target dataset using the corresponding downstream classification head\.
#### LUNA\.
LUNA\([7](https://arxiv.org/html/2608.11656#bib.bib24)\)is a topology\-agnostic EEG foundation model that maps variable electrode configurations into a fixed\-size latent representation\. Learned latent queries attend to the available channel features through cross\-attention, thereby compressing an arbitrary number of electrodes into a common latent space\. Temporal transformer blocks operate on this unified representation rather than directly on all channel\-time pairs, making the computational cost scale linearly with the number of input channels\. LUNA is pretrained on more than 21,000 hours of EEG using masked patch reconstruction\. For downstream tasks, we fine\-tune the pretrained encoder and an attached task\-specific prediction head\.
## Appendix DExperimental Settings
BLPM is trained in three stages\. In Stage 1, the CELP encoder is pretrained using a 12\-layer transformer with a hidden dimension of 384 and six attention heads\. The predictor consists of six transformer layers with the same hidden dimension\. Pretraining uses Smooth L1 loss with multiblock masking, where the context\-mask scale ranges from 0\.75 to 1\.0, the prediction\-mask scale ranges from 0\.15 to 0\.30, and the target union ratio ranges from 0\.40 to 0\.60\. The model is optimized with AdamW using a batch size of 128, a peak learning rate of5×10−55\\times 10^\{\-5\}, and a cosine schedule with five warmup epochs\. The momentum coefficient of the target encoder is gradually increased from 0\.996 to 1\.0\.
In Stage 2, semantic alignment is performed with task\- and class\-balanced sampling\. We use a batch size of 64, AdamW optimization, a peak learning rate of1×10−41\\times 10^\{\-4\}, and a warmup\-cosine learning rate schedule\. Training is conducted for 20 epochs with a temperature of 0\.07 and gradient clipping of 1\.0\.
In Stage 3, downstream multi\-task instruction tuning is performed using task\- and class\-balanced sampling with a batch size of 64\. The model is optimized for five epochs using AdamW with a peak learning rate of5×10−45\\times 10^\{\-4\}and a minimum learning rate of5×10−55\\times 10^\{\-5\}\. LoRA is applied to theq\_projandv\_projmodules with rank 8, scaling factor 16, and dropout 0\.05\.
Tables[S2](https://arxiv.org/html/2608.11656#A4.T2)–[S4](https://arxiv.org/html/2608.11656#A4.T4)provide the complete hyperparameter settings for the three training stages\.
Table S2:Hyperparameters for CELP encoder pretraining\.Table S3:Hyperparameters for semantic alignment\.Table S4:Hyperparameters for downstream multi\-task instruction tuning\.
## Appendix EEvaluation Metrics
We evaluate binary classification using balanced accuracy, AUPRC, and AUROC, and multi\-class classification using balanced accuracy, Cohen’sκ\\kappa, and the weighted F1\-score\.
### Metrics for Binary Classification
#### Balanced Accuracy \(B\-Acc\)\.
Balanced accuracy assigns equal importance to the positive and negative classes and is therefore suitable for evaluating classification performance under class imbalance\. It is defined as the average of the true\-positive rate and the true\-negative rate:
B\-Acc=12\(TPTP\+FN\+TNTN\+FP\),\\text\{B\-Acc\}=\\frac\{1\}\{2\}\\left\(\\frac\{\\text\{TP\}\}\{\\text\{TP\}\+\\text\{FN\}\}\+\\frac\{\\text\{TN\}\}\{\\text\{TN\}\+\\text\{FP\}\}\\right\),\(22\)whereTP,TN,FP, andFNdenote the numbers of true\-positive, true\-negative, false\-positive, and false\-negative predictions, respectively\. Unlike conventional accuracy, balanced accuracy is less affected by skewed class distributions\.
#### Area Under the Precision\-Recall Curve \(AUPRC\)\.
The precision\-recall curve characterizes the trade\-off between precision and recall as the classification threshold varies\. Precision and recall are defined as
Precision=TPTP\+FP,Recall=TPTP\+FN\.\\text\{Precision\}=\\frac\{\\text\{TP\}\}\{\\text\{TP\}\+\\text\{FP\}\},\\qquad\\text\{Recall\}=\\frac\{\\text\{TP\}\}\{\\text\{TP\}\+\\text\{FN\}\}\.\(23\)AUPRC summarizes the area under this curve and evaluates the model’s ability to identify positive samples while limiting false\-positive predictions across different thresholds\. Because precision and recall do not explicitly depend on the number of true\-negative samples, AUPRC is particularly informative for imbalanced classification problems in which the positive class is rare\.
#### Area Under the Receiver Operating Characteristic Curve \(AUROC\)\.
The receiver operating characteristic curve represents the relationship between the true\-positive rate and the false\-positive rate as the classification threshold varies\. These quantities are defined as
TPR=TPTP\+FN,FPR=FPTN\+FP\.\\text\{TPR\}=\\frac\{\\text\{TP\}\}\{\\text\{TP\}\+\\text\{FN\}\},\\qquad\\text\{FPR\}=\\frac\{\\text\{FP\}\}\{\\text\{TN\}\+\\text\{FP\}\}\.\(24\)AUROC summarizes the area under this curve and measures the model’s ability to discriminate between positive and negative samples across all classification thresholds\. An AUROC of1\.01\.0indicates perfect discrimination, whereas an AUROC of0\.50\.5corresponds to chance\-level discrimination\.
### Metrics for Multi\-class Classification
#### Balanced Accuracy \(B\-Acc\)\.
Balanced accuracy evaluates classification performance by assigning equal importance to all classes, regardless of their sample frequencies\. For a multi\-class classification problem withCCclasses, it is computed as the macro\-average of the class\-wise recall:
B\-Acc=1C∑c=1CTPcTPc\+FNc,\\text\{B\-Acc\}=\\frac\{1\}\{C\}\\sum\_\{c=1\}^\{C\}\\frac\{\\text\{TP\}\_\{c\}\}\{\\text\{TP\}\_\{c\}\+\\text\{FN\}\_\{c\}\},\(25\)whereTPc\\text\{TP\}\_\{c\}andFNc\\text\{FN\}\_\{c\}denote the numbers of true\-positive and false\-negative predictions for classcc, respectively\. Unlike conventional accuracy, balanced accuracy is less affected by class imbalance because each class contributes equally to the final score\.
#### Cohen’s Kappa Coefficient \(κ\\kappa\)\.
Cohen’s kappa coefficient measures the agreement between predicted and ground\-truth labels while accounting for the agreement expected by chance\. It is defined as
κ=po−pe1−pe,\\kappa=\\frac\{p\_\{o\}\-p\_\{e\}\}\{1\-p\_\{e\}\},\(26\)wherepop\_\{o\}denotes the observed agreement andpep\_\{e\}denotes the expected agreement by chance based on the marginal label distributions\. A value ofκ=1\\kappa=1indicates perfect agreement, whereasκ=0\\kappa=0corresponds to chance\-level agreement\. Negative values indicate agreement below the level expected by chance\.
#### Weighted F1\-Score \(F1\-W\)\.
The F1\-score for classccis defined as the harmonic mean of its precision and recall:
F1c=2PrecisioncRecallcPrecisionc\+Recallc\.\\text\{F1\}\_\{c\}=\\frac\{2\\,\\text\{Precision\}\_\{c\}\\,\\text\{Recall\}\_\{c\}\}\{\\text\{Precision\}\_\{c\}\+\\text\{Recall\}\_\{c\}\}\.\(27\)The weighted F1\-score is then computed by averaging the class\-wise F1\-scores according to the number of samples in each class:
F1\-W=∑c=1CncNF1c,\\text\{F1\-W\}=\\sum\_\{c=1\}^\{C\}\\frac\{n\_\{c\}\}\{N\}\\text\{F1\}\_\{c\},\(28\)wherencn\_\{c\}denotes the number of ground\-truth samples belonging to classcc, andN=∑c=1CncN=\\sum\_\{c=1\}^\{C\}n\_\{c\}denotes the total number of samples\. This weighting gives greater influence to classes with larger sample sizes\.
## Appendix FAlgorithms
BLPM relies on self\-supervised pretraining of the encoder \(Algorithm[1](https://arxiv.org/html/2608.11656#alg1)\) and instruction\-conditioned inference via semantic matching \(Algorithm[2](https://arxiv.org/html/2608.11656#alg2)\)\. We detail the design of each component below\.
Algorithm 1CELP self\-supervised pretrainingInput: EEG corpus𝒳\\mathcal\{X\}; online/target encodersfθ,fθ¯f\_\{\\theta\},f\_\{\\bar\{\\theta\}\}; predictorgϕg\_\{\\phi\}; momentum schedule\{mk\}\\\{m\_\{k\}\\\}
Output: Pretrained encoderfθf\_\{\\theta\}
1:
θ¯←θ\\bar\{\\theta\}\\leftarrow\\theta
2:for
k=1k=1to
KKdo
3:Sample batch
X∼𝒳X\\sim\\mathcal\{X\}; embed tokens \(temporal
\+\+spectral\)
→Z~\\rightarrow\\tilde\{Z\}
4:Draw visible mask
ℳv\\mathcal\{M\}\_\{v\}, prediction\-mask set
ℳ=\{ℳp\}\\mathcal\{M\}=\\\{\\mathcal\{M\}\_\{p\}\\\}\{structured multi\-block\}
5:
Hv←fθ\(Z~ℳv\)H\_\{v\}\\leftarrow f\_\{\\theta\}\(\\tilde\{Z\}\_\{\\mathcal\{M\}\_\{v\}\}\)\{online: visible only\}
6:
Ht←sg\(LN\(fθ¯\(Z~\)\)\)H\_\{t\}\\leftarrow\\mathrm\{sg\}\\big\(\\mathrm\{LN\}\(f\_\{\\bar\{\\theta\}\}\(\\tilde\{Z\}\)\)\\big\)\{target: full seq, stop\-grad\}
7:
H^ℳp←gϕ\(Hv,𝐦\+pℳp\)\\hat\{H\}\_\{\\mathcal\{M\}\_\{p\}\}\\leftarrow g\_\{\\phi\}\(H\_\{v\},\\ \\mathbf\{m\}\+p\_\{\\mathcal\{M\}\_\{p\}\}\)\{predict masked latents\}
8:
ℒ←1\|ℳ\|∑ℳp∈ℳ1\|ℳp\|∑i∈ℳpρ\(h^i,ht,i\)\\mathcal\{L\}\\leftarrow\\frac\{1\}\{\|\\mathcal\{M\}\|\}\\sum\_\{\\mathcal\{M\}\_\{p\}\\in\\mathcal\{M\}\}\\frac\{1\}\{\|\\mathcal\{M\}\_\{p\}\|\}\\sum\_\{i\\in\\mathcal\{M\}\_\{p\}\}\\rho\(\\hat\{h\}\_\{i\},h\_\{t,i\}\)\{Smooth
L1L\_\{1\}\}
9:Update
\(θ,ϕ\)\(\\theta,\\phi\)via
∇ℒ\\nabla\\mathcal\{L\};
θ¯←mkθ¯\+\(1−mk\)θ\\bar\{\\theta\}\\leftarrow m\_\{k\}\\bar\{\\theta\}\+\(1\-m\_\{k\}\)\\theta\{EMA\}
10:endfor
11:return
fθf\_\{\\theta\}\{discard
gϕg\_\{\\phi\}\}
### CELP Encoder Pretraining
Each iteration performs one gradient update of the online encoderfθf\_\{\\theta\}and predictorgϕg\_\{\\phi\}, followed by an EMA update of the target encoderfθ¯f\_\{\\bar\{\\theta\}\}\. Three key architectural choices underpin this strategy\. First, the targets originate from the*momentum*encoder under a stop\-gradient operation rather than fromfθf\_\{\\theta\}itself; this asymmetry helps prevent trivial representation collapse\. Second, the loss is a Smooth\-L1L\_\{1\}discrepancy computed over layer\-normalized*latents*, ensuring the model avoids overfitting to high\-frequency waveform details\. Third, the predictor is exclusively used to solve the masked\-prediction task and is discarded post\-pretraining, yielding a streamlined encoder for downstream applications\.
Algorithm 2Inference by semantic matchingInput: EEGXEEGX\_\{\\mathrm\{EEG\}\}; taskkkwith instructionsks\_\{k\}and candidate labels𝒞k\\mathcal\{C\}\_\{k\}\(with verbalizations\{ℓc\}\\\{\\ell\_\{c\}\\\}\); frozen encoderfθf\_\{\\theta\}; semantic projectorPhP\_\{h\}; EEG token projectorPuP\_\{u\}; queries\{Qm\}m=1M\\\{Q\_\{m\}\\\}\_\{m=1\}^\{M\}; predictorGG; headPaP\_\{a\}; text encoderEtextE\_\{\\mathrm\{text\}\}
Output: Predicted labely^\\hat\{y\}
1:
HEEG←reshape\(fθ\(Z~\(XEEG\)\)\)H\_\{\\mathrm\{EEG\}\}\\leftarrow\\mathrm\{reshape\}\\big\(f\_\{\\theta\}\(\\tilde\{Z\}\(X\_\{\\mathrm\{EEG\}\}\)\)\\big\)
2:
h←Flatten\(HEEG\)h\\leftarrow\\mathrm\{Flatten\}\(H\_\{\\mathrm\{EEG\}\}\)
3:for
m=1m=1to
MMdo
4:
s~m←Pooltok\(CrossAttn\(Qm,h,h\)\)\\tilde\{s\}\_\{m\}\\leftarrow\\mathrm\{Pool\}\_\{\\mathrm\{tok\}\}\\big\(\\mathrm\{CrossAttn\}\(Q\_\{m\},h,h\)\\big\)
5:
sm←Ph\(s~m\)s\_\{m\}\\leftarrow P\_\{h\}\(\\tilde\{s\}\_\{m\}\)\{project semantic summary into LM space\}
6:endfor
7:
Sq←\[s1;…;sM\]S\_\{q\}\\leftarrow\[s\_\{1\};\\dots;s\_\{M\}\]
8:
u←Pu\(h\)u\\leftarrow P\_\{u\}\(h\)\{project EEG tokens into LM space\}
9:
Tk←EmbedLM\(sk\)T\_\{k\}\\leftarrow\\mathrm\{Embed\}\_\{\\mathrm\{LM\}\}\(s\_\{k\}\)
10:
H\(k\)←G\(\[Tk;Sq;u\]\)H^\{\(k\)\}\\leftarrow G\(\[T\_\{k\};S\_\{q\};u\]\)
11:
Hq\(k\)←Hquery\(k\)H\_\{q\}^\{\(k\)\}\\leftarrow H^\{\(k\)\}\_\{\\mathrm\{query\}\}\{states at semantic\-query positions\}
12:
z^←norm\(Pa\(Poolqry\(Hq\(k\)\)\)\)\\hat\{z\}\\leftarrow\\mathrm\{norm\}\\big\(P\_\{a\}\(\\mathrm\{Pool\}\_\{\\mathrm\{qry\}\}\(H\_\{q\}^\{\(k\)\}\)\)\\big\)\{answer embedding\}
13:foreachlabel
c∈𝒞kc\\in\\mathcal\{C\}\_\{k\}do
14:
zc←norm\(Etext\(ℓc\)\)z\_\{c\}\\leftarrow\\mathrm\{norm\}\(E\_\{\\mathrm\{text\}\}\(\\ell\_\{c\}\)\)\{verbalized label\}
15:endfor
16:
y^←argmaxc∈𝒞kz^⊤zc\\hat\{y\}\\leftarrow\\arg\\max\_\{c\\in\\mathcal\{C\}\_\{k\}\}\\ \\hat\{z\}^\{\\top\}z\_\{c\}
17:return
y^\\hat\{y\}
### Inference by semantic matching
Inference for each EEG sample is executed via a single forward pass through the EEG\-conditioned prediction model without autoregressive generation\. The frozen encoder and multi\-query module generate a unified answer embeddingz^\\hat\{z\}; each candidate label is encoded using the frozen text encoder, and the final prediction corresponds to the nearest label under cosine similarity\. This formulation provides two key advantages: the candidate set𝒞k\\mathcal\{C\}\_\{k\}serves as an*input*, allowing the model to accommodate different candidate label sets without adding task\-specific classification heads; furthermore, since scoring relies solely on dot\-product operations against label embeddings, the computational overhead of decoding is negligible\.
## Appendix GAdditional Results on Downstream Tasks
### Abnormal Detection
#### Results on TUAB\.
Table[S5](https://arxiv.org/html/2608.11656#A7.T5)presents the abnormal EEG detection performance on the TUAB dataset\. BLPM achieves the best results across all three metrics, with a B\-Acc of 82\.32%, an AUPRC of 89\.71%, and an AUROC of 90\.36%\. Compared with CBraMod, the strongest baseline, BLPM improves B\-Acc, AUPRC, and AUROC by 1\.42, 1\.06, and 1\.52 percentage points, respectively\. Abnormal EEG patterns can vary substantially not only across disease types but also according to the physiological and pathological characteristics of individual patients\. Continuous semantic embedding prediction allows these heterogeneous abnormal patterns to be organized around the semantics of abnormality within a shared embedding space\. This demonstrates that such semantic organization can contribute to a more stable separation of diverse abnormal EEG recordings from normal EEG activity\.
Table S5:Abnormal detection results on TUAB, reported as mean±\\pmstandard deviation over five seeds\. All metrics are reported as percentages \(%\)\. The best and second\-best results are marked in bold and underlined, respectively\.
### Motor Imagery Classification
#### Results on PhysioNet\-MI\.
Table S6:Motor imagery classification results on PhysioNet\-MI, reported as mean±\\pmstandard deviation over five seeds\. All metrics are reported as percentages \(%\)\. The best and second\-best results are marked in bold and underlined, respectively\.Table[S6](https://arxiv.org/html/2608.11656#A7.T6)presents the motor imagery classification results on PhysioNet\-MI\. BLPM achieves a B\-Acc of 68\.22%, Cohen’sκ\\kappaof 57\.85%, and F1\-W of 68\.35%, ranking second across all three metrics\. BLPM follows REVE by 1\.18, 1\.08, and 0\.97 percentage points in B\-Acc, Cohen’sκ\\kappa, and F1\-W, respectively, demonstrating consistently competitive performance across all three metrics\. In particular, BLPM substantially outperforms the task\-specific models, improving B\-Acc by 9\.97 percentage points over EEGNet and by 11\.20 percentage points over EEGConformer\. Motor imagery classification requires distinguishing subtle class\-dependent changes in sensorimotor activity, including spatially distributed cortical responses and variations in oscillatory dynamics associated with different imagined movements\. These patterns can also vary considerably across subjects, making it important to preserve fine\-grained neural differences while learning representations that remain consistent across individuals\. The strong performance of BLPM suggests that continuous semantic embedding prediction can retain these discriminative sensorimotor characteristics and organize heterogeneous neural responses corresponding to the same imagined movement around a shared class\-level representation\. This enables BLPM to effectively distinguish different motor imagery classes despite substantial inter\-subject variability while maintaining performance comparable to the strongest baseline\.
### Emotion Recognition
#### Results on FACED\.
Table S7:Emotion recognition results on FACED, reported as mean±\\pmstandard deviation over five seeds\. All metrics are reported as percentages \(%\)\. The best and second\-best results are marked in bold and underlined, respectively\.Table[S7](https://arxiv.org/html/2608.11656#A7.T7)indicates the emotion recognition performance on the FACED dataset\. BLPM achieves the best results across all three metrics, with a B\-Acc of 34\.32%, a Cohen’sκ\\kappaof 24\.21%, and an F1\-W of 33\.07%\. Compared with REVE, the strongest baseline, BLPM improves B\-Acc, Cohen’sκ\\kappa, and F1\-W by 2\.29, 0\.31, and 1\.24 percentage points, respectively\. Emotion recognition on FACED is particularly challenging because it requires distinguishing among nine emotion categories whose EEG responses may exhibit subtle and overlapping affective patterns\. Despite this fine\-grained nine\-class setting, BLPM consistently outperforms the competing models\. Rather than relying solely on conventional task\-specific classification boundaries, BLPM structures neural patterns associated with different affective states according to the semantic relationships among emotion categories, thereby learning more discriminative and transferable representations for fine\-grained emotion recognition\.
### Sleep Staging
#### Results on HMC\.
Table S8:Sleep staging results on HMC, reported as mean±\\pmstandard deviation over five seeds\. All metrics are reported as percentages \(%\)\. The best and second\-best results are marked in bold and underlined, respectively\.Table[S8](https://arxiv.org/html/2608.11656#A7.T8)presents the sleep staging performance on the HMC dataset\. BLPM achieves the best results across all three metrics, with a B\-Acc of 77\.12%, Cohen’sκ\\kappaof 69\.07%, and F1\-W of 76\.98%\. Compared with the strongest baseline for each metric, BLPM improves B\-Acc by 0\.58 percentage points over REVE, while improving Cohen’sκ\\kappaand F1\-W by 1\.36 and 1\.79 percentage points over LaBraM, respectively\. Sleep staging requires distinguishing between sleep stages that exhibit gradual transitions and partially overlapping electrophysiological characteristics\. Nevertheless, BLPM consistently achieves strong and balanced performance across stages\. These results indicate that BLPM effectively organizes stage\-related neural patterns in its representation space, enabling it to distinguish subtle differences between sleep states without relying on a task\-specific classification head\.
## Appendix HVisualization Results
To qualitatively examine the effect of semantic alignment, we visualize the learned representations using t\-SNE\. We analyze both the global distribution across all downstream datasets and the class\-level structure within representative tasks to assess how semantic alignment reshapes the representation space at both the dataset and class levels\.
### Global Representation Visualization
Figure[S1](https://arxiv.org/html/2608.11656#A8.F1)compares the distributions of samples from the seven downstream datasets in the input space, the pretrained EEG representation space, and the aligned semantic embedding space\. In the input space, samples from different datasets are broadly intermixed, reflecting substantial heterogeneity in recording configurations and signal characteristics\. The pretrained CELP encoder produces a more structured distribution, although considerable overlap remains among datasets\. After semantic alignment, samples from the same dataset form more coherent regions, while the distributions of different datasets become more systematically organized in the shared embedding space\. These observations illustrate how semantic alignment changes the organization of the learned representation space while preserving dataset\-specific characteristics\.
Figure S1:Global t\-SNE visualization across the seven downstream datasets\.
### Task\-Specific Representation Visualization
Figure[S2](https://arxiv.org/html/2608.11656#A8.F2)visualizes the representations before and after semantic alignment for three representative tasks: clinical event classification on TUEV, motor imagery classification on PhysioNet\-MI, and sleep\-stage classification on HMC\. Before alignment, samples from different classes are substantially intermixed across all three tasks\. After alignment, the representations exhibit clearer class\-dependent organization, with samples from the same class forming more coherent regions\. Although partial overlap remains between physiologically or morphologically related classes, the overall distributions indicate that semantic alignment enhances class\-discriminative structure across heterogeneous EEG decoding tasks\.
Figure S2:Task\-specific t\-SNE visualizations for TUEV, PhysioNet\-MI, and HMC\. The left and right columns show the representation distributions before and after semantic alignment, respectively\.Similar Articles
Brain-CLIPLM: Decoding Compressed Semantic Representations in EEG for Language Reconstruction
Researchers propose Brain-CLIPLM, a two-stage EEG-to-text decoding framework using contrastive learning for semantic anchor extraction and a retrieval-grounded LLM with Chain-of-Thought reasoning, achieving 67.55% top-5 sentence retrieval accuracy and suggesting EEG-to-text decoding should focus on recovering compressed semantic content rather than full sentence reconstruction.
Margin-Regularized Structured Semantic Alignment for Brain-Language Correspondence
The paper proposes MD-SigLIP, a margin-regularized structured semantic alignment framework that directly aligns brain and text embeddings to improve brain-language decoding, achieving state-of-the-art retrieval performance.
Encoding EEG Signals to Examine Human-Like Next-Word Prediction Behaviour in Language Models
This paper investigates whether language models' next-word prediction aligns with human cognitive processing by analyzing EEG signals and event-related potentials, finding that only surprisal correlates with human brain responses, especially for open-class words.
The Semantic Bottleneck: Leveraging Semantic Representations for Non-Invasive Speech Decoding
This paper introduces Brain2Semantics2Text, a non-invasive speech decoding method that maps MEG responses to semantic embeddings to reconstruct sentence-level text without word-level alignment.
Sparse Autoencoders Map Brain-LLM Alignment onto Cortical Semantic Topography
This paper uses sparse autoencoders to decompose LLMs into interpretable features and shows that semantic features explain brain alignment with cortical semantic topography, generalizing across English, Chinese, and French.