Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

NIPS 2016 Tutorial: Generative Adversarial Networks

Generative adversarial networks train a generator against a discriminator

  • Problem Markov chain samplers draw samples by repeating a transition step, so they converge slowly and scale poorly to high-dimensional data.
  • Method GANs pit a generator against a discriminator instead of modelling a density. The generator makes samples in one step, and the discriminator learns to tell them from real ones.
  • Results Feature matching GANs reached state-of-the-art semi-supervised results on MNIST, SVHN and CIFAR-10 with few labels.

Why sampling from generative models is hard

Generative models learn a representation of a distribution from training examples, and GANs focus mainly on producing samples. Some models do this with Markov chains, which draw samples by repeatedly applying a transition operator. Convergence can be very slow, and nobody has a clear test for whether a chain has converged. In high-dimensional spaces the chains become less efficient, and Boltzmann machines have not scaled to ImageNet-style problems.

Each extra sampling step adds computational cost, which is the reason GANs were designed to avoid chains.

Variational models face a different trade-off: they often reach very good likelihood while their samples are regarded as lower quality. The authors call that quality judgement a subjective opinion, because no good quantitative measure of sample quality exists. This leaves room for a model that generates in a single step, with no chain and no variational bound.

A generator and a discriminator play a game

The key idea is to skip an explicit density and train a generator that is judged by a discriminator. The generator plays the counterfeiter and the discriminator plays the police, so the generator must make samples the discriminator can't tell from real ones. Both players are differentiable functions, and each updates only its own parameters.

The discriminator D reads x and uses parameters θ(D), while the generator G reads a latent z and uses parameters θ(G). Because each player's cost depends on the other's parameters, the setup is a game, not a single optimization problem. The solution is a Nash equilibrium, a point where each player's cost is at a local minimum with respect to its own parameters.

The discriminator minimizes a standard cross-entropy cost on real and generated minibatches. \[ J^{(D)} = -\tfrac{1}{2}\,\mathbb{E}_{x\sim p_{data}}\log D(x) - \tfrac{1}{2}\,\mathbb{E}_{z}\log\bigl(1-D(G(z))\bigr) \] Real examples carry label 1 and generated examples carry label 0, so the classifier learns to split the two.

Training the discriminator this way gives an estimate of the ratio p_data(x)/p_model(x) at every point x. This ratio estimate is what sets GANs apart from variational autoencoders and Boltzmann machines. The authors note that supervised estimation brings its own failures, overfitting and underfitting, which perfect optimization and enough data could in principle overcome.

Training schedule, cost choice and the DCGAN architecture

Each training step draws a minibatch of real x values and a minibatch of latent z values from the prior. Both players then take one gradient step at the same time, with Adam as a usual choice of optimizer. The tutorial's author recommends one step per player, which the author found works best in practice as of late 2016.

The simplest variant is zero-sum, so the generator's cost is the negative of the discriminator's cost. That minimax form is mainly useful for theory, since it can be linked to minimizing the Jensen-Shannon divergence. In practice the players are deep networks updated in parameter space, so those convexity-based results don't carry over.

The generator's cost in the minimax form saturates when the discriminator rejects samples with high confidence. So the generator's gradient vanishes exactly when it most needs a signal. The heuristic fix trains the generator to maximize log D(G(z)) instead, which gives much stronger gradients early in learning.

DCGAN uses batch normalization in most layers, but leaves the generator's last layer and the discriminator's first layer unnormalized. The network has no pooling layers, and the generator raises spatial resolution with transposed convolutions that use a stride above 1.

What the reported results show

DCGAN produced high-resolution images in one pass, where earlier LAPGANs built them over several stages. The paper shows bedroom images generated by a DCGAN trained on the LSUN dataset. These samples show that the model can produce detailed images, but the evidence covers one restricted image domain.

Minibatch features let the discriminator compare an example against minibatches of generated and real samples. Minibatch GANs trained with labels on CIFAR-10 produce samples that are mostly recognizable as specific classes. The same kind of model trained on 128 × 128 ImageNet gives few images recognizable as a specific class. Counting, perspective and global structure then become the most visible defects.

Feature matching GANs turn an n-class classifier into an (n+1)-class discriminator, with the extra class for fake images. The state of the art on MNIST, SVHN and CIFAR-10 is held by feature matching GANs, which reached it across label counts from 20 to 8,000. Those datasets are usually trained with 50,000 or more labels, so the result concerns the few-label regime.

Mode collapse and unrolled GANs

The authors single out mode collapse as the issue researchers should try hardest to fix. Minibatch features are one attempt, and their performance depends heavily on small implementation details.

Unrolled GANs build a graph of k discriminator learning steps and backpropagate through all of them when computing the generator gradient. Metz et al. found that unrolling for about 10 or fewer steps noticeably reduces the mode dropping problem.

Limitations

Training a GAN means finding a Nash equilibrium of a game, which is a harder problem than optimizing an objective function. The conclusion names high-dimensional, continuous, non-convex games as the setting where better theory and algorithms are needed.

The generator must be differentiable, so it can't directly produce discrete data such as one-hot words or characters. The authors list three routes: REINFORCE, a concrete or Gumbel-softmax distribution, and sampling continuous values that are decoded to discrete ones.

Models with good likelihood can produce bad samples, and models with good samples can have poor likelihood. GANs are harder to evaluate still, because their likelihood is difficult to estimate. The tutorial is not a comprehensive review, and many papers were left out for relevance and time.

Paper info

Authors
Ian Goodfellow
Venue
arXiv · Preprint
First published
2016-12-31
Added
2026-11-12
Updated
2017-4-3
Version
v4
arXiv
1701.00160
Category
cs.LG
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Ian Goodfellow (2016). NIPS 2016 Tutorial: Generative Adversarial Networks. arXiv:1701.00160v4. https://arxiv.org/abs/1701.00160v4

BibTeX
@misc{goodfellow2016nips,
  title = {{NIPS 2016 Tutorial: Generative Adversarial Networks}},
  author = {Ian Goodfellow},
  year = {2016},
  eprint = {1701.00160},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1701.00160v4}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up