
FirstGAN-MLP-MNIST-Discriminator
Diffusion and generative13 ops1.2M params
The original generative adversarial net: a generator and a discriminator trained against each other.
Diffusion and generative · 14 operations Checked
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.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
The generative adversarial net, or GAN, is a framework for estimating generative models by training two models at once: a generator G that captures the data distribution and a discriminator D that estimates whether a sample came from the training data rather than G. The generator is trained to maximize the probability of the discriminator making a mistake. This sets up a minimax two-player game. The paper likens the generator to a team of counterfeiters trying to produce fake currency.
When both models are multilayer perceptrons, the whole system trains with backpropagation. There is no need for Markov chains or unrolled approximate inference networks during training or sampling. The original experiments trained adversarial nets on MNIST, the Toronto Face Database and CIFAR-10, with rectifier and sigmoid activations in the generator and maxout in the discriminator. The discriminator was updated k times per generator step, with k = 1 in the experiments.
The captured member is the generator from the PyTorch-GAN collection's gan.py rather than from the authors' repository. That collection states that its architectures do not always mirror the papers and that it focuses on the core ideas rather than every layer configuration. The authors' own repository contains the code and hyperparameters for the paper.
Key idea. GANs introduced adversarial training: a generator and a discriminator play a minimax game, and when both are multilayer perceptrons the system trains end to end with backpropagation and no Markov chains.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{goodfellow2014generativeadversarialnetworks,
title={Generative Adversarial Networks},
author={Ian J. Goodfellow and Jean Pouget-Abadie and Mehdi Mirza and Bing Xu and David Warde-Farley and Sherjil Ozair and Aaron Courville and Yoshua Bengio},
year={2014},
eprint={1406.2661},
archivePrefix={arXiv},
primaryClass={stat.ML},
url={https://arxiv.org/abs/1406.2661},
}