Deep image reconstruction from human brain activity

Guohua Shen, Tomoyasu Horikawa, Kei Majima, Yukiyasu Kamitani

Abstract

Visualizing the internal contents of the human mind has been a long-standing goal in neuroscience. While previous research has successfully decoded basic visual features or matched brain activity to existing image databases, true reconstruction of arbitrary visual stimuli remains a significant challenge. This paper presents a novel "deep image reconstruction" framework that leverages the hierarchical representations of Deep Neural Networks (DNNs) to translate functional Magnetic Resonance Imaging (fMRI) signals into recognizable images. By iteratively optimizing pixel values to match decoded DNN features, the method reconstructs both seen images and subjective mental imagery. Our results demonstrate that the hierarchical synergy of DNN layers allows for the capture of both low-level spatial details and high-level semantic meaning, providing a powerful tool for objectifying internal visual experiences.

1. Introduction

The human visual system is organized hierarchically, processing information from simple edges in the primary visual cortex (V1) to complex objects and categories in higher-order areas like the fusiform face area (FFA). Reconstructing this visual experience from brain activity—essentially "reading the mind's eye"—requires a model that can account for this multi-level complexity.

Historically, brain decoding efforts have fallen into two categories. Low-level reconstruction methods used simple image bases to recreate basic shapes or pixel-wise patterns. While effective for simple stimuli, these methods often failed to capture the semantic essence of complex natural scenes. Conversely, exemplar matching methods compared brain activity against a pre-defined library of images to find the closest match. While producing high-quality images, these systems were limited by their training sets; they could not reconstruct an image that was not already in their database.

This paper introduces a breakthrough by using DNNs as a functional proxy for the human visual hierarchy. By mapping brain activity to the internal feature spaces of a DNN, the researchers developed a method capable of true, generalized image reconstruction.

2. Methodology

The core of the proposed framework is "Deep Image Reconstruction," which consists of three primary components: feature decoding, iterative optimization, and the application of a natural image prior.

2.1 Feature Decoding

The researchers trained linear regression models (decoders) to map fMRI activity patterns to the specific feature activations of a pre-trained DNN (specifically, the VGG19 architecture). This training was performed while subjects viewed a large set of natural images. Because VGG19 is organized hierarchically, the decoders learned to translate brain signals into features ranging from simple textures in early layers to complex object parts in deeper layers.

2.2 Iterative Optimization

The reconstruction process itself uses an iterative optimization technique. Starting from a neutral initial state (such as gray noise), the system uses gradient descent to update pixel values. The objective function is to minimize the difference between the DNN features of the generated image and the features decoded from the subject's brain activity. This allows the system to synthesize an image that "looks" like what the brain is seeing at multiple levels of abstraction simultaneously.

2.3 Natural Image Prior

To enhance the visual quality and recognizability of the results, the authors optionally integrated a Deep Generator Network (DGN) as a "natural image prior." This GAN-based component constrains the optimization process to the manifold of natural-looking images, helping to "fill in the blanks" where brain signals might be noisy or incomplete. This ensures the output resembles real-world objects rather than abstract patterns.

3. Experimental Setup and Datasets

The study utilized several distinct datasets to test the robustness and generalization of the model:

  • Natural Images: 1,200 images from ImageNet were used for decoder training, with a separate set of 50 images for testing.
  • Artificial Shapes: 40 combinations of 5 basic shapes (e.g., square, cross) and 8 colors were used to test if the model could generalize beyond its natural-image training.
  • Alphabetical Letters: 10 black letters forming the word "NEURON" were used to test high-contrast, symbolic reconstruction.
  • Mental Imagery: Subjects were asked to "recall" or imagine specific natural and artificial images without any physical stimulus, allowing the researchers to test the decoding of purely internal states.

4. Results

4.1 Reconstruction of Seen Images

Reconstructions of natural images were highly recognizable. In behavioral tests, human raters were able to correctly identify the original stimulus from a pair 97.0% of the time when using DGN-assisted reconstructions. The synergy of low-level layers (providing spatial structure) and high-level layers (providing semantic identity) proved essential for this success.

4.2 Generalization to Artificial Stimuli

The model's ability to generalize was particularly impressive. Despite being trained only on natural images, it successfully reconstructed artificial shapes and even spelled out the word "NEURON" from brain activity. This indicates that the mapping between the brain and the DNN feature space captures fundamental principles of visual representation rather than just memorizing specific image categories.

4.3 Decoding Mental Imagery

Perhaps most significantly, the method provided rudimentary reconstructions of mental imagery. While these images were noisier and less detailed than those generated from "seen" stimuli—likely due to the lower signal-to-noise ratio of top-down neural activity—they still captured the basic structure and category of the imagined objects. This represents a significant step toward objectifying subjective internal states.

5. Discussion and Limitations

While a major step forward, the study identified several key limitations. One notable finding was "luminance inversion," where the system occasionally produced "negative" images (inverted colors or brightness). This suggests that current fMRI signals may not perfectly represent absolute pixel luminance as perceived by the brain.

Additionally, the system showed a bias toward the training data. Because ImageNet primarily features centered objects, the reconstruction struggled with off-center compositions or non-object-oriented scenes like textures and wide landscapes. The difference in quality between seen and imagined reconstructions also highlights the challenge of decoding "top-down" signals, which involve different neural mechanisms than direct perception.

6. Conclusion

Deep image reconstruction represents a significant leap in our ability to externalize human visual experience. By leveraging the hierarchical nature of deep neural networks, this framework provides a generalized method for translating brain activity into recognizable visual forms. The authors suggest this framework could be extended to other modalities, potentially decoding brain activity into movies, sounds, or even text by using different DNN architectures. Beyond its applications in basic neuroscience, this technology holds potential for future communication interfaces and the objective study of subjective phenomena like dreams and hallucinations.

Summary updated

BibTeX
@article{shen2019deep,
  author = {Guohua Shen and Tomoyasu Horikawa and Kei Majima and Yukiyasu Kamitani},
  title = {{Deep image reconstruction from human brain activity}},
  journal = {PLOS Computational Biology},
  year = {2019},
  doi = {10.1371/journal.pcbi.1006633},
}
Figure