Fine-Tuning Strategies for Continual Online EEG Motor Imagery Decoding: Insights from a Large-Scale Longitudinal Study

Martin Wimpff, Bruno Aristimunha, Sylvain Chevallier, Bin Yang

Introduction

Brain-Computer Interfaces (BCIs) based on Motor Imagery (MI) offer a promising pathway for restoring communication and mobility to individuals with motor impairments. However, a persistent hurdle in the field is the "two-learner problem." In this scenario, a machine learning decoder must learn to interpret neural signals while the human user is simultaneously learning to produce those signals more effectively. This co-adaptation creates a moving target for both parties. This study addresses this challenge by evaluating various fine-tuning strategies on a massive longitudinal dataset, aiming to identify the most stable and high-performing approach for long-term BCI use.

The Challenge: Non-stationarity and the Two-Learner Problem

MI-BCIs translate the mental rehearsal of movement—such as imagining moving a left hand—into digital commands. Many users initially struggle with "BCI illiteracy," where their brain patterns are not distinct enough for a computer to decode reliably. Over time, two primary issues emerge:

  1. Non-stationarity: EEG signals are notoriously volatile. Changes in electrode impedance, physical fatigue, and neuroplasticity mean that a model trained on Monday may fail by Friday.
  2. Mutual Adaptation: As a user improves their mental strategy, their neural signatures evolve. If a decoder is static, it cannot keep up with the user's progress. Conversely, if a decoder adapts too aggressively or inconsistently, it can confuse the user, preventing them from forming a stable mental model of how to control the interface.

While most BCI research is limited to small cohorts and brief sessions, this study utilizes a large-scale longitudinal dataset to observe these dynamics over weeks of usage.

Methodology

The researchers employed BaseNet, a modern iteration of the EEGNet architecture, within a "causal pseudo-online" framework. This framework simulates real-world deployment by ensuring the model only accesses data chronologically, mimicking a live session where the future is unknown.

Fine-Tuning Strategies

To find the optimal balance between adaptation and stability, the authors tested four strategies across a 2x2 matrix:

  • Data Composition:
    • Exemplar-free: The model is updated using only data from the most recent session.
  • Joint: The model is updated using data from the current session combined with all previous sessions.
  • Training Logic:
    • Independent: Every session, the model is reset to a general source model before fine-tuning.
  • Sequential: The model begins each session using the weights and parameters learned from the previous session.

Calibration-Free Decoding

A major goal of the study was to create a "calibration-free" system. Typically, users must perform tedious calibration trials at the start of every session. To bypass this, the researchers integrated Online Test-Time Adaptation (OTTA) techniques:

  • Euclidean Alignment (EA): This aligns the covariance matrices of the EEG data to a common reference, mitigating session-to-session distribution shifts.
  • Adaptive Batch Normalization (AdaBN): This updates the model’s internal statistics in real-time based on the incoming data stream, allowing the neural network to adjust to the specific characteristics of the current session immediately.

Data and Experimental Design

The study leveraged the Stieger2021 dataset, which includes 61 subjects—a significant population for BCI research. Each subject participated in 7 to 11 sessions over several weeks, with 450 trials per session. The tasks included binary classifications (Left vs. Right and Up vs. Down) as well as 2D cursor control. This longitudinal scale allows for a rigorous assessment of how fine-tuning strategies perform as user patterns stabilize over time.

Key Insights

Stability is King

The Joint Sequential strategy emerged as the superior approach. By incorporating all prior data and building incrementally on the previous session's model, this strategy maintained the highest level of "task vector" stability. Analysis using cosine distance showed that as users gained experience, the models became more consistent. This suggests that the Joint Sequential approach provides a stable environment that encourages human learning, allowing both the user and the machine to converge on a reliable communication protocol.

The Impact of OTTA

Online adaptation proved essential for immediate performance. The combination of EA and AdaBN allowed the system to function effectively from the very first trial of a new session. Removing Euclidean Alignment resulted in a significant performance penalty (approximately 10% drop in accuracy), highlighting its role in overcoming the non-stationarity of EEG signals.

Performance Metrics

The Joint Sequential strategy achieved trial-wise accuracies of approximately 78.8% for Left/Right tasks and 79.8% for Up/Down tasks. These results significantly outperformed traditional Autoregressive (AR) baselines and non-adapted source models, demonstrating the efficacy of deep learning-based fine-tuning in longitudinal contexts.

Limitations and Future Outlook

While the results are promising, the study notes several areas for further exploration:

  • True Online Feedback: Because this was a pseudo-online study, the users were not reacting to the BaseNet decoder in real-time. A true online study would capture the closed-loop dynamics where the user adjusts their strategy based on the decoder's immediate feedback.
  • Computational Scaling: Joint fine-tuning requires storing and re-processing all historical data. As a user accumulates hundreds of sessions, this could lead to computational bottlenecks, suggesting a need for intelligent data pruning or memory-efficient rehearsal strategies.
  • Complexity: Future work will need to transition these strategies from binary classification to more complex multi-class and continuous control tasks required for sophisticated assistive devices.

Conclusion

By prioritizing stability and leveraging online adaptation, this research provides a blueprint for BCI systems that grow with the user. The transition to a Joint Sequential fine-tuning strategy, supported by OTTA, moves the field closer to practical, calibration-free neural interfaces that remain accurate over months and years of use.

Summary updated

BibTeX
@misc{wimpff2025fine,
  author = {Martin Wimpff and Bruno Aristimunha and Sylvain Chevallier and Bin Yang},
  title = {{Fine-Tuning Strategies for Continual Online EEG Motor Imagery Decoding: Insights from a Large-Scale Longitudinal Study}},
  year = {2025},
  eprint = {2502.06828},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.06828},
}
Figure