TL;DR
This paper introduces the Identity-Preserving Face Recovery from Portraits (IFRP) framework, a novel deep learning approach that can transform stylized artistic portraits into realistic, identity-consistent face images. By combining a Style Removal Network (SRN) with a Discriminative Network (DN) and leveraging Spatial Transformer Networks (STNs), IFRP effectively handles misalignments and preserves facial identity, outperforming existing methods on various artistic styles.
What Problem Does This Paper Address?
The creation of artistic portraits from photographs is a popular application of style transfer. However, the reverse process – recovering a photorealistic face from a stylized portrait while preserving the original identity – is significantly more challenging. Stylized images often suffer from distorted facial features, misalignments, and loss of fine details, making it difficult for traditional face analysis and recovery techniques to succeed. Existing methods, while capable of style transfer, often fail to maintain the subject's identity or produce realistic results, especially when dealing with unseen artistic styles or unaligned inputs. This paper aims to bridge this gap by developing a robust method for identity-preserving face recovery from unaligned, stylized portraits.
Methods
The core of the IFRP framework is a two-component neural network:
- Style Removal Network (SRN): This network is designed to remove artistic styles and recover photorealistic facial features. It employs an autoencoder architecture (encoder-decoder) to map stylized image features to a latent space and then reconstruct a realistic face. Crucially, it incorporates Spatial Transformer Networks (STNs) within its layers. STNs are key to automatically compensating for misalignments, rotations, and scale variations in the input stylized portraits, eliminating the need for explicit facial landmark detection or 3D models.
- Discriminative Network (DN): This network acts as a critic, trained to distinguish between real, ground-truth faces and the faces generated by the SRN. By employing an adversarial loss, the DN encourages the SRN to produce outputs that are indistinguishable from authentic faces, leading to more visually appealing and realistic results.
To ensure identity preservation, the authors introduce an identity-preserving loss. This loss function compares feature representations of the recovered and ground-truth faces, extracted from a pre-trained VGG network. By enforcing similarity in these high-level features, the method ensures that the recovered face retains the identity of the original subject. The overall loss function for training the SRN is a weighted sum of a pixel-wise loss (for appearance similarity), the adversarial loss (for realism), and the identity-preserving loss.
Datasets
The authors created a synthesized dataset for training and evaluation. They utilized the CelebA dataset as the source for ground-truth real faces (RF). For training, they selected 10,000 aligned real faces and synthesized stylized face (SF) images from three distinct artistic styles (Candy, Feathers, Scream). For testing, they used 1,000 real faces and generated SF images from eight diverse styles, including styles not seen during training. This synthesized dataset is made available online. The paper also mentions using the CUFSF dataset for evaluating performance on hand-drawn sketches.
Key Insights and Ideas
- STNs for Automatic Alignment: The integration of STNs within the SRN is a critical innovation. It allows the network to automatically handle misaligned and rotated input portraits, a significant hurdle in previous approaches that relied on explicit alignment methods.
- Combined Loss for Holistic Recovery: The success of IFRP hinges on the synergistic combination of pixel-wise, adversarial, and identity-preserving losses. This multi-faceted loss function ensures realism, visual quality, and, most importantly, identity consistency.
- Generalization to Unseen Styles: The SRN, trained on a limited set of styles, demonstrates a remarkable ability to recover faces from entirely unseen artistic styles, highlighting the network's robust feature extraction capabilities.
- Beyond Synthesized Data: The method's effectiveness extends beyond synthesized stylized images to real paintings and hand-drawn sketches, showcasing its versatility.
Key Results
- State-of-the-Art Performance: IFRP achieves state-of-the-art results on a synthesized dataset, outperforming existing methods like Gatys et al. [7], Johnson et al. [16], MGAN [24], pix2pix [14], and CycleGAN [55] in terms of PSNR and SSIM scores for both seen and unseen styles.
- High Identity Preservation: Quantitative analysis using a face retrieval algorithm (FRR and FCR scores) demonstrates that IFRP consistently recovers faces that are highly similar to the ground-truth counterparts, even across different artistic styles. For instance, it achieves an 86.93% FRR on seen styles and 74.52% on unseen styles.
- Efficiency: The feed-forward nature of the trained network allows for fast inference, taking approximately 10 ms to destylize a 128x128 image.
- Qualitative Superiority: Visual comparisons across multiple figures (5, 6, 11, 12, 13) consistently show IFRP producing more realistic, artifact-free, and identity-preserving results compared to other methods.
Limitations and Future Work
- Dataset Imbalance: The synthesized dataset, derived from CelebA, has an unbalanced distribution of age groups (children, young adults, old people). This can lead to the network being biased towards recovering features of young adults, even for children or older individuals.
- Color Consistency: Recovering accurate skin and hair color can be challenging, especially when the original stylized paintings have significantly distorted color information. The authors suggest that incorporating semantic information could help improve color consistency in future work.
- Future Directions: The authors propose exploring the integration of semantic information to enhance color consistency and further improve the realism of recovered faces. They also aim to make their dataset and code publicly available.
Summary updated