All models

pytorch_gan_acgan_generator

Class-conditional GAN whose discriminator also predicts the class label.

Diffusion and generative · 15 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 (21 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
acgan
Parameters
1.1M
Operations
15
Framework
PyTorch
Recurrent
No
Published
2016
Cited by
3,713 (as of 22 November 2026)
Authors
Augustus Odena, Christopher Olah, Jonathon Shlens
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
m8431
Graph hash
f297bae61705ecb34365e730b3937b0d12db7753a6ceca25c491b6722839ca03
Skeleton hash
ec6591ee3b244d18f17157710649dd17655e628631cf5579b9adcd04deb138d3
Architecture hash
82fa692897a5be4cb4185b35108da9534e783cd1dc4aea986ee6ab8686bdeacb
Diagram SHA-256
f8c61788ab647ae6670192a3a2db4a4019b25930a1845ca75f7b7a8f0b0867bc
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

AC-GAN is a class-conditional generative adversarial network whose discriminator doubles as a classifier. Every generated sample gets a class label as well as a noise vector, and the generator uses both. The discriminator returns both a probability over sources, real or fake, and a probability over class labels.

The objective has two parts, the log-likelihood of the correct source and of the correct class; D maximizes their sum while G maximizes the class term minus the source term. The authors call the change structurally small, but say it produces excellent results and appears to stabilize training. The model also learns a representation for z that is independent of the class label.

The paper's headline result is 128x128 ImageNet samples with global coherence. Across 1000 ImageNet classes those samples were more than twice as discriminable as samples resized to 32x32, and 84.7% of classes showed diversity comparable to real data. The paper's analysis also shows that high resolution samples carry class information absent from low resolution ones. The captured members are the PyTorch-GAN collection's ACGAN, whose author notes that model architectures will not always mirror the ones proposed in the papers, favouring the core ideas over every layer configuration.

Key idea. Label conditioning with an auxiliary class-prediction head on the discriminator, yielding 128x128 class-conditional samples across all 1000 ImageNet classes.

  • AC-GAN
  • ACGAN
  • Auxiliary Classifier GAN
  • auxiliary classifier generative adversarial network
  • conditional image synthesis
  • class-conditional GAN
  • image generation
  • PyTorch-GAN
  • StudioGAN

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

Cite the paper

@misc{odena2017conditionalimagesynthesisauxiliary,
      title={Conditional Image Synthesis With Auxiliary Classifier GANs}, 
      author={Augustus Odena and Christopher Olah and Jonathon Shlens},
      year={2017},
      eprint={1610.09585},
      archivePrefix={arXiv},
      primaryClass={stat.ML},
      url={https://arxiv.org/abs/1610.09585}, 
}