DPE: Disentanglement of Pose and Expression for General Video Portrait Editing

Youxin Pang, Yong Zhang, Weize Quan, Yanbo Fan, Xiaodong Cun, Ying Shan, Dongming Yan · DOI

Abstract

One-shot video-driven talking face generation aims at producing a synthetic talking video by transferring the facial motion from a video to an arbitrary portrait image. Head pose and facial expression are always entangled in facial motion and transferred simultaneously. However, the entanglement sets up a barrier for these methods to be used in video portrait editing directly, where it may require to modify the expression only while maintaining the pose unchanged. One challenge of decoupling pose and expression is the lack of paired data, such as the same pose but different expressions. Only a few methods attempt to tackle this challenge with the feat of 3D Morphable Models (3DMMs) for explicit disentanglement. But 3DMMs are not accurate enough to capture facial details due to the limited number of Blenshapes, which has side effects on motion transfer. In this paper, we introduce a novel self-supervised disentanglement framework to decouple pose and expression without 3DMMs and paired data, which consists of a motion editing module, a pose generator, and an expression generator. The editing module projects faces into a latent space where pose motion and expression motion can be disentangled, and the pose or expression transfer can be performed in the latent space conveniently via addition. The two generators render the modified latent codes to images, respectively. Moreover, to guarantee the disentanglement, we propose a bidirectional cyclic training strategy with well-designed constraints. Evaluations demonstrate our method can control pose or expression independently and be used for general video editing.

Introduction

In the field of AI-driven video editing, "talking face generation" typically involves a source image and a driving video to create a synthetic result. However, most current models suffer from entanglement: the head's orientation (pose) and the facial movements (expression) are baked together. If an editor attempts to change just the expression, standard methods often shift the head position slightly as well. When pasting that edited face back into the original video frame, this misalignment leads to "ghosting" or "twisted neck" artifacts.

While some researchers use 3D Morphable Models (3DMMs) to separate these elements, these 3D templates are often too low-detail to capture subtle facial nuances, resulting in blurry mouths or inaccurate eye movements. DPE (Disentanglement of Pose and Expression) addresses these issues through a self-supervised framework that decouples these elements without relying on rigid 3D models.

Methodology

The DPE framework achieves disentanglement through a specialized architecture and a clever training strategy, avoiding the need for perfectly "paired" data (e.g., the same person making different faces in the exact same pose).

  1. Motion Editing Module: An encoder projects faces into a latent space where the "motion" of a driving face is decomposed into two orthogonal vectors: one for pose and one for expression. Editing is performed via simple addition in this latent space.
  2. Dual Generators: Instead of one general renderer, DPE uses an Expression Generator and a Pose Generator. They share a flow-based warping architecture but learn different parameters to interpret their respective latent codes.
  3. Bidirectional Cyclic Training: To train without paired data, the authors use a "cycle" approach. They take a source face ($S$) and a driving face ($D$), transfer the expression from $D$ to $S$, and then transfer the pose from $D$ to that intermediate result. The final output should match $D$.
  4. Two-Stage Learning: Because expressions involve local, subtle details while pose involves global movement, the authors use a two-stage process, fine-tuning the expression generator separately to capture higher-fidelity details.
Figure 3: Demonstration of DPE's ability to decouple pose and expression for both static image editing and video sequences.

Key Results and Insights

The model was trained on the VoxCeleb dataset and evaluated using HDTF (High-Resolution Deepfake Forensics) to test generalization. Key findings include:

  • Superior Expression Accuracy: In quantitative tests (AED metric), DPE outperformed state-of-the-art models like PIRenderer and StyleHEAT, particularly in capturing "eye status" and mouth shapes.
  • Identity Preservation: DPE achieved higher CSIM (Cosine Similarity) scores, meaning the edited face looks more like the original person and less like the "driving" person.
  • Seamless Paste-back: Because the pose can be kept strictly identical to the original video, edited faces can be blended back into the full frame with a simple Gaussian blur, avoiding the uncanny neck distortions seen in older methods.
  • Subject-Agnostic Editing: As a "one-shot" model, DPE works on any unseen face immediately, making it highly practical for general video editing.

Conclusion and Future Work

DPE provides a robust solution for high-fidelity video portrait editing by treating motion as an additive property in a latent space. While its pose preservation is slightly lower than 3DMM-based methods due to the lack of explicit geometric math, its overall fidelity and editing flexibility represent a significant step forward. Future directions include extending the framework to higher resolutions and integrating audio-driven pipelines for natural dubbing and film editing.

Summary updated

BibTeX
@inproceedings{pang2023dpe,
  author = {Youxin Pang and Yong Zhang and Weize Quan and Yanbo Fan and Xiaodong Cun and Ying Shan and Dongming Yan},
  title = {{DPE: Disentanglement of Pose and Expression for General Video Portrait Editing}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  doi = {10.1109/cvpr52729.2023.00049},
}
Figure