Abstract
Neuroscience research is often constrained by the fundamental trade-off between spatial and temporal resolution in brain imaging. This paper introduces SAMBA (Spatiotemporal Alignment of Multimodal Brain Activity), a novel framework designed to translate between high-temporal resolution electrophysiology (MEG/EEG) and high-spatial resolution hemodynamics (fMRI). By leveraging learnable hemodynamic response functions (HRFs), wavelet-based temporal processing, and graph attention networks, SAMBA learns a unified latent space that captures complex cognitive representations. Experimental results on naturalistic viewing datasets demonstrate that SAMBA significantly outperforms existing deep learning baselines in cross-modal translation and downstream classification tasks.
Introduction: The Resolution Trade-off
Neuroscience faces a persistent challenge: tools like Electroencephalography (EEG) and Magnetoencephalography (MEG) capture neural firing at millisecond scales but lack the spatial precision to pinpoint signal origins. Conversely, functional Magnetic Resonance Imaging (fMRI) provides high-resolution spatial maps but is limited by the slow hemodynamic response, which lags seconds behind actual neural activity.
Integrating these data sources is difficult due to their disparate spatial (sensors vs. 3D voxels) and temporal scales. SAMBA addresses this by enabling bidirectional translation: predicting fMRI scans from MEG data and vice versa, effectively bridging the gap between these two critical modalities.
The SAMBA Framework
SAMBA is a multi-modal neural network architecture designed to bridge these gaps through specialized modules that account for biological delays and brain connectivity.
The framework utilizes several key components to achieve high-fidelity translation:
- Learnable Hemodynamic Response Functions (HRFs): Instead of using a static model, SAMBA learns parcel-specific HRFs to account for regional metabolic variations across the brain.
- Attention-based Wavelet Decomposition: This module handles temporal downsampling (MEG to fMRI) by breaking signals into frequency bands and selecting the most relevant ones. A skip loss mechanism (indicated by red dashed lines in the architecture) helps preserve signal integrity across scales.
- Graph Attention Networks (GATs): GATs model functional connectivity, treating brain regions as nodes to "upsample" coarse electrophysiological data into fine-grained fMRI parcels.
- Recurrent Layers (LSTMs): These capture the temporal autocorrelations inherent in brain signals over time.
For the reverse task (fMRI to MEG), the model employs a Temporal Upsampling Module with wavelet reconstruction and a Pseudo-inverse HRF (implemented via 1D transpose convolutions) to estimate fast neural signals from slow hemodynamic data.
Experimental Setup and Results
The model was evaluated on two major naturalistic viewing datasets: StudyForrest (MEG/fMRI) and Naturalistic Viewing (EEG/fMRI). These datasets are particularly challenging as they involve complex stimuli (movie clips) rather than simple laboratory tasks.
SAMBA consistently outperformed standard deep learning baselines, including MLPs, 1D-CNNs, LSTMs, and Transformers. In MEG-to-fMRI translation, SAMBA achieved a Spearman correlation of 0.63, surpassing the next-best Transformer model (0.60).
Key Insights
- Frequency Coupling: The wavelet attention module revealed that the model relies primarily on lower frequencies (0–8 Hz), which are more closely coupled with the slow hemodynamic response.
- Biological Heterogeneity: Learnable HRF parameters highlighted significant variation across brain networks, such as differences between the somatomotor network and the parietal lobe, confirming that neurovascular coupling is not uniform.
- Representation Learning: The translation process forces the network to learn rich latent features. These representations achieved 61.58% accuracy in movie scene classification, a significant 10.54% improvement over raw data baselines.
Conclusion and Future Directions
SAMBA represents a significant step toward multimodal integration in neuroscience. While computationally intensive, it demonstrates the potential for creating "foundational models" that combine unimodal datasets into a unified framework. Future applications include clinical diagnostics, where portable EEG could be used to predict fMRI-like insights for diagnosing neurological disorders.
Summary updated