Text-Guided 3D Face Synthesis - From Generation to Editing

Yunjie Wu, Yapeng Meng, Zhipeng Hu, Lincheng Li, Haoqian Wu, Kun Zhou, Weiwei Xu, Xin Yu

Abstract

FaceG2E is a unified framework for text-guided 3D face synthesis that bridges the gap between initial generation and iterative, sequential editing. By decoupling geometry from texture and introducing a self-guided consistency mechanism, the framework enables high-fidelity 3D face creation and precise modifications without losing subject identity or causing unintended artifacts. This approach addresses the common pitfalls of "editing drift" and geometric-texture coupling found in existing one-shot generation methods.

Introduction

While text-to-image (T2I) models have revolutionized 2D art, high-fidelity 3D face synthesis remains a significant challenge. Existing methods typically focus on "one-shot" generation, leaving users with few options for fine-grained adjustment. Two core issues hinder progress: the coupling of geometry and texture, which often results in "flat" meshes where texture masks structural flaws, and "editing drift," where sequential changes inadvertently alter static facial features.

FaceG2E addresses these challenges by separating the creation of 3D structure from surface appearance and leveraging the internal attention mechanisms of diffusion models to protect identity during the editing process.

Methodology

1. Geometry-Texture Decoupled Generation

Instead of optimizing geometry and texture simultaneously, FaceG2E employs a two-stage pipeline:

  • Geometry Phase: The model uses "geometry-centric" Score Distillation Sampling (SDS). By rendering the face with constant grey shading or surface normals, the model is forced to focus purely on 3D structure—such as wrinkles and bone structure—without relying on color to hide flaws.
  • Texture Phase: Once the geometry is finalized, the model generates texture using ControlNet conditioned on depth maps from the generated mesh. To ensure realistic skin tones and uniform brightness, the authors fine-tune a texture-specific diffusion model in both RGB and YUV color spaces.
Figure 1: Decoupled 3D face generation showing the final render, the underlying geometry (grey mesh), and the resulting UV texture map.

2. Self-Guided Consistency Preserved Editing

To enable precise sequential editing, the framework utilizes InstructPix2Pix enhanced by a Self-guided Consistency Weight. The model analyzes its own internal cross-attention maps for specific keywords (e.g., "mask" or "mustache") to identify exactly which pixels in the UV map are being targeted. A regularization loss then "freezes" the remainder of the face, ensuring that localized edits do not change the character's overall identity or skin tone.

Figure 4: Sequential editing example: adding a mask to a generated identity while preserving the underlying geometry and texture consistency.

Key Results and Insights

FaceG2E demonstrates significant improvements over state-of-the-art (SOTA) methods like Dreamface and TADA.

  • Quantitative Performance: The model outperformed baselines in CLIP scores, which measure the alignment between text prompts and 3D models. In user preference tests, FaceG2E was preferred 80% of the time for generation and 70% for editing tasks.
  • Dynamic Masking: A key innovation is using cross-attention scores as a dynamic mask, removing the need for manual user painting during the editing process.
  • Color Space Optimization: The use of YUV space for SDS loss calculation was found to be superior to standard RGB for preventing the "patchy" lighting often seen in synthetic 3D textures.

Limitations and Future Work

The current framework is constrained by the underlying 3D Morphable Model (3DMM), meaning it can only represent facial skin; hair, glasses, and hats are currently rendered as "painted-on" textures rather than 3D geometry. Additionally, while efficient for 3D workflows, each edit takes approximately four minutes on an NVIDIA A30 GPU. Future research will focus on extending the framework to full-head geometry and improving optimization speeds.

Summary updated

BibTeX
@inproceedings{wu2023text,
  author = {Yunjie Wu and Yapeng Meng and Zhipeng Hu and Lincheng Li and Haoqian Wu and Kun Zhou and Weiwei Xu and Xin Yu},
  title = {{Text-Guided 3D Face Synthesis - From Generation to Editing}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure