Context-aware Talking Face Video Generation

Meidai Xuanyuan, Yuwang Wang, Honglei Guo, Qionghai DaiarXiv 2024 · DOI

Generating a realistic talking head is a significant achievement in computer vision; however, ensuring that the generated head appears naturally within a complex conversational environment remains a challenge. Most existing models focus primarily on lip-synchronization and facial expressions, often neglecting the spatial and temporal context of the surrounding scene. Researchers from Tsinghua University have addressed this gap by introducing a framework that integrates the talking face into its environment.

Problem Statement: The "Floating Head" Challenge

Current state-of-the-art talking head generators, such as SadTalker, excel at audio-visual synchronization but often treat the face as an isolated object. When these generated faces are composited back into a video—for instance, a scene where a character interacts with others—the results can appear "uncanny." Common issues include incorrect head orientation, mismatched lighting, or postures that do not align with the character's gestures.

A truly natural video requires context-awareness, where the generated face is both audio-aligned (precise lip-sync) and context-aligned (spatially coherent with the audience and surroundings).

Overview of the context-aware talking face generation task and the proposed two-stage pipeline.

Methodology: The TCCP Framework

The proposed solution is the Two-stage Cross-modal Control generation Pipeline (TCCP). Rather than attempting a direct mapping from audio to pixels, TCCP decomposes the problem into two manageable stages:

  1. Stage 1: Landmark Generation: The model utilizes driving audio and a "context video" (where the target head is masked) to generate a sequence of 3D facial landmarks. This stage ensures the head's pose and orientation are appropriate for the scene, such as looking toward a conversational partner.
  2. Stage 2: Video Generation: These landmarks, combined with the audio and a reference identity image, are processed by a second model to produce high-fidelity video frames.
Detailed architecture of the TCCP, illustrating the landmark and video generation stages across first and subsequent frames.

MVControlNet

At the core of this pipeline is MVControlNet (Multi-modal Controlled Video Generation Network). Built upon Latent Diffusion Models (LDM), it incorporates a "Control Branch" that mirrors the main network. This architecture allows the model to ingest diverse data types—including latent audio, latent identity, and video-based landmarks/context—to guide the generation process while maintaining temporal consistency.

Dataset: The Big Bang Theory

To train and evaluate the model on multi-person interactions, the authors curated a new dataset from the television show The Big Bang Theory. They focused on the character Sheldon Cooper due to his extensive interactive dialogue. The dataset includes approximately 5.92 hours of video, resulting in 66,000 sequences of 8 frames each. Automated detectors were used to extract ground-truth facial landmarks and audio for training.

Key Insights

  • Landmarks as a Structural Bridge: Using landmarks provides a compact, explicit control signal that bridges the gap between abstract audio and complex video pixels. They are computationally efficient yet carry essential structural information.
  • Necessity of the Two-Stage Approach: Experiments with a "one-stage" model—generating video directly from audio and context—resulted in significant facial distortions. This confirms that the intermediate structural step provided by landmarks is vital for stability.
  • First-Frame Conditioning: To maintain identity and appearance over long sequences, the model uses the first frame as a condition for subsequent frames, preventing visual "drift."

Experimental Results

TCCP was benchmarked against established models like ControlNet and SadTalker, demonstrating superior performance across several metrics:

  • Visual Fidelity: TCCP achieved a Frechet Inception Distance (FID) of 27.06 for the full scene, significantly better than SadTalker's 36.63, indicating a more natural blend with the background.
  • Contextual Accuracy: Qualitative evaluations showed that TCCP was uniquely successful in orienting the character's head toward other participants in the scene.
  • User Preference: In a study of 32 participants, TCCP received a "Full Scene Naturalness" score of 3.94/5, outperforming SadTalker (2.92) and ControlNet (2.31).

Conclusion and Future Work

TCCP represents a major step toward context-aware video synthesis. While currently focused on a single-person dataset and limited to the head region, future developments aim to extend this framework to multi-identity datasets and full-body generation to capture broader physical interactions. Additionally, optimizing the inference time of these diffusion-based models remains a key area for future research.

Summary updated

BibTeX
@misc{xuanyuan2024context,
  author = {Meidai Xuanyuan and Yuwang Wang and Honglei Guo and Qionghai Dai},
  title = {{Context-aware Talking Face Video Generation}},
  year = {2024},
  eprint = {2402.18092},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.18092},
}
Figure