High-Quality Face Caricature via Style Translation

Lamyanba Laishram, Muhammad Shaheryar, Jong Taek Lee, Soon Ki Jung · DOI

Abstract

Generating high-quality face caricatures requires a delicate balance between distinctive feature exaggeration and the preservation of the subject's identity. Traditional methods often result in overly stylized, "cartoonish" outputs that lose realistic textures or fail to maintain the essence of the original person. This paper introduces a novel framework for "realistic exaggeration" using StyleGAN-based style translation. By creating a high-fidelity synthetic dataset and utilizing a custom latent space projection, the proposed method achieves smooth, incremental control over facial features while maintaining high image quality and handling complex occlusions such as eyeglasses.

1. Introduction

Caricature is an art form that emphasizes the most unique characteristics of a face to create a recognizable yet distorted representation. In the digital domain, automated caricature generation faces a significant challenge: the "Goldilocks" problem. If the exaggeration is too subtle, the effect is lost; if it is too extreme, the subject becomes unrecognizable or the image quality degrades into low-resolution artistic sketches.

This research proposes a pipeline that prioritizes realism, maintaining the lighting, skin texture, and photographic quality of the source image while amplifying facial geometry. The core of this approach is a two-stage process involving the creation of a high-quality paired dataset and the training of a StyleGAN2-based encoder for precise latent space manipulation.

2. Problem Statement

A primary bottleneck in caricature research is the lack of high-quality paired datasets—sets of real photos matched with professional caricatures of the same individual. Existing datasets, such as WebCaricature, often suffer from inconsistent styles and varying image quality. Furthermore, current AI models frequently struggle with occlusions. For instance, when a subject wears eyeglasses, standard exaggeration techniques often distort the frames or fail to correctly render the eyes behind the lenses, leading to visual artifacts.

3. Methodology

3.1 Face Caricature Generation (Dataset Creation)

To overcome the lack of paired data, the authors developed a synthetic dataset generation pipeline. The process begins with landmark detection to identify key facial features, specifically the eyes and mouth. These regions are extracted as "patches" and scaled by a factor of 1.5. To integrate these enlarged features back into the original face, the framework employs Poisson image editing, ensuring seamless color and gradient transitions.

To address the blurriness that typically occurs at the boundaries of blended patches, the authors introduced an image matting technique. By generating a precise trimap (categorizing pixels as foreground, background, or unknown), the model produces significantly sharper facial contours and more realistic transitions than previous blending-only methods.

3.2 Face Caricature Projection and Incremental Exaggeration

The framework utilizes a StyleGAN2 model pretrained on this synthetic dataset. To convert a real-world photo into a caricature, a custom encoder based on a Feature Pyramid Network (FPN) is used to project the image into the StyleGAN latent space.

Because both real faces and caricatures are mapped into the same latent space, the model allows for "latent walks." By interpolating between the latent code of the original face and the code of the caricature, users can achieve smooth, incremental control over the level of exaggeration. This disentangled control ensures that geometric changes do not inadvertently alter other attributes like hair color or skin tone.

3.3 Handling Occlusions

To maintain realism for subjects with eyewear, the paper introduces a specialized sub-pipeline. The system first removes the glasses, generates the caricature of the underlying facial features, and then re-applies the glasses using a restoration network. This network includes lighting correction to ensure the frames appear naturally integrated with the newly exaggerated facial geometry.

4. Datasets

The training set was constructed using two high-resolution face datasets:

  • FFHQ (Flickr-Faces-HQ): 70,000 images.
  • CelebA-HQ: 30,000 images.

The resulting synthetic dataset encompasses a diverse range of genders, races, ages, and expressions, with specific categorization for various types of eyewear.

5. Key Results

The proposed framework was evaluated against state-of-the-art models, including WarpGAN and StyleCariGAN, using both quantitative metrics and qualitative human assessment.

  • Identity Preservation: Using the ArcFace metric, the model achieved a score of 0.37, outperforming WarpGAN (0.26) and StyleCariGAN (0.11).
  • Image Quality: The model achieved a Fréchet Inception Distance (FID) of 38.08, significantly better than StyleCariGAN’s 52.35, indicating the outputs are closer to the distribution of real high-quality photographs.
  • Perceptual Similarity: The method led in LPIPS (0.06) and SSIM (0.85), confirming high structural and perceptual coherence relative to the input images.

6. Discussion and Limitations

While the framework excels at realistic exaggeration, it currently focuses on the eyes and mouth, leaving other features like the nose, chin, and forehead for future development. Additionally, as the model is grounded in real-world textures, it is not designed to produce "out-of-domain" artistic styles such as charcoal sketches or oil paintings.

One promising future application is face de-identification. By exaggerating unique features, the system can effectively mask a person's exact biometric identity for privacy purposes while still preserving their general expression and demographic attributes for research and data analysis.

Summary updated

BibTeX
@inproceedings{laishram2023high,
  author = {Lamyanba Laishram and Muhammad Shaheryar and Jong Taek Lee and Soon Ki Jung},
  title = {{High-Quality Face Caricature via Style Translation}},
  booktitle = {IEEE Access},
  year = {2023},
  url = {https://openreview.net/forum?id=pVqjyKGevR},
}
Figure