Enhancing Performance, Calibration Time and Efficiency in Brain-Machine Interfaces through Transfer Learning and Wearable EEG Technology

Xiaying Wang, Lan Mei, Victor Kartsch, Andrea Cossettini, Luca Benini

This paper presents a comprehensive solution for practical, daily-use Brain-Machine Interfaces (BMIs) by combining custom wearable hardware with a lightweight deep learning approach. By leveraging transfer learning (TL) and an ultra-low-power RISC-V processor, the authors achieve high classification accuracy (up to 96%) while slashing calibration time to just five minutes and maintaining a 30-hour battery life.

TL;DR

The researchers developed a comfortable EEG headband paired with a "tinyML" convolutional neural network that uses transfer learning to overcome the "inter-session variability" problem. This allows the system to maintain high accuracy across different days with minimal recalibration, all while running locally on a low-power wearable device.

What Problem Does This Paper Address?

Brain-Machine Interfaces (BMIs) that decode motor intent from EEG signals face three major hurdles for real-world adoption:

  1. Inter-session Variability: Brain signals from the same person change significantly between sessions due to electrode placement, skin impedance, and internal brain states. This usually requires a long, frustrating calibration period every time the device is worn.
  2. Hardware Comfort: Clinical EEG setups use messy gels and bulky caps. Consumer dry-electrode headsets often suffer from poor signal-to-noise ratios (SNR).
  3. Power Efficiency: Complex deep learning models usually require offloading data to a cloud or gateway, which drains battery and introduces latency.

Methods

The authors tackle these issues through a hardware-software co-design:

  • Hardware (BioWolf): A custom headband featuring eight soft, dry elastomer-based electrodes. The processing is handled by "Mr. Wolf," a parallel ultra-low-power (PULP) RISC-V system-on-chip capable of on-board inference. The BioWolf system integrates dry electrodes and a miniaturized acquisition device into a standard sport headband.

  • Architecture (MI-BMInet): A lightweight CNN designed for motor imagery/movement tasks. It uses spatial and temporal convolutions to extract features from the 8-channel EEG data with minimal parameters. The MI-BMInet architecture uses depthwise and separable convolutions to remain efficient enough for edge deployment.

  • Transfer Learning (TL): Instead of training from scratch every day, the system uses a pre-trained model from previous sessions. They explored three strategies: one-to-one (using one previous session), multi-to-one (using multiple previous sessions), and a "chain" TL scheme, where the model is continuously updated session-by-session.

Fig. 1. Headband layout. Electrodes (D¨atwyler Schweiz AG) are integrated with an active buffering circuit, plugged into dedicated buttonholes on the headband and connected to BioWolf via cables hidden in the headband textile.
Fig. 3. MI-BMInet architecture [9].

Datasets

The study collected a new dataset consisting of 7 sessions of EEG data from a single healthy volunteer.

  • Task: Motor Movement (MM) involving finger tapping (left hand vs. right hand).
  • Protocol: Each session included 12–20 runs, with each run containing 15 trials (5 left, 5 right, 5 rest).
  • Timing: Each trial consisted of a 4-second instruction window followed by a random resting period. The experimental protocol uses a timed sequence of instructions and rest periods to synchronize EEG data with motor tasks.
Fig. 2. Timing scheme of one data collection trial.

Key Insights and Ideas

  • The "Chain" Advantage: The "chain" TL scheme is particularly clever for edge devices. By updating the model based only on the previous session's model rather than retraining on a massive multi-session dataset, the system saves significant memory and computational resources.
  • Calibration Efficiency: The authors found a sweet spot for calibration. By reducing the number of new training runs to just three, they could achieve ~90% accuracy in only 5 minutes of setup time—a 2.13x reduction compared to standard training. Reducing the number of training runs in the transfer learning process directly impacts the user's calibration time.

  • Edge-First Design: By executing inference every 100ms on the PULP processor (taking only 6ms and 30µJ per inference), the system avoids the energy cost of continuous Bluetooth data streaming, enabling multi-day battery life.

Fig. 5. Train-validation-test split of TL models with decreasing training runs.

Key Results

  • Accuracy: Transfer learning improved inter-session accuracy by 21.66% compared to using a static pre-trained model, reaching a peak of 96.67%.
  • Latency & Power: Inference on the "Mr. Wolf" SoC takes just 6 ms. The total system power envelope is estimated at 8 mW, allowing for 30 hours of operation on a tiny 65 mAh battery.
  • Real-world Demo: The system was successfully used to control a "Crazyflie 2.1" drone in real-time, translating EEG-decoded intent into flight commands via BLE.

Limitations and Future Work

  • Single Subject: The current results are based on a single subject. While promising, the robustness of the TL approach needs validation across a larger, more diverse population.
  • Motor Movement vs. Imagery: The study focused on actual finger tapping (Motor Movement). While the authors note high congruency between movement and imagery, true "thought-controlled" BMIs rely on Motor Imagery (imagining the movement), which typically has lower SNR.
  • Resting State: The authors plan to better incorporate a "resting class" to handle periods where the user is not giving any commands, preventing the drone from receiving unintended inputs.
  • On-Device Training: While inference is currently on-device, the authors aim to implement the actual Transfer Learning (training) on the edge for a truly autonomous, self-adapting system.

Summary updated

BibTeX
@inproceedings{wang2023enhancing,
  author = {Xiaying Wang and Lan Mei and Victor Kartsch and Andrea Cossettini and Luca Benini},
  title = {{Enhancing Performance, Calibration Time and Efficiency in Brain-Machine Interfaces through Transfer Learning and Wearable EEG Technology}},
  booktitle = {BioCAS},
  year = {2023},
  doi = {10.1109/biocas58349.2023.10388950},
}
Figure