Bio-MF: Low-Latency and High-Fidelity EEG-to-fNIRS Cross-Modal Generation for Hybrid Motor-Imagery Brain--Computer Interfaces
Organizations: Key Laboratory of Modern Teaching Technology, Shaanxi Normal University, Xi’an 710062, China · Microsoft, Beijing, China
Abstract
Hybrid motor-imagery brain-computer interfaces (MI-BCIs) combining EEG and fNIRS can outperform EEG-only systems by exploiting complementary electrophysiological and hemodynamic information. To obtain such hybrid information when paired EEG-fNIRS acquisition is unavailable or inconvenient, recent studies have focused on EEG-to-fNIRS cross-modal generation. However, existing methods still suffer from slow generation and often require pretraining, limiting their use in real-time MI-BCI scenarios. Although one-step generative models offer an attractive route to low-latency synthesis, removing the iterative refinement process can reduce generation fidelity and introduce non-physiological artifacts. To address these problems, this paper proposes Bio-MF, a latent-free one-step MeanFlow framework for EEG-conditioned fNIRS generation. Bio-MF performs direct signal-space x-prediction, converts this signal-space output into MeanFlow velocity supervision, and completes inference with one network evaluation. To preserve task-relevant hemodynamic structure under heterogeneous sensor layouts, Bio-MF integrates Spatial-Temporal Interactive 4D Encoding, cross-modal classifier-free guidance, and noise-level-gated FFT regularization. On Dataset 1, EEG + synthetic fNIRS improves ACC over EEG-only by 3.37 and 4.15 percentage points for HbR and HbO, respectively. On Dataset 2, the corresponding gains remain 2.98 and 2.50 percentage points under the unseen 64-channel EEG montage. On an RTX PRO 6000 GPU, Bio-MF generates one fNIRS trial in 7.0 ms, corresponding to an 857x speedup over the 1000-step SCDM latency. These results show that Bio-MF enables fast EEG-to-fNIRS synthesis while preserving task-relevant generation quality for downstream hybrid MI decoding. Our code is available at https://github.com/psychosiwa/Bio-MF.
Figures & tables
| Dataset | Signal | Model | ACC (%) | SPE (%) | PRE (%) | SEN (%) |
|---|---|---|---|---|---|---|
| Dataset 1 | EEG | - | 71.92 2.79 | 76.85 3.10 | 74.36 3.12 | 66.98 3.48 |
| Syn. fNIRS (HbR) | Bio-MF SCDM [25] | 66.42 2.70 66.38 2.56 | 69.25 2.86 68.27 2.48 | 68.52 3.00 68.32 2.73 | 69.59 2.78 68.26 2.86 | |
| EEG + Syn. fNIRS (HbR) | Bio-MF SCDM [25] | 75.29 2.36 75.38 2.23 | 80.09 2.61 79.98 2.33 | 77.65 2.72 77.52 2.61 | 70.22 2.79 70.50 2.71 | |
| Syn. fNIRS (HbO) | Bio-MF SCDM [25] | 70.12 2.82 68.52 2.97 | 77.70 2.70 76.33 2.71 | 73.05 3.12 71.79 3.24 | 60.40 2.76 60.25 2.74 | |
| EEG + Syn. fNIRS (HbO) | Bio-MF SCDM [25] | 76.07 2.40 75.03 2.55 | 82.59 2.61 81.92 3.07 | 80.01 2.76 79.32 3.41 | 69.50 2.85 67.32 2.31 | |
| Dataset 2 | EEG | - | 70.78 5.79 | 71.83 5.69 | 71.56 5.73 | 69.32 6.77 |
| Model | Sampling state | Generated sample | Steps / NFE | Latency | Speedup |
|---|---|---|---|---|---|
| SCDM [25] | Raw fNIRS signal | 2 36 256 | 1000 | 6.0 s (measured, RTX PRO 6000) | 1x |
| TADM [26] | 512-D latent diffusion | 1000 sequence; 36 1000 for 36-channel datasets | 1000 | 0.5 s (reported, NVIDIA A800) | |
| Bio-MF | Raw fNIRS signal, latent-free | 2 36 256 | 1 | 7.0 ms (measured, RTX PRO 6000) | 857x |
| Variant | ACC | SPE | PRE | SEN |
|---|---|---|---|---|
| Dataset 1 | ||||
| Full Bio-MF | 75.68 2.38 | 81.34 2.61 | 78.83 2.74 | 69.86 2.82 |
| Original 4D | 74.92 2.55 | 80.62 2.82 | 78.05 2.95 | 69.08 3.03 |
| w/o 4D PE | 74.66 3.65 | 78.61 3.91 | 76.33 4.07 | 68.69 4.12 |
| w/o CFG | 73.44 2.48 | 78.30 2.82 | 76.15 2.99 | 68.46 3.02 |
| w/o FFT | 74.05 2.40 | 79.19 2.74 | 76.92 2.84 | 69.07 2.94 |
Brain-Computer Interfaces
Brain-computer interfaces translate neural activity into commands or feedback for communication, movement, rehabilitation, and sensory restoration.
See all 130 papers