All models

Mind-Reader

An fMRI-to-image pipeline that maps brain signals into CLIP space and generates the image with a conditional StyleGAN2.

Neuroscience signals · 1,121 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (34 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
46.2M
Operations
1,121
Framework
PyTorch
Recurrent
No
Published
NeurIPS 2022
Cited by
56 (as of 30 October 2026)
Authors
Sikun Lin, Thomas Sprague, Ambuj K Singh
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m18453
Graph hash
ff22bba1d1e5869fac80fc00856045c0c744148535748fb49bdb8f3b6c7e3593
Skeleton hash
e9c1f4aa82e0fe30fe56745b9140ae602bb614accbe0139730b92684ba84f64a
Architecture hash
744a27b1cd0267746a9ff815f5d57d30e512896713ce878d569bcce435f86746
Diagram SHA-256
ce3761d654840441346aa73fc5c0d32a0bec66c9f4a4489d821fc0ee6f7a4a65
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

Mind Reader reconstructs the images a person was shown from fMRI recordings of their brain activity. Where earlier work reconstructed images of single objects or simple shapes, this paper aims at stimuli that are rich in semantics and closer to everyday scenes. The paper names the scarcity of fMRI data as the main obstacle to applying deep learning models to the problem.

The authors find that adding a text modality helps, compared with translating brain signals directly to images. Rather than learning a shared latent space from scratch, the method encodes fMRI signals into an aligned vision-language latent space pre-trained on massive datasets. A generative model conditioned on embeddings in that space then reconstructs the image.

The README identifies the latent space as the pretrained CLIP embedding space. The mapping model from fMRI is defined in the code as fmri_clip_res. The conditional generative model is a modified StyleGAN2. The paper describes the reconstructed images as photo-realistic and as capturing the ground truth image contents well.

Key idea. The paper reconstructs complex images from fMRI by encoding brain signals into a pre-aligned vision-language latent space and conditioning a generative model on those embeddings.

  • Mind Reader
  • Mind-Reader
  • fMRI image reconstruction
  • brain decoding
  • fMRI to image
  • reconstructing images from brain activity
  • image stimulus reconstruction
  • vision-language latent space

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{lin2022mindreaderreconstructingcomplex,
      title={Mind Reader: Reconstructing complex images from brain activities}, 
      author={Sikun Lin and Thomas Sprague and Ambuj K Singh},
      year={2022},
      eprint={2210.01769},
      archivePrefix={arXiv},
      primaryClass={q-bio.NC},
      url={https://arxiv.org/abs/2210.01769}, 
}