NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Identity-preserving Face Recovery from Portraits

Fatemeh Shiri, Xin Yu, Fatih Porikli, Richard Hartley, Piotr Koniusz

TL;DR

The paper introduces Identity-preserving Face Recovery from Portraits (IFRP), an end-to-end framework designed to reconstruct photorealistic, identity-consistent face images from unaligned artistic portraits. By embedding Spatial Transformer Networks (STNs) directly into a generative autoencoder and leveraging a VGG-based identity loss, the model successfully removes both seen and unseen artistic styles while automatically correcting facial alignment.

What Problem Does This Paper Address?

While neural style transfer (turning a photo into a painting) has seen massive progress, the reverse task—destylization, or recovering a realistic face from an artwork—remains highly challenging.

Artistic portraits often introduce severe geometric distortions, exaggerated expressions, and non-photorealistic color palettes. Because of these distortions, standard facial landmark detectors frequently fail, making traditional face alignment impossible. Furthermore, existing image-to-image translation methods (like CycleGAN or pix2pix) struggle to capture global facial structures or preserve the unique identity of the subject, often yielding blurry, distorted, or identity-inconsistent results.

Methods

The IFRP framework consists of two primary subnetworks trained in an adversarial setup:

  1. Style Removal Network (SRN): An autoencoder architecture where the encoder extracts high-level features from unaligned stylized faces and projects them into a latent real-face space, and the decoder synthesizes the final photorealistic face.
  2. Spatial Transformer Networks (STNs): To bypass the need for external landmark detectors, the authors interweave four STN layers within the SRN. These layers automatically estimate geometric transformation parameters to warp and align tilted or rotated faces into a canonical view.
  3. Discriminative Network (DN): A convolutional discriminator that penalizes unrealistic outputs, forcing the recovered faces to lie on the manifold of authentic human faces.
Figure 2. The Architecture of our identity-preserving face destylization framework consists of two parts: a style removal network (blue frame) and a discriminative network (green frame).

The Loss Function

To achieve high fidelity, the network optimizes a joint objective function combining three distinct losses:

  • Pixel-wise Loss ($\ell_2$): Ensures basic intensity and structural similarity.
  • Adversarial Loss: Drives the generation of high-frequency details and realistic textures.
  • Identity-preserving Loss: Measures the Euclidean distance between feature maps extracted from the ReLU3-2 layer of a pre-trained VGG-19 network, ensuring the recovered face retains the subject's distinct identity.

Datasets

Because no large-scale datasets of paired artistic portraits and real faces exist, the authors synthesized their own benchmark:

  • CelebA Dataset: Used as the base, selecting 10K real faces for training and 1K for testing. Affine transformations were applied to simulate unaligned inputs.
  • Synthesized Portraits: The authors trained a fast style transfer network to generate 30K training pairs using three "seen" styles (Candy, Feathers, and Scream).
  • Testing Set: Consists of 8K images spanning eight diverse styles, including five completely "unseen" styles (Starry Night, la Muse, Composition VII, Mosaic, and Udnie).
  • Real-world Evaluation: The model was also tested on real paintings (e.g., from the Archibald Prize gallery) and hand-drawn sketches from the CUFSF and FERET datasets.

Key Insights and Ideas

  • Landmark-Free Alignment via STNs: Integrating STNs directly into the feature-extraction pipeline solves the "chicken-and-egg" dilemma of face destylization: you need an aligned face to recover features, but you can't align the face because of artistic distortions.
  • The Perceptual Loss Balance: Relying solely on pixel-wise loss ($\ell_2$) creates overly smooth, blurry faces. Conversely, relying only on adversarial loss can alter the person's identity. The VGG-based identity loss acts as an anchor, preserving high-level semantic identity while the discriminator fills in realistic skin textures.
Figure 3. Contribution of each component of our IFRP network. (a) Input unaligned portraits from unseen styles. (b) Ground-truth face images. (c) Recovered faces with the ℓ2 loss. (d) Recovered faces without the identity-preserving loss. (e) Our final results.
  • Generalization to Unseen Styles: Remarkably, CNN filters optimized on just three training styles learn generalized representations of human facial geometry. This allows the network to successfully destylize completely novel artistic mediums and hand-drawn sketches without retraining.

Key Results

The IFRP framework significantly outperformed state-of-the-art methods like Gatys et al., Johnson et al., MGAN, pix2pix, and CycleGAN across both quantitative metrics and qualitative evaluations.

  • Image Quality: On seen styles, IFRP achieved a PSNR of 27.08 dB and an SSIM of 0.93, outperforming the closest competitor (pix2pix at 25.28 dB / 0.89). It maintained high performance even on unseen styles (24.83 dB / 0.91).
  • Face Retrieval Ratio (FRR): Using a commercial face recognition algorithm to match recovered faces back to their ground-truth photos, IFRP achieved an average retrieval rate of 86.93% for seen styles and 74.52% for unseen styles, vastly outperforming alternative methods.
  • Sketch Recognition: When evaluated on hand-drawn sketches from the CUFSF dataset, IFRP achieved a 91.05% Face Retrieval Ratio and a ~91% Verification Rate (at FAR=0.1%), doubling the performance of traditional photo-synthesizing methods like MRF+LE.
Figure 5. Comparisons of the state-of-the-art methods. (a) The ground-truth real face. (b) Input portraits (from the test dataset) including the seen styles Feathers and Candy as well as the unseen styles Mosaic, Starry and Udnie. (c) Gatys et al.’s method [7]. (d) Johnson et al.’s method [16]. (e) Li and Wand’s method [24] (MGAN). (f) Isola et al.’s method [14] (pix2pix). (g) Zhu et al.’s method [55] (CycleGAN). (h) Our method.

Limitations and Future Work

Despite its success, the authors note a few key limitations:

  • Dataset Bias: Since the underlying CelebA dataset is heavily skewed toward young adults, the network struggles to accurately recover the distinct facial features of children or elderly individuals, often biasing them toward younger adult appearances.
  • Color Consistency: When an artwork severely distorts or completely removes natural color palettes (such as in monochromatic sketches or abstract paintings), it is highly challenging to faithfully recover the original skin and hair color.

The authors suggest that incorporating explicit semantic priors into the network could help resolve these color and demographic ambiguities in future iterations.

Summary updated

BibTeX
@article{shiri2019identity,
  author = {Fatemeh Shiri and Xin Yu and Fatih Porikli and Richard Hartley and Piotr Koniusz},
  title = {{Identity-preserving Face Recovery from Portraits}},
  journal = {Int. J. Comput. Vis.},
  year = {2019},
  doi = {10.1007/s11263-019-01169-1},
}
Figure