
erik_began
Diffusion and generative13 ops738.7K params
A plain GAN generator whose family name comes from the relativistic discriminator loss it was trained against.
Diffusion and generative · 13 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.
A relativistic GAN changes what the discriminator estimates: not whether an input is real, but whether given real data is more realistic than randomly sampled fake data. The argument is that a standard GAN generator only pushes fake data towards real when it should also lower the probability that real data is real, since half of each mini-batch is known to be fake. A second variant, the relativistic average discriminator, compares each input's critic to the average critic of samples of the opposite type. Both generalize to non-standard GAN losses as RGANs and RaGANs, and the author shows that IPM-based GANs are a subset of RGANs using the identity function.
Empirically, RGANs and RaGANs were significantly more stable and produced higher quality samples than their non-relativistic counterparts. A standard RaGAN with gradient penalty beat WGAN-GP while needing only a single discriminator update per generator update. RaGANs could also generate plausible 256x256 images from a very small sample of 2011 images where GAN and LSGAN could not.
Because the change lives in the loss, the networks themselves are ordinary: the experiments used the standard CNN of Miyato et al. and a relatively standard DCGAN architecture. The author's code shows the whole change as a few lines, with the discriminator loss becoming a binary cross-entropy with logits on the difference between real and fake predictions.
Key idea. A relativistic discriminator that estimates whether real data is more realistic than fake data, which makes GANs more stable and their samples higher quality without changing the networks.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{jolicoeurmartineau2018relativisticdiscriminatorkeyelement,
title={The relativistic discriminator: a key element missing from standard GAN},
author={Alexia Jolicoeur-Martineau},
year={2018},
eprint={1807.00734},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/1807.00734},
}