DeepFaceReshaping: Interactive deep face reshaping via landmark manipulation

Shu-Yu Chen, Yue-Ren Jiang, Hongbo Fu, Xinyang Han, Zitao Liu, Rong Li, Lin GaoComput. Vis. Media 2024

Abstract

Deep generative models allow the synthesis of realistic human faces from freehand sketches or semantic maps. However, although they are flexible, sketches and semantic maps provide too much freedom for manipulation, and thus, are not easy for novice users to control. In this study, we present DeepFaceReshaping, a novel landmark-based deep generative framework for interactive face reshaping. To edit the shape of a face realistically by manipulating a small number of face landmarks, we employ neural shape deformation to reshape individual face components. Furthermore, we propose a novel Transformer-based partial refinement network to synthesize the reshaped face components conditioned on the edited landmarks, and fuse the components to generate the entire face using a local-to-global approach. In this manner, we limit possible reshaping effects within a feasible component-based face space. Thus, our interface is intuitive even for novice users, as confirmed by a user study. Our experiments demonstrate that our method outperforms traditional warping-based approaches and recent deep generative techniques.

Introduction

Facial image editing has become a cornerstone of modern digital media, yet existing deep generative tools often present a significant barrier to entry for novice users. Current methods typically fall into two extremes: rigid parametric 3D models that lack flexibility, or highly flexible freehand sketch and semantic map interfaces that offer too much freedom. For non-professional users, this "blank canvas" approach often leads to anatomically impossible results or the "uncanny valley" effect.

DeepFaceReshaping addresses this by providing an intuitive landmark-based interface. By allowing users to manipulate a sparse set of points while maintaining anatomical "guardrails," the system enables realistic facial reshaping without requiring professional artistic skills or deep knowledge of 3D modeling.

Methodology

The DeepFaceReshaping framework utilizes a two-stage pipeline designed to ensure both anatomical plausibility and high-fidelity image synthesis.

1. Neural Shape Deformation

The system represents the face as a 2D triangle mesh of landmarks. To ensure that user edits remain realistic, the authors employ a Graph-Convolutional Variational Autoencoder (VAE) trained on a large-scale dataset of facial landmarks. When a user drags a specific landmark (e.g., pulling the chin down), the system performs optimization within the VAE's latent space to find the closest anatomically natural configuration that satisfies the new constraints. This automatically updates the entire landmark set to maintain structural integrity.

2. Local-to-Global Face Generation

The synthesis stage follows a "local-to-global" approach to maintain fine-grained detail:

  • Partial Refinement Modules: The face is decomposed into semantic components (eyes/eyebrows, nose, mouth, and the remaining facial area). Each component is refined individually based on the updated landmarks.
  • Transformer-based Appearance Encoder: To preserve the subject's identity, a Transformer-based encoder captures long-range style and identity features from the original image. This ensures that the reshaped features still belong to the same person.
  • Global Fusion Module: A U-Net-based architecture seamlessly integrates the refined components back into the original background, ensuring global consistency and smooth blending.

Experimental Results

The model was trained and evaluated primarily on the CelebA-HQ dataset (30,000 high-quality images), with FFHQ used for data cleaning and alignment to ensure the model focuses on front-facing views.

Quantitative Performance

DeepFaceReshaping was compared against state-of-the-art generative models including SEAN, MaskGAN, and CoCosNet. The proposed method achieved superior results across several metrics:

  • Image Quality: Achieved the lowest FID (43.97), indicating higher realism and diversity.
  • Structural Accuracy: Reached an SSIM of 0.761, the highest among compared methods.
  • Identity Preservation: In face verification tests (CurFR), the model scored 0.78, significantly outperforming competitors (which ranged from 0.61 to 0.73).

Computational Efficiency

Despite its multi-stage architecture, the model is remarkably efficient. It requires only 48.2 G MACs, making it significantly lighter than heavyweights like CoCosNet (380.2 G) or SEAN (343.2 G).

Discussion and Limitations

A key insight of this work is the use of landmarks as constraints for a "feasible space." By routing edits through a VAE, the system effectively prevents the creation of "broken" or impossible facial structures. Furthermore, the local-to-global synthesis strategy allows for finer detail preservation—such as the specific fold of an eyelid—compared to models that generate the entire face in a single pass.

However, some limitations remain. The tool is currently restricted to the landmark graph, meaning users cannot edit non-facial regions like hair or accessories. Additionally, while the VAE provides guardrails, extreme deformations may be "softened" by the model to stay within the learned natural distribution. The system also faces challenges with "out-of-distribution" faces, such as those with heavy accessories or significant age-related features not well-represented in the training data.

Conclusion

DeepFaceReshaping provides a powerful yet accessible tool for facial manipulation. By combining graph-based neural deformation with a Transformer-enhanced synthesis network, it bridges the gap between rigid 3D models and overly flexible sketch-based tools, offering a balanced approach to interactive face editing that preserves both realism and identity.

Summary updated

BibTeX
@inproceedings{chen2024deepfacereshaping,
  author = {Shu-Yu Chen and Yue-Ren Jiang and Hongbo Fu and Xinyang Han and Zitao Liu and Rong Li and Lin Gao},
  title = {{DeepFaceReshaping: Interactive deep face reshaping via landmark manipulation}},
  booktitle = {Comput. Vis. Media},
  year = {2024},
  url = {https://openreview.net/forum?id=ygHshXA22J},
}
Figure