Functional MRI measures blood oxygenation rather than neural firing. Each voxel's signal is a delayed, smeared copy of the underlying activity: it peaks roughly 4–6 seconds after the neurons fire, and it is sampled only once every 1–2 seconds. Current systems that reconstruct watched video from fMRI treat this delay crudely. They take a fixed window of consecutive scans and let attention or upsampling sort it out, and they first flatten the brain into a list of region voxels. The delay is known to differ across the cortex, and neighboring voxels share vasculature. So the brain's own spatial layout is exactly the information needed to undo the delay reliably when the signal is noisy. We propose to learn, for every voxel, a short temporal filter that undoes its hemodynamic delay. The filter is not fitted independently per voxel, which would overfit at fMRI's low signal-to-noise ratio. Instead, a sparse 3D convolutional network reads the voxel's volumetric neighborhood and predicts the filter.
The claim is narrow and testable. If fast visual dynamics such as motion, scene cuts, and event order survive in BOLD at all, a decoder should recover them better when its temporal unmixing is learned and tied to spatial context than when it relies on a fixed lag window. We test this under an audit that forbids the video generator from using anything other than brain-derived inputs. The research question is whether volumetric context helps where it should matter most: in the time domain, rather than as a better spatial feature extractor.
Core Claim
Model the observed BOLD time series at voxel $v$ as $y_v(t) = (h_v * z_v)(t) + \epsilon_v(t)$. Here $z_v$ is the stimulus-driven neural drive we want, $h_v$ is that voxel's hemodynamic response, $*$ is convolution in time, and $\epsilon_v$ is physiological and scanner noise. The encoder estimates the drive with a learned inverse filter:
$$ \hat z_v(t) = (w_v * y_v)(t), \qquad w_v = g_\theta\big(\mathcal{N}(v)\big), $$
where $w_v$ is a filter spanning about 8 scans, $\mathcal{N}(v)$ is a local 3D patch of voxel-wise summary features around $v$, and $g_\theta$ is a sparse 3D convolutional network that emits filter coefficients. The deconvolved volume $\hat z$ then passes through a sparse 3D encoder to produce the embeddings that condition a frozen video generator.
The idea is new in where it places each ingredient. Learnable 1D temporal convolutions, the "data-driven wavelets" of raw-signal work on sEMG (Scaling and Distilling Transformer Models for sEMG) and EEG (Epileptic seizure detection with deep EEG features by convolutional neural network), become a learned hemodynamic deconvolution. Volumetric context supplies the parameter sharing that low signal-to-noise ratio demands.
Relation to Prior Work
Two groups of prior work motivate the gap. The first is the fMRI-to-video decoders. MinD-Video pretrains an encoder by masked brain modeling on 600,000 HCP segments and uses sliding-window spatiotemporal attention over several fMRI frames to absorb the lag. NeuroClips pairs a blurry-video "perception" stream with a keyframe "semantics" stream to condition a text-to-video model on cc2017. Both operate on flattened region voxel vectors, and both handle delay implicitly through a fixed multi-frame window. NeuroClips also reports degradation at rapid cross-scene transitions, which is exactly where lag handling should matter. We keep their generative back end and replace only how time is unmixed before embedding.
The second group, 4D volumetric fMRI models, supplies methods but has never been pointed at decoding. SwiFT runs windowed 4D attention on raw volumes and preserves temporal resolution early. ST-CNN chains a 3D U-Net spatial map into a 1D convolutional autoencoder. Both were evaluated on phenotypes or resting-state network maps, and neither learns a per-location temporal operator. BrainSparseCNN supplies our spatial machinery: sparse 3D convolutions over in-brain voxels only, at 5.51M parameters and about 2.9 GB of training memory. It collapses time into static connectome tensors, and our design adds time back in. FST-Mamba works on 53-component connectivity matrices and is not a voxel-space competitor, but it shows that parcellated inputs remain competitive for phenotypes. That result constrains us: we should not expect volumetric gains on slow, trait-like targets, only on fast stimulus-locked ones.
One paper constrains the evaluation. Brain-Measurable Diffusion Decoding shows that decoders can look strong through test-time oracles such as captions or best-of-N selection. It enforces brain-only inputs to a frozen generator and verifies this with a mismatch test in which swapped brain inputs drive identification to chance. That work covered static images from one subject. We extend the protocol to video, where a strong video prior can invent plausible motion on its own.
Research Program
We build the encoder in three stages. The first stage learns the filter predictor where ground truth exists: on HCP task fMRI, event timings for motor, language, working-memory and other tasks are known. We train $g_\theta$ so that the deconvolved signals $\hat z_v$ predict the task design, holding out subjects. This yields filters that can be inspected against the expected 4–6 s peak and against their variation across cortex. The second stage transfers to cc2017, a 2-second-sampling dataset of subjects watching continuous video. Here we fine-tune $g_\theta$ and a sparse 3D encoder with CLIP-space contrastive objectives on per-scan video embeddings, following the MinD-Video and NeuroClips targets. The third stage conditions NeuroClips' frozen generation pipeline on the resulting embeddings under strict brain-measurable rules: no caption or keyframe text from the stimulus, and a single sample per test item.
The analysis side asks what the filters learned. We check whether peak latency varies smoothly across the volume and whether that variation replicates across subjects. We also check whether filters in motion-sensitive occipitotemporal cortex are sharper than those in frontal regions. A filter map that is flat, or noisy and voxel-specific, would indicate the network is not using spatial context as claimed.
Baselines
The naive reference is a fixed-lag readout. We average the region voxels from the scans 2–3 frames after each video segment, which corresponds to the textbook 4–6 s peak, and map them to CLIP space by ridge regression. It then conditions the same frozen generator. Anything that fails to beat this has learned nothing about time.
The strongest existing method is NeuroClips run from its released code (NeuroClips codebase) on cc2017. The paper reports top-1 keyframe retrieval of around 22%, together with a 128% relative improvement in SSIM and 81% in spatiotemporal metrics over prior work. We rerun it with its keyframe text prompting removed, so that it faces the same brain-only constraint. We report both its published and its audited numbers, since the gap between them is itself a result. MinD-Video is a second strong competitor. The file cites 85% 50-way top-1 semantic accuracy for it, but I found no reported cc2017 result on Lacuna I can attach to that figure with confidence, so we will rerun it rather than quote it. A 4D volumetric competitor is SwiFT's encoder, pretrained with its contrastive objectives and fine-tuned to the same CLIP targets. It tests whether generic 4D attention already captures what our explicit filters do. No reported decoding result was found on Lacuna for SwiFT.
Three ablations isolate the key ingredient. The first uses one learned filter shared by all voxels. The second learns an independent free filter per voxel with no spatial sharing. The third varies filters by atlas region rather than by 3D neighborhood. Every system gets the same subjects, splits, frozen generator, and HCP pretraining data where it can use it. Each also gets an equal hyperparameter search budget of 30 configurations and the option of whole-brain rather than region-only voxels, so that volumetric input coverage is not confounded with architecture. Beating the field means two things under the audit. The model must exceed audited NeuroClips on keyframe retrieval and on the temporal tests below, and it must beat all three ablations on the temporal-order test with a subject-level confidence interval excluding zero.
Why not just…?
Why not just use a fixed lag window, as the textbook and current decoders do? If the hemodynamic delay were uniform, a fixed window would be nearly optimal, and our method would reduce to it. The fixed-lag ridge baseline and audited NeuroClips measure this directly. The HCP stage also tells us beforehand whether learned latencies vary enough to matter. If the learned filter maps are flat, we stop claiming a temporal advantage and report that negative result.
Why not just learn a free temporal filter for every voxel? This is the obvious "automated feature extraction" move, and it is the real alternative to spatial sharing. The risk is overfitting. The low-SNR literature shows that networks trained directly on raw neural signals fit transient noise (Achieving more human brain-like vision via human EEG representational alignment.; EEG2Rep). cc2017 offers only 18 eight-minute training clips per subject. The per-voxel ablation settles this empirically, and if it matches our model, the volumetric component is unnecessary for the temporal claim.
Why not just use SwiFT or another 4D transformer end to end? Windowed 4D attention could in principle learn delay variation implicitly. It preserves temporal resolution early and has shown strong phenotype results, for example a 2.36-year age error on HCP. It has never been tested on stimulus decoding, however, and implicit mixing gives no inspectable filters. This is a genuine threat. If the SwiFT encoder matches us on the temporal tests, our contribution shrinks to interpretability. The head-to-head is run under an equal budget.
Why not just keep region-voxel MLPs and add more frames? Flattened region inputs discard neighborhood structure, but this matters here only if neighborhoods predict delay. The region-level-filter ablation and the whole-brain versions of the region baselines separate "more voxels" from "3D context".
Proposed Experiments
The decisive check is a temporal-order test that semantics alone cannot pass. For held-out cc2017 segments spanning scene cuts, we ask whether the brain-derived embedding sequence identifies the true clip over the same clip reversed or with its segments shuffled. Content is identical in each case, so only temporal information counts. We add a lag-sweep version that shifts the brain data relative to the stimulus by ±1–3 scans, and a correct model should peak at zero shift. Next comes the mismatch test from the brain-measurable audit: swapping brain inputs across clips must collapse retrieval and temporal-order accuracy to chance, and a system that stays above chance is being driven by the video prior.
Secondary metrics are keyframe top-1 retrieval, SSIM, and NeuroClips' spatiotemporal metric, all under the audit. We also report accuracy separately for segments within a scene and segments containing a cut, since cuts are where NeuroClips degrades. On HCP, task-design prediction on held-out subjects checks that the learned filters generalize before any video training. If the Algonauts 2021 video data provide raw time series rather than single per-clip responses, we additionally test whether learned filters improve encoding. The reported AlexNet baseline there is a noise-normalized R of 0.3673 in key visual regions.
The idea is supported if three things hold together. The model must beat the fixed-lag, per-voxel, and region-level ablations on temporal order. The mismatch test must collapse it to chance. And its filter maps must replicate across subjects. It is refuted if the SwiFT encoder or free per-voxel filters match it on temporal order.
References
- Scaling and Distilling Transformer Models for sEMG
- Cinematic Mindscapes: High-quality Video Reconstruction from Brain Activity
- NeuroClips: Towards High-fidelity and Smooth fMRI-to-Video Reconstruction
- SwiFT: Swin 4D fMRI Transformer
- Modeling 4D fMRI Data via Spatio-Temporal Convolutional Neural Networks (ST-CNN)
- Predicting Task fMRI Contrasts from Resting-State fMRI Using Sparse 3D Convolutions
- Hierarchical Spatio-Temporal State-Space Modeling for fMRI Analysis
- Brain-Measurable Diffusion Decoding: Auditing Information Provenance in fMRI Reconstruction
- Achieving more human brain-like vision via human EEG representational alignment.
- EEG2Rep: Enhancing Self-supervised EEG Representation Through Informative Masked Inputs