All models

IntroVAE

Variational autoencoder trained adversarially against its own encoder to synthesize high-resolution images.

Diffusion and generative · 166 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 (16 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
49.4M
Operations
166
Framework
PyTorch
Recurrent
No
Published
NeurIPS 2018
Cited by
227 (as of 28 October 2026)
Authors
Huaibo Huang, zhihang li, Ran He and others
License
MIT
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
m17601
Graph hash
f2edffc9dde20c7b14ab7e6631ce3449c44c2823cfb5c977d6f26e9311d1f18a
Skeleton hash
033dfd08ba2202b5d1a2683709685368b530ede1676b52efec737c71e8527364
Architecture hash
ec22d5eaf238c3e449f2785b0cb84bf7038e8e6ae057f63ff284d1e22f99ad9b
Diagram SHA-256
9ae4f2b047d41f5be5c628d8d9298c440368e224a71e04ca94b3ef48d18d2512
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

IntroVAE (introspective variational autoencoder) is a model for synthesizing high-resolution photographic images. It trains a VAE so that the model itself estimates how its generated images differ from real ones, with no separate discriminator. The VAE's inference model, its encoder, takes the role of a GAN discriminator, and the VAE's generator takes the role of the GAN generator. As the paper puts it, the model acts like a standard VAE for real data and like a GAN when handling generated samples.

The two networks are designed like the discriminator and generator in PGGAN, with residual blocks added to speed up training convergence. Like other VAEs, the inference model has two output vectors, a mean and a covariance. For images at 1024 × 1024 the latent code has 512 dimensions.

Where PGGAN is trained progressively in multiple stages, the paper trains a single inference model and a single generator in a single stage. In its quantitative comparison the paper reports performance comparable to or better than PGGAN. The PyTorch code provides default parameters for CelebA-HQ faces at 256x256 and 1024x1024 resolutions.

Key idea. IntroVAE trains a VAE introspectively, using its own inference model as the discriminator, so a single-stream network synthesizes high-resolution images in a single stage.

  • IntroVAE
  • Introspective Variational Autoencoder
  • IntrospectiveVAE
  • introspective VAE
  • high-resolution image synthesis
  • photographic image synthesis
  • VAE GAN hybrid
  • CelebA-HQ
  • image generation

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

Cite the paper

@misc{huang2018introvaeintrospectivevariationalautoencoders,
      title={IntroVAE: Introspective Variational Autoencoders for Photographic Image Synthesis}, 
      author={Huaibo Huang and Zhihang Li and Ran He and Zhenan Sun and Tieniu Tan},
      year={2018},
      eprint={1807.06358},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/1807.06358}, 
}