Skip to main content
QUICK REVIEW

[Paper Review] DynamicFace: High-Quality and Consistent Video Face Swapping using Composable 3D Facial Priors

Runqi Wang, Sijie Xu|ArXiv.org|Jan 15, 2025
Face recognition and analysisComputer Science3 citations
TL;DR

DynamicFace uses diffusion models with four disentangled 3D-prior facial conditions and temporal layers to achieve high-quality, identity-consistent image and video face swapping. It injects identity via Face Former and ReferenceNet, and employs a temporal module for video coherence.

ABSTRACT

Face swapping transfers the identity of a source face to a target face while retaining the attributes like expression, pose, hair, and background of the target face. Advanced face swapping methods have achieved attractive results. However, these methods often inadvertently transfer identity information from the target face, compromising expression-related details and accurate identity. We propose a novel method DynamicFace that leverages the power of diffusion model and plug-and-play temporal layers for video face swapping. First, we introduce four fine-grained face conditions using 3D facial priors. All conditions are designed to be disentangled from each other for precise and unique control. Then, we adopt Face Former and ReferenceNet for high-level and detailed identity injection. Through experiments on the FF++ dataset, we demonstrate that our method achieves state-of-the-art results in face swapping, showcasing superior image quality, identity preservation, and expression accuracy. Besides, our method could be easily transferred to video domain with temporal attention layer. Our code and results will be available on the project page: https://dynamic-face.github.io/

Motivation & Objective

  • Motivate robust face swapping that preserves source identity while accurately conveying target motion and non-identity attributes (background, illumination, pose, expression).
  • Propose four disentangled facial conditions grounded in 3D priors to provide precise, independent guidance for swapping.
  • Enable high-quality identity injection through dedicated modules (Face Former and ReferenceNet) and diffusion-model guidance.
  • Extend the approach to video by integrating temporal attention to enhance temporal consistency across frames.

Proposed method

  • Leverages Stable Diffusion with four composable face conditions: background, shape-aware normal map, expression-related landmark, and identity-removed UV texture map.
  • Uses 3D priors via 3DDFA-V3 to align pose/expression from target frames with source identity parameters and renders 2D conditions accordingly.
  • Implements Mixture-of-Guiders as lightweight guidance for the four conditions, followed by a fusion net with self-attention to combine them.
  • Introduces Face Former for high-level identity injection using a face embedding and a querying transformer for semantic integration.
  • Introduces ReferenceNet, a trainable copy of the base UNet with spatial attention to preserve detailed source-face textures.
  • Adds temporal attention (AnimateDiff-inspired) to extend the model to video while maintaining identity and motion consistency.
  • Trains in two stages: first, adapt diffusion priors to faces with spatial modules; second, fine-tune temporal layers for video coherence.

Experimental results

Research questions

  • RQ1Can a diffusion-based face-swapping framework disentangle identity, pose, expression, background, and illumination to improve both image and video quality?
  • RQ2How can 3D facial priors be exploited to align source identity with target motion while maintaining non-identity attributes?
  • RQ3Do dedicated identity-injection modules (Face Former and ReferenceNet) improve identity preservation without sacrificing motion fidelity?
  • RQ4Does incorporating temporal attention improve temporal consistency in video face swapping?
  • RQ5How does DynamicFace compare with prior diffusion-based and GAN-based methods on standard benchmarks (FF++ dataset) regarding identity preservation, pose/expression accuracy, and background fidelity?

Key findings

  • DynamicFace achieves state-of-the-art performance on FF++ in terms of identity retention, pose accuracy, and expression/mouth/eye consistency.
  • The four composable face conditions provide disentangled, task-specific guidance that improves shape alignment, lighting consistency, and environmental background handling.
  • Face Former and ReferenceNet jointly improve identity preservation and texture fidelity across expressions and poses.
  • The temporal attention module enhances video-level temporal consistency, sustaining coherent identity and motion across frames.
  • Quantitative results show superior ID retrieval and lower expression/mouth/eye errors compared to several baselines (e.g., Deepfakes, SimSwap, Face Adapter).
  • Ablation studies confirm each condition and both identity-injection modules contribute to performance, with motion module crucial for temporal stability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.