betaFeedback

WorksComputer Science

Layer-Readout Interfaces in EEG Foundation Models: Predictive Accessibility and Cross-Dataset Transfer

Abstract

Intermediate layers often outperform final layers when foundation models are used as frozen feature extractors, but the source of this advantage is unclear. We study this question in EEG foundation models by separating three factors: how representations are read out, whether intermediate layers provide predictive utility beyond the final-layer interface, and whether useful depth structure transfers across datasets. Across five models and three tasks, improving the final-layer readout consistently recovers substantial predictive performance, yet intermediate layers remain advantageous within frozen extraction. We also find that layers selected on one dataset remain useful on another across five dataset pairs and four task families, and that a compact set of source-derived task directions retains predictive value after transfer in sleep staging. Together, these results show that predictive utility varies across depth, and its usefulness depends on how representations are read out and transferred. More crucially, source-selected layers provide a reusable feature interface across datasets, reducing the need for target-side layer search while outperforming final-layer baselines on target datasets.

Introduction

Electroencephalography foundation models (EEG-FMs) have recently emerged as a powerful paradigm for neural decoding, leveraging large-scale pre-training to learn rich, transferable brain representations across diverse paradigms and recording configurations. However, when evaluating these frozen encoders for downstream tasks, probes on intermediate layers frequently outperform those on the final layer. This observation raises a fundamental question: how much of the apparent final-layer disadvantage reflects differences in predictive representations, and how much arises from how hidden tokens are aggregated? In the context of EEG FMs, the answer is tightly coupled with the readout mechanism. Standard global averaging over spatial channels and temporal steps deliberately discards structured dynamics, whereas channel- or dispersion-preserving summaries retain them. Consequently, a weak final-layer baseline may be less a limitation of the representation itself than a symptom of a suboptimal readout.

While recent work highlights that layer selection and pooling strategies profoundly impact frozen representation decoding across vision and biological domains [1, 2], downstream evaluations remain acutely sensitive to choices in probing protocols and classification heads [3, 4, 5]. (1) selects intermediate features using target-task data, whereas (2) examines pooling and block-wise probing in EEG-FMs. Neither directly tests whether a layer-readout interface selected on one downstream EEG dataset remains useful on another without repeating target-side layer selection. These insights leave two critical questions unresolved: Do intermediate layers still offer additional predictive utility once the final-layer readout is selected? And can a source-selected layer-readout interface be reused across other datasets?

We structure our investigation around three hypotheses, and our findings to the Figure 1 are illustrated in Figure 1. First, we hypothesize that readout mismatch accounts for a substantial portion of the final layer’s apparent performance gap (H1). Second, intermediate layers may provide additional predictive utility after fixing the final-layer readout (H2). Third, we test whether a source-selected layer-readout interface remains useful on another dataset of the same task, and whether source-derived task directions retain predictive utility after transfer (H3). We systematically test these hypotheses by isolating readout selection from depth selection, assessing dimensionality-dependent residual utility, and validating cross-dataset transfer through explicit layer controls and subspace interventions.

Evaluation framework for frozen EEG foundation models

Figure 1. Evaluation framework for frozen EEG foundation models. Step 1 (H1): Select the final-layer readout. Step 2 (H2): Select depth under the fixed readout. Step 3 (H3): Reuse source-selected interfaces across datasets and evaluate source-derived task directions through intervention.

By evaluating five representative foundation models across motor imagery and two event-related potential (ERP) paradigms, we first reproduce the widespread empirical finding that intermediate layers often outperform final-layer representations. Selecting the readout improves final-layer prediction in every condition, and selecting the layer yields further gains in most conditions. These interface choices also alter the relative ranking of foundation models. We further use cross-fitted residual augmentation to assess incremental predictive utility and its sensitivity to feature dimensionality.

Finally, source-selected layers remain useful in within-task cross-dataset transfer for sleep staging and motor imagery, as well as SSVEP and P300, outperforming final-layer baselines in all ten CBraMod/REVE comparisons across five dataset pairs. Source residual directions also improve sleep transfer across three model families. In sleep staging, removing these source task directions drops target classifier performance significantly more than matched controls, though refitting the classification head recovers most of the accuracy. Together, these results separate readout artifacts from depth-dependent predictive utility and support selecting the final-layer readout before evaluating depth, then reusing the source-selected interface across datasets.

Related Work

EEG foundation models and their evaluations

Early work on EEG pretraining laid the foundation with two main approaches: BENDR introduced contrastive self-supervised learning [6], while MAEEG focused on reconstructing masked EEG features [7]. Later models expanded on these ideas. BIOT introduced support for varying channel setups [8], and both EEGPT and EEG2Rep trained on masked signals by using learning objectives directly in the representation space [9, 10].

The five models we examine vary in architecture, tokenization, and pretraining objectives. LaBraM uses spectrum prediction to learn discrete codes across different datasets [11]. CBraMod separates spatial and temporal information using a cross-attention mechanism paired with masked patch reconstruction [12]. REVE combines masked autoencoding with positional embeddings to handle flexible electrode setups and varying signal lengths [13]. LUNA uses learned queries to compress channels into a fixed set of hidden tokens, decoupling feature representations from the physical layout of the electrodes [14]. Finally, CSBrain divides signals across temporal windows and brain regions using structured sparse attention [15]. Because these designs preserve different aspects of the input signal, both the choice of intermediate layer and how its outputs are summarized directly affect what information reaches the downstream classifier.

Standard evaluations usually test these models either by training a simple linear classifier on top of frozen features or by fine-tuning the whole network on a new task. Recent benchmarks have standardized probing on frozen encoders [3] and compared how models handle different adaptation strategies and signal perturbations [4]. Classifier architecture choice also introduces variability, though most prior comparisons focus on full fine-tuning scenarios [5]. In our primary analysis, we keep the encoder fixed and focus on how feature extraction varies across both layer depth and readout design, benchmarked against the standard final-layer baseline.

Extracting information from intermediate layers

It is well established that feature usefulness varies with model depth and depends heavily on how closely the pretraining task aligns with the downstream target [16]. Training independent linear classifiers at each layer offers a straightforward way to trace how class separability evolves across a model [17]. For EEG models specifically, preserving the underlying token layout often improves downstream accuracy: simply flattening tokens frequently works better than averaging them, and intermediate blocks can contain rich, useful representations [2]. Combining features from multiple layers can similarly boost performance on new tasks [1], a trend also observed in time-series and audio models [18, 19]. These insights highlight why we need to evaluate not just which layer to extract features from, but also how those features are summarized. Building on this, we examine how readout and depth jointly affect predictive utility, and whether source-selected layer–readout interfaces remain useful across datasets.

Separating a practical feature summary from a genuinely rich representation is also a key challenge in language modeling. For instance, pooling attention across layers can improve sentence embeddings [20]. Conversely, certain dominant feature dimensions can artificially skew similarity metrics without reflecting actual model behavior [21], often driven by frequency artifacts in the inputs [22, 23]. These observations demonstrate that conclusions about representation geometry or feature quality are highly sensitive to the choice of readout.

Evaluating feature utility and representations

A classifier’s accuracy reflects not only the quality of the underlying representation, but also the classifier’s own capacity to learn. Prior studies use synthetic control tasks or measure the learning effort required to extract information to avoid overestimating representation quality [24, 25]. Merely being able to decode a feature does not mean the model actually relies on it to make predictions [26]. To test whether features are functionally important, we can selectively remove specific information from the representation and measure the impact on downstream task performance [27, 28, 29]. In EEG research, feature removal has typically focused on explicit, predefined physiological properties [30]. Here, we adopt a different approach: we isolate residual directions under a specified final-to-intermediate mapping and feature dimension, and test their predictive utility across datasets using matched augmentation and deletion controls.

Methods

Representations and Readout Families

Let Hℓ(x)H_{\ell}(x) denote the hidden representations at layer ℓ∈{1,…,L}\ell\in\{1,\ldots,L\} of a frozen foundation model encoder given an EEG input xx, where LL represents the final layer. Downstream classifiers access these representations through a readout function r(⋅)r(\cdot), yielding a fixed-dimensional feature vector zℓ,r(x)=r(Hℓ(x))z_{\ell,r}(x)=r(H_{\ell}(x)).

To evaluate how feature aggregation affects predictive utility, we define a primary family of fixed readouts R\mathcal{R} for channel-time tensors. This includes global mean pooling, global mean plus temporal standard deviation, channel-wise mean pooling, channel-wise mean with temporal standard deviation, and temporal binning. For architectures lacking a physical channel dimension (e.g., LUNA), applicable global and temporal summaries are used. The encoder remains frozen in the primary layer–readout experiments. We additionally evaluate a separate parameter-efficient adaptation setting on N170, in which trainable LoRA adapters are inserted into all 12 CbraMod transformer blocks while the original backbone weights remain frozen. The adaptation protocol is described in Section 3.5. Linear probes are trained on fixed feature summaries, whereas learned attention readouts fit query parameters on downstream training data. Detailed layer-to-readout mappings are provided in Appendix A.

Disentangling Readout Mismatch from Depth Utility

To evaluate the predictive utility associated with layer selection under a controlled readout protocol, we employ a sequential selection procedure on development data. Let P^dev(ℓ,r)\widehat{P}_{\mathrm{dev}}(\ell, r) denote the validation performance obtained using candidate-specific regularization. Within each outer fold, we first select the optimal final-layer readout rLr_L, and subsequently identify the optimal depth ℓdepth\ell_{\mathrm{depth}} under that chosen readout:

rL=arg⁡max⁡r∈RP^dev(L,r),ℓdepth=arg⁡max⁡ℓP^dev(ℓ,rL).(1)r_L = \mathop{\arg\max}_{r \in\mathcal{R}} \widehat{P}_{\mathrm{dev}}(L, r), \qquad\ell_{\mathrm{depth}} = \mathop{\arg\max}_{\ell} \widehat{P}_{\mathrm{dev}}(\ell, r_L). \tag*{(1)}

We also determine the globally optimal depth-readout pair (ℓ∗,r∗)=arg⁡max⁡(ℓ,r)P^dev(ℓ,r)(\ell_*, r_*) = \mathop{\arg\max}_{(\ell,r)} \widehat{P}_{\mathrm{dev}}(\ell, r). Evaluating these fitted candidates on held-out participants yields three core performance contrasts:

Δreadout=Ptest(L,rL)−Ptest(L,rmean),(2)\Delta_{\mathrm{readout}} = P_{\mathrm{test}}(L, r_L) - P_{\mathrm{test}}(L, r_{\mathrm{mean}}), \tag*{(2)}
Δdepth=Ptest(ℓdepth,rL)−Ptest(L,rL),(3)\Delta_{\mathrm{depth}} = P_{\mathrm{test}}(\ell_{\mathrm{depth}}, r_L) - P_{\mathrm{test}}(L, r_L), \tag*{(3)}
Δjoint=Ptest(ℓ∗,r∗)−Ptest(L,rL).(4)\Delta_{\mathrm{joint}} = P_{\mathrm{test}}(\ell_*, r_*) - P_{\mathrm{test}}(L, r_L). \tag*{(4)}

Here, Δreadout\Delta_{\mathrm{readout}} quantifies the performance restored to the final layer by replacing naive global mean pooling (rmeanr_{\mathrm{mean}}) with an optimized readout. Our primary metric, Δdepth\Delta_{\mathrm{depth}}, measures the additional predictive utility obtained by selecting a different layer while retaining the final-layer-selected readout rLr_L. Feature standardization, regularization parameters, and probe heads are fitted independently at each layer to account for layerwise distributional shifts.

Residual Analysis Across Feature Dimensions

We quantify the incremental predictive utility of intermediate-layer residuals after fitting a mapping from final-layer to intermediate-layer features. The primary analysis uses PCA200 representations, while additional dimensionality controls examine how residual utility changes with the feature dimensions of both representations.

Within each outer fold, intermediate features zmz_m (for m=ℓdepthm = \ell_{\mathrm{depth}}) and final-layer features zLz_L are standardized using statistics estimated from the outer-training split and independently reduced to 200 dimensions by Principal Component Analysis (PCA). PCA is fitted only on the outer-training data and then applied unchanged to held-out participants, yielding z~m,z~L∈R200\widetilde{z}_m, \widetilde{z}_L \in\mathbb{R}^{200}. We fit a linear mapping A^\widehat{A} from final to intermediate features using ridge regression, selecting regularization hyperparameters via inner cross-validation. To prevent data leakage during probe training, we compute cross-fitted residuals across participant folds:

em∣Lcf=z~m−A^−kz~L,(5)e^{\mathrm{cf}}_{m \mid L} = \widetilde{z}_m - \widehat{A}_{-k}\widetilde{z}_L, \tag*{(5)}

where A^−k\widehat{A}_{-k} is estimated excluding participant fold kk. Test residuals are computed using the full outer-training mapping A^tr\widehat{A}_{\mathrm{tr}}.

To evaluate the sensitivity of residual augmentation to feature dimensionality, we repeat this procedure under different final-layer and intermediate-layer feature dimensions. Specifically, we consider (dL,dm)∈{(100,100),(200,200),(400,400),(400,200),(dLnative,200),(dLnative,dmnative)}(d_L, d_m) \in\{(100,100), (200,200), (400,400), (400,200), (d_L^{\mathrm{native}},200), (d_L^{\mathrm{native}},d_m^{\mathrm{native}})\}, where dLd_L and dmd_m denote the final-layer and intermediate-layer feature dimensions, respectively. We denote the corresponding final-layer features and cross-fitted residuals by z~L(dL)\widetilde{z}_L^{(d_L)} and em∣Lcf,(dL,dm)e_{m \mid L}^{\mathrm{cf},(d_L,d_m)}. PCA is omitted only for the representation retained at its native dimension. The selected layer, readout, and participant splits are held fixed across configurations, with all fitted transformations estimated exclusively from outer-training participants.

For each dimensionality configuration, we first quantify the absolute residual augmentation gain relative to the final-layer baseline:

Δaug(dL,dm)=Ptest([z~L(dL),em∣Lcf,(dL,dm)])−Ptest(z~L(dL)).\Delta_{\mathrm{aug}}(d_L,d_m) = P_{\mathrm{test}}\left(\left[\widetilde{z}_L^{(d_L)}, e_{m \mid L}^{\mathrm{cf},(d_L,d_m)}\right]\right) - P_{\mathrm{test}}\left(\widetilde{z}_L^{(d_L)}\right).

We also compare aligned residual augmentation against a trial-shuffled residual control:

Eresid(dL,dm)=Ptest([z~L(dL),em∣Lcf,(dL,dm)])−1S∑s=1SPtest([z~L(dL),Πsem∣Lcf,(dL,dm)]).(6)E_{\mathrm{resid}}(d_L,d_m) = P_{\mathrm{test}}\left(\left[\widetilde{z}_L^{(d_L)}, e_{m \mid L}^{\mathrm{cf},(d_L,d_m)}\right]\right) - \frac{1}{S}\sum_{s=1}^{S} P_{\mathrm{test}}\left(\left[\widetilde{z}_L^{(d_L)}, \Pi_s e_{m \mid L}^{\mathrm{cf},(d_L,d_m)}\right]\right). \tag*{(6)}

Here, Πs\Pi_s denotes a trialwise permutation operator applied independently within each participant in the training and test splits, with S=20S = 20 independent permutations. Each shuffled control is evaluated using a separately refitted augmented probe. Thus, Δaug\Delta_{\mathrm{aug}} measures the overall gain from residual augmentation, whereas EresidE_{\mathrm{resid}} measures the additional predictive utility associated with trialwise alignment relative to the shuffled control. Both contrasts use the same feature dimensions and downstream evaluation protocol.

Cross-dataset Transfer and Subspace Interventions

To evaluate the transferability of layer depth and residual dynamics, we freeze the source-selected configuration (ℓs,rs)(\ell_s, r_s) and evaluate it on target datasets, re-fitting only downstream classification heads and standardizations using target training data. Layer controls use the same readout: Final, First (the first encoder block, H01), the mean score over all non-final layers (Random), and a layer selected on target development participants (Target). The source-selected layer and readout are determined using source development data and held fixed during target evaluation, whereas Target selects the layer using target development participants under the same readout.

To assess the transferability of source-derived predictive directions, we construct a task-relevant subspace from source residuals and evaluate both coordinate augmentation of the target final-layer features and direction removal from the target intermediate representation. Let QsQ_s denote an orthonormal basis capturing the mean residual directions across task classes in the source dataset. For sleep staging, four task directions are obtained from class-mean source residuals in a source-fitted PCA200 space; their projected target residual coordinates are appended to the final-layer features. Specifically, for HMC-to-ISRUC transfer, source standardization, PCA, and the ridge mapping from final-layer to selected-layer features are fitted on HMC and applied unchanged to ISRUC. Participant-equal class-mean residuals form five sleep-stage prototypes, which are centered before their leading four right singular vectors are used to construct QsQ_s.

Here QsQ_s and the residuals share the selected-layer PCA200 coordinates. Deletion acts on z~m,s\tilde{z}_{m,s}, the target intermediate features transformed by source-fitted standardization and PCA:

z~m,s(−Q)=z~m,s−γQsQsT(z~m,s−μtarget),(7)\tilde{z}_{m,s}^{(-Q)} = \tilde{z}_{m,s} - \gamma Q_s Q_s^{\mathsf{T}}(\tilde{z}_{m,s} - \mu_{\mathrm{target}}), \tag*{(7)}

where μtarget\mu_{\mathrm{target}} is the target training mean in these source-fitted PCA coordinates and γ=1\gamma= 1 corresponds to complete subspace removal. We evaluate performance drops relative to rank-matched controls (random orthogonal subspaces, residual PCA components, and label-shuffled controls) at γ=1\gamma= 1, averaging 20 independently evaluated random and shuffled bases (Appendix E.1). Finally, we measure functional recovery by re-fitting downstream classification heads and target standardization on the modified representations, distinguishing frozen-head dependence from predictive utility remaining after adaptation.

Experimental Setup and Evaluation Protocols

We evaluate five representative EEG foundation models (CBraMod, REVE, LaBraM, LUNA, and CSBrain) on motor imagery (OpenBMI; [31]), two ERP tasks (ERP CORE N170 and N400; [32]), and emotion recognition (SEED-V; [33]). Within-task cross-dataset transfer uses HMC ([34]) to ISRUC-1 ([35]) for sleep staging, and OpenBMI to BCI Competition IV-2a ([36]) for motor imagery. Additional pairs are OpenBMI–WBCIC-SHU, Benchmark–BETA (SSVEP), and ERP CORE P3–Won2022 (P300).

Evaluation strictly follows participant-disjoint outer folds to prevent selection bias ([37, 38]). Performance is measured using participant-balanced accuracy (BA) for motor imagery and SEED-V, participant-balanced AUROC for ERP paradigms, and macro-F1 for sleep staging. For signal-derived physiological probing, we additionally report the participant-averaged coefficient of determination (R2R^2). Statistical significance is assessed via paired 95% bootstrap confidence intervals resampled at the participant level across all conditions. All implementation and pre-processing details are provided in Appendices A–F.

For signal-derived probing, we compare raw EEG, three independently initialized CBraMod encoders, and all 12 layers of pretrained CBraMod using Ridge regression. PCA200 is used for the primary comparison, with native-dimensional controls for raw EEG, H01, and H12. For parameter-efficient adaptation, rank-8 LoRA adapters (α=16\alpha= 16) are applied to all 12 CBraMod blocks on N170, while the original backbone weights remain frozen. Both experiments use five outer participant folds and three seeds; seed-level scores are averaged within participants before bootstrap estimation. Adapted representations are evaluated using freshly fitted native-dimensional diagnostic probes, separately from the adaptation classifier. We evaluate both the pretrained-validation-selected layer after adaptation and a layer independently reselected using inner validation, without accessing outer-test labels.

Results

Depth utility after final-layer readout selection

We first separate readout mismatch from depth effects (H1). Selecting the readout at the final layer improves prediction over global mean pooling in all 15 model–task conditions, with positive paired confidence intervals (Figure 2B; Table 3). The effect is particularly large on OpenBMI for CBraMod and LaBraM, showing that weak mean-pooled final-layer performance can substantially underestimate the information available at the final layer.

Different evaluation interfaces reshape apparent model quality

Figure 2. Different evaluation interfaces reshape apparent model quality. A: CBraMod layer profiles under five readouts. B–C: Final-layer readout gains and additional fixed-readout depth gains; task colors are shared with A. D: Average ranks across the three primary tasks under mean-pooled final-layer evaluation, final-layer readout selection, and fixed-readout depth selection.

TaskModelΔreadout\Delta_{\mathrm{readout}}Δdepth\Delta_{\mathrm{depth}}Δjoint\Delta_{\mathrm{joint}}
OpenBMICBraMod25.67 [23.19, 28.17]0.07 [-0.61, 0.74]0.07 [-0.61, 0.74]
OpenBMIREVE17.23 [15.54, 18.99]3.50 [2.32, 4.72]3.50 [2.32, 4.72]
OpenBMILaBraM18.32 [16.07, 20.52]6.25 [5.46, 7.06]6.25 [5.46, 7.06]
OpenBMILUNA4.30 [2.72, 5.93]0.04 [-0.30, 0.39]0.04 [-0.30, 0.39]
OpenBMICSBrain18.55 [16.40, 20.80]3.91 [3.11, 4.70]3.91 [3.11, 4.70]
N170CBraMod11.68 [9.28, 14.07]8.67 [6.86, 10.45]8.67 [6.86, 10.45]
N170REVE2.50 [1.10, 3.95]7.40 [5.90, 8.94]7.40 [5.90, 8.94]
N170LaBraM10.94 [8.35, 13.48]8.11 [5.69, 10.78]8.11 [5.69, 10.78]
N170LUNA5.85 [4.00, 7.82]4.53 [2.54, 6.71]4.53 [2.54, 6.71]
N170CSBrain3.35 [1.61, 5.11]4.32 [3.24, 5.45]4.32 [3.24, 5.45]
N400CBraMod8.57 [6.69, 10.39]6.41 [5.23, 7.61]6.41 [5.23, 7.61]
N400REVE3.23 [2.10, 4.36]2.67 [1.59, 3.76]2.67 [1.59, 3.76]
N400LaBraM4.93 [3.52, 6.34]5.16 [4.00, 6.37]5.16 [4.00, 6.37]
N400LUNA12.87 [10.87, 14.93]0.28 [-0.08, 0.66]0.28 [-0.08, 0.66]
N400CSBrain2.26 [1.23, 3.30]2.47 [1.69, 3.21]2.47 [1.69, 3.21]
SEED-VCBraMod5.00 [1.11, 8.75]0.28 [-2.78, 3.61]1.53 [-1.11, 4.44]
SEED-VREVE-1.67 [-5.69, 2.08]0.69 [-1.94, 3.19]1.53 [-3.61, 6.81]
SEED-VLaBraM3.47 [0.28, 6.67]-2.50 [-5.97, 0.83]-2.36 [-6.11, 1.53]
SEED-VLUNA1.25 [-1.11, 3.61]-0.56 [-4.31, 2.92]-0.28 [-4.31, 3.47]
SEED-VCSBrain0.28 [-2.22, 3.06]1.11 [-1.53, 4.03]-0.69 [-2.50, 1.11]

Table 3. Complete primary effects (percent, paired 95% intervals). Readout correction, fixed-readout depth utility, and joint interface utility remain separate quantities.

After fixing this final-layer-selected readout, choosing the layer provides an additional improvement in 12 of 15 conditions (Figure 2C). The size of this depth benefit varies considerably across models and tasks. In particular, models with similarly weak mean-pooled final-layer performance can show very different additional depth gains from moving to an intermediate layer. Readout mismatch and depth utility therefore capture distinct effects.

Joint layer-readout selection chooses the same readout as final-layer selection in every primary model–task condition, giving Δjoint=Δdepth\Delta_{\mathrm{joint}} = \Delta_{\mathrm{depth}}. The selected readout is also stable across all five outer folds within each condition, whereas the preferred layer can vary (Table 6). Several conditions show little additional depth gain, indicating that intermediate layers are not uniformly preferable once readout mismatch has been accounted for.

ModelOpenBMIN170N400SEED-V
CBraMod8, 12, 9, 7, 4 (0.169)8, 2, 4, 2, 4 (0.227)1, 5, 2, 3, 4 (0.184)9, 10, 1, 8, 9 (0.350)
REVE11, 11, 11, 10, 11 (0.194)7, 7, 8, 8, 8 (0.078)10, 10, 9, 9, 9 (0.168)11, 20, 14, 20, 10 (0.698)
LaBraM7, 4, 6, 4, 7 (0.226)1, 1, 2, 1, 2 (0.251)4, 4, 7, 4, 4 (0.109)12, 1, 9, 5, 5 (0.450)
LUNA8, 8, 8, 7, 8 (0.213)1, 3, 1, 1, 1 (0.368)7, 8, 7, 7, 7 (0.338)5, 3, 2, 1, 2 (0.490)
CSBrain3, 3, 3, 3, 3 (0.528)1, 1, 2, 2, 2 (0.219)3, 4, 5, 4, 4 (0.198)8, 4, 3, 1, 10 (0.427)

Table 6. Selection stability across five outer folds. Each cell lists the jointly selected layer indices; parentheses give the mean development-score margin over the runner-up (%).

These interface choices also alter model rankings. Across the three primary tasks, REVE’s average rank improves from 1.67 to 1.00, while CBraMod improves from 4.00 to 2.67 (Figure 2D). The selected layer also outperforms the final layer under both learned readout families (Appendix § 8, Figure 5; Table 4). Increasing fitting labels from 10% to 100% raises OpenBMI readout gains by 8.43–8.82%, compared with 0.38–1.91% for joint-selection gains, with the validation pool fixed (Appendix § 8, Figure 6; Table 5). More fitting labels therefore do not remove the importance of readout choice. Full layer-wise curves appear in Figure 7.

FamilyModelTaskFinalSelectedGain [95% interval]
Global queryCBraModN17062.9672.169.20 [6.14, 12.36]
Global queryCBraModOpenBMI56.6160.593.98 [2.55, 5.49]
Global queryREVEN17069.7473.924.18 [1.86, 6.22]
Global queryREVEOpenBMI65.9170.884.97 [3.69, 6.40]
Channel-preservingCBraModN17068.3877.158.77 [7.05, 10.48]
Channel-preservingCBraModOpenBMI71.3274.903.57 [2.58, 4.52]
Channel-preservingREVEN17072.6480.507.86 [6.22, 9.56]
Channel-preservingREVEOpenBMI77.0579.862.81 [1.48, 4.17]

Table 4. Learned-family controls. Absolute scores are percentages; selected-minus-final gains are expressed in percent with paired 95% intervals. Seeds are averaged within participant before bootstrap.

Figure 5. Depth gains persist with learned readouts. Final and selected-layer scores for CBraMod and REVE on OpenBMI (BA) and N170 (AUROC). Learned readouts average three seeds.

TaskModelChange in Δreadout\Delta_{\mathrm{readout}}Change in Δjoint\Delta_{\mathrm{joint}}
OpenBMICBraMod8.82 [7.46, 10.14]0.38 [-0.30, 1.08]
LaBraM8.77 [7.49, 10.06]1.27 [0.30, 2.27]
CSBrain8.43 [7.00, 9.93]1.91 [0.85, 2.95]
N170CBraMod7.43 [5.36, 9.63]-1.38 [-3.31, 0.51]
LaBraM4.24 [2.32, 6.23]2.96 [1.41, 4.71]
CSBrain1.54 [-0.47, 3.77]0.62 [-0.92, 2.13]

Table 5. Full minus 10% fitting-label effects (percent, paired intervals). Validation pools stay fixed. The second quantity is joint interface utility.

Readout-gain change and joint-interface-gain change for OpenBMI and N170

Figure 6. Readout choice remains important as fitting labels increase. Changes in readout and joint layer–readout gains from 10% to 100% fitting labels, with the validation pool fixed. Light bars show joint-interface gain changes. OpenBMI uses BA; N170 uses AUROC. Intervals are paired 95% participant-bootstrap intervals.

Figure 7. Layer-wise performance under five readouts. Rows identify models and columns identify tasks; colors and line styles share one legend. Scores are participant-average BA (OpenBMI, n=54n = 54) or AUROC (N170/N400, n=40n = 40). LUNA uses the three readouts applicable to its token layout.

Residual predictive utility depends on feature dimensionality

We next examine whether intermediate-layer residuals provide additional predictive utility under a compressed feature interface. In the PCA200 analysis, cross-fitted residual augmentation improves final-layer prediction in 13 of 15 conditions. Relative to shuffled residuals matched in distribution, covariance, and scale, the residual contribution EresidE_{\mathrm{resid}} also has a positive paired confidence interval in 13 of 15 conditions (Figure 8A; Table 7). Nonlinear mappings and task heads also retain positive residual gains in the diagnostic conditions (Appendix § 9).

TaskModelΔresid\Delta_{\mathrm{resid}}Δperm\Delta_{\mathrm{perm}}EresidE_{\mathrm{resid}}
OpenBMICBraMod0.84 [0.19, 1.53]-0.81 [-1.13, -0.50]1.65 [1.06, 2.28]
REVE7.25 [6.07, 8.45]-0.23 [-0.54, 0.08]7.48 [6.36, 8.60]
LaBraM5.00 [4.03, 5.99]-0.51 [-0.86, -0.16]5.50 [4.54, 6.45]
LUNA-0.01 [-0.53, 0.52]-0.23 [-0.46, -0.00]0.22 [-0.28, 0.74]
CSBrain3.74 [2.71, 4.80]-0.41 [-0.83, 0.02]4.15 [3.13, 5.19]
N170CBraMod10.03 [7.92, 12.17]-1.74 [-2.16, -1.32]11.77 [9.65, 13.94]
REVE9.24 [7.34, 11.11]-1.75 [-2.06, -1.46]10.99 [9.13, 12.82]
LaBraM6.78 [4.84, 8.70]-1.90 [-2.31, -1.48]8.69 [6.68, 10.66]
LUNA3.44 [1.66, 5.49]-1.58 [-2.11, -1.08]5.03 [3.38, 6.93]
CSBrain3.97 [2.86, 5.10]-1.33 [-1.62, -1.04]5.30 [4.20, 6.43]
N400CBraMod6.18 [4.70, 7.68]-1.73 [-2.02, -1.45]7.91 [6.41, 9.46]
REVE2.25 [1.13, 3.31]-1.66 [-1.95, -1.37]3.91 [2.79, 5.02]
LaBraM5.26 [3.91, 6.58]-2.32 [-2.69, -1.94]7.58 [6.27, 8.89]
LUNA-0.97 [-1.71, -0.25]-1.52 [-1.91, -1.15]0.55 [-0.14, 1.23]
CSBrain1.24 [0.07, 2.46]-1.74 [-1.98, -1.50]2.99 [1.80, 4.22]

Table 7. Cross-fitted forward utility and shuffled residuals of the same dimension (percent; paired 95% intervals). Permutation scores are averaged over 20 seeds within participant before resampling. Both Δresid\Delta_{\mathrm{resid}} and EresidE_{\mathrm{resid}} have positive intervals in 13/15 conditions.

Figure 8. Residual utility across models and feature dimensions. A: PCA200 cross-fitted gains over Final (filled) and shuffled augmentation (open). B: Fixed-layer/readout dimension scan: Selected minus Final and Final + residual minus Final. Native denotes full model-specific dimensions. Intervals are paired participant-bootstrap 95% CIs; the two panels use their respective fitted protocols.

The utility of residual representations depends strongly on dimensionality. In our dimensionality scan, expanding the final-layer representation from PCA200 to its native dimension while keeping the residual features at PCA200 reduces augmentation gains for CBraMod and REVE from 9.57% and 8.96% to 1.22% and 0.48% on N170, and from 6.11% and 2.12% to 0.71% and −0.01% on N400. When both representations are kept at their native dimensions, these differences drop to −0.16% and +0.25% on N170, and +0.14% and −0.99% on N400, showing no consistent improvement over the baseline (Table 10). Likewise, under a matched 200-feature budget, neither residual augmentation nor fusion outperforms the stronger single-layer baseline. Together, these findings indicate that the incremental predictive value of residual features is interface-dependent, rather than reflecting information intrinsically absent from the full final-layer representation. Detailed controls for dimensionality, model capacity, and fusion strategies are provided in Appendix § 9.

Reusing source-selected layer–readout interfaces across datasets

We next test whether layer–readout interfaces selected on one dataset remain useful on another. Across five dataset pairs and four task families, source-selected layers outperform Final in all ten CBraMod/REVE comparisons. Gains over Random have positive intervals in eight comparisons (Figure 3).

Figure 3. Source-selected depth transfers across datasets. A: Source-selected layer probing minus Final layer probing. B: Source-selected layer probing minus random-layer expectation.

Table 1 further illustrates these transfer results through absolute performance and additional layer-selection controls. Source-selected interfaces closely approach target-validation-selected performance in sleep staging and motor imagery. Importantly, source selection also outperforms the first-layer baseline in seven of ten CBraMod/REVE comparisons, indicating that the transferred gains are not explained solely by a fixed preference for shallow representations. The improvements are particularly pronounced for REVE on HMC-to-ISRUC and OpenBMI-to-BCIC-IV-2a, where source selection exceeds First by 12.96 and 8.60 %, respectively. For MI transfer, CBraMod selects First (H01), whereas REVE selects H11 and outperforms First by 8.60%, showing that source selection is not simply an early-layer heuristic.

TaskModelFinalFirstRandomSourceTarget
SleepCBraMod70.5670.9771.1271.7671.56
SleepREVE71.6659.8369.3072.7972.97
SleepLaBraM69.2267.1469.6570.2970.27
MICBraMod66.9871.9969.4371.9971.72
MIREVE77.0871.2276.1079.8279.82

Table 1. Absolute transfer scores (%). Sleep: HMC to ISRUC and MI: OpenBMI to BCIC-IV-2a. All strategies use the same source readout and refit the target classifier. First denotes the first encoder block. Random averages non-final layers; Target selects depth on target development participants.

We additionally examine whether selected depths transfer across task families. OpenBMI-selected layers exceed random-layer averages by 1.73 and 1.89 % on N170 and N400, respectively, while showing similar performance to the first layer. In the reverse N170-to-OpenBMI direction, source selection improves over First by 0.69 %. These results suggest that depth preferences can also transfer across tasks, with the magnitude of the benefit depending on the target paradigm (Appendix § 10).

Source residual directions remain useful after transfer

We next test whether a compact subspace defined from source residuals retains predictive utility on an unseen target dataset. Source residuals are used to define a low-dimensional task subspace, which is then applied to target representations. Appending four source-derived residual coordinates to final-layer features improves target macro-F1 by 1.17, 0.67, and 0.97% for CBraMod, REVE, and LaBraM (Figure 4A). Gains over ordinary supervised-coordinate augmentation, using the same four-dimensional feature budget, are 0.54, 0.44, and 0.58%, all with positive paired intervals.

Figure 4. Source-defined task directions retain predictive utility after transfer. In task transfer: HMC to ISRUC sleep staging (n=98n = 98). A: Augmentation of final-layer features with four source-derived residual coordinates, compared with ordinary supervised coordinates. B: Performance after removing source-defined versus random directions and refitting the target classifier. Labels indicate paired gains or excess losses; whiskers denote 95% participant-bootstrap intervals. All analyses use source-fitted PCA200 features.

Removing these directions with the target scaler and classifier frozen produces a pronounced performance drop for all three models (Appendix § 11.§ 1, Figure 9). When the scaler and classifier are refit after removal, performance largely recovers, but deletion of the source-defined directions still incurs an additional loss of 1.70, 0.78, and 2.17% relative to equal-rank random deletion (Figure 4B; Table 19–Table 20). Together, augmentation and post-refit deletion support transferable predictive utility beyond equal-dimensional controls in sleep staging. Frozen-head degradation reflects the target-fitted classifier’s dependence on these directions, while alternative predictive structure remains available after refitting.

Representation / directionCBraModREVELaBraM
Reference: Final68.10 [65.85, 70.20]69.88 [67.57, 72.02]66.60 [64.31, 68.71]
Selected69.09 [67.04, 71.06]71.45 [69.27, 73.50]68.22 [66.19, 70.04]
Augmentation: Task69.27 [67.04, 71.34]70.56 [68.27, 72.69]67.57 [65.35, 69.63]
Random68.25 [66.02, 70.33]69.93 [67.64, 72.06]66.65 [64.38, 68.75]
Residual PCA68.60 [66.44, 70.59]69.96 [67.67, 72.10]66.83 [64.56, 68.93]
Shuffled68.37 [66.17, 70.43]69.93 [67.64, 72.06]66.63 [64.35, 68.74]
Ordinary supervised68.72 [66.45, 70.83]70.12 [67.85, 72.20]66.99 [64.72, 69.10]
Ordinary basis on residual68.76 [66.47, 70.87]70.01 [67.74, 72.09]66.99 [64.71, 69.10]
Frozen deletion: Task46.29 [44.13, 48.31]54.76 [52.49, 56.86]49.45 [46.95, 51.84]
Random67.34 [65.01, 69.56]69.85 [67.54, 72.04]66.67 [64.48, 68.70]
Residual PCA65.38 [62.87, 67.69]64.73 [61.49, 67.63]62.46 [59.63, 65.11]
Shuffled66.10 [63.45, 68.62]68.90 [66.43, 71.23]65.76 [63.37, 68.00]
Refit deletion: Task67.30 [65.23, 69.31]70.63 [68.62, 72.51]65.95 [63.90, 67.79]
Random69.00 [66.95, 70.97]71.41 [69.23, 73.48]68.12 [66.11, 69.93]
Residual PCA68.34 [66.15, 70.43]70.90 [68.63, 73.03]67.79 [65.83, 69.58]
Shuffled68.97 [66.92, 70.96]71.39 [69.21, 73.46]68.11 [66.08, 69.93]

Table 19. HMC–ISRUC direction-transfer scores: macro-F1 (%) [95% CI], n=98n = 98. Source transformations are fixed. Deletion removes four directions at unit strength; random and shuffled controls average 20 independent bases.

ComparisonCBraModREVELaBraM
Augmentation minus Final1.17 [0.72, 1.69]0.67 [0.30, 1.07]0.97 [0.67, 1.28]
Augmentation minus Random1.01 [0.60, 1.50]0.63 [0.27, 1.01]0.92 [0.63, 1.22]
Augmentation minus Shuffled0.89 [0.49, 1.34]0.62 [0.29, 0.98]0.94 [0.65, 1.24]
Augmentation minus Ordinary0.54 [0.13, 1.02]0.44 [0.05, 0.83]0.58 [0.26, 0.91]
Ordinary basis on same residual0.51 [0.08, 1.00]0.55 [0.13, 0.99]0.59 [0.26, 0.91]
Augmentation minus Selected0.18 [-0.68, 1.02]-0.89 [-1.49, -0.30]-0.64 [-1.57, 0.17]
Refit excess loss / random1.70 [1.24, 2.20]0.78 [0.31, 1.28]2.17 [1.70, 2.65]
Refit excess loss / shuffled1.67 [1.21, 2.18]0.76 [0.29, 1.25]2.16 [1.69, 2.64]
Frozen excess loss / random21.04 [18.81, 23.33]15.08 [13.30, 16.99]17.22 [15.41, 19.11]
Frozen excess loss / shuffled19.81 [17.35, 22.28]14.14 [12.31, 16.06]16.31 [14.56, 18.14]

Table 20. Paired direction-transfer contrasts (%) [95% CI]. Excess loss compares task-direction deletion with control deletion. The ordinary-basis comparison applies both direction bases to the same residual representation.

Figure 9. Complete source-direction transfer diagnostics. HMC–ISRUC sleep staging (n=98n = 98), using source-fitted PCA200. A: Final, source-residual augmentation, and Selected macro-F1. B: Intact, rank-four deletion with the target scaler and classifier frozen, and refitted scores for task and random directions. C: Augmentation gains and post-refit excess deletion losses relative to random controls. Random controls average 20 bases; source transformations remain fixed. Intervals are 95% whole-participant bootstrap intervals.

Signal-derived Feature Accessibility and Adaptation

To clarify why intermediate layers excel when frozen, we first probe signal-derived measurements across depth using PCA200 Ridge probes, with additional native-dimensional controls for raw EEG, H01, and H12 (Appendix § 12.§ 1). Pretraining affects the accessibility of linear and nonlinear signal-derived measurements differently: in native features, it preserves time-domain N170 P08 amplitude (raw ceiling R2=0.999R^2 = 0.999) at H01 (0.876 vs. 0.574 random) before attenuating it at H12 (0.181 vs. 0.462). Conversely, nonlinear OpenBMI band power—where raw-EEG Ridge fails, saturating regularization in every fold—becomes linearly decodable across the pretrained hierarchy (R2=0.665/0.486R^2 = 0.665/0.486 at H01/H12 vs. −0.448/−0.674-0.448/-0.674 random). Thus, depth-wise gains track the linear accessibility of signal-derived measurements rather than high-level physiological representations.

This depth profile generalizes across pretext objectives, yet remains contingent on keeping the encoder frozen. Across matched MAE and JEPA encoders, pretraining consistently lifts selected-layer N170 AUROC (74.42% and 74.47% vs. 70.47% random) even as final-layer specialization drops performance below random initialization (69.42% and 63.82% vs. 70.59%). Once adapted via all-block LoRA, however, final-layer predictive performance improves: AUROC increases from 68.77% to 79.57%, surpassing the fixed intermediate layer (78.59%) and matching validation-based reselection (79.54%; Appendix § 12.§ 2). Thus, the intermediate-layer advantage observed under frozen extraction is contingent on the adaptation setting and can be substantially reduced through parameter-efficient adaptation.

Discussion

Our findings show that the apparent underperformance of final-layer EEG representations stems from two distinct factors. First, much of this deficit disappears when the final layer is paired with an appropriate readout. Second, intermediate layers frequently offer higher predictive utility even with the readout held fixed, though this advantage is tightly coupled to the feature interface: residual gains diminish sharply as final-layer dimensionality increases, yielding no reliable improvement once both representations retain their native dimensions. Together, these results indicate that readout design and layer selection govern complementary facets of representation accessibility—how effectively task information is extracted within a layer, and where along the encoder hierarchy it is most readily decodable.

This distinction directly affects how frozen foundation models should be benchmarked. A single pooling rule confounds layer depth with readout mismatch, making layer comparisons meaningful only after an appropriate readout is established. Even under matched readouts, intermediate layers improve performance across most conditions and substantially shift model rankings, lifting average rank across the three tasks from 1.67 to 1.00 for REVE and from 4.00 to 2.67 for CBraMod. Crucially, this depth preference is specific to frozen extraction. Under all-block LoRA adaptation on N170, the final layer reaches 79.57% AUROC—surpassing the fixed intermediate layer (78.59%) and matching validation reselection (79.54%). Layer utility therefore depends on the adaptation regime: depth selection is a primary lever when probing frozen representations, whereas parameter-efficient adaptation realigns task-relevant information with the model output.

Beyond single-dataset probing, our transfer experiments show that useful depth structure generalizes across datasets. Across five dataset pairs and four task families, source-selected layer–readout interfaces outperform Final in all ten CBraMod/REVE comparisons, Random in eight, and First with positive paired confidence intervals in seven, showing that source-side selection identifies transferable interfaces beyond default final-layer extraction or heuristic layer choices. Intervention analyses sharpen this geometric picture: a compact set of task-relevant directions from source residuals transfers directly to the target representation, where ablating them degrades a frozen classifier and appending them to final-layer features improves prediction. Although refitting the target classifier recovers most of this drop, ablating source-derived directions still incurs greater loss than equal-rank random deletion, confirming that residual subspaces capture reusable predictive coordinates in sleep staging rather than arbitrary variance.

Collectively, these findings argue against treating the final hidden state as the canonical representation of an EEG foundation model. Instead, depth, readout, and downstream adaptation jointly govern which predictive structures are accessible. Rigorous frozen-model benchmarking therefore requires reporting not only final-layer scores, but also the readout interface and the task-dependent predictive utility distributed across depth.

Limitations. The current experiments use lightweight mappings and focus the intervention analysis on a subset of the transfer settings. Residual analysis depends on the tested feature dimensions and mapping/probe families; it does not establish information-theoretic absence from final-layer representations. On SEED-V, readout helps some models, but depth gains remain inconclusive under video-level probability averaging. Our all-block LoRA experiment is limited to one model (CBraMod) and one dataset (N170).

Conclusion

We show that intermediate-layer advantages in frozen EEG foundation models depend on both readout design and downstream task. Better readouts recover substantial performance at the final layer, while selecting depth at a fixed readout provides additional predictive utility in most conditions. These depth-dependent features can also remain useful across datasets, with source-derived predictive directions retaining value after transfer in sleep staging. These effects depend on representation dimensionality and adaptation: residual gains diminish with native-dimensional features, while the intermediate-layer advantage does not persist under the tested all-block LoRA setting. Overall, predictive utility varies across depth and depends on how representations are read out, transferred, and adapted. Evaluating EEG foundation models should therefore consider not only which layer performs best, but also how representations are read out and reused across datasets and downstream adaptation settings.

Experimental details

Datasets, readouts, and preprocessing

All data splits are participant-disjoint, and all sessions from the same participant remain in the same split. ERP CORE N170 and N400 share the same participant cohort. SEED-V probabilities are averaged within video before participant-equal scoring. For HMC-to-ISRUC transfer, we use the 103-participant HMC development subset as the source and 98 ISRUC participants as the target after excluding S008 and S040 for channel/reference incompatibility.

Readouts operate directly on frozen encoder tokens. For H∈RC×T×dH \in\mathbb{R}^{C \times T \times d}, global mean averages channels and time, while global mean+std additionally summarizes token dispersion. Channel mean averages over time while preserving channel identity, and channel mean+std additionally retains temporal dispersion within each channel. The structure readout concatenates channel summaries from four fixed temporal bins when the tokenization permits this. LUNA has no physical channel axis and therefore uses the applicable global and temporal summaries. Each readout is standardized using training-fold statistics before fitting the downstream classifier.

The sleep interface uses four mastoid-referenced leads. Each 30-s epoch is represented by six 5-s encoder outputs, with temporal dispersion computed within segment before segment averaging.

Model checkpoints and evaluation protocol

We evaluate CBraMod, REVE-base, LaBraM-base, LUNA-base, and CSBrain with frozen encoders in the primary experiments. REVE’s released pretraining inventory includes OpenBMI.

All layer–readout candidates use the same outer and development folds. Regularization is selected on development data for each candidate, and standardization and dimensionality reduction are fitted only on the corresponding training data. Participant-level contrasts use paired participant bootstrap intervals. ISRUC macro-F1 is computed from pooled participant confusion counts within each bootstrap resample.

Seeds are averaged within participant before bootstrap resampling. Intervals are unadjusted for multiple comparisons. The transfer experiments use five dataset pairs: HMC–ISRUC (sleep, 98 target participants), OpenBMI–BCIC-IV-2a (MI, 9), OpenBMI–WBCIC-SHU (MI, 51), Benchmark–BETA (SSVEP, 69), and ERP CORE P3–Won2022 (P300, 55).

Readout, depth, and model comparison

Absolute scores, rankings, and paired gains

Table 2 combines absolute scores and model rankings under the three evaluation protocols. Table 3 gives paired gains and intervals, including SEED-V. Average ranks across OpenBMI, N170, and N400 are shown in the main Discussion.

TaskModelFinal meanFinal rLr_LSelected / rLr_L
OpenBMICBraMod50.42 (5)76.09 (2)76.17 (2)
OpenBMIREVE59.73 (1)76.95 (1)80.46 (1)
OpenBMILaBraM51.42 (4)69.74 (4)75.99 (3)
OpenBMILUNA55.37 (2)59.67 (5)59.71 (5)
OpenBMICSBrain52.65 (3)71.20 (3)75.10 (4)
N170CBraMod57.10 (3)68.77 (3)77.45 (3)
N170REVE70.91 (2)73.41 (2)80.81 (1)
N170LaBraM56.07 (4)67.01 (4)75.12 (4)
N170LUNA52.40 (5)58.25 (5)62.79 (5)
N170CSBrain71.42 (1)74.78 (1)79.09 (2)
N400CBraMod62.61 (4)71.18 (4)77.59 (3)
N400REVE72.58 (2)75.81 (1)78.48 (1)
N400LaBraM65.95 (3)70.87 (5)76.04 (4)
N400LUNA58.70 (5)71.57 (3)71.85 (5)
N400CSBrain73.26 (1)75.52 (2)77.99 (2)

Table 2. Absolute scores (%) and within-task ranks in parentheses. BA: OpenBMI; AUROC: N170/N400. Readout is selected at the final layer, then depth is selected at that readout.

On SEED-V, all five fixed-readout depth intervals include zero, while readout selection helps CBraMod and LaBraM. Evaluation averages window probabilities within video and then weights participants equally; it does not fit a video-level temporal model.

Learned readouts, label budget, and selection stability

The global-query readout learns one query over all tokens. The channel-preserving readout learns a shared temporal query within each channel and concatenates channel features. Both use frozen tokens and participant-disjoint folds, fitting parameters at each layer and averaging three seeds. N170 has one token per channel, so channel-preserving attention has unit weight.

The reduced-label analysis uses 10%, 25%, 50%, and 100% of the outer-training data, with stratified subsampling by participant and class while keeping validation and test participants fixed. Table 5 reports the resulting readout and joint-interface gain changes.

Readout selection is stable across the five outer folds for OpenBMI, N170, and N400, whereas the selected layer can vary across folds (Table 6). SEED-V shows greater variation in the selected readout.

Layer-wise readout profiles

Figure 7 shows every evaluated layer and readout for the three primary tasks. These descriptive curves complement the development-selected comparisons above.

Residual utility and decoder controls

Cross-fitted residual analysis

Intermediate and final representations are standardized and independently reduced to 200 principal components using transformations fitted on the outer-training fold. Ridge regularization for the final-to-intermediate map is selected on participant-grouped inner splits. Training residuals are then generated by participant-grouped cross-fitting, while outer-test residuals use a map refitted on the full outer-training data.

The shuffled control permutes residual rows within participant, separately in training and test data, and refits the augmented probe for each of 20 permutations. This preserves the within-participant residual distribution while breaking trial correspondence with the final-layer features. Table 7–Table 8 pair augmentation gains with absolute scores under the same balanced logistic probe.

TaskModelFinalSelectedResidualFinal + residual
OpenBMICBraMod70.28 [67.89, 72.68]68.30 [65.94, 70.81]54.27 [52.98, 55.62]71.12 [68.84, 73.50]
REVE66.39 [64.12, 68.81]74.80 [72.30, 77.32]63.66 [61.53, 65.91]73.65 [71.13, 76.22]
LaBraM61.87 [59.64, 64.25]66.45 [64.01, 68.96]59.44 [57.67, 61.36]66.87 [64.57, 69.29]
LUNA59.06 [57.08, 61.11]59.09 [57.17, 61.13]52.07 [51.01, 53.23]59.05 [57.04, 61.11]
CSBrain60.70 [58.35, 63.25]63.56 [61.25, 66.00]58.26 [57.00, 59.54]64.44 [61.93, 67.07]
N170CBraMod64.71 [62.14, 67.32]74.74 [71.36, 78.12]68.56 [65.07, 72.18]74.74 [71.55, 77.93]
REVE68.12 [65.42, 70.83]78.40 [74.98, 81.75]69.16 [66.17, 72.22]77.35 [74.11, 80.55]
LaBraM64.72 [62.11, 67.31]72.29 [68.80, 75.73]64.69 [61.38, 68.04]71.50 [68.28, 74.76]
LUNA57.37 [55.68, 59.06]61.48 [59.56, 63.50]57.71 [55.74, 59.85]60.81 [58.95, 62.71]
CSBrain71.47 [67.94, 74.99]75.69 [72.03, 79.33]61.40 [59.18, 63.62]75.44 [72.07, 78.73]
N400CBraMod69.33 [67.08, 71.64]76.79 [74.20, 79.39]66.14 [63.75, 68.62]75.51 [72.93, 78.16]
REVE73.78 [71.16, 76.44]77.47 [75.10, 79.87]60.46 [58.34, 62.63]76.03 [73.33, 78.74]
LaBraM68.61 [66.33, 70.93]75.25 [72.94, 77.54]64.66 [62.56, 66.94]73.87 [71.45, 76.29]
LUNA70.03 [67.55, 72.55]70.17 [67.62, 72.69]51.90 [50.04, 53.66]69.06 [66.69, 71.44]
CSBrain74.31 [72.06, 76.57]77.25 [74.91, 79.60]58.69 [56.64, 60.72]75.55 [73.26, 77.91]

Table 8. Cross-fitted representation scores (%) with marginal 95% participant-bootstrap intervals. Final and Selected each use 200 PCA features; Final + residual uses 400.

Representation dimension

The cross-fitted scan fixes each fold’s layer and readout while varying final/selected feature counts over 100/100, 200/200, 400/400, 400/200, full/200, and full/full. Standardization and PCA use training participants only. Keeping 200-dimensional intermediate residuals while expanding final features to full size tests the effect of final-layer compression.

Table 9 retains the original unreduced ERP and Gaussian-projection comparisons. All four unreduced augmentation estimates are negative. Together with the cross-fitted scan, they show the sensitivity of augmentation to feature dimension and high-dimensional estimation.

TaskModelRepresentationAugmentation gain
N170CBraModUncompressed-6.18 [-9.54, -3.15]
N170REVEUncompressed-14.35 [-17.57, -11.15]
N400CBraModUncompressed-9.81 [-12.04, -7.59]
N400REVEUncompressed-18.32 [-21.32, -15.41]
N170CBraModGaussian projection (200)9.63 [7.19, 12.16]
N170REVEGaussian projection (200)7.52 [5.37, 9.54]
N400CBraModGaussian projection (200)6.83 [5.18, 8.44]
N400REVEGaussian projection (200)2.88 [1.65, 4.16]
OpenBMICBraModGaussian projection (200)2.53 [1.50, 3.55]
OpenBMIREVEGaussian projection (200)3.79 [2.72, 4.82]

Table 9. Original sensitivity results: augmentation minus Final (%) [95% CI]. Uncompressed ERP features retain all four negative results; Gaussian projections use 200 features per layer. These runs are distinct from the cross-fitted dimension scan.

Final featuresSelected featuresCBraMod N170REVE N170CBraMod N400REVE N400
10010011.05 [7.74, 13.91]8.83 [6.93, 10.62]8.60 [6.87, 10.33]2.55 [1.48, 3.66]
2002009.57 [7.33, 11.83]8.96 [7.04, 10.87]6.11 [4.55, 7.66]2.12 [1.14, 3.07]
4004007.62 [5.00, 9.89]7.59 [6.03, 9.16]4.59 [3.06, 6.14]-0.36 [-1.25, 0.51]
4002006.87 [4.81, 8.88]6.28 [4.96, 7.65]5.24 [3.81, 6.72]0.53 [-0.18, 1.29]
Full2001.22 [0.37, 2.02]0.48 [0.31, 0.66]0.71 [0.44, 0.98]-0.01 [-0.15, 0.11]
FullFull-0.16 [-2.43, 1.88]0.25 [-0.81, 1.37]0.14 [-0.88, 1.12]-0.99 [-1.94, -0.08]

Table 10. Cross-fitted dimension scan: AUROC gains (%) [paired 95% CI]. All conditions use ridge mapping and a linear task head. Full denotes 5,600 features for CBraMod and 14,336 for REVE. A. Augmentation minus Final.

Final featuresSelected featuresCBraMod N170REVE N170CBraMod N400REVE N400
10010012.08 [9.51, 14.61]10.75 [8.88, 12.47]10.06 [8.08, 12.07]4.13 [2.96, 5.28]
20020012.07 [10.29, 13.94]11.13 [8.92, 13.32]8.15 [6.36, 9.94]3.87 [2.70, 5.05]
40040010.28 [8.17, 12.21]9.89 [8.49, 11.35]6.43 [4.47, 8.39]1.69 [0.42, 2.94]
4002008.94 [7.41, 10.46]7.51 [6.15, 8.85]6.24 [4.62, 7.90]1.87 [0.90, 2.94]
Full2001.88 [1.00, 2.72]0.57 [0.36, 0.81]0.72 [0.39, 1.07]-0.01 [-0.17, 0.13]
FullFull3.22 [0.47, 5.49]3.05 [1.81, 4.34]1.76 [0.25, 3.25]0.77 [-0.31, 1.88]

Table 10. B. Augmentation minus shuffled augmentation.

Matched-budget multilayer fusion

Compact methods use 200 total classifier-input features on the same participant-disjoint folds. Three-layer methods use first, middle, and final layers. Scalar fusion uses a common training-fitted PCA basis and three learned softmax weights. Uncompressed concatenation is shown separately because it uses more features than Selected. Residual augmentation exceeds Selected only for CBraMod/OpenBMI by 0.33% [−0.67, 1.34], where Final is still stronger.

TaskModelFinalSelectedFinal + residualFinal + selectedThree-layer concat.Learned weights
OpenBMICBraMod69.8668.2268.5568.4165.7666.15
OpenBMIREVE66.3774.1470.1170.6867.2869.17
N170CBraMod64.8574.5970.7771.3771.2374.28
N170REVE68.2378.2474.3775.0375.0371.92

Table 11. Decoder comparison. Panel A fixes the total classifier input at 200 features; bold marks the largest score in each row. Panel B uses unequal feature counts. Three-layer methods use the first, middle, and final layers. A. Matched total feature budget.

TaskModelSelected (200)Three-layer concatenation (full)
OpenBMICBraMod68.2276.19
OpenBMIREVE74.1479.05
N170CBraMod74.5977.70
N170REVE78.2478.87

Table 11. B. Uncompressed concatenation.

Mapping and task-head capacity

Capacity controls compare ridge, a one-hidden-layer MLP of width 256, and a two-hidden-layer MLP of width 512 with dropout 0.25 and weight decay 0.01. Task heads use balanced logistic regression or a width-128 MLP. Each comparison uses the same head family for Final, augmented, and shuffled-augmented features. Wider nonlinear mappings retain positive predictive gains in the diagnostic conditions, but do not improve held-out reconstruction over ridge (Table 12–Table 13).

MapperHeadFinalSelectedAugmentation minus FinalAugmentation minus shuffled
OpenBMI / CBraMod
RidgeLinear69.8668.401.52 [0.92, 2.10]2.04 [1.21, 2.83]
RidgeMLP69.7668.331.36 [0.81, 1.93]1.87 [1.23, 2.51]
MLP (256)Linear69.8668.400.71 [0.08, 1.32]0.95 [0.18, 1.70]
MLP (256)MLP69.7668.330.84 [0.27, 1.39]0.88 [0.24, 1.52]
MLP (512, 512)Linear69.8668.400.71 [0.07, 1.34]1.16 [0.34, 1.96]
MLP (512, 512)MLP69.7668.330.94 [0.33, 1.56]1.33 [0.60, 2.08]
N170 / CBraMod
RidgeLinear64.8574.469.57 [7.33, 11.83]12.07 [10.29, 13.94]
RidgeMLP64.3374.169.91 [7.73, 12.06]12.26 [10.28, 14.29]
MLP (256)Linear64.8574.468.39 [6.01, 10.74]10.33 [8.31, 12.50]
MLP (256)MLP64.3374.167.81 [5.47, 10.05]10.11 [8.25, 12.08]
MLP (512, 512)Linear64.8574.469.87 [7.81, 11.96]12.34 [10.37, 14.40]
MLP (512, 512)MLP64.3374.169.83 [7.71, 11.94]12.06 [9.97, 14.22]
N400 / CSBrain
RidgeLinear74.2477.221.34 [0.34, 2.32]2.81 [1.48, 4.10]
RidgeMLP74.1177.151.38 [0.34, 2.41]3.16 [1.79, 4.50]
MLP (256)Linear74.2477.220.17 [-0.70, 1.01]1.71 [0.52, 2.86]
MLP (256)MLP74.1177.150.01 [-0.87, 0.88]1.78 [0.47, 3.02]
MLP (512, 512)Linear74.2477.221.50 [0.48, 2.47]3.29 [1.81, 4.61]
MLP (512, 512)MLP74.1177.151.19 [0.23, 2.10]2.99 [1.50, 4.38]

Table 12. Mapping and task-head capacity at 200 features per layer. Scores and gains are percentages; brackets give paired 95% intervals. BA: OpenBMI; AUROC: N170/N400. The same head family is used within each comparison.

TaskModelMapperR2R^2MSE
OpenBMICBraModRidge0.80420.069
CBraModMLP 2560.75724.035
CBraModMLP 512/5120.70629.197
N170CBraModRidge0.5667.051
CBraModMLP 2560.4788.453
CBraModMLP 512/5120.4648.671
N400CSBrainRidge0.7215.899
CSBrainMLP 2560.6158.150
CSBrainMLP 512/5120.6008.461

Table 13. Held-out reconstruction diagnostics at PCA200: unweighted means over the five outer-fold mappings. These are reconstruction R2R^2/MSE, not downstream task scores.

Cross-dataset and cross-task layer reuse

Transfer settings and layer controls

Within each dataset pair, source-selected depth and the chosen readout are fixed for target evaluation; classifiers are fitted on target training labels. Random averages scores from independently fitted non-final layers, and Target selects depth on target development participants at the same readout. First and Middle provide fixed-layer controls.

The OpenBMI-to-BCIC-IV-2a experiment uses the shared 21-channel montage Fz, FC3, FC1, FC2, FC4, C5, C3, C1, Cz, C2, C4, C6, CP3, CP1, CPz, CP2, CP4, P1, Pz, P2, and POz with a common-average reference. Features are re-extracted under this common input protocol. Channel mean plus temporal standard deviation is fixed as the source readout. Source development data select CBraMod H01 and REVE H11, which are then transferred unchanged to BCIC-IV-2a; H12 and H22 serve as their final-layer comparators. Target evaluation uses nine leave-one-participant-out outer folds, with the scaler, regularization, and classifier refitted within each target fold.

WBCIC-SHU and BETA use full channel mean plus standard deviation; Won2022 uses source-selected channel mean. The OpenBMI choices for BCIC-IV-2a and WBCIC-SHU come from separate source-selection runs. Table 14–Table 16 give fixed-layer controls and paired gains for the main transfer comparisons.

TaskModelFinalFirstMiddleRandomSourceTarget
SleepCBraMod70.5670.9771.7671.1271.7671.56
REVE71.6659.8372.1869.3072.7972.97
LaBraM69.2267.1470.2269.6570.2970.27
MI fullCBraMod66.9871.9969.0669.4371.9971.72
REVE77.0871.2279.8276.1079.8279.82

Table 14. Fixed-layer controls under the same source readout (%). Sleep uses macro-F1 and MI uses BA. First and Middle supplement the Final, Random, Source, and Target strategies in Table 1.

TargetModelSource minus FinalSource minus RandomSource minus First
SleepCBraMod1.20 [0.63, 1.78]0.64 [0.28, 1.01]0.79 [0.06, 1.64]
REVE1.13 [0.49, 1.84]3.48 [2.72, 4.32]12.96 [10.99, 15.06]
BCIC-IV-2aCBraMod5.02 [3.40, 6.37]2.56 [1.80, 3.21]0.00 [0.00, 0.00]
REVE2.74 [0.50, 5.25]3.72 [2.39, 4.98]8.60 [3.63, 13.27]
WBCIC-SHUCBraMod1.45 [0.87, 2.03]0.31 [-0.02, 0.64]0.04 [-0.42, 0.51]
REVE0.88 [0.33, 1.42]0.77 [0.40, 1.13]1.51 [0.65, 2.44]
BETACBraMod9.39 [7.55, 11.32]3.54 [2.87, 4.25]0.00 [0.00, 0.00]
REVE12.75 [11.02, 14.57]3.65 [2.90, 4.43]1.59 [0.50, 2.71]
Won2022CBraMod4.72 [4.32, 5.12]0.67 [0.57, 0.77]0.24 [0.07, 0.42]
REVE1.11 [0.92, 1.30]0.07 [-0.04, 0.17]0.47 [0.21, 0.71]

Table 16. Paired source-selected transfer gains (%) [95% CI] for the five pairs in Table 15.

Transfer / tasknnCBraMod ΔF\Delta_FCBraMod ΔR\Delta_RREVE ΔF\Delta_FREVE ΔR\Delta_R
HMC–ISRUC / Sleep981.200.641.133.48
OpenBMI–BCIC-IV-2a / MI95.022.562.743.72
OpenBMI–WBCIC-SHU / MI511.450.31*0.880.77
Benchmark–BETA / SSVEP699.393.5412.753.65
ERP CORE P3–Won2022 / P300554.720.671.110.07*

Table 15. Source-selected gains across five dataset pairs (%). ΔF\Delta_F: Source minus Final; ΔR\Delta_R: Source minus Random. Sleep uses macro-F1; other tasks use BA. *Paired 95% CI includes zero. Full intervals and pair-specific readouts appear in Appendix § 10.

MI participant effects and classical baseline

The original REVE/BCIC-IV-2a gain is 2.28% [0.42, 4.24], with positive effects in 7/9 participants and an exact two-sided sign-flip p=0.0781p = 0.0781. Table 17 retains these participant effects. This test uses the initial Final score of 77.55%; the matched refit in Table 1 gives 77.08%, with Source unchanged at 79.82%.

Participant / summaryCBraModREVE
A01+4.86-0.69
A02+6.94+2.43
A03+3.82+0.69
A04+4.51+3.82
A05+5.56+2.43
A06+7.99+7.64
A07+6.94-2.43
A08-0.35+5.90
A09+4.86+0.69
Final score66.98 [61.73, 72.72]77.55 [72.80, 82.48]
Source score71.99 [67.75, 76.66]79.82 [75.00, 84.72]
Source minus Final5.02 [3.40, 6.40]2.28 [0.42, 4.24]
Positive participants8/97/9

Table 17. Participant-level MI transfer in the original nine-participant evaluation. Entries are Source minus Final BA (%); summary intervals are paired 95% bootstrap intervals. Source-selected layers are H01 for CBraMod and H11 for REVE.

For participant-level depth effects did_i, the exhaustive two-sided sign-flip statistic is

psf=2−9∑s∈{−1,1}9I{∣∑i=19sidi∣≥∣∑i=19di∣}.(8)p_{\mathrm{sf}} = 2^{-9} \sum_{s \in\{-1,1\}^{9}} \mathbb{I}\left\{\left|\sum_{i=1}^{9}s_i d_i\right| \ge\left|\sum_{i=1}^{9}d_i\right|\right\}. \tag*{(8)}

This calculation treats participant-effect signs as exchangeable under the null and is reported alongside the paired bootstrap intervals.

CSP uses the same accepted left/right trials (2,592), 21 channels, and participant splits. Inner development participants select among 8–30, 8–12, and 13–30 Hz bands and 2/4/6/8 components; covariance uses Ledoit–Wolf estimation and LDA uses automatic shrinkage. CSP BA is 62.62%, compared with 66.98% for CBraMod Final and 71.99% for H01. H01 exceeds CSP by 9.38% [2.93, 15.47], while its source-validation score nearly ties H03 (71.18 versus 71.14%).

Cross-task layer reuse

Source depth is the mode of development-selected layers, with ties toward shallower layers. The target’s validation-selected final-layer readout is fixed and classifiers are refitted, so only layer identity transfers. N170 and N400 share the same 40-participant ERP cohort; OpenBMI has 54 participants.

TransferSource minus FinalSource minus RandomSource minus First
OpenBMI→N1709.50 [7.59, 11.35]1.73 [0.87, 2.48]0.11 [-0.67, 0.87]
OpenBMI→N4006.76 [5.62, 7.89]1.89 [1.43, 2.32]0.12 [-0.75, 0.99]
N170→OpenBMI-0.26 [-1.13, 0.60]0.00 [-0.44, 0.43]0.69 [0.02, 1.35]

Table 18. CBraMod cross-task depth reuse (%) [95% CI]. Target readout is selected on target development participants; only source layer identity transfers.

Source-direction transfer

Source-residual intervention

For HMC-to-ISRUC transfer, the selected/final layers are H06/H12 for CBraMod and H14/H22 for REVE, and H07/H12 for LaBraM, using channel means and temporal standard deviations. Source standardization and 200-dimensional PCA are fitted on HMC and applied unchanged to ISRUC.

A ridge map from final to selected-layer features is fitted on HMC, with regularization selected by participant-grouped validation. Participant-equal class means of source residuals form five sleep-stage prototypes. Centering them and taking their right singular vectors gives four task directions.

Augmentation appends four projected target residual coordinates to the 200 final-layer features. Random, residual-PCA, shuffled-label, and ordinary supervised directions use the same coordinate count and fitting procedure. Ordinary directions come from the unresidualized source class means; both bases are also compared on the same residual representation.

Deletion removes four directions from the selected-layer features in source-fitted PCA200 coordinates at unit strength (Equation (7)). Random and within-participant label-shuffled controls average 20 independent bases. The frozen condition holds the target scaler and classifier fixed; refitting updates both, including regularization. Table 19–Table 20 report scores and paired whole-participant bootstrap intervals, recomputing macro-F1 from pooled confusion counts.

Energy-matched perturbations

Energy matching rescales control projections to match displacement in target-standardized coordinates. It is distinct from complete rank-four deletion and is reported separately in Table 21. The positive augmentation and post-refit direction-transfer evidence applies to sleep staging; the exploratory MI residual experiment does not reproduce this pattern.

PerturbationCBraModREVELaBraM
Frozen / task46.29 [44.13, 48.31]54.76 [52.49, 56.86]49.45 [46.95, 51.84]
Frozen / random mean64.98 [62.38, 67.42]66.80 [64.20, 69.23]64.83 [62.39, 67.10]
Frozen / shuffle mean64.65 [61.83, 67.33]67.23 [64.56, 69.70]64.58 [61.99, 66.99]
Frozen / source pca62.87 [60.23, 65.25]60.37 [56.96, 63.45]58.90 [55.88, 61.79]
Refit / task67.30 [65.23, 69.31]70.63 [68.62, 72.51]65.95 [63.90, 67.79]
Refit / random mean69.09 [67.04, 71.06]71.46 [69.27, 73.52]68.23 [66.20, 70.04]
Refit / shuffle mean69.07 [67.02, 71.04]71.47 [69.28, 73.53]68.23 [66.20, 70.04]
Refit / source pca69.07 [67.02, 71.06]71.50 [69.32, 73.57]68.23 [66.21, 70.05]

Table 21. Energy-matched perturbation scores (macro-F1, %) [95% CI], separate from equal-rank deletion. Scaling matches displacement energy after the target scaler and need not remove exactly four dimensions.

Physiology, adaptation, and pretraining

Physiological measurements

Signal-derived probing compares raw EEG, three independently initialized CBraMod encoders (seeds 1–3), and all twelve pretrained CBraMod layers on the same accepted trials and preprocessing. Targets are log⁡10\log_{10} mean C3/C4 Welch power over 8–30 Hz and baseline-corrected PO8 mean amplitude over 150–200 ms. Readouts are channel mean for N170 and structure for OpenBMI. PCA200 is the primary comparison; native controls use raw EEG, H01, and H12 (Table 22).

InputN170 PretrainedN170 RandomOpenBMI PretrainedOpenBMI Random
Raw EEG0.864 [0.840, 0.884]-4.246 [-6.038, -2.692]
H010.628 [0.571, 0.678]0.474 [0.400, 0.536]0.402 [0.250, 0.535]-0.661 [-1.061, -0.318]
H020.607 [0.536, 0.666]0.452 [0.376, 0.515]0.435 [0.327, 0.535]-0.721 [-1.142, -0.357]
H030.598 [0.540, 0.650]0.430 [0.353, 0.494]0.366 [0.258, 0.468]-0.728 [-1.148, -0.366]
H040.616 [0.560, 0.667]0.419 [0.338, 0.484]0.229 [0.089, 0.357]-0.746 [-1.163, -0.382]
H050.587 [0.522, 0.645]0.397 [0.311, 0.465]0.245 [0.120, 0.362]-0.764 [-1.187, -0.396]
H060.522 [0.436, 0.597]0.394 [0.313, 0.460]0.331 [0.224, 0.433]-0.770 [-1.189, -0.403]
H070.453 [0.365, 0.530]0.374 [0.284, 0.446]0.288 [0.168, 0.400]-0.773 [-1.192, -0.406]
H080.434 [0.336, 0.518]0.372 [0.281, 0.443]0.288 [0.177, 0.394]-0.780 [-1.200, -0.414]
H090.306 [0.190, 0.408]0.371 [0.284, 0.441]0.254 [0.130, 0.370]-0.797 [-1.225, -0.424]
H100.084 [-0.069, 0.220]0.375 [0.286, 0.446]0.287 [0.185, 0.386]-0.798 [-1.224, -0.426]
H110.027 [-0.162, 0.187]0.376 [0.285, 0.447]0.293 [0.187, 0.396]-0.807 [-1.238, -0.431]
H120.141 [-0.029, 0.283]0.366 [0.271, 0.440]0.239 [0.121, 0.354]-0.820 [-1.260, -0.437]
B. Native controls: N170 5,600; OpenBMI 49,600 features
Raw EEG0.999 [0.998, 0.999]-9.049 [-11.091, -7.213]
H010.876 [0.856, 0.894]0.574 [0.513, 0.628]0.665 [0.610, 0.717]-0.448 [-0.739, -0.195]
H120.181 [0.054, 0.297]0.462 [0.392, 0.526]0.486 [0.422, 0.550]-0.674 [-0.977, -0.404]

Table 22. Signal-derived probing: participant-mean R2R^2 [95% CI]. N170 (n=40n = 40) targets PO8 amplitude; OpenBMI (n=54n = 54) targets log band power. Random averages three initialization seeds within participant.

Evaluation uses five participant-disjoint outer folds and three inner folds. Ridge penalties {10−4,10−3,10−2,0.1,1,10,100}\{10^{-4}, 10^{-3}, 10^{-2}, 0.1, 1, 10, 100\} maximize participant-mean inner-validation R2R^2. Standardization and PCA are fitted only on training participants. Random-initialization scores are averaged within each held-out participant before 10,000 paired participant-bootstrap resamples; seeds do not increase the participant count.

Raw OpenBMI selects the largest Ridge penalty (α=100\alpha= 100) in every outer fold for both transforms. Negative R2R^2 values are retained. Intervals condition on the fitted probes and selected interfaces; they do not include full-pipeline retraining uncertainty.

All-block LoRA adaptation

On N170, rank-8 LoRA adapters (α=16\alpha= 16) are inserted into spatial/temporal attention QKV and output projections and both feedforward matrices in all twelve CBraMod blocks (307,200 trainable encoder parameters). Original weights, normalization parameters, and patch embedding remain frozen. AdamW uses adapter/head learning rates 10−4/10−310^{-4}/10^{-3}, weight decay 0.01, batch size 64, and gradient clipping at 1.

Five outer folds and three seeds each use three independently trained inner encoders, excluding validation participants from gradient updates. Inner validation selects training duration (maximum 30 epochs, patience five); the outer encoder trains for the median inner duration, giving 60 fitted checkpoints. Adapted native channel-mean features receive freshly fitted balanced L2 logistic probes with C∈{10−5,10−4,…,103}C \in\{10^{-5}, 10^{-4}, \ldots, 10^{3}\}. Layer and CC selection use inner-checkpoint validation features only. Fixed selected retains the pretrained-validation-selected layer; Reselected searches all twelve adapted blocks. Table 23 separates diagnostic probes from the adaptation classifier and reports all three seeds. Seed scores are averaged within participant before 10,000 paired bootstrap resamples.

DiagnosticFrozen pretrainedAll-block LoRADifference
AUROC95% CIAUROC95% CI
A. Freshly fitted diagnostic probes
Final68.77[65.93, 71.67]79.57[76.21, 82.85]
First78.16[74.90, 81.37]77.84[74.43, 81.17]
Fixed selected77.45[74.25, 80.62]78.59[75.18, 81.91]
Reselected——79.54[76.16, 82.83]
B. Paired contrasts
ContrastDifference95% CI
Frozen: Fixed selected minus Final8.68[6.80, 10.43]
LoRA: First minus Final-1.73[-2.45, -1.04]
LoRA: Fixed selected minus Final-0.98[-1.73, -0.29]
LoRA: Reselected minus Final-0.03[-0.18, 0.10]
LoRA: Reselected minus First1.70[1.00, 2.43]
LoRA Final minus Frozen Final10.80[8.67, 12.78]
LoRA Fixed minus Frozen Fixed1.14[0.29, 2.00]
C. Individual optimization seeds
SeedFinalFirstFixed selectedReselectedReselected minus Final95% CI
179.7177.8078.6179.62-0.09[-0.23, 0.04]
279.5677.8278.5779.47-0.09[-0.27, 0.09]
379.4577.9078.6079.520.07[-0.13, 0.28]

Table 23. All-block LoRA on CBraMod/N170: native-dimensional diagnostic AUROC and paired differences (%) [95% participant-bootstrap CI], n=40n = 40. Aggregate scores average seeds within participant.

The adaptation classifier, evaluated separately from these diagnostic probes, reaches 80.00 [76.64, 83.25]% AUROC. Fixed selected uses H08/H02/H04/H02/H04 in outer folds 1–5; Reselected uses adapted inner validation. The pretrained Reselected entry is not a separate condition.

Controlled pretraining

MAE and JEPA share an eight-block encoder, tokenizer, 25-channel HBN input, sampling stream, temporal masking, optimizer schedule, and nominal exposure. MAE reconstructs masked waveform patches; JEPA predicts normalized teacher representations. Three paired seeds train for 50,000 updates with global batch 256 (microbatch 32, accumulation eight). Teacher computation and output heads differ, so this compares pretraining schemes.

Pretraining excludes windows with RMS above 100 μV\mu\mathrm{V} or maximum channel peak-to-peak amplitude above 500 μV\mu\mathrm{V}, retaining 12,792 windows (17.77 hours). The downstream comparison includes a randomly initialized encoder with the same backbone. Table 24–Table 25 separate absolute scores from differences in depth and residual gains.

TaskSchemeFinalSelectedDepth gain
OpenBMIMAE67.9171.623.71 [2.71, 4.72]
JEPA67.0671.664.60 [3.83, 5.35]
RANDOM70.6770.670.00 [-0.24, 0.25]
N170MAE69.4274.424.99 [3.62, 6.33]
JEPA63.8274.4710.65 [8.23, 12.91]
RANDOM70.5970.47-0.13 [-0.34, 0.09]
N400MAE73.4774.701.23 [0.57, 1.86]
JEPA69.9974.544.55 [3.29, 5.93]
RANDOM73.7473.780.04 [-0.12, 0.19]

Table 24. Shared-backbone pretraining: absolute scores (%) and fixed-readout depth gains (%) [95% CI], averaged over three paired seeds. The random encoder uses the same backbone.

TaskDifference in depth gainDifference in residual gain
OpenBMI0.89 [-0.06, 1.83]0.30 [-0.39, 0.99]
N1705.66 [3.96, 7.19]9.65 [6.62, 12.23]
N4003.32 [2.22, 4.48]3.20 [2.35, 4.10]

Table 25. JEPA minus MAE differences in gains (%) [95% CI]. Larger gains do not imply higher absolute scores.

References

  1. [1]Utku Evci, Vincent Dumoulin, Hugo Larochelle, and Michael C. Mozer. Head2Toe: Utilizing intermediate representations for better transfer learning. In International Conference on Machine Learning, volume 162 of Proceedings of Machine Learning Research, pages 6009–6033, 2022. URL https://proceedings.mlr.press/v162/evci22a.html.arxiv.org/abs/2201.03529
  2. [2]Urban Sirca, Maryam Alimardani, Stefanos P. Zafeiriou, and Konstantinos Barmpas. Beyond accuracy: Robustness, interpretability and expressiveness of EEG foundation models. arXiv.org, 2026. doi: 10.48550/arXiv.2605.17562. URL https://arxiv.org/abs/2605.17562.
  3. [3]Konstantinos Kontras, Trui Ossel­aer, Stylianos G. Mouslech, Angeliki-Ilektra Karaiskou, Guido Gagliardi, Thomas Sypsteen, Mohammad Hossein Badiei, Anku Rani, Maarten Vanmarcke, Miguel Bhagubai, et al. NeuroAtlas: Benchmarking foundation models for clinical EEG and brain-computer interfaces. arXiv (Cornell University), 2026. doi: 10.48550/arXiv.2605.14698. URL https://arxiv.org/abs/2605.14698.
  4. [4]Xianheng Wang, Yige Yang, and Damien Coyle. EEG-FM-Audit: A systematic evaluation and analysis pipeline for EEG foundation models. arXiv.org, 2026. doi: 10.48550/arXiv.2605.26910. URL https://arxiv.org/abs/2605.26910.
  5. [5]Jeet Bandhu Lahiri, Parshva Runwal, Arvasu Kulkarni, Mahir Jain, Aditya Ray Mishra, Siddharth Panwar, and Sandeep Singh. PRISM: Exploring heterogeneous pretrained EEG foundation model transfer to clinical differential diagnosis. arXiv (Cornell University), 2026. doi: 10.48550/arXiv.2603.02268. URL https://arxiv.org/abs/2603.02268.
  6. [6]Demetres Kostas, Stéphane Aroca-Ouellette, and Frank Rudzicz. BENDR: Using transformers and a contrastive self-supervised learning task to learn from massive amounts of EEG data. Frontiers in Human Neuroscience, 15:653659, 2021. doi: 10.3389/fnhum.2021.653659. URL https://www.frontiersin.org/journals/human-neuroscience/articles/10.3389/fnhum.2021.653659/full.DOI
  7. [7]Hsiang-Yun Sherry Chien, Hanlin Goh, Christopher M. Sandino, and Joseph Y. Cheng. MAEEG: Masked auto-encoder for EEG representation learning. In NeuralIPS Workshop on Learning from Time Series for Health, 2022. URL https://openreview.net/forum?id=kttulV59ZuJ.arxiv.org/abs/2211.02625
  8. [8]Chaoqi Yang, M. Brandon Westover, and Jimeng Sun. BIOT: Biosignal transformer for cross-data learning in the wild. In Neural Information Processing Systems, volume 36, pages 78240–78260. Neural Information Processing Systems Foundation, Inc. (NeurIPS), 2023. doi: 10.52202/0745280.3420. URL https://papers.nips.cc/paper_files/paper/2023/hash/f6b03fe3e2dd9c b53bbf2024402d02295-Abstract-Conference.html.DOI
  9. [9]Guangyu Wang, Wenchao Liu, Yuhong He, Cong Xu, Lin Ma, and Haifeng Li. EEGPT: Pretrained transformer for universal and reliable representation of EEG signals. In Neural Information Processing Systems, volume 37, pages 39249–39280. Neural Information Processing Systems Foundation, Inc. (NeurIPS), 2024. doi: 10.52202/0740917-1239. URL https://proceedings.neurips.cc/paper_files/paper/2024/hash/4540d267eeec4e5dbd9dae9448f0b739-Abstract-Conference.html.DOI
  10. [10]Navid Mohammadi Foumani, Geoff Mackellar, Soheila Ghane, Saad Irtza, Nam Nguyen, and Mahsa Salehi. EEG2Rep: Enhancing self-supervised EEG representation through informative masked inputs. In Knowledge Discovery and Data Mining, pages 5544–5555. ACM, 2024. doi: 10.1145/3637528.3671600. URL https://arxiv.org/abs/2402.17772.
  11. [11]Wei-Bang Jiang, Li-Ming Zhao, and Bao-Liang Lu. Large brain model for learning generic representations with tremendous EEG data in BCI. In International Conference on Learning Representations, 2024. doi: 10.48550/arXiv.2405.18765. URL https://openreview.net/forum?id=OzTpTRVtrP.DOI
  12. [12]Jiquan Wang, Sha Zhao, Zhiling Luo, Yangxuan Zhou, Haiteng Jiang, Shijian Li, Tao Li, and Gang Pan. CBraMod: A criss-cross brain foundation model for EEG decoding. In International Conference on Learning Representations, 2025. URL https://arxiv.org/abs/2412.07236.
  13. [13]Y. El Ouahidi, Jonathan Lys, Philipp Thölke, Nicolas Farrugia, B. Pasdeloup, Vincent Gripon, Karim Jerbi, and Giulia Lioi. REVE: A foundation model for EEG—adapting to any setup with large-scale pretraining on 25,000 subjects. Advances in Neural Information Processing Systems 38, pages 25583–25619, 2025. doi: 10.52202/085713-0760. URL https://arxiv.org/abs/2510.21585.
  14. [14]Berkay Döner, Thorir Mar Ingolfsson, Luca Benini, and Yawei Li. LUNA: Efficient and topology-agnostic foundation model for EEG signal analysis. Advances in Neural Information Processing Systems 38, pages 78772–77898, 2025. doi: 10.52202/085713-2377. URL https://arxiv.org/abs/2510.22257.
  15. [15]Yuchen Zhou, Jiamin Wu, Zichen Ren, Zhouheng Yao, Weiheng Lu, Kunyu Peng, Qihao Zheng, Chunfeng Song, Wanli Ouyang, and Chao Gou. CSBrain: A cross-scale spatiotemporal brain foundation model for EEG decoding. Advances in Neural Information Processing Systems 38, pages 96859–96904, 2025. doi: 10.52202/085713-2915. URL https://arxiv.org/abs/2506.23075.
  16. [16]Jason Yosinski, Jeff Clune, Yoshua Bengio, and Hod Lipson. How transferable are features in deep neural networks? In Neural Information Processing Systems, volume 27, 2014. URL https://arxiv.org/abs/1411.1792.
  17. [17]Guillaume Alain and Yoshua Bengio. Understanding intermediate layers using linear classifier probes. In International Conference on Learning Representations, 2016. URL https://openreview.net/forum?id=ryF7rIqgl.arxiv.org/abs/1610.01644
  18. [18]Vasilii Feofanov, Songkang Wen, Jianfeng Zhang, Lujia Pan, and Ievgen Redko. MantisV2: Closing the zero-shot gap in time series classification with synthetic data and test-time strategies. arXiv.org, 2026. doi: 10.48550/arXiv.2602.17868. URL https://arxiv.org/abs/2602.17868.
  19. [19]Lukas Rauch, René Heinrich, Houtan Ghaffari, Lukas Miklautz, Ilyass Moummad, Bernhard Sick, and Christoph Scholz. Unmute the patch tokens: Rethinking probing in multi-label audio classification. In arXiv (Cornell University). Cornell University, 2026. doi: 10.48550/arxiv.2509.24901. URL https://arxiv.org/abs/2509.24901.
  20. [20]Dongsuk Oh, Yejin Kim, Hodong Lee, H. Howie Huang, and Heuisoek Lim. Don’t judge a language model by its last layer: Contrastive learning with layer-wise attention pooling. In International Conference on Computational Linguistics, pages 4585–4592, 2022. doi: 10.48550/arXiv.2209.05972. URL https://aclanthology.org/2022.coling-1.405/.DOI
  21. [21]William Timkey and Marten van Schijndel. All bark and no bite: Rogue dimensions in transformer language models obscure representational quality. In Conference on Empirical Methods in Natural Language Processing, pages 4527–4546. Association for Computational Linguistics, 2021. doi: 10.18653/v1/2021.emnlp-main.372. URL https://aclanthology.org/2021.emnlp-main.372/.DOI
  22. [22]Giovanni Puccetti, Anna Rogers, Aleksandr Drozd, and F. Dell’orretta. Outlier dimensions that disrupt transformers are driven by frequency. In Conference on Empirical Methods in Natural Language Processing, pages 1286–1304. Association for Computational Linguistics, 2022. doi: 10.18653/v1/2022.findings-emnlp.93. URL https://aclanthology.org/2022.findings-emnlp.93/.DOI
  23. [23]Alejandro Fuster Baggetto and Víctor Fresno-Fernández. Is anisotropy really the cause of BERT embeddings not being semantic? In Conference on Empirical Methods in Natural Language Processing, pages 4271–4281, 2022. doi: 10.18653/v1/2022.findings-emnlp.314. URL https://aclanthology.org/2022.findings-emnlp.314/.DOI
  24. [24]John Hewitt and Percy Liang. Designing and interpreting probes with control tasks. In Conference on Empirical Methods in Natural Language Processing, pages 2733–2743. Association for Computational Linguistics, 2019. doi: 10.18653/v1/D19-1275. URL https://aclanthology.org/D19-1275/.DOI
  25. [25]Elena Voita and Ivan Titov. Information-theoretic probing with minimum description length. In Conference on Empirical Methods in Natural Language Processing, pages 183–196. Association for Computational Linguistics, 2020. doi: 10.18653/v1/2020.emnlp-main.14. URL https://aclanthology.org/2020.emnlp-main.14/.DOI
  26. [26]Yonatan Belinkov. Probing classifiers: Promises, shortcomings, and advances. Computational Linguistics, 48(1):207–219, 2022. doi: 10.1162/coli_a_00422. URL https://aclanthology.org/2022.cl-1.7/.DOI
  27. [27]Yanai Elazar, Shauli Ravfogel, Alon Jacovi, and Yoav Goldberg. Amnesic probing: Behavioral explanation with amnesic counterfactuals. Transactions of the Association for Computational Linguistics, 9:160–175, 2021. doi: 10.1162/tacl_a_00359. URL https://aclanthology.org/2021.tacl-1.10/.DOI
  28. [28]Shauli Ravfogel, Yanai Elazar, Hila Gonen, Michael Twiton, and Yoav Goldberg. Null it out: Guarding protected attributes by iterative nullspace projection. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 7237–7256. Association for Computational Linguistics, 2020. doi: 10.18653/v1/2020.acl-main.647. URL https://aclanthology.org/2020.acl-main.647/.DOI
  29. [29]Nora Belrose, David Schneider-Joseph, Shauli Ravfogel, Ryan Cotterell, Edward Raff, and Stella Biderman. LEACE: Perfect linear concept erasure in closed form. In Advances in Neural Information Processing Systems 36, volume 36, pages 66044–66063. Neural Information Processing Systems Foundation, Inc. (NeurIPS), 2023. doi: 10.52202/0725280-2884. URL https://papers.nips.cc/paper_files/paper/2023/hash/d066d21c619d0a78c5b557fa3291a8f4-Abstract-Conference.html.arxiv.org/abs/2306.03819
  30. [30]Ling Tang, Qian Chen, Jilin Mei, Houshi Xu, Quanshi Zhang, Jing Shao, Na Zou, Xia Hu, and Dongrui Liu. What do EEG foundation models capture from human brain signals? arXiv.org, 2026. doi: 10.48550/arXiv.2605.11410. URL https://arxiv.org/abs/2605.11410.
  31. [31]Min-Ho Lee, O-Yeon Kwon, Yong-Jeong Kim, Hong-Kyung Kim, Young-Eun Lee, John Williamson, Siamac Fazli, and Seong-Whan Lee. EEG dataset and OpenBMI toolbox for three BCI paradigms: an investigation into BCI illiteracy. GigaScience, 8(5):giz002, 2019. doi: 10.1093/gigascience/giz002.DOI
  32. [32]Emily S. Kappenman, Jaclyn L. Farrens, Wendy Zhang, Andrew X. Stewart, and Steven J. Luck. ERP CORE: An open resource for human event-related potential research. NeuroImage, 225: 117465, 2020. doi: 10.2139/ssrn.424zqm.DOI
  33. [33]Wei Liu, Jie-Lin Qiu, Wei-Long Zheng, and Bao-Liang Lu. Comparing recognition performance and robustness of multimodal deep learning models for multimodal emotion recognition. IEEE Transactions on Cognitive and Developmental Systems, 14(2):715–729, 2022. doi: 10.1109/TCDS.2021.3071170.DOI
  34. [34]Diego Alvarez-Estevez and Roselyne M. Rijsman. Inter-database validation of a deep learning approach for automatic sleep scoring. PLOS ONE, 16(8):e0256111, 2020. doi: 10.1371/journal.pone.0256111.
  35. [35]Sirvan Khalighi, Teresa Sousa, José Moutinho Santos, and Urbano Nunes. ISRUC-Sleep: A comprehensive public dataset for sleep researchers. Computer Methods and Programs in Biomedicine, 124:180–192, 2016. doi: 10.1016/j.cmpb.2015.10.013.DOI
  36. [36]R. Leeb and Clemens Brunner. BCI Competition 2008—Graz data set A. Official BCI Competition IV dataset 2a description, 2008. URL https://www.bbci.de/competition/iv/desc_2a.pdf.
  37. [37]Sudhir Varma and Richard Simon. Bias in error estimation when using cross-validation for model selection. BMC Bioinformatics, 7(1):91, 2006. doi: 10.1186/1471-2105-7-91. URL https://link.springer.com/article/10.1186/1471-2105-7-91.DOI
  38. [38]Gavin C. Cawley and Nicola L. C. Talbot. On over-fitting in model selection and subsequent selection bias in performance evaluation. Journal of Machine Learning Research, 11:2079–2107, 2010. doi: 10.5555/1756006.1859921. URL https://jmlr.org/papers/v11/cawley10a.html.DOI

Paper details

vlnc:W_q3yem5bk
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents