All models

erik_infogan

The InfoGAN generator from PyTorch-GAN, fed noise plus categorical and continuous latent codes.

Diffusion and generative · 43 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 (38 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

Family
infogan
Parameters
13.3M
Operations
43
Framework
PyTorch
Recurrent
No
Published
2016
Cited by
3,581 (as of 16 November 2026)
Authors
Xi Chen, Yan Duan, Rein Houthooft 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
m4679
Graph hash
61ca514f50108354bf2e4488948c20e0efd5ac3658afc52a4d6e47ee38497673
Skeleton hash
176a08a0db5fa80abcf67920402b093c9bdd070f5490c294313c69b3843f21c1
Architecture hash
88b162671b2856a85341124ed379901c06c23ef420729fe775019aa782f5f81d
Diagram SHA-256
f28c18cb549f668530e4418d299da13425c873dd9986ad4ef1c059daecd3cb84
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

About this model's family

InfoGAN is a generative adversarial network with a second objective: a small subset of its latent variables must stay predictable from the image it generates. The payoff is disentangled representations learned in a completely unsupervised manner. Mutual information is hard to optimise directly, so the paper derives a lower bound and reads the training procedure as a variation of the Wake-Sleep algorithm.

In practice the auxiliary network Q and the discriminator share all convolutional layers with one final fully connected layer, so InfoGAN adds only a negligible computation cost to GAN. On MNIST the latent codes are one categorical code with ten values and two continuous codes. Changing the categorical code switches between digits most of the time, while the continuous codes capture variations that are continuous in nature. The same machinery separates pose from lighting on rendered 3D images and finds hair styles, eyeglasses and emotions on CelebA faces.

The authors' own release requires a development version of TensorFlow. Both captured members come from the PyTorch-GAN collection, whose author warns that its architectures will not always mirror the ones proposed in the papers.

Key idea. Adding a mutual-information term between a subset of the latent variables and the generated image, which yields disentangled representations with no supervision and negligible extra cost.

  • InfoGAN
  • information maximizing GAN
  • disentangled representations
  • mutual information
  • latent codes
  • GAN
  • MNIST
  • PyTorch-GAN

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

Cite the paper

@misc{chen2016infoganinterpretablerepresentationlearning,
      title={InfoGAN: Interpretable Representation Learning by Information Maximizing Generative Adversarial Nets}, 
      author={Xi Chen and Yan Duan and Rein Houthooft and John Schulman and Ilya Sutskever and Pieter Abbeel},
      year={2016},
      eprint={1606.03657},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/1606.03657}, 
}