[Paper Review] Text to Image Synthesis Using Generative Adversarial Networks
This paper proposes Wasserstein GAN-CLS, a conditional generative adversarial network using the Wasserstein distance for stable training in text-to-image synthesis. By integrating this loss into a Progressive Growing GAN framework, the model achieves a 7.07% improvement in Inception Score over prior sentence-level semantic models on the Caltech-10k Birds dataset, outperforming existing approaches except for AttnGAN, which uses word-level attention.
Generating images from natural language is one of the primary applications of recent conditional generative models. Besides testing our ability to model conditional, highly dimensional distributions, text to image synthesis has many exciting and practical applications such as photo editing or computer-aided content creation. Recent progress has been made using Generative Adversarial Networks (GANs). This material starts with a gentle introduction to these topics and discusses the existent state of the art models. Moreover, I propose Wasserstein GAN-CLS, a new model for conditional image generation based on the Wasserstein distance which offers guarantees of stability. Then, I show how the novel loss function of Wasserstein GAN-CLS can be used in a Conditional Progressive Growing GAN. In combination with the proposed loss, the model boosts by 7.07% the best Inception Score (on the Caltech birds dataset) of the models which use only the sentence-level visual semantics. The only model which performs better than the Conditional Wasserstein Progressive Growing GAN is the recently proposed AttnGAN which uses word-level visual semantics as well.
Motivation & Objective
- Address training instability in conditional GANs for text-to-image synthesis using a more stable loss function.
- Improve image quality and alignment between text descriptions and generated images using conditional generative models.
- Enhance performance on fine-grained image generation tasks, particularly on complex datasets like Caltech-10k Birds.
- Integrate the Wasserstein GAN loss into a progressive growing framework to enable high-resolution image synthesis with improved stability.
- Demonstrate that sentence-level semantic modeling can achieve strong results when combined with a stable training objective, approaching state-of-the-art performance.
Proposed method
- Proposes Wasserstein GAN-CLS, a conditional GAN variant that uses the Wasserstein distance to stabilize training by enforcing a Lipschitz constraint on the critic.
- Adapts the Wasserstein GAN loss to text-to-image matching by conditioning the critic on both real images and their corresponding text embeddings.
- Integrates the Wasserstein GAN-CLS loss into a Progressive Growing GAN (PGGAN) architecture, training the model in stages from low to high resolution.
- Employs layer normalization in the generator to mitigate batch size limitations at high resolutions, improving training stability.
- Uses the Adam optimizer with specific hyperparameters (β1 = 0, β2 = 0.99 for Wasserstein, β1 = 0.5, β2 = 0.9 for least squares) and a gradient penalty (λ = 150) to enforce the Lipschitz constraint.
- Applies a gradient penalty (WGAN-GP style) with ρ = 8 to ensure the critic remains 1-Lipschitz, improving training stability and mode coverage.
Experimental results
Research questions
- RQ1Can the Wasserstein GAN loss improve training stability and performance in conditional text-to-image synthesis compared to standard GANs?
- RQ2To what extent does integrating the Wasserstein GAN-CLS loss into a Progressive Growing GAN architecture enhance image quality and diversity on fine-grained datasets?
- RQ3How does the performance of a model using only sentence-level visual semantics compare to state-of-the-art models that use word-level attention?
- RQ4Does the use of a stable loss function like Wasserstein GAN-CLS enable better convergence and higher Inception Score in high-resolution image generation?
- RQ5Can the combination of progressive growing and Wasserstein training overcome mode collapse and improve fidelity and diversity in generated images?
Key findings
- The Conditional Wasserstein Progressive Growing GAN (CWPGGAN) achieves an Inception Score of 88.72 on the 64×64 Caltech-10k Birds dataset, representing a 7.07% improvement over the best prior model using only sentence-level semantics.
- CWPGGAN outperforms all other models using only sentence-level visual semantics, except for AttnGAN, which uses word-level attention and achieves a higher score.
- The model generates high-fidelity, diverse images that align well with text descriptions, as confirmed by qualitative comparisons and nearest-neighbor analysis.
- Interpolations in the latent space of the model produce semantically meaningful transitions, indicating disentangled and smooth representations.
- The use of layer normalization and a stable loss function enables effective training at high resolutions (256×256), where batch normalization would otherwise fail due to small batch sizes.
- The Inception Score results show that CWPGGAN generalizes better than baseline models, with improved class diversity and image quality, especially on complex, fine-grained datasets.
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.