
ganzoo_fc_discriminator
Diffusion and generative7 ops267K params
5 models, diffusion and generative. Fewest parameters first.
This is the original generative adversarial network in its plainest form, with a generator and a discriminator that are both multilayer perceptrons. Two models are trained at once: a generative model G that captures the data distribution and a discriminative model D that estimates the probability that a sample came from the training data rather than from G. The generator is trained to maximize the probability of the discriminator making a mistake, which makes the whole thing a minimax two-player game.
The paper's own picture is a team of counterfeiters against the police, each side improving until the fakes cannot be told from the genuine article. With enough capacity there is a unique solution in which G recovers the data distribution and D outputs 1/2 everywhere. Training needs only backpropagation, with no Markov chains or unrolled approximate inference. The paper warns that D must stay synchronized with G to avoid the Helvetica scenario, in which G collapses too many values of z onto the same output.
The original experiments ran on MNIST, the Toronto Face Database and CIFAR-10. The generator nets mixed rectifier and sigmoid activations while the discriminator used maxout, with dropout applied to the discriminator in training. The authors' original release is research code from an academic lab, offered with absolutely no support. One captured member is the vanilla GAN of the PyTorch-GAN collection, whose author notes that model architectures will not always mirror the ones proposed in the papers, favouring the core ideas over every layer configuration.
AI-written summary; not reviewed by a person. Corrections welcome.

Diffusion and generative7 ops267K params

Diffusion and generative8 ops293.1K params

Diffusion and generative9 ops716.6K params

Diffusion and generative14 ops1.5M params

Diffusion and generative14 ops14.3M params