TL;DR
This paper introduces the Identity-preserving Face Recovery from Portraits (IFRP) method, a novel neural network architecture that can transform stylized artistic portraits back into photorealistic faces while crucially preserving the original subject's identity. This is achieved through a Style Removal Network (SRN) and a Discriminative Network (DN), leveraging skip connections, Spatial Transformer Networks (STNs), and a FaceNet-based identity loss.
What Problem Does This Paper Address?
The paper tackles the challenging problem of "face destylization" – recovering a photorealistic face from an artistic portrait. Artistic transformations often distort or lose crucial facial details and identity information, making direct recovery difficult. Existing style transfer methods are designed to create stylized images, not to reverse the process. Furthermore, many artistic portraits are unaligned (rotated, scaled, translated), adding another layer of complexity. The goal is to produce a high-quality, photorealistic face that not only looks authentic but also clearly resembles the original person.
Methods
The core of the IFRP method is a two-part network:
- Style Removal Network (SRN): This is a fully convolutional autoencoder with residual block-embedded skip connections.
- Autoencoder: It learns to encode stylized images into a latent representation and then decode it back into a photorealistic face.
- Skip Connections: These connect encoder and decoder layers, allowing high-resolution visual details to be passed directly, improving recovery quality.
- Residual Blocks: Used within skip connections to enhance feature propagation.
- Spatial Transformer Networks (STNs): Integrated into the SRN to automatically align unaligned input portraits, eliminating the need for explicit facial landmarks or 3D models.
- Discriminative Network (DN): This network acts as a critic, trained to distinguish between real photorealistic faces and those generated by the SRN. This adversarial component helps enforce realism and prevent oversmoothing.
The training process incorporates three key loss functions:
- Pixel-wise Intensity Similarity Loss (Lpix): Encourages the recovered face to match the ground truth in terms of pixel intensities.
- Discriminative Loss (Ldis): The adversarial loss from the DN, pushing generated faces towards the distribution of real faces.
- Identity-Preserving Loss (Lid): This is a crucial novel component. It uses features extracted from a pre-trained FaceNet model to measure the similarity between the recovered and ground truth faces, ensuring identity preservation.
Datasets
- Synthesized Dataset: The authors created a large-scale dataset of Stylized Face (SF) and Real Face (RF) pairs. They used the CelebA dataset for ground truth faces, then applied affine transformations to create unaligned portraits and used a retrained real-time style transfer network to generate stylized images in three distinct styles (Scream, Candy, Mosaic) for training.
- Testing Datasets:
- The synthesized dataset was used for testing with both seen and unseen styles.
- The CUFSF dataset (hand-drawn sketches) was used as an unseen style to evaluate robustness.
- Authentic paintings and artworks from galleries were used to demonstrate generalization.
- The Church Outdoor dataset was used for generic scene recovery.
Key Insights and Ideas
- Identity Preservation is Key: The paper strongly emphasizes that simply removing style isn't enough; preserving the subject's identity is paramount for practical applications.
- FaceNet for Identity: Leveraging a powerful pre-trained face recognition model like FaceNet is highly effective for capturing and enforcing identity-specific features.
- STNs for Alignment: Integrating STNs within the SRN is a clever way to handle unaligned input portraits without requiring external landmark detection, simplifying the pipeline.
- Skip Connections + Residual Blocks: This combination significantly improves the quality of the recovered faces by allowing detailed information to flow through the network.
- Style-Distance Metric: Selecting diverse styles for training is important for generalization. The authors propose a metric based on Gram matrices and Log-Euclidean distance to choose representative styles.
Key Results
- Quantitative Performance: The IFRP method achieved superior results across various metrics (PSNR, SSIM, FSIM) compared to state-of-the-art methods on both seen and unseen styles, including sketches. For example, IFRP achieved an SSIM of 0.72 on seen styles and 0.68 on unseen styles, outperforming previous methods.
- Face Retrieval: The method demonstrated high Face Retrieval Ratio (FRR) scores (e.g., 90.93% on seen styles), indicating that recovered faces are highly consistent with their ground truth counterparts.
- Qualitative Results: Visual comparisons show that IFRP produces photorealistic faces with preserved identities, better facial complexion, and more accurate details (like beards) compared to other methods, which often suffer from artifacts, blurriness, or inconsistent colors.
- Robustness: The method showed robustness to various styles, ethnicity, age, rotations, and scaling of input portraits.
- Efficiency: The feed-forward nature of the network allows for fast processing, taking only 8 ms to destylize a 128x128 image.
Limitations and Future Work
- Limitations on Unseen Styles: While the method generalizes well, the paper acknowledges that for completely novel and complex unseen styles (like specific paintings or sketches), background colors and textures might not be perfectly recovered, as seen in Figure 17.
- Dataset Bias: The CelebA dataset, used for training, has a bias towards certain ethnicities and skin tones. While the identity-preserving loss helps, the network might still struggle with underrepresented groups.
- Future Work: The authors intend to embed semantic information into their network to generate more consistent face images in terms of semantic details. They also suggest exploring more generic scene and object recovery.
Summary updated