All models

fMRI Encoder-Decoder GAN

Stage one of Dual-VAE/GAN: an image-to-image VAE/GAN that prepares visual guidance for fMRI decoding.

Diffusion and generative · 40 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 (52 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
33.7M
Operations
40
Framework
PyTorch
Recurrent
No
Published
NeuroImage 2021
Cited by
4 (as of 27 October 2026)
Authors
Ziqi Ren, Jie Li, Xuetong Xue and others
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
m21614
Graph hash
90c9b9005cc87ca45e906dd4da1c5f5c4d0398c54b7b2706a4a54e417581b2d3
Skeleton hash
cc0197e23f2a134c2d63e458e228827a4feffe96d7998faabb0dc296a03a40a5
Architecture hash
1c7822d9fd58dbeb0a1081776889063e1b85ecc2409778e0069609aa45fec210
Diagram SHA-256
efdca2f493186fd5b12a32af5e9e429d5289e2ac8f81dfe5961314b54267f202
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

This model is the first training stage of the Dual-VAE/GAN framework, which reconstructs images from fMRI recordings of human brain activity. At this stage the network performs image-to-image mapping, which provides the visual feature guidance for the fMRI encoding used in the second stage. The repository trains this stage on the MS COCO dataset.

The framework comes from a paper that names it Dual-Variational Autoencoder/Generative Adversarial Network (D-VAE/GAN). The paper names two obstacles: fMRI signals and visual images differ in distribution and representation, and fMRI data is very high-dimensional and contains much visually irrelevant information. Its approach is to learn visually-guided cognitive latent representations from the fMRI signals and decode them back to the image stimuli. A three-stage learning approach lets the cognitive encoder gradually distill knowledge from the paired visual encoder.

The code belongs to a project on image reconstruction from human brain activity, motivated by the domain adaptation challenge between visual and fMRI data. That project works with the fMRI recordings of the BOLD5000 dataset.

Key idea. The paper built D-VAE/GAN, which learns visually-guided latent representations from fMRI signals and decodes them into the seen images, trained in three stages.

  • d-vae/gan
  • dual-vae/gan
  • fmri encoder-decoder gan
  • dual-variational autoencoder generative adversarial network
  • fmri image reconstruction
  • image reconstruction from brain activity
  • brain decoding
  • visual feature guidance
  • bold5000

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

Cite the paper

@misc{ren2019reconstructingperceivedimagesbrain,
      title={Reconstructing Perceived Images from Brain Activity by Visually-guided Cognitive Representation and Adversarial Learning}, 
      author={Ziqi Ren and Jie Li and Xuetong Xue and Xin Li and Fan Yang and Zhicheng Jiao and Xinbo Gao},
      year={2019},
      eprint={1906.12181},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1906.12181}, 
}