Abstract
In this paper we propose a novel approach for stabilizing the training process of Generative Adversarial Networks as well as alleviating the mode collapse problem. The main idea is to introduce a regularization term that we call intervention loss into the objective. We refer to the resulting generative model as Intervention Generative Adversarial Networks (IVGAN). By perturbing the latent representations of real images obtained from an auxiliary encoder network with Gaussian invariant interventions and penalizing the dissimilarity of the distributions of the resulting generated images, the intervention loss provides more informative gradient for the generator, significantly improving GAN's training stability. We demonstrate the effectiveness and efficiency of our methods via solid theoretical analysis and thorough evaluation on standard real-world datasets as well as the stacked MNIST dataset.
Introduction
Generative Adversarial Networks (GANs) have revolutionized generative modeling but remain notoriously difficult to train. Common pitfalls include training instability and mode collapse, where the generator fails to capture the full diversity of the data distribution. These issues often stem from the "distance" between real and generated distributions; if they do not overlap sufficiently, the discriminator provides uninformative gradients, leaving the generator without a clear path for improvement.
To address these challenges, the researchers propose Intervention Generative Adversarial Networks (IVGAN). By incorporating a novel intervention loss ($L_{IV}$), IVGAN creates a "ladder" of intermediate distributions that bridge the gap between real and fake data, providing smoother gradients and more stable convergence.
Methods
The IVGAN architecture extends the standard GAN framework by incorporating an auxiliary Encoder ($E$) and a Classifier ($f$). The training objective is a combination of three losses: adversarial loss, reconstruction loss, and the proposed intervention loss.
The Intervention Process
The core of IVGAN is the intervention mechanism. Instead of relying solely on random noise, the model utilizes latent representations of real images. A real image $x$ is mapped to a latent vector $z$ via the encoder $E$. This vector is then subjected to a "Gaussian invariant" intervention.
Specifically, the latent vector is divided into $k$ blocks. An intervention $O_i$ involves replacing the $i$-th block with random Gaussian noise. Because the latent space is typically assumed to follow a Gaussian distribution, the resulting perturbed vector $O_i(z)$ remains a valid sample within the latent space.
Intervention Loss ($L_{IV}$)
The perturbed latent vectors are passed through the generator $G$. The classifier is then tasked with identifying which specific block was intervened upon based on the generated image $G(O_i(z))$. Mathematically, minimizing this loss is equivalent to minimizing the multi-distribution Jensen-Shannon (JS) divergence among the intervened distributions. This process creates informative intermediate targets that guide the generator toward the real data distribution.
Reconstruction Loss ($L_{recon}$)
To maintain a meaningful latent space, an $L_1$ reconstruction loss is employed. This ensures that the encoder and generator can successfully map between the image and latent domains, preserving the structural integrity of the data representations.
Experimental Results
IVGAN was evaluated across several benchmarks, including MNIST, CIFAR-10, LSUN (Church Outdoor), and STL-10.
Performance and Stability
IVGAN and its variant, IVLSGAN, consistently outperformed baseline models like DCGAN, LSGAN, and WGAN-GP in terms of Fréchet Inception Distance (FID). For instance, on the LSUN dataset, IVLSGAN achieved an FID of 18.9, a significant improvement over LSGAN's 30.9. Training curves further indicated that IVGAN converges more rapidly and with fewer oscillations than traditional GANs.
Alleviating Mode Collapse
The model's ability to handle mode collapse was tested using the Stacked MNIST benchmark, which contains 1,000 possible modes. While standard LSGAN captured only 53 modes, IVGAN successfully captured all 1,000 modes, demonstrating its robustness in representing complex, multi-modal distributions.
Discussion and Conclusion
The success of IVGAN lies in its use of interpolation as a stabilizer. By perturbing real latent codes, the model generates "semi-real" targets that prevent the discriminator from becoming an insurmountable barrier. Furthermore, the classifier shares parameters with the discriminator, ensuring that this stabilization comes with minimal computational overhead.
While IVGAN introduces some additional complexity through the auxiliary encoder and requires careful hyperparameter tuning (e.g., the number of intervention blocks $k$), it provides a theoretically grounded and practically effective solution for the most common headaches in adversarial training.
Summary updated