Online Adaptation via Dual-Stage Alignment and Self-Supervision for Fast-Calibration Brain-Computer Interfaces
Sheng-Bin Duan † , Jian-Long Hao † , Tian-Yu Xiang † , Xiao-Hu Zhou ∗ , Member, IEEE , Mei-Jiang Gui, Xiao-Liang Xie, Shi-Qi Liu, Zeng-Guang Hou, Fellow, IEEE · 2025
Read Online Adaptation via Dual-Stage Alignment and Self-Supervision for Fast-Calibration Brain-Computer Interfaces by Sheng-Bin Duan † , Jian-Long Hao † , Tian-Yu Xiang † , Xiao-Hu Zhou ∗ , Member, IEEE , Mei-Jiang Gui, Xiao-Liang Xie, Shi-Qi Liu, Zeng-Guang Hou, Fellow, IEEE (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2509-19403.txt.
Introduction
Brain-computer interfaces read EEG signals to let people control devices by thought, but every brain differs, so systems usually need slow calibration for each new user. Sheng-Bin Duan and seven co-authors propose an online adaptation algorithm that adjusts to unseen users as it runs. Alignment happens in two stages: first the raw EEG data are aligned in their own space, then normalization statistics are updated in the model's representation space. A self-supervised loss steers updates.
That loss uses the decoder's own soft guesses as stand-ins for the unknown truth, weighted by their entropy so confident guesses count more. Across five public datasets and seven decoders, the method plugged in cleanly. Updating from a single trial at a time, it raised accuracy by about five points on steady-state visual tasks and about four on motor imagery. Fast, calibration-light operation is the goal.
Catalog record
| CREATOR | Sheng-Bin Duan † , Jian-Long Hao † , Tian-Yu Xiang † , Xiao-Hu Zhou ∗ , Member, IEEE , Mei-Jiang Gui, Xiao-Liang Xie, Shi-Qi Liu, Zeng-Guang Hou, Fellow, IEEE |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 64 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2509-19403
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Online Adaptation via Dual-Stage Alignment and Self-Supervision for Fast-Calibration Brain-Computer Interfaces Thanks: This work was supported in part by the National Key Research and Development Program of China under Grant 2023YFC2415100, in part by the National Natural Science Foundation of China under Grant 62222316, Grant 62373351, Grant 82327801, Grant 62073325, Grant 62303463, in part by the Chinese Academy of Sciences Project for Young Scientists in Basic Research under Grant No. YSBR-104, in part by the Beijing Natural Science Foundation under Grant F252068, Grant 4254107, in part by China Postdoctoral Science Foundation under Grant 2024M763535. Thanks: Sheng-Bin Duan and Jian-Long Hao are with the School of Information, Shanxi University of Finance and Economics, Taiyuan 030006, China. Email: [email protected]. Thanks: Xiao-Hu Zhou, Mei-Jiang Gui, Tian-Yu Xiang, Xiao-Liang Xie, and Shi-Qi Liu are with the State Key Laboratory of Multimodal Artificial Intelligence Systems, Institute of Automation, Chinese Academy of Sciences, Beijing 100190, China, and with the School of Artificial Intelligence, University of Chinese Academy of Sciences, Beijing 100049, China. Thanks: Zeng-Guang Hou is with State Key Laboratory of Multimodal Artificial Intelligence Systems, Institute of Automation, Chinese Academy of Sciences, Beijing 100190, China, also with the CAS Center for Excellence in Brain Science and Intelligence Technology, Beijing 100190, China, also with the School of Artificial Intelligence, University of Chinese Academy of Sciences, Beijing 100049, China, and also with the Joint Laboratory of Intelligence Science and Technology, Institute of Systems Engineering, Macau University of Science and Technology, Taipa, Macao, China. Thanks: † \dagger Equal contribution: Sheng-Bin Duan, Jian-Long Hao, Tian-Yu Xiang ∗ * Corresponding author: Xiao-Hu Zhou Sheng-Bin Duan † , Jian-Long Hao † , Tian-Yu Xiang † , Xiao-Hu Zhou ∗ , Member, IEEE , Mei-Jiang Gui, Xiao-Liang Xie, Shi-Qi Liu, Zeng-Guang Hou, Fellow, IEEE Abstract Individual differences in brain activity hinder the online application of electroencephalogram (EEG)-based brain computer interface (BCI) systems. To overcome this limitation, this study proposes an online adaptation algorithm for unseen subjects via dual-stage alignment and self-supervision. The alignment process begins by applying Euclidean alignment in the EEG data space and then updates batch normalization statistics in the representation space. Moreover, a self-supervised loss is designed to update the decoder. The loss is computed by soft pseudo-labels derived from the decoder as a proxy for the unknown ground truth, and is calibrated by Shannon entropy to facilitate self-supervised training. Experiments across five public datasets and seven decoders show the proposed algorithm can be integrated seamlessly regardless of BCI paradigm and decoder architecture. In each iteration, the decoder is updated with a single online trial, which yields average accuracy gains of 4.9% on steady-state visual evoked potentials (SSVEP) and 3.6% on motor imagery. These results support fast-calibration operation and show that the proposed algorithm has great potential for BCI applications. The code will be available upon acceptance. I Introduction EEG-based BCI systems are attractive for research and practical deployment owing to their non-invasive and portable nature [ 1 , 2 ] . Among these, steady-state visually evoked potentials (SSVEP) [ 3 ] and motor imagery [ 4 ] are widely used because they yield stable, physiologically grounded signatures in EEG recordings. In SSVEP, fixation on a flickering visual stimulus elicits responses predominantly over the occipital cortex at the stimulus frequency and its harmonics, providing robust spectral features for decoding [ 3 ] . In motor imagery, imagined movement induces event-related desynchronization/synchronization (ERD/S) in sensorimotor rhythms [ 5 , 6 , 7 , 8 , 9 ] , characterized by a power decrease during imagery (ERD) and a rebound upon return to rest (ERS). Although SSVEP and motor imagery paradigms generally yield stable features in EEG signals, substantial inter-subject variability persists from macroscale cortical anatomy to microscopic functional organization [ 10 , 11 , 12 , 13 , 14 ] . This variability complicates group-level analyses, hinders the transfer of models tuned to individual-specific features, and degrades generalization performance on unseen subjects [ 15 , 16 , 17 ] . To mitigate performance degradation arising from individual differences, existing methods generally align target and source domains at the data- [ 18 , 19 , 20 ] or representation-level [ 21 , 22 , 23 ] . Data-level alignment acts directly on the input data by making the source and target input distributions similar before feature extraction, via data-space transformations, resampling, distribution mapping or translation [ 18 , 19 , 20 ] . Representation-level alignment operates on deep features across domains via adversarial training, domain-invariant mappings, or statistical divergence minimization between source and target features [ 21 , 22 , 23 ] . However, both categories typically require the prior collection of sufficient labeled target-domain data to learn alignment mappings. Such data acquisition is time-consuming and labor-intensive, imposes burdens on users, and reduces the practicality of online BCI. Test-time adaptation (TTA) [ 24 ] is one solution to the above challenges [ 25 , 26 , 27 , 28 , 29 , 30 , 31 , 32 ] . TTA leverages unlabeled target-domain data during inference to update model parameters or normalization statistics and mitigating degradation under distribution shifts. Although TTA has achieved notable success in other fields [ 33 ] , applications to EEG-based BCI systems remain limited. Notable examples include T-TIME by Li et al. [ 15 ] , which minimizes conditional entropy with adaptive marginal distribution regularization to enable efficient and stable online adaptation and decoding, and Wimpff et al. [ 26 ] , which combines Euclidean alignment with online updates of batch normalization statistics to improve robustness and generalization in non-stationary environments. However, T-TIME [ 15 ] requires accumulating multiple EEG trials before model update in the initial stage. As each trial typically lasts several seconds, this induces calibration latency that degrades online responsiveness and increases subjects’ burden. Wimpff et al. [ 26 ] perform alignment at the data and representation levels without updating model parameters, which limits generalization to unseen subjects. In summary, TTA for online BCI systems still faces two central challenges: 1. Inter-subject variability: Individual differences induce source-target mismatches that degrade performance on unseen subjects. 2. Fast-calibration, efficient adaptation: Reducing multiple trial accumulation while enabling stable online updates to preserve online responsiveness and reduce subject burden. To address these challenges, a dual-stage alignment is employed for both the input data-level and the representation-level. Subsequently, the model parameters are updated to adapt to the target-domain distribution using a self-supervised loss. Both dual-stage alignment and the self-supervised optimization encourage the algorithm to support single-trial calibration, reducing calibration latency. The main contributions of this study are as follows: • A plug-and-play online adaptation algorithm with dual-stage alignment and self-supervision is proposed for EEG-based BCI systems, enabling fast calibration via single-trial update. • A dual-stage alignment strategy applies Euclidean alignment to the input data and then adjusts batch normalization statistics for the representations. • A self-supervised loss is computed using soft pseudo-labels as a proxy for unavailable ground truth and calibrated by Shannon entropy to facilitate stable self-supervised training. • Extensive experiments on five public datasets and seven backbone networks demonstrate that the proposed algorithm delivers significant performance improvements in online settings for two widely used BCI paradigms, achieving average accuracy gains of 4.9% for SSVEP and 3.6% for