Introduction
While deep learning has revolutionized image generation through Generative Adversarial Networks (GANs) and Variational Autoencoders (VAEs), targeted editing remains a significant challenge. The primary difficulty lies in disentangling specific attributes—such as pose, expression, or accessories—from the invariant features of the image, such as the subject's identity and the environmental lighting.
Most existing approaches either generate entirely new faces, which lose the original subject's likeness, or are restricted to neutral, canonical poses. This research addresses the problem of attribute-specific image generation: taking a source image and a target attribute vector to produce a new image where only the specified attribute is changed, while keeping the background, illumination, and core identity perfectly intact.
Methodology
The authors propose a two-stage convolutional encoder-decoder architecture that mimics the global-to-local rendering process used in computer graphics. This "divide-and-conquer" approach allows the network to handle complex structural changes and fine-grained texture restoration separately.
Stage 1: Image Generation (Global Structure)
The first stage focuses on the structural transformation of the image. It consists of three main components:
- Image Encoding: Convolutional layers extract spatial feature maps from the source image.
- Attribute Encoding: A key innovation is the spatialization of attributes. A 1D one-hot vector representing the desired change (e.g., a specific rotation angle) is processed through fully connected layers and reshaped into 2D feature maps. This allows abstract attributes to be fused spatially with image features.
- Feature Map Fusion and Decoding: The image and attribute features are concatenated and fused. Deconvolutional layers then generate an initial target image. While structurally correct, this output is often slightly blurry.
Stage 2: Image Refinement (Local Details)
To address the loss of high-frequency textures, a second encoder-decoder network is employed. This refinement stage takes both the original source image and the Stage 1 output as inputs. By learning the residual differences and leveraging the original high-resolution textures, it produces a sharp, artifact-free final image.
Experimental Results
The model was evaluated on the MultiPIE dataset for face rotation and eye inpainting, and the CAS-PEAL-R1 dataset for accessory manipulation (e.g., adding or removing hats and glasses).
Qualitative and Quantitative Performance
The system demonstrates the ability to rotate faces up to 45 degrees and realistically fill in occluded regions. The refinement stage is particularly effective at restoring fine details like skin texture, which are often lost in single-stage models. Quantitatively, the Stage 2 refinement network measurably reduces the per-pixel Mean Squared Error (MSE) from 380.89 to 369.16.
To objectively measure identity and lighting preservation, the authors utilized an image retrieval task. Generated images were used as queries to find matching real images in a large database. The proposed method achieved a 43.2% Recall@1, significantly outperforming previous state-of-the-art methods (e.g., Yim et al. at 14.8%), proving that competing methods often fail to preserve original lighting conditions.
Conclusion
This work introduces a robust framework for attribute-specific image editing that excels at preserving identity and lighting. The spatialization of attributes and the two-stage refinement process are key contributions that enable high-quality, targeted modifications. Future work will focus on extending the model to unaligned "in-the-wild" images and broader object categories beyond human faces.
Summary updated