Abstract
Although Generative Adversarial Networks (GANs) have shown remarkable success in various tasks, they still face challenges in generating high quality images. In this paper, we propose Stacked Generative Adversarial Networks (StackGAN) aiming at generating high-resolution photo-realistic images. First, we propose a two-stage generative adversarial network architecture, StackGAN-v1, for text-to-image synthesis. The Stage-I GAN sketches the primitive shape and colors of the object based on given text description, yielding low-resolution images. The Stage-II GAN takes Stage-I results and text descriptions as inputs, and generates high-resolution images with photo-realistic details. Second, an advanced multi-stage generative adversarial network architecture, StackGAN-v2, is proposed for both conditional and unconditional generative tasks. Our StackGAN-v2 consists of multiple generators and discriminators in a tree-like structure; images at multiple scales corresponding to the same scene are generated from different branches of the tree. StackGAN-v2 shows more stable training behavior than StackGAN-v1 by jointly approximating multiple distributions. Extensive experiments demonstrate that the proposed stacked generative adversarial networks significantly outperform other state-of-the-art methods in generating photo-realistic images.
Introduction
Generative Adversarial Networks (GANs) have long struggled with high-resolution image synthesis. While they excel at low resolutions (like 64x64), scaling up to 256x256 or higher often leads to training instability and "mode collapse," where the model produces a limited variety of repetitive, nonsensical patterns. The core issue is that in high-dimensional spaces, the "true" data distribution and the model's generated distribution are unlikely to overlap significantly, making it difficult for the discriminator to provide useful feedback. StackGAN++ addresses this by breaking down the complex task of high-resolution synthesis into a series of manageable sub-problems across multiple scales.
Methods and Architecture
The authors propose two main architectures: StackGAN-v1 and StackGAN-v2.
StackGAN-v1: Two-Stage Sketch-Refinement
StackGAN-v1 uses a sequential approach where a Stage-I GAN sketches the primitive shape and basic colors of a scene (64x64) based on a text description. A Stage-II GAN then takes this result and the text description to refine the image, correcting defects and adding photo-realistic details to produce a 256x256 output.
StackGAN-v2: Multi-Stage Tree Structure
StackGAN-v2 generalizes this into a tree-like architecture with multiple generators and discriminators. Instead of a simple sequence, it generates images at multiple scales (e.g., 64x64, 128x128, 256x256) from different branches of the tree. This allows the network to jointly approximate multiple related distributions, providing a more stable gradient signal during training.
Key Innovations
- Conditioning Augmentation (CA): Samples latent variables from a Gaussian distribution to smooth the latent space, making the model more robust and increasing image diversity.
- Color-Consistency Regularization: A loss term ensuring that images generated at different scales maintain consistent colors and basic structures.
- Joint Conditional and Unconditional (JCU) Discriminator: Evaluates both whether an image is realistic (unconditional) and whether it matches the input text/label (conditional).
Experimental Results
The models were evaluated on benchmark datasets including CUB (birds), Oxford-102 (flowers), COCO (complex scenes), and LSUN. StackGAN++ significantly outperformed previous state-of-the-art models like GAWWN and GAN-INT-CLS across all metrics.
On the CUB dataset, StackGAN-v1 improved the Inception Score (IS) from 2.88 to 3.70, while StackGAN-v2 pushed it further to 4.04. It also achieved much lower Frechet Inception Distance (FID) scores, indicating better distributional alignment with real data. Qualitatively, StackGAN-v2 produces remarkably sharp and coherent images compared to its predecessors, which often produced blurry or distorted results.
Conclusion
StackGAN++ demonstrates that the most effective way to generate high-resolution images is to decompose the task into hierarchical sub-goals (shape → color → texture). By training a GAN to approximate multiple related distributions simultaneously, the authors achieved a more stable and high-performing framework for both conditional and unconditional image synthesis. While scaling to megapixel resolutions remains a challenge, StackGAN++ represents a major milestone in photo-realistic image generation.
Summary updated