[Paper Review] CVAE-GAN: Fine-Grained Image Generation through Asymmetric Training
CVAE-GAN combines a variational auto-encoder with a GAN using asymmetric mean feature matching to stabilize training and generate diverse, fine-grained images conditioned on category labels.
We present variational generative adversarial networks, a general learning framework that combines a variational auto-encoder with a generative adversarial network, for synthesizing images in fine-grained categories, such as faces of a specific person or objects in a category. Our approach models an image as a composition of label and latent attributes in a probabilistic model. By varying the fine-grained category label fed into the resulting generative model, we can generate images in a specific category with randomly drawn values on a latent attribute vector. Our approach has two novel aspects. First, we adopt a cross entropy loss for the discriminative and classifier network, but a mean discrepancy objective for the generative network. This kind of asymmetric loss function makes the GAN training more stable. Second, we adopt an encoder network to learn the relationship between the latent space and the real image space, and use pairwise feature matching to keep the structure of generated images. We experiment with natural images of faces, flowers, and birds, and demonstrate that the proposed models are capable of generating realistic and diverse samples with fine-grained category labels. We further show that our models can be applied to other tasks, such as image inpainting, super-resolution, and data augmentation for training better face recognition models.
Motivation & Objective
- Motivate and develop a generative model capable of producing high-quality, fine-grained images for specific categories (e.g., identities, species).
- Leverage an asymmetric training objective to stabilize GAN training and mitigate mode collapse.
- Introduce pairwise feature matching via an encoder to relate latent space and image space and preserve structure and diversity.
- Demonstrate applicability to image generation, inpainting, super-resolution, and data augmentation for recognition tasks.
Proposed method
- Propose four-network CVAE-GAN: encoder E, generator G, discriminator D, and classifier C.
- Use CVAE-inspired latent modeling with conditioning on category c (P(z|x,c)) and generation P(x|z,c).
- Apply mean feature matching losses for the generator at the D and C feature levels to stabilize training (L_GD, L_GC) and an L2 pixel/feature reconstruction loss (L_G).
- Incorporate an encoder with KL divergence loss (L_KL) to map real images to latent z, enabling pairwise feature matching (x -> z) and diversity.
- Adopt an asymmetric objective for G versus D/C: G optimizes mean feature distances rather than the classic GAN loss, improving gradient behavior and reducing mode collapse.
- Train end-to-end with combined objective L = L_D + L_C + λ1 L_KL + λ2 L_G + λ3 L_GD + λ4 L_GC.
Experimental results
Research questions
- RQ1Can a CVAE-GAN framework generate high-quality, diverse, fine-grained images conditioned on specific category labels?
- RQ2Does asymmetric mean feature matching stabilize GAN training and reduce mode collapse compared to traditional GANs?
- RQ3Does introducing an encoder and pairwise feature matching preserve object identity and scene structure across generated samples?
- RQ4Can the model be effectively applied to related tasks such as inpainting, morphing, and data augmentation for recognition systems?
Key findings
- Generated images are realistic and diverse within fine-grained categories (faces, flowers, birds) across 128x128 resolution.
- CVAE-GAN and FM-CGAN achieve higher discriminability and realism than CVAE and CGAN baselines in qualitative and quantitative tests.
- Top-1 classification accuracy on generated face samples is highest for CVAE-GAN (97.78%) compared with real data (99.61%), CVAE (8.09%), CGAN (61.97%), and FM-CGAN (79.76%).
- Realism scores (higher is better) for CVAE-GAN (~19.03) approach real data realism (20.85) and outperform CGAN and FM-CGAN.
- Mean feature matching stabilizes GAN training and mitigates mode collapse without needing weight clipping as in WGAN.
- Encoder-guided latent space mapping plus pairwise feature matching preserves object structure and identity in generated samples.
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.