TL;DR
This paper introduces "Attribute2Sketch2Face," a novel three-stage framework for generating realistic face images from textual attribute descriptions. By first synthesizing a sketch and then refining it into a full face, the method achieves superior attribute preservation and image quality compared to direct attribute-to-face synthesis approaches.
What Problem Does This Paper Address?
The paper tackles the challenging problem of synthesizing realistic face images solely from a set of visual attributes (e.g., "male," "no beard," "black hair"). This capability has significant applications, such as aiding law enforcement in creating composite sketches of suspects when no photographic evidence is available. While recent advancements in deep generative models like VAEs and GANs have shown promise in image synthesis, directly generating high-quality, attribute-consistent faces from descriptions remains a difficult task, often resulting in blurry images or inaccurate attribute representation.
Methods
The core innovation is a three-stage pipeline:
- Attribute-to-Sketch (A2S): This stage uses a Conditional Variational Autoencoder (CVAE) to generate an initial, often coarse, facial sketch from the provided visual attributes. This leverages the CVAE's ability to learn latent representations conditioned on input information.
- Sketch-to-Sketch (S2S): To address the low quality of initial sketches, this stage employs a Generative Adversarial Network (GAN) to enhance and sharpen them. The proposed generator, "AUDeNet," is a novel architecture that combines UNet and DenseNet to effectively capture both low-level details and high-level concepts, conditioned on the attributes from Stage 1.
- Sketch-to-Face (S2F): The final stage uses another GAN-based generator (also incorporating a UNet-like structure) to reconstruct a full-color, realistic face image from the sharpened sketch, again conditioned on the visual attributes. This ensures the final output adheres to the specified characteristics.
The entire framework is trained end-to-end, with attributes divided into "texture" (used in A2S and S2S) and "color" (used in S2F) for better control.
Datasets
The authors evaluated their method on three publicly available datasets:
- CelebA: A large dataset with over 200,000 face images and 40 binary attributes.
- LFW (Labeled Faces in the Wild): A dataset containing approximately 13,000 images with 40 binary attributes.
- CUHK: A dataset comprising 88 real sketch-photo pairs for training and 100 for testing.
For CelebA and LFW, the authors used a pre-existing pencil-sketch synthesis method to generate sketch images from photos. For CUHK, they manually labeled attributes for the images.
Key Insights and Ideas
- Sketch as an Intermediate Representation: The paper's central idea is that using a sketch as an intermediate step significantly improves the quality and attribute consistency of the final synthesized face. This mimics how human sketch artists work.
- Attribute Conditioning at Multiple Stages: Conditioning on attributes not only in the final stage but also during sketch enhancement (S2S) helps preserve and refine attribute-specific details throughout the process.
- Hybrid Architectures (AUDeNet): Combining UNet and DenseNet in the S2S generator (AUDeNet) effectively leverages the strengths of both architectures for sketch refinement.
- Disentangled Representation Learning: The S2F stage is inspired by disentangled representation learning, aiming to separate identity from attributes for better control.
Key Results
- Qualitative Improvements: Visual comparisons across CelebA, LFW, and CUHK datasets demonstrate that Attribute2Sketch2Face produces more realistic, sharper, and better attribute-consistent face images compared to methods like CVAE, text2img, StackGAN, and a direct attribute-to-face baseline (attr2face).
- Quantitative Performance: The proposed method achieved the highest Inception Scores (indicating better realism and diversity) and the lowest Attribute L2-norm scores (indicating superior attribute preservation) across all tested datasets, as shown in Table 2.
- Ablation Studies: Experiments confirmed the importance of each stage: omitting attribute conditioning in S2S led to poorer sketches, omitting S2S entirely resulted in blurry and less accurate faces, and omitting attribute conditioning in S2F led to incorrect gender and hair attributes.
- Synthesis Capabilities: The paper showcases impressive control over attributes, demonstrating how changing attribute weights can alter gender, expression, skin tone, and hair color while largely preserving the person's identity.
Limitations and Future Work
- Dataset Size: While using standard datasets, the CUHK dataset is noted as relatively small, requiring data augmentation.
- Attribute Granularity: The paper focuses on a selected set of 23 attributes, suggesting future work could explore a wider range of attributes or more nuanced descriptions.
- Computational Cost: Training a three-stage deep generative model is computationally intensive, as indicated by the 20-hour training time on a single Titan X GPU for CelebA.
- Future Work: The authors suggest exploring more sophisticated attribute representations and potentially extending the framework to other image synthesis tasks beyond faces.
Summary updated