Attribute-Guided Face Generation Using Conditional CycleGAN

Yongyi Lu, Yu-Wing Tai, Chi-Keung Tang

Abstract

This paper introduces Conditional CycleGAN, a framework that combines the unpaired image-to-image translation power of CycleGAN with explicit attribute control. By injecting attribute vectors or identity embeddings into the generation process, the authors achieve high-quality face super-resolution, identity-preserving face swapping, and frontal face generation—all without requiring perfectly aligned training pairs.

Introduction

Generating or modifying facial attributes typically requires "paired" data—images of the exact same person with and without the desired attribute. In practice, such datasets are rare and difficult to capture. While the original CycleGAN addressed the "unpaired" problem by learning to translate between domains, it lacked a mechanism for fine-grained control over specific features. Furthermore, standard face super-resolution often fails to preserve a subject's unique identity, resulting in generic outputs. Conditional CycleGAN overcomes these hurdles by treating identity and specific facial features as controllable conditional inputs.

Methodology

The authors propose two primary architectural variations to handle different levels of control:

Attribute-Guided Conditional CycleGAN

The standard CycleGAN architecture is modified to accept a conditional attribute vector $z$ (e.g., representing "blonde hair" or "smiling"). This vector is concatenated with feature maps in both the Generator and Discriminator. To ensure the model respects these attributes, a "mismatched" training strategy is used: the discriminator is trained to reject images if the facial features do not match the provided attribute vector, forcing the generator to prioritize the conditional input.

Identity-Guided Conditional CycleGAN

For tasks like identity transfer and super-resolution, the attribute vector is replaced with a high-dimensional identity embedding. A pre-trained Light-CNN extracts a 256-dimensional vector from a reference identity image. An auxiliary discriminator specifically focused on identity ensures the generated face maintains the likeness of the target individual rather than a generic human face.

Experimental Results

The researchers evaluated their model on the CelebA dataset, using 18 specific attributes, and utilized the Light-CNN-9 model for identity embeddings.

Overview of identity-guided face generation and super-resolution. (a-d) show the extraction and enhancement of a face from a group photo. (f-h) demonstrate identity-preserving super-resolution using a reference identity (f) and a blurry input (g).

Key Findings

  • Quantitative Superiority: Conditional CycleGAN achieved a Structural Similarity (SSIM) score of 0.92 on CelebA, significantly outperforming standard Conditional GANs (0.74) and Unsupervised GANs (0.87).
  • Identity-Preserving SR: The model successfully upsampled low-resolution faces by a factor of 8x while maintaining specific likenesses, a task where traditional super-resolution often produces blurry or generic results.
  • Decoupling Structure and Texture: The model uses low-resolution input as a structural constraint (providing pose and expression) while the conditional vector provides identity-specific textures. This allows for realistic face swapping in a single forward pass that is robust to occlusions.

Conclusion

Conditional CycleGAN demonstrates the power of treating identity as a conditional attribute in unpaired translation tasks. While highly effective for static images, future work will focus on extending these capabilities to video to ensure temporal consistency and improving performance for extreme facial poses. Additionally, the system's reliance on pre-trained embedding models suggests that future iterations must account for potential biases in those underlying models.

Summary updated

BibTeX
@inproceedings{lu2018attribute,
  author = {Yongyi Lu and Yu-Wing Tai and Chi-Keung Tang},
  title = {{Attribute-Guided Face Generation Using Conditional CycleGAN}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  doi = {10.1007/978-3-030-01258-8\_18},
}
Figure