[Paper Review] Softmax GAN
Softmax GAN introduces a novel training objective by replacing the original GAN's binary cross-entropy loss with a softmax cross-entropy loss over a combined batch of real and generated samples. This approach stabilizes GAN training by enforcing uniform probability distribution across all samples in the batch during generator updates and concentrating probability on real samples during discriminator updates, effectively framing GAN as an importance sampling variant of Noise Contrastive Estimation.
Softmax GAN is a novel variant of Generative Adversarial Network (GAN). The key idea of Softmax GAN is to replace the classification loss in the original GAN with a softmax cross-entropy loss in the sample space of one single batch. In the adversarial learning of $N$ real training samples and $M$ generated samples, the target of discriminator training is to distribute all the probability mass to the real samples, each with probability $\frac{1}{M}$, and distribute zero probability to generated data. In the generator training phase, the target is to assign equal probability to all data points in the batch, each with probability $\frac{1}{M+N}$. While the original GAN is closely related to Noise Contrastive Estimation (NCE), we show that Softmax GAN is the Importance Sampling version of GAN. We futher demonstrate with experiments that this simple change stabilizes GAN training.
Motivation & Objective
- To address the instability in training standard GANs by redefining the adversarial loss function.
- To reformulate GAN training as an importance sampling-based learning process.
- To improve training stability through a new loss objective that operates directly on the sample space of a single mini-batch.
- To establish a theoretical connection between Softmax GAN and Noise Contrastive Estimation (NCE).
Proposed method
- Replace the original GAN's binary classification loss with a softmax cross-entropy loss over a combined batch of N real and M generated samples.
- During discriminator training, assign each real sample a probability of 1/M and all generated samples a probability of 0.
- During generator training, assign each sample in the combined batch an equal probability of 1/(M+N).
- Formulate the generator's objective as minimizing cross-entropy between the uniform distribution and the model's output probabilities.
- The method implicitly frames GAN training as an importance sampling variant of NCE, leveraging the structure of the mini-batch for improved optimization.
Experimental results
Research questions
- RQ1How does replacing the standard GAN loss with a softmax cross-entropy loss affect training stability?
- RQ2What is the theoretical relationship between Softmax GAN and Noise Contrastive Estimation (NCE)?
- RQ3Can a batch-wise probability distribution objective improve the convergence and performance of GANs?
- RQ4How does the proposed method compare to standard GANs in terms of training dynamics and sample quality?
Key findings
- Softmax GAN stabilizes GAN training by enforcing structured probability distributions over mini-batches, reducing mode collapse and training divergence.
- The method is theoretically equivalent to an importance sampling version of Noise Contrastive Estimation, providing a new perspective on GAN training.
- Empirical results demonstrate improved training stability compared to standard GANs, though specific quantitative metrics like FID or IS are not reported in the provided text.
- The approach maintains the generative capability of GANs while simplifying the loss landscape through explicit probability constraints on the batch-level sample space.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.