Brain2Pix: Fully convolutional naturalistic video reconstruction from brain activity

Lynn Le, Luca Ambrogioni, Katja Seeliger, Yağmur Güçlütürk, Marcel van Gerven, Umut GüçlübioRxiv 2021

Abstract

Reconstructing complex and dynamic visual perception from brain activity remains a major challenge in machine learning applications to neuroscience. Here we present a new method for reconstructing naturalistic images and videos from very large single-participant functional magnetic resonance imaging data that leverages the recent success of image-to-image transformation networks. This is achieved by exploiting spatial information obtained from retinotopic mappings across the visual system. More specifically, we first determine what position each voxel in a particular region of interest would represent in the visual field based on its corresponding receptive field location. Then, the 2D image representation of the brain activity on the visual field is passed to a fully convolutional image-to-image network trained to recover the original stimuli using VGG feature loss with an adversarial regularizer. In our experiments, we show that our method offers a significant improvement over existing video reconstruction techniques.

Introduction

For decades, neuroscientists have sought to "read" the human mind—specifically, to reconstruct what a person is seeing based on their neural activity. While decoding static images has seen significant progress, reconstructing naturalistic video remains a formidable challenge due to two primary factors:

  1. Temporal Lag: fMRI measures the Blood Oxygenation Level Dependent (BOLD) signal, which is a slow, indirect proxy for neural firing, lagging several seconds behind the actual visual stimulus.
  2. Spatial Complexity: The visual cortex is a 3D structure that processes a 2D visual world. Traditional models often treat brain voxels as a flat list of features, ignoring the "topography"—the biological mapping where specific brain regions correspond to specific locations in the visual field.

Brain2Pix addresses these challenges by leveraging the inherent spatial organization of the brain to feed modern computer vision algorithms.

Methods

The core innovation of Brain2Pix is the creation of RFSimages (Receptive Field Signal images), which transform 3D brain data into a format suitable for deep learning.

From Voxels to Pixels

Instead of feeding raw brain data into a neural network, the researchers utilized "retinotopic mapping." By determining which part of the visual field each voxel in the early visual cortex (areas V1, V2, and V3) represents, they projected voxel activity onto a 2D grid. This creates a "brain-eye view" of the visual stimulus.

The Image-to-Image GAN

Once the brain data is represented as a 2D image, the reconstruction becomes an image-to-image translation task. The architecture, shown in Figure 1, consists of a Generator (G) that translates messy RFSimages into realistic video frames and a Discriminator (D) that distinguishes between reconstructed frames and original stimuli.

Figure 1: The Brain2Pix architecture. fMRI voxels are mapped to 2D RFImages based on receptive fields, then processed by a GAN (Generator G and Discriminator D) using VGG feature loss and Binary Cross Entropy (BCE) loss.

Loss Function

To ensure reconstructions match the original stimuli, the model employs a VGG feature loss. Rather than simple pixel-wise comparison, the model is optimized to match high-level features (shapes, textures) identified by a pre-trained VGG network, regularized by an adversarial loss.

Datasets

The study utilized a massive, high-quality public fMRI dataset where one participant watched 30 full episodes of the BBC series Doctor Who.

  • Training Set: Approximately 119,000 video frames paired with brain activity.
  • Test Set: 7 short clips watched repeatedly to ensure a high signal-to-noise ratio for evaluation.

Key Insights

  • Topography as a Prior: By converting 3D brain data into 2D images based on receptive fields, the model leverages biological organization. This allows convolutional layers to focus on local features rather than learning spatial mappings from scratch.
  • Regional Synergy: The study found that V1 (primary visual cortex) excels at sharp details, while V2 and V3 capture global structure and color. Combining these regions (V1-V3) yielded optimal results.
  • Robust Mapping: Both "fixed" and "learned" (trainable) voxel-to-pixel mappings performed well, suggesting that the basic biological map provides sufficient information for the GAN to reconstruct the stimulus.

Results

Brain2Pix significantly outperformed previous state-of-the-art methods across both qualitative and quantitative measures.

Qualitative Performance

As shown in Figure 2, the reconstructions successfully captured head shapes, silhouettes, facial expressions, and specific objects. The transitions between frames were smooth, resulting in a coherent video stream rather than disjointed images.

Figure 2: Qualitative results showing ground truth (GT) video frames and their corresponding Brain2Pix reconstructions (Recon.) across various scenes.

Quantitative Performance

The model achieved higher Pearson correlation scores and lower Euclidean distances compared to baselines when evaluated across multiple layers of AlexNet and C3D (a video-processing network), indicating superior feature-level reconstruction.

Limitations and Future Work

Despite its success, Brain2Pix faces several hurdles:

  • Signal-to-Noise Ratio: Optimal results currently require averaging brain activity over multiple viewings. Achieving high-quality, single-shot reconstruction remains a future goal.
  • Semantic Gap: The current model relies on early visual areas (V1-V3) which process low-level features. Incorporating higher-level brain regions (temporal/parietal lobes) will be necessary to capture the semantic meaning of scenes.
  • Individual Variability: The model is participant-specific. Due to individual differences in brain topography, cross-subject generalization requires further research into neural alignment techniques.

Summary updated

BibTeX
@misc{le2021brain,
  author = {Lynn Le and Luca Ambrogioni and Katja Seeliger and Yağmur Güçlütürk and Marcel van Gerven and Umut Güçlü},
  title = {{Brain2Pix: Fully convolutional naturalistic video reconstruction from brain activity}},
  year = {2021},
  doi = {10.1101/2021.02.02.429430},
  howpublished = {bioRxiv},
}
Figure