DiffFAE: Advancing High-fidelity One-shot Facial Appearance Editing with Space-sensitive Customization and Semantic Preservation

Qilin Wang, Jiangning Zhang, Chengming Xu, Weijian Cao, Ying Tai, Yue Han, Yanhao Ge, Hong Gu, Chengjie Wang, Yanwei FuarXiv 2024 · DOI

Introduction

Facial Appearance Editing (FAE) involves transferring specific physical attributes—such as pose, expression, or lighting—from a query image to a source identity. Despite its potential, existing approaches face significant challenges. GAN-based models often suffer from low generation fidelity and distortions during large pose changes. Conversely, high-quality diffusion-based methods typically require computationally expensive test-time finetuning, often taking minutes per identity, which precludes real-time application. Furthermore, maintaining consistency in non-edited regions like hair texture, clothing, and background remains difficult.

DiffFAE addresses these limitations through a novel one-stage latent diffusion framework. It achieves high-fidelity, one-shot editing without the need for test-time finetuning, strictly preserving source identity and environmental context.

Methodology

The DiffFAE architecture leverages Latent Diffusion Models (LDM) integrated with two core modules designed for precise attribute control and semantic preservation.

Space-sensitive Physical Customization (SPC)

To guide the diffusion process, DiffFAE extracts 3D Morphable Model (3DMM) parameters (pose, expression, lighting) from the query image using a 3D estimator (DECA). These parameters are rendered into a physical texture map that serves as a spatial guide, ensuring that edited attributes are accurately positioned.

Region-responsive Semantic Composition (RSC)

To maintain source-specific details, the framework employs unsupervised Slot Attention to decompose the source image into semantic tokens. Ablation studies identified four tokens as the optimal number, mapping perfectly to the natural structure of a portrait: face, hair, clothes, and background. This decoupling allows the model to modify specific attributes while keeping others, such as the intricate folds of a shirt or background details, intact.

Disentangled facial appearance editing across pose, expression, lighting, background, and clothes.

Identity and Attention Consistency

Identity is preserved using an ArcFace-extracted token injected via Adaptive Instance Normalization (AdaIN). Additionally, a novel Attention Consistency Regularization (ACR) loss aligns the diffusion model's internal attention maps with the semantic regions defined by slot attention, preventing attribute "bleeding" between distinct areas.

Experimental Results

The model was trained and evaluated on the VoxCeleb1 dataset, comprising over 100,000 celebrity videos. DiffFAE demonstrates superior performance across both quantitative and qualitative benchmarks.

Quantitative Performance

  • Image Quality: DiffFAE achieved a Fréchet Inception Distance (FID) of 31.83, significantly outperforming DiffusionRig (47.10).
  • Identity Stability: It reached a Cosine Similarity of Identity Embedding (CSIM) of 0.9458, the highest among compared methods.
  • Efficiency: Unlike DiffusionRig, which requires approximately 21 minutes of finetuning per identity, DiffFAE requires zero test-time finetuning and completes edits in roughly 0.8 seconds.

Qualitative Comparison

As shown in the comparisons below, DiffFAE maintains higher structural integrity and identity resemblance compared to existing methods like StyleHEAT or DiffusionRig, especially under significant pose and expression changes.

Qualitative comparison of DiffFAE against state-of-the-art methods and demonstration of attribute-specific editing.

Discussion and Conclusion

DiffFAE represents a significant advancement in efficient, high-fidelity facial editing. By moving beyond global feature representations to a semantic, slot-based approach, it enables precise control over individual attributes.

While the model excels in one-shot scenarios, limitations remain. The reliance on 3DMMs can lead to artifacts in extreme profile views. Future work will explore more robust 3D priors and the extension of this efficient one-stage pipeline to video sequences to ensure temporal consistency.

Summary updated

BibTeX
@misc{wang2024difffae,
  author = {Qilin Wang and Jiangning Zhang and Chengming Xu and Weijian Cao and Ying Tai and Yue Han and Yanhao Ge and Hong Gu and Chengjie Wang and Yanwei Fu},
  title = {{DiffFAE: Advancing High-fidelity One-shot Facial Appearance Editing with Space-sensitive Customization and Semantic Preservation}},
  year = {2024},
  eprint = {2403.17664},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.17664},
}
Figure