A generative framework for unified representations bridging electrophysiological and haemodynamic brain activity
Authors: Weiheng Yao, Changhong Jing, Xuhang Chen, Chi-Man Pun, Michael Kwok-Po Ng, Shuqiang Wang
Organizations: Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences, Shenzhen, 518055, Guangdong, China. · Department of Computer and Information Science, University of Macau, Macau, 999078, China. · Department of Mathematics, Hong Kong Baptist University, Hong Kong, 999077, China.
Electrophysiological and haemodynamic recordings resolve brain activity at complementary temporal and spatial scales, yet paired acquisition remains difficult to scale. We propose a generative framework that aligns paired multimodal recordings in a unified representation space and generates modality-specific haemodynamic responses from EEG. In paired cohorts, the framework generated fMRI BOLD and fNIRS haemoglobin responses that reproduced regional dynamics, cortical maps, functional connectivity and task structure. Generated BOLD followed Real BOLD time courses and cortical patterns, while Generated haemoglobin responses tracked task-evoked HbO and HbR dynamics. The framework enabled decoding across visual, motor-imagery and mental-arithmetic tasks, independent-record decoding, external BOLD localization and low-sample augmentation. Paired feature-space calibration supported bidirectional retrieval. The proposed framework extends cortical analysis and brain decoding to EEG recordings when Real haemodynamic data are sparse.
Figures & tables
Figure 1: Generative framework for unified representations bridging electrophysiological and haemodynamic brain activity. a, EEG records scalp electrical potentials, fMRI detects BOLD contrast through magnetic resonance, and fNIRS estimates HbO and HbR responses through optical absorption. The anatomical surface of the head was adapted from Servier Medical Art by Servier under the Creative Commons Attribution 3.0 Unported licence. b, Pre-trained feature extraction models and modal patch embedders project electrophysiological and haemodynamic inputs into heterogeneous spaces. Hyperdimensional integration aligns these spaces in a conjugate representation. A generative model within the unified representation module produces target-domain codes, and modal unpatchers project the codes back to fMRI BOLD and fNIRS haemoglobin outputs. c, Generated BOLD reproduces spatiotemporal cortical activity patterns and follows Real BOLD time courses more closely than noise controls. Spatial Pearson r and the structural similarity index measure cortical-map correspondence. d, Downstream applications include brain decoding, data-imbalance mitigation and missing-modality completion.
Figure 2: BOLD generation captures response dynamics and task structure. a, Generated BOLD maps at 6 and 10 s are displayed alongside Real fNIRS haemoglobin response fields averaged over 5 to 7 and 9 to 11 s, respectively. b, Real BOLD and Generated BOLD time courses are shown in occipital and precuneus regions from three participants. c, Temporal Pearson r compares Generated BOLD with shifted-input, phase-randomized and shuffled-pair controls. d, Generated minus control differences quantify gains attributable to the calibrated source-target pairing. e, Regional-relative r evaluates structure beyond a shared global component. f, Whole-signal temporal standard deviation compares Real BOLD and Generated BOLD. g, ROI-level temporal standard deviation compares Real BOLD and Generated BOLD in two representative regions. h, Balanced accuracy compares Real BOLD features, Generated BOLD features and shuffled BOLD features in the same decoding analysis. Panels c to f and h summarize 21 participants, and panel g summarizes 141 recordings. Boxes show median, interquartile range and 1.5-IQR whiskers. Two-sided participant-level sign-flip tests with Holm correction were used for paired contrasts. Stars denote corrected significance levels with ∗P<0.05 , ∗∗P<0.01 , ∗∗∗P<0.001 and ∗∗∗∗P<0.0001 .
Figure 3: Generated BOLD supports cortical mapping and connectome analysis. a, Key regions from Real BOLD maps, Generated BOLD maps and their shared overlap are shown for four tasks. b, Cortical functional-connectivity profiles compare Real-Generated correspondence with the Real-noise reference. c, Real BOLD cortical activity maps and Generated BOLD cortical activity maps are displayed in lateral and medial views for three participants. d, Real BOLD functional-connectivity matrices and Generated BOLD functional-connectivity matrices are shown for the same participants. e, SHAP values summarize frequency-band contributions to visual-task decoding from band-conditioned Generated BOLD. Boxes show median, interquartile range and 1.5-IQR whiskers.
Figure 4: Haemoglobin generation supports task-evoked fNIRS analysis and paired target-domain use. a, Real fNIRS haemoglobin waveforms and Generated fNIRS haemoglobin waveforms show response correspondence for left motor imagery and right motor imagery in HbO and HbR. Correlations between Real fNIRS and noise provide the reference control. b, Generated fNIRS haemoglobin response fields align with Real BOLD activation patterns across Tasks 5 to 8. c, Balanced accuracy compares Real, cross-shuffle, within-shuffle, EEG template and Generated conditions for motor imagery and mental arithmetic. d, Spatial Pearson r quantifies motor-imagery and mental-arithmetic response-map correspondence. e, Recall at rank 1 evaluates paired retrieval between EEG features and the BOLD response space or the haemoglobin response space. f, Empirical coverage evaluates calibrated prediction intervals in the BOLD and haemoglobin response spaces. g, Balanced accuracy evaluates cross-domain decoding across the same feature and response spaces. E, B and N denote EEG, BOLD and fNIRS haemoglobin spaces. Boxes show median, interquartile range and 1.5-IQR whiskers. Paired response contrasts used two-sided participant-level sign-flip tests. Retrieval and directional decoding used one-sided condition-matched null tests. Holm correction was applied within each analysis family. Stars denote corrected significance levels with ∗P<0.05 , ∗∗P<0.01 , ∗∗∗P<0.001 and ∗∗∗∗P<0.0001 .
Figure 5: Generated target-domain features support calibrated decoding and localization. a, Four-condition visual-task accuracy compares EEG features, Generated BOLD features, EEG features combined with Generated BOLD features and Real BOLD features under correct and permuted labels in 19 participants. The dotted line denotes 25% chance. b, Three-condition independent-record accuracy compares the same feature sets under correct and permuted labels in 20 participants. The dotted line denotes 33.3% chance. c, An external localization application displays representative BOLD response regions obtained by applying a NODDI-trained EEG-fMRI interface to Parkinson EEG inputs. Boxes show median, interquartile range and 1.5-IQR whiskers. Violins show participant distributions, with internal lines marking the median and quartiles. Correct-label and permuted-label contrasts used two-sided participant-level sign-flip tests with Holm correction. Stars denote corrected significance levels with ∗P<0.05 , ∗∗P<0.01 , ∗∗∗P<0.001 and ∗∗∗∗P<0.0001 .
Figure 6: Generated target-domain augmentation improves low-sample brain decoding. a to d, Target-class F1 is shown for Task 5, Task 6, Task 7 and Task 8, respectively, under imbalanced training, Generated augmentation, class weighting, jittering and class template augmentation. Each scenario starts from a low-sample target task and matched higher-sample non-target tasks. e, Generated minus imbalanced differences summarize target-class F1 gains in percentage points for Task 5 to Task 8 in the same order. f, Precision compares imbalanced and Generated training for each task. Violins show participant distributions, with dashed lines marking the median and quartiles. Boxes show median, interquartile range and 1.5-IQR whiskers. Generated and imbalanced conditions were compared with two-sided participant-level sign-flip tests and Holm correction. Stars denote corrected significance levels with ∗P<0.05 , ∗∗P<0.01 , ∗∗∗P<0.001 and ∗∗∗∗P<0.0001 .