[Paper Review] An Improved Self-supervised GAN via Adversarial Training
This paper proposes an improved self-supervised GAN that enhances generator quality by training the discriminator to classify geometrically transformed real images (self-supervised classification) and simultaneously to distinguish fake samples from these pseudo-classes. The generator is trained to minimize cross-entropy loss on transformed fake samples, matching real sample representations. The method achieves new state-of-the-art FID scores on CIFAR-10 and STL-10 by stabilizing training and improving mode coverage.
We propose to improve unconditional Generative Adversarial Networks (GAN) by training the self-supervised learning with the adversarial process. In particular, we apply self-supervised learning via the geometric transformation on input images and assign the pseudo-labels to these transformed images. (i) In addition to the GAN task, which distinguishes data (real) versus generated (fake) samples, we train the discriminator to predict the correct pseudo-labels of real transformed samples (classification task). Importantly, we find out that simultaneously training the discriminator to classify the fake class from the pseudo-classes of real samples for the classification task will improve the discriminator and subsequently lead better guides to train generator. (ii) The generator is trained by attempting to confuse the discriminator for not only the GAN task but also the classification task. For the classification task, the generator tries to confuse the discriminator recognizing the transformation of its output as one of the real transformed classes. Especially, we exploit that when the generator creates samples that result in a similar loss (via cross-entropy) as that of the real ones, the training is more stable and the generator distribution tends to match better the data distribution. When integrating our techniques into a state-of-the-art Auto-Encoder (AE) based-GAN model, they help to significantly boost the model's performance and also establish new state-of-the-art Fréchet Inception Distance (FID) scores in the literature of unconditional GAN for CIFAR-10 and STL-10 datasets.
Motivation & Objective
- To address mode collapse and gradient vanishing in unconditional GANs by introducing stronger supervisory signals.
- To improve discriminator generalization by training it on pseudo-labels from transformed real images.
- To enhance generator quality by aligning the cross-entropy loss of fake and real transformed samples.
- To stabilize training and reduce divergence issues common in GANs through combined GAN and self-supervised classification objectives.
- To achieve state-of-the-art FID performance on CIFAR-10 and STL-10 without conditional supervision.
Proposed method
- Apply geometric transformations (e.g., rotation) to real images and assign them pseudo-labels for self-supervised learning.
- Train the discriminator to perform two tasks: distinguish real vs. fake samples (original GAN task) and classify the pseudo-labels of transformed real images (self-supervised classification).
- Train the discriminator to also classify transformed fake samples as one of the real pseudo-classes, creating an adversarial training signal for the discriminator.
- Train the generator to minimize the cross-entropy loss on the classification head for transformed fake samples, ensuring generated samples match real sample representations.
- Integrate the self-supervised classification loss with the GAN loss via a weighted combination, with hyperparameters λd and λg tuned per architecture.
- Use a shared feature extractor between GAN and self-supervised components to ensure consistency in representation learning.
Experimental results
Research questions
- RQ1Can self-supervised learning via geometric transformations improve discriminator generalization in unconditional GANs?
- RQ2Does adversarial training of the discriminator on fake transformed samples improve model performance?
- RQ3Can matching the cross-entropy loss between real and fake transformed samples stabilize training and improve sample quality?
- RQ4Does the proposed method achieve state-of-the-art FID scores on CIFAR-10 and STL-10 without conditional supervision?
- RQ5How do hyperparameters λd and λg affect performance across different architectures?
Key findings
- The proposed method achieves new state-of-the-art FID scores on CIFAR-10 and STL-10, significantly outperforming baseline GANs and prior self-supervised GANs like SSGAN.
- The self-supervised baseline alone improves FID over standard GANs, demonstrating the benefit of pseudo-labeling via geometric transformations.
- Adversarial training of the discriminator on fake transformed samples leads to a more robust discriminator and better generator guidance.
- Matching the cross-entropy loss between real and fake transformed samples stabilizes training and improves mode coverage.
- The method reduces divergence issues, especially in deeper architectures like ResNet, even when baseline models begin to saturate.
- Optimal hyperparameters λg ≈ λd/10 for DCGAN and ResNet, and λg ≈ λd/50 for SN-GAN, were found to yield best performance on CIFAR-10 and STL-10.
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.