Manuscript Offprint
arXiv:2608.24727Parameter-Efficient Self-Supervised Adaptation for EEG-FM under Fixed Computational Budgets
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Meghal Dani [0009-0007-1249-3630] and Stefanie Liebe [0000-0003-2873-2943]
University of Tübingen, Germany
Dept. of Neurology and Epileptology, University Clinic Tübingen, Germany
Hertie Institute for AI in Brain Health (Hertie AI), Tübingen, Germany
Hertie Institute for Clinical Brain Research, Tübingen, Germany
Abstract. EEG foundation models pretrained via self-supervised learning promise transferable representations, but their generalization remains limited, especially across diverse clinical datasets. Full fine-tuning is impractical for resource-constrained clinical settings due to high computational requirements. In this work, we investigate whether parameter-efficient self-supervised adaptation, updating only 9% of parameters suffices to align representations to target tasks. We evaluate our method on two state-of-the-art models with different pretraining objectives: BIOT (contrastive) and CBraMod (masked reconstruction), and evaluate on three clinical EEG datasets for abnormality detection (TUAB), event classification (TUEV), and seizure detection (CHB-MIT) under both in-distribution and out-of-distribution conditions. SSL adaptation yields consistent gains over linear probing, up to 20× AUCPR. Under a fixed compute budget, peak performance requires only 20–50% of available unlabeled data. Critically, when total window count is fixed, performance remains invariant to patient count, suggesting that performance is dependent on overall temporal window diversity only. Our findings demonstrate that parameter-efficient adaptation enables effective deployment of EEG Foundation models (EEG-FM) with minimal computational overhead and data collection burden.
Code available at: https://github.com/c3n-group/efficient-eeg-adapt
Keywords: EEG · Self Supervised Learning · Foundation Models.
1 Introduction
Electroencephalography (EEG) is the gold standard for non-invasive neurological monitoring and still heavily relies on labor-intensive manual expert inspection . Deep learning algorithms using supervised training have addressed automating this process . Although unlabeled EEG recordings are abundant at clinical sites, annotated data sets are rare, limiting these approaches.
In contrast, Foundation models (FMs), neural networks pretrained on massive unlabeled corpora via self-supervised learning (SSL), hold promise for not
Accepted at MICCAI 2026 (Strasbourg, France). Preprint of the submitted version.
M. Dani et al.
requiring any expert annotations. A first generation of EEG foundation models (EEG-FMs) has emerged [11,23,10,9,22,21], demonstrating that broad pretraining on unlabeled EEG can yield transferable representations. Most models segment raw multichannel EEG into fixed-length time-series patches per channel, tokenized into embeddings that preserve both spatial and temporal structure, and processed by transformers. Their SSL objectives fall into two families: contrastive learning (e.g. BIOT [23]) and masked reconstruction (e.g. CBraMod [22]).
Despite this progress, deploying a pretrained EEG-FM to a clinical site requires bridging distribution shifts caused by differences in recording hardware, channel montages, and sampling rates. Retraining from scratch is impractical given the annotation costs, motivating parameter-efficient adaptation strategies. REMEDIS [4] established that SSL-based adaptation of pretrained models outperforms both direct transfer and full fine-tuning in medical imaging, particularly under limited labeled data. For EEG, concurrent work has been explored using graph-based adapters [19], while recent EEG-FMs such as LaBraM [10] and EEGPT [21] have scaled pretraining data, though with diminishing returns. Specifically, NeuroLM [9], trained on roughly ten times more data than LaBraM, achieves comparable downstream performance. This raises a fundamental question: how much unlabeled target-domain data is actually needed for reliable EEG-FM adaptation?
We address this by studying parameter-efficient SSL adaptation in a setting that mirrors clinical deployment: adapt a pretrained EEG-FM using only unlabeled target-domain EEG, then evaluate representation quality via frozen-encoder linear probing. We probe two EEG-FMs with different pretraining objectives, BIOT (contrastive) and CBraMod (masked reconstruction), updating only the final encoder layer while preserving each model's original SSL objective. To make data-efficiency conclusions actionable, we evaluate our adaptation under a normalized fixed-compute protocol [1] that holds total computation constant. Across three clinical EEG datasets covering both in-distribution (ID) and out-of-distribution (OOD) conditions, we find that: (1) lightweight SSL adaptation substantially improves linear probe representations with gains up to in AUCPR on rare-event tasks, (2) near-peak performance is achieved using only a fraction (20–50%) of available unlabeled data, (3) the number of total temporal windows seen, rather than the number of unique patients, impacts adaptation performance under a fixed compute budget.
2.1 Parameter Efficient SSL Adaptation
Our pipeline consists of two stages: (i) SSL-based representation learning for parameter-efficient adaptation, and (ii) linear probing for downstream evaluation.
Self Supervised Learning Pretraining: Let denote an EEG foundation model encoder that maps an input EEG segment (with channels and time steps) to a representation . To effectively adapt the foundation model under resource-constrained settings, we adopt a parameter-efficient fine-tuning strategy: we partition the full parameter set into frozen lower layers and a trainable subset corresponding to the final encoder layer, such that . We preserve the original SSL objective of each model, i.e., the masked reconstruction for CBraMod (with masking ratio 0.5 [22]), contrastive learning for BIOT and optimize the loss with respect to on an unlabeled target dataset , keeping fixed:
This strategy retains the generic signal representations learned during pretraining in lower layers while enabling domain-specific calibration in the final layer.
Downstream Evaluation via Linear Probing: To evaluate representation quality, we employ linear probing [1,6,17] on a labeled downstream dataset containing EEG segment-class pairs . For each EEG window , we extract representations from our pretrained encoder and train only a linear classifier to obtain . Overall, the linear head is adapted by optimizing only for , keeping frozen as defined below:
where is the task-specific cross entropy loss.
2.2 Normalized Evaluation
To correctly assess the impact of data diversity, we must isolate its effects from variations in computational cost and hyperparameter optimization. Following established protocols for fair comparison under varying data regimes , we use: (1) a fixed computational budget to normalize computation across experiments, and (2) data diversity decomposed with respect to the number of unique EEG windows and (3) unique patients to characterize what the model observes or learns from, during the SSL adaptation.
Computational Budget and Data Diversity: We standardize adaptation compute using the number of optimizer update steps. For an unlabeled training set of data with size , batch size B, and a chosen reference epoch-equivalent for SSL, we define the steps per epoch as:
where is the total number of optimizer updates and is the computational budget, representing the total number of EEG windows “seen” during training. Equivalently, , where is the number of unique EEG windows in the adaptation set . The repetition factor , defined as or quantifies how many times, on average, each unique window is processed during training.
M. Dani et al.
Table 1. Performance comparison between linear probing (LP) versus our parameter-efficient SSL adaptation (SA). Results shown as mean SEM across 5 seeds. Blue subscripts indicate absolute improvement; best results in bold. Metrics: Balanced Accuracy / Cohen's Kappa / Weighted F1 (TUEV); Balanced Accuracy / AUCPR / AUCROC (TUAB, CHB-MIT). : adapted parameters (of total in EEG-FM).
| Dataset | Method | Bal. ACC | AUCPR / Kappa | AUCROC / F1 |
|---|---|---|---|---|
| BIOT (, ) | ||||
| TUEV | LP | |||
| SA | ||||
| TUAB | LP | |||
| SA | ||||
| CHB-MIT | LP | |||
| SA | ||||
| CBraMod (, ) | ||||
| TUEV | LP | |||
| SA | ||||
| TUAB | LP | |||
| SA | ||||
| CHB-MIT | LP | |||
| SA | ||||
A model adapted with large (small , many epochs) sees limited diversity with high repetition, and vice versa.
For each dataset, we vary sample sizes (selecting roughly log-spaced fractions of the total data, rounded to multiples of batch size for stability), while adjusting to maintain a fixed . This protocol enables us to observe how much unique data is needed to achieve peak performance under resource constraints, allowing us to disentangle whether performance gains arise from increased repetition (more epochs on limited data) or increased diversity (exposure to more unique samples).
Patient vs. Window Diversity. EEG datasets exhibit hierarchical structure: each patient contributes multiple temporal windows. To determine whether adaptation benefits more from increasing the number of patients or collecting longer recordings, we fix both total windows and compute budget while varying the number of patients . For each value of , we randomly sample patients and extract windows from their available recordings such that the total number of windows (where is the number of windows from patient , constrained by that patient's available data). Since is fixed, smaller implies more windows per patient on average (longer recordings from fewer patients), while larger implies fewer windows per patient (brief recordings from many patients). We repeat each configuration with 3 data sampling seeds.
3 Experiments and Results
3.1 Dataset and Setup
Data and Preprocessing: We evaluate on three clinical EEG tasks: (i) abnormality detection using TUH Abnormal EEG Corpus (TUAB) [12], (ii) event type classification using TUH EEG Events (TUEV) [8], and (iii) seizure detection in pediatric epilepsy patients using CHB-MIT [18]. TUAB and TUEV originate from Temple University Hospital and share recording infrastructure with CBraMod's pretraining corpus (TUEG), making them in-distribution (ID) for CBraMod and out-of-distribution (OOD) for BIOT. CHB-MIT is a pediatric dataset recorded at a different institution with different hardware, making it OOD for both models. For TUAB and TUEV we use the official train/test splits; for CHB-MIT (24 patients) we use patients 1–20 for training, 21–22 for validation, and 23–24 for testing.
We use the common 16 bipolar montage channels in the international 10-20 system following BIOT [23] to obtain clean and uniformly formatted data. Signals are band-pass filtered (0.3–75 Hz), notch-filtered (60 Hz), and resampled to 200 Hz. For SSL adaptation we segment the EEG signal into 30-second non-overlapping windows for all three datasets used in this study; while for downstream evaluation we use 10-second windows (TUAB, CHB-MIT) and 5-second windows (TUEV), following CBraMod [22].
Foundation Models and SSL Adaptation: We evaluate two EEG foundation models with distinct pretraining objectives: BIOT [23], a contrastive learning based model pretrained on a sleep EEG corpus (SHHS [16]) and a proprietary resting EEG dataset (PREST), and CBraMod [22], a masked reconstruction model pretrained on Temple University EEG data (TUEG) [15]. We establish baselines through linear probing (LP), where all encoder layers remain frozen and only a linear classification head is trained on labeled downstream data, evaluating off-the-shelf representation quality [17].
Training Details: For SSL Adaptation, we use only the training set of each target dataset using AdamW optimizer [13] with learning rate , weight decay , and , with a cosine annealing schedule (minimum learning rate ). For linear probe evaluation, we train the classifier for 10 epochs, with learning rate . We use a batch size of 128 for TUAB and CHB-MIT, and 256 for TUEV.
Evaluation Metrics: For binary tasks (TUAB, CHB-MIT) we report Balanced Accuracy, AUCPR, and AUCROC, with AUCROC as the monitor score. For multi-class classification (TUEV, 6 classes) we report Balanced Accuracy, Cohen's Kappa, and Weighted F1, with Kappa as the monitor score. All results are reported as mean ± standard error of the mean (SEM) over 5 independent random seeds, on the test set, if not mentioned otherwise.
3.2 Parameter-Efficient SSL Adaptation on Clinical Tasks
Table 1 summarizes the comparison between EEG-FM linear probing (LP) and our SSL adaptation. Across all three clinical datasets, SSL adaptation (SA) improves performance ranging from +1.79 weighted F1 score (CBraMod on TUEV) to +36.2 AUCROC (BIOT on CHB-MIT). Importantly, SA updates only 0.92M of 3.19M parameters for BIOT (28.8%) and 0.44M of 4.92M for CBraMod (9.0%). Thus, we obtain better aligned feature representations using parameter efficient adaptation regardless of pretraining objective. For BIOT, which is OOD on all
M. Dani et al.

Fig. 1. SSL adaptation exhibits data efficiency under normalized compute : performance peaks at 20 – 50% of data then plateaus. (a) CHB-MIT seizure detection (AUCPR), ; (b) TUAB abnormality detection (AUCPR), ; (c) TUEV event classification (F1), . (d) Kernel density estimation confirms saturation at (repetition factor ). Green: BIOT; Blue: CBraMod. Error bars denote SEM (3 data shuffle 3 model seeds).
(a) CHB-MIT

(b) TUEV
patient count (P)
(c) TUAB
patient count (P)
patient count (P)
patient count (P)
patient count (P)
Fig. 2. SSL adaptation performance is patient-agnostic under fixed computational budget C. At constant , varying patient count P yields flat performance curve: (a) CHB-MIT seizure detection (AUCPR), ; (b) TUEV event classification (F1), ; (c) TUAB abnormality detection (AUCPR), . Green: BIOT; Blue: CBraMod. Error bars denote SEM over 3 data shuffle 3 model initialization seeds.
three datasets, adaptation yields +6.59 Kappa on TUEV, +3.26 AUCROC on TUAB (63.93 → 70.86% Balanced Accuracy), and +36.2 AUCROC on CHB-MIT seizure detection (46.93 → 83.08% AUCROC). For CBraMod, gains are observed on both ID tasks (TUAB: +14.7 AUCROC; TUEV: +5.09 Kappa) and the OOD task (CHB-MIT: +29.5 AUCROC: (54.14 → 83.67%)). These improvements indicate that pretrained representations are not sufficiently aligned to target-domain signal characteristics for direct deployment. The gains are particularly pronounced on OOD tasks, similar to findings in medical imaging where
SSL-based adaptation of pretrained models yields the largest improvements under distribution shifts [4].
CHB-MIT seizure detection task, a classical rare event with prevalence 1.4%, exposes a critical limitation of frozen foundation model features: EEG-FM linear probing achieves near-random AUCPR performance (BIOT: 1.53%, CBraMod: 17.35%), barely exceeding random classifier baseline precision (1.48%). We verified this result across all 5 seeds, confirming that frozen features fail to capture discriminative patterns for rare clinical events. SSL adaptation recovers clinically meaningful performance (BIOT: 31.52%, CBraMod: 24.62% AUCPR), demonstrating that even modest unlabeled target-domain training can align representations when frozen features provide no discriminative signal.
To investigate the trade-off between adaptation capacity and parameter efficiency, we selectively update different encoder layer subsets during SSL adaptation (final layer only, final two layers, or all layers). As shown for the CHB-MIT dataset in Table 2, we observe only marginal gains (+1.17% AUCPR) for BIOT and even slightly degraded performance for CBraMod (31.25% AUCPR → 29.41%), at the cost of significantly more parameters. Final-layer adaptation, thus, provides an optimal cost-performance balance. This is consistent with transfer learning principles that selective updates preserve pretrained knowledge while enabling domain-specific calibration [24].
Takeaway: Across all datasets, models and pretraining objectives evaluated, last-layer SSL adaptation yields consistent gains (up to AUCPR), making it a highly efficient and lightweight adaptation method especially in cases where distribution shifts impact performance.
3.3 Data Efficiency under Normalized Compute Budget:
We systematically vary the amount of unique unlabeled data (N) while holding total compute ( ) constant across all adaptation runs. Figure 1 shows downstream performance as a function of data percentage for both models across all three datasets. Interestingly, both BIOT and CBraMod reach peak performance using only 20 – 50% of the available unlabeled data across all tasks. On CHB-MIT, both models achieve AUCPR at 40% of the data (N=86K, repetition factor r=12). On TUEV, both peak at with r=14, then plateau. The kernel density plot (Fig. 1d), aggregated over all models, datasets, and seeds, confirms that the distribution of peak performance concentrates at . Beyond this point, additional unique data provides no measurable benefit under fixed compute. The model sees each window fewer times without gaining sufficient new information to offset the reduced repetition. This is consistent with recent findings on pretraining data diversity for SSL in vision, where beyond a saturation threshold, increasing unique samples under fixed compute yields diminishing returns as models require sufficient repetition to consolidate learned features [1]. We note that this result characterizes the optimal diversity–repetition balance at a given compute budget.
M. Dani et al.
Table 2. Layer unfreezing ablation on CHBMIT dataset with one seed. Unfreezing only the final layer (L) provides optimal parameter efficiency.
| Model | Layers | Param. | AUCROC | AUCPR | Bal. Acc |
|---|---|---|---|---|---|
| BIOT | L | 0.92M | 88.67 | 35.62 | 60.62 |
| L, L - 1 | 1.71M | 88.44 | 35.05 | 60.82 | |
| All | 3.19M | 88.60 | 36.79 | 62.18 | |
| CBRAMOD | L | 0.44M | 87.16 | 31.25 | 67.60 |
| L, L - 1 | 0.84M | 86.62 | 21.90 | 58.69 | |
| All | 4.4M | 88.20 | 29.41 | 50.98 |
Takeaway: Under fixed compute, peak SSL adaptation requires only 20–50% of available unlabeled data with sufficient repetition of approx. 12, enabling rapid deployment with minimal data collection.
3.4 Total EEG Window Count Dominates Over unique patient ID:
To disentangle whether adaptation benefits more from patient diversity or temporal coverage, we fix total windows and compute , then systematically vary the patient-window composition. Figure 2 shows downstream performance as a function of patient count across all three datasets. Across the tested ranges (CHB-MIT: ; TUEV: ; TUAB: ), increasing number of unique patients, produces no significant change in downstream performance, suggesting that SSL objectives capture transferable temporal structure rather than patient-specific features.
Takeaway: Under FM-initialized SSL adaptation with fixed samples and compute, total windows seen, not patient count, affects the performance, suggesting clinical sites can adapt effectively using longer recordings from smaller cohorts.
4 Conclusion
We present a parameter-efficient SSL adaptation strategy for EEG foundation models that updates 9% of parameters, yet achieves substantial performance gains. Across three clinical tasks and two models with distinct architectures and pretraining objectives, adaptation consistently outperforms linear probing (AUCROC gains up to +36.2 points). On rare-event seizure detection (CHB-MIT), adaptation recovers clinically meaningful performance (31.52% AUCPR) from near-random baselines (1.53%), demonstrating that domain adaptation is essential before clinical deployment. We systematically characterize data requirements under fixed compute, finding that peak performance requires only 20 – 50% of available data. Additionally, with fixed compute budget and total samples while varying patient-window composition ( ), no significant performance difference is observed, suggesting that for FM-initialized SSL adaptation, temporal window coverage may matter more than patient diversity. We note that for one of the datasets (CHB-MIT), this observation is over limited patient range (3–22). Future work should compare alternative parameter-efficient pretraining methods, vary the compute budget C within our fixed-compute design to test the robustness of findings in this work across compute regimes, and test whether these data-efficiency patterns hold for general-purpose time-series foundation models and other medical time-series data.
Acknowledgments. This work was supported by the Else Kröner Fresenius Foundation, German Research Foundation (DFG): 493665037, SPP 2241 - PN 520287829, the Machine Learning Cluster of Excellence EXC number 2064/1 PN 390727645, Tübingen AI Center and BMFTR (01GQ2502). M.D. is a member of the International Max Planck Research School for Intelligent Systems Tübingen (IMPRS-IS). The authors thank C3N lab members, Prof. Dr. Jakob H. Macke and Julius Vetter for discussion and feedback.
Disclosure of Interests. The authors declare no competing interests.
References
-
Al Kader Hammoud, H.A., Das, T., Pizzati, F., Torr, P.H., Bibi, A., Ghanem, B.: On pretraining data diversity for self-supervised learning. In: European Conference on Computer Vision. pp. 54–71. Springer (2024)
-
Alhussein, M., Muhammad, G., Hossain, M.S.: Eeg pathology detection based on deep learning. IEEE Access 7, 27781–27788 (2019)
-
Amin, S.U., Hossain, M.S., Muhammad, G., Alhussein, M., Rahman, M.A.: Cognitive smart healthcare for pathology detection and monitoring. IEEE Access 7, 10745–10753 (2019)
-
Azizi, S., Culp, L., Freyberg, J., Mustafa, B., Baur, S., Kornblith, S., Chen, T., Tomasev, N., Mitrović, J., Strachan, P., et al.: Robust and data-efficient generalization of self-supervised machine learning for diagnostic imaging. Nature Biomedical Engineering 7(6), 756–779 (2023)
-
Bitar, R., Khan, U.M., Rosenthal, E.S.: Utility and rationale for continuous eeg monitoring: a primer for the general intensivist. Critical Care 28(1), 244 (2024)
-
Chen, T., Kornblith, S., Norouzi, M., Hinton, G.: A simple framework for contrastive learning of visual representations. In: International conference on machine learning. pp. 1597–1607. PMLR (2020)
-
Gemein, L.A., Schirrmeister, R.T., Chrabaszcz, P., Wilson, D., Boedecker, J., Schulze-Bonhage, A., Hutter, F., Ball, T.: Machine-learning-based diagnostics of eeg pathology. NeuroImage 220, 117021 (2020)
-
Harati, A., Golmohammadi, M., Lopez, S., Obeid, I., Picone, J.: Improved eeg event classification using differential energy. In: 2015 IEEE Signal Processing in Medicine and Biology Symposium (SPMB). pp. 1–4. IEEE (2015)
-
Jiang, W.B., Wang, Y., Lu, B.L., Li, D.: NeuroLM: A universal multi-task foundation model for bridging the gap between language and EEG signals. In: The Thirteenth International Conference on Learning Representations (2025), https://openreview.net/forum?id=Io9yFt7XH7
M. Dani et al.
-
Jiang, W.B., Zhao, L., Lu, B.L.: Large brain model for learning generic representations with tremendous eeg data in bci. In: International Conference on Learning Representations. vol. 2024, pp. 16405–16426 (2024)
-
Kuruppu, G., Wagh, N., Kremen, V., Varatharajah, Y.: Eeg foundation models: a critical review of current progress and future directions. Journal of neural engineering 23(2), 021001 (2026)
-
Lopez, S., Suarez, G., Jungreis, D., Obeid, I., Picone, J.: Automated identification of abnormal adult eegs. In: 2015 IEEE signal processing in medicine and biology symposium (SPMB). pp. 1–5. IEEE (2015)
-
Loshchilov, I., Hutter, F.: Decoupled weight decay regularization. In: International Conference on Learning Representations (2019)
-
Mushtaq, F., Welke, D., Gallagher, A., Pavlov, Y.G., Kouara, L., Bosch-Bayard, J., Van Den Bosch, J.J., Arvaneh, M., Bland, A.R., Chaumon, M., et al.: One hundred years of eeg for brain and behaviour research. Nature human behaviour 8(8), 1437–1443 (2024)
-
Obeid, I., Picone, J.: The temple university hospital eeg data corpus. Frontiers in neuroscience 10, 196 (2016)
-
Quan, S.F., Howard, B.V., Iber, C., Kiley, J.P., Nieto, F.J., O'Connor, G.T., Rapoport, D.M., Redline, S., Robbins, J., Samet, J.M., et al.: The sleep heart health study: design, rationale, and methods. Sleep 20(12), 1077–1085 (1997)
-
Radford, A., Kim, J.W., Hallacy, C., Ramesh, A., Goh, G., Agarwal, S., Sastry, G., Askell, A., Mishkin, P., Clark, J., et al.: Learning transferable visual models from natural language supervision. In: International conference on machine learning. pp. 8748–8763. PMLR (2021)
-
Shoeb, A., Guttag, J.: Application of machine learning to epileptic seizure detection. In: International Conference on Machine Learning. pp. 975–982 (2010)
-
Suzumura, T., Kanezashi, H., Akahori, S.: Graph adapter of eeg foundation models for parameter efficient fine tuning. arXiv preprint arXiv:2411.16155 (2024)
-
Van Leeuwen, K., Sun, H., Tabaeizadeh, M., Struck, A., Van Putten, M., Westover, M.: Detecting abnormal electroencephalograms using deep convolutional networks. Clinical neurophysiology 130(1), 77–84 (2019)
-
Wang, G., Liu, W., He, Y., Xu, C., Ma, L., Li, H.: Eegpt: Pretrained transformer for universal and reliable representation of eeg signals. Advances in Neural Information Processing Systems 37, 39249–39280 (2024)
-
Wang, J., Zhao, S., Luo, Z., Zhou, Y., Jiang, H., Li, S., Li, T., Pan, G.: Cbramod: A criss-cross brain foundation model for eeg decoding. In: International conference on learning representations. vol. 2025, pp. 75310–75346 (2025)
-
Yang, C., Westover, M.B., Sun, J.: Biot: Biosignal transformer for cross-data learning in the wild. In: Thirty-seventh Conference on Neural Information Processing Systems (2023), https://openreview.net/forum?id=c2LZyTyddi
-
Yosinski, J., Clune, J., Bengio, Y., Lipson, H.: How transferable are features in deep neural networks? Advances in neural information processing systems 27 (2014)