Abstract The blood oxygen level-dependent (BOLD) signal in functional neuroimaging suffers from magnetic susceptibility artifacts and interference from metal implants. The resulting signal loss hampers functional neuroimaging studies and can lead to misinterpretation of findings. Here, we reconstructed compromised BOLD signal using deep machine learning. We trained a deep learning model to learn principles governing BOLD activity in one dataset and reconstructed artificially-compromised regions in another dataset, frame by frame. Strikingly, BOLD time series extracted from reconstructed frames were correlated with the original time series, even though the frames did not independently carry information about BOLD fluctuations through time. Moreover, reconstructed functional connectivity (FC) maps exhibited good correspondence with the original FC maps, indicating that the deep learning model recovered functional relationships among brain regions. We replicated this result in patients whose scans suffered signal loss due to intracortical electrodes. Critically, the reconstructions captured individual-specific information rather than group information learned during training. Deep machine learning thus presents a unique opportunity to reconstruct compromised BOLD signal while capturing features of an individual’s own functional brain organization.
The Challenge of Signal Dropout in fMRI
Functional Magnetic Resonance Imaging (fMRI) is a cornerstone of modern neuroscience, allowing researchers to map brain activity by measuring the BOLD signal. However, this signal is notoriously fragile. Magnetic susceptibility artifacts—often occurring near air-tissue interfaces like the sinuses or around surgical implants—cause significant signal dropout. For patients with Parkinson’s disease or epilepsy who require Deep Brain Stimulation (DBS) electrodes or intracranial monitors, these "blind spots" in the data can obscure critical neural networks and lead to the misinterpretation of functional connectivity.
Until recently, there were no effective post-processing methods to accurately "fill in" or inpaint this missing data. Traditional interpolation methods fail to capture the complex, dynamic nature of neural activity. This study introduces a novel approach using deep machine learning to reconstruct these lost signals by leveraging the inherent spatial relationships within the brain.
Methodology: Deep Learning for BOLD Inpainting
The researchers adapted a Deep Convolutional Generative Adversarial Network (DCGAN) to perform cortical inpainting. The process involves two primary phases: training and reconstruction.
During the Training phase, the model was exposed to thousands of intact BOLD frames from the Brain Genomics Superstruct Project (GSP). The Generator learned to synthesize realistic snapshots of cortical activity, while the Discriminator learned to distinguish these synthetic frames from real fMRI data.
In the Reconstruction phase, the model addresses compromised scans frame-by-frame. For each frame with missing data, the system searches the model's "latent space" for a vector that generates an image matching the intact portions of that specific frame. The missing pixels are then filled in using the Generator's output. Crucially, the model treats each frame as an independent spatial event, meaning it does not use temporal history to guess the next state; instead, it relies on the spatial context of the rest of the brain to infer the missing signal.
Key Results and Validation
The study validated the model using both healthy participants with simulated signal loss and clinical patients with real signal interference from DBS electrodes.
Spatial-Temporal Linkage
One of the most striking findings was that frame-by-frame spatial reconstruction successfully recovered temporal dynamics. Reconstructed BOLD time series showed significant positive correlations with the original, uncorrupted signals (e.g., $r = 0.33$ to $0.37$). This suggests that the spatial distribution of activity across the brain at any single moment contains sufficient information to infer the activity level within a missing region.
Functional Connectivity (FC)
The model excelled at restoring functional connectivity maps. The similarity between reconstructed and original FC maps was remarkably high, with correlation coefficients ranging from $r = 0.60$ to $0.79$. In Parkinson's patients, the AI restored connectivity maps that were severely degraded by electrode interference, achieving a similarity of $r \approx 0.61$ to pre-operative "ground truth" scans, compared to only $r \approx 0.38$ for the corrupted raw data.
Individual Specificity
A critical concern with generative models is "hallucination"—the tendency to produce a generic, average brain map rather than an individual-specific one. However, the researchers found that reconstructed maps were significantly more similar to the participant's own original data than to a group average or even to their most similar peer in the training set. The model effectively recovers the unique functional "fingerprint" of the individual.
Discussion and Future Directions
While the results are promising, the study notes several limitations. The current model operates on 2D flattened cortical surface maps; moving to 3D whole-brain reconstruction is a necessary next step that will require more computational resources. Additionally, because the model is "temporally blind," future iterations could incorporate Recurrent Neural Networks (RNNs) or Transformers to leverage causal interactions across time.
Despite these hurdles, this deep learning approach represents a significant leap forward. It offers a unique opportunity to salvage data from clinical populations that were previously excluded from high-quality functional neuroimaging research, ensuring that patients with life-saving implants can still benefit from advanced neural mapping.
Summary updated