[Paper Review] Semi-Latent GAN: Learning to generate and modify facial images from attributes
This paper proposes Semi-Latent GAN (SL-GAN), a novel Generative Adversarial Network that jointly learns user-defined and latent facial attributes in a semi-latent space to enable both high-quality facial image generation and identity-preserving attribute modification. By introducing a recognition network to maximize mutual information between generated images and attributes, SL-GAN outperforms state-of-the-art methods in visual quality, attribute saliency, and identity preservation on CelebA and CASIA-WebFace datasets.
Generating and manipulating human facial images using high-level attributal controls are important and interesting problems. The models proposed in previous work can solve one of these two problems (generation or manipulation), but not both coherently. This paper proposes a novel model that learns how to both generate and modify the facial image from high-level semantic attributes. Our key idea is to formulate a Semi-Latent Facial Attribute Space (SL-FAS) to systematically learn relationship between user-defined and latent attributes, as well as between those attributes and RGB imagery. As part of this newly formulated space, we propose a new model --- SL-GAN which is a specific form of Generative Adversarial Network. Finally, we present an iterative training algorithm for SL-GAN. The experiments on recent CelebA and CASIA-WebFace datasets validate the effectiveness of our proposed framework. We will also make data, pre-trained models and code available.
Motivation & Objective
- To address the gap in existing models that can only generate or modify facial images, but not both coherently.
- To learn a joint representation of user-defined and latent facial attributes that captures both interpretable semantics and compact data-driven features.
- To maintain identity consistency during attribute modification while ensuring high visual fidelity in generated images.
- To develop a unified training framework capable of jointly optimizing generation and modification tasks.
Proposed method
- Formulate a Semi-Latent Facial Attribute Space (SL-FAS) combining user-defined attributes and data-driven latent attributes.
- Design SL-GAN as a three-part framework: encoder-decoder for image reconstruction, GAN for image quality, and a recognition network to maximize mutual information between attributes and generated images.
- Use the decoder network as a generator to synthesize images from attribute vectors in SL-FAS.
- Introduce an iterative training algorithm to jointly optimize the generator, discriminator, and recognition network.
- Leverage the recognition network to learn disentangled representations by maximizing mutual information between generated images and attribute vectors.
- Train the model end-to-end on CelebA and CASIA-WebFace using adversarial loss, reconstruction loss, and mutual information maximization.
Experimental results
Research questions
- RQ1Can a unified deep generative model simultaneously perform high-fidelity facial image generation and identity-preserving attribute modification?
- RQ2How can user-defined and latent facial attributes be jointly modeled in a semi-latent space to improve disentanglement and controllability?
- RQ3What is the impact of maximizing mutual information between generated images and attribute vectors on visual quality and attribute accuracy?
- RQ4How does the proposed SL-GAN compare to existing methods in terms of attribute modification fidelity and identity preservation?
Key findings
- SL-GAN achieved the highest user-study accuracy of 75.0% in guessing the correct modified attribute, significantly outperforming icGAN (65.4%) and attrib2img (30.0%).
- In user studies, SL-GAN scored 4.37 in saliency, 4.20 in image quality, and 4.45 in identity similarity—surpassing all competitors on all metrics.
- Qualitative results show that SL-GAN successfully modifies fine-grained attributes like 'rosy cheeks', 'arched eyebrows', and 'bags under eyes' with high visual fidelity.
- SL-GAN generates images with sharper hair details compared to attrib2img, which produces blurred hair styles despite clear facial features.
- The model generalizes well across diverse attributes, including global traits (e.g., 'male', 'smiling') and local attributes (e.g., 'pale skin', 'bald').
- The iterative training algorithm effectively balances the competing objectives of generation, modification, and identity preservation in a unified framework.
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.