DiffTalk: Crafting Diffusion Models for Generalized Audio-Driven Portraits Animation

Shuai Shen, Wenliang Zhao, Zibin Meng, Wanhua Li, Zheng Zhu, Jie Zhou, Jiwen Lu

The generation of realistic, audio-driven talking head videos remains a significant challenge in computer vision, primarily due to the difficulty of maintaining high fidelity while ensuring generalization across diverse identities. Traditional methods often rely on Generative Adversarial Networks (GANs), which struggle with stability and fine-grained textures, or 3D-based models that require extensive person-specific fine-tuning. This paper introduces DiffTalk, a novel framework leveraging Latent Diffusion Models (LDMs) to produce high-quality, temporally coherent talking head animations. By employing a dual reference mechanism and a strategic masking approach, DiffTalk achieves state-of-the-art performance in synthesizing realistic lip movements and facial expressions for unseen identities without the need for additional training.

Overcoming the Uncanny Valley

The "uncanny valley" has long plagued the field of digital human synthesis. When a talking head video lacks subtle facial nuances or exhibits artifacts around the mouth, the human eye immediately perceives it as artificial. Current research typically follows two paths: 2D GAN-based synthesis and 3D-based reconstruction.

GAN-based methods, while capable of generalizing to new faces, frequently suffer from "mode collapse" and low-resolution outputs. Common artifacts include blurry textures and a lack of temporal consistency—often manifesting as a jittery "box" around the mouth. Conversely, 3D-based methods (such as those using Neural Radiance Fields or 3D Morphable Models) can produce stunningly high-quality results but are often "identity-locked," requiring hours of video data and significant compute to adapt to a single new person. DiffTalk aims to bridge this gap by providing a generalized solution that maintains the high-fidelity synthesis capabilities of diffusion models.

Methodology: Latent Diffusion for Talking Heads

DiffTalk is built upon Latent Diffusion Models (LDMs), which perform the denoising process in a compressed latent space rather than on raw pixels. This approach significantly reduces computational overhead while preserving the ability to generate intricate details like skin pores and individual hairs.

Conceptual overview of DiffTalk: combining audio input with a library of identities to generate animated talking heads.

The model's success hinges on its conditioning strategy. To ensure the generated video matches the driving audio and the target identity, the authors implemented several key components:

  1. Temporal Audio Filtering: Raw audio features extracted via DeepSpeech are processed through a learnable temporal filtering module. This module uses self-attention to ensure that lip movements are smooth and consistent across frames, preventing the "jitter" common in frame-by-frame synthesis.
  2. Dual Reference Mechanism: The LDM is conditioned on two distinct reference inputs. The first is a random reference image of the target person, which provides global identity and background information. The second is a "masked" version of the target frame, which provides the necessary head pose and orientation.
  3. Strategic Masking: A critical innovation in DiffTalk is the masking of the mouth area in the pose-guidance image. By hiding the ground-truth mouth, the model is forced to rely entirely on the audio conditioning to reconstruct the lip movements, preventing the model from simply learning to copy the original video frames during training.
  4. Progressive Inference: To maintain temporal coherence, the model uses the previously generated frame as an additional reference for the current frame, creating a chain of dependency that stabilizes fine details.

Experimental Results and Generalization

The model was trained and evaluated using the HDTF (High-Definition Talking Face) dataset, which comprises approximately 16 hours of high-resolution (720p/1080p) footage from over 300 identities.

Qualitative results of DiffTalk across three different identities, showing high-fidelity lip-sync and facial detail.

DiffTalk was benchmarked against several leading methods, including Wav2Lip, MakeItTalk, and AD-NeRF.

  • Quantitative Performance: DiffTalk outperformed baselines in standard image quality metrics, achieving a PSNR of approximately 34.5 and an SSIM of 0.95. Its LPIPS scores were significantly lower than GAN-based competitors, indicating superior perceptual realism.
  • Visual Fidelity: Unlike Wav2Lip, which often produces a noticeable "blurry box" around the mouth area, DiffTalk's diffusion-based approach allows for seamless integration of the animated mouth with the rest of the face.
  • Generalization: The model demonstrated an impressive ability to animate "zero-shot" identities—people it had never seen during training—with a level of detail previously only possible with person-specific 3D models.

Limitations and Future Outlook

While DiffTalk represents a major step forward, it is not without limitations. The iterative nature of diffusion models makes inference slower than GAN-based alternatives, posing a challenge for real-time applications. Additionally, the model's performance can vary if the driving audio's speaking style differs drastically from the visual identity's natural movements. Future work will likely focus on optimizing inference speed through model distillation and improving cross-identity synchronization.

In conclusion, DiffTalk demonstrates that Latent Diffusion Models are a powerful tool for high-fidelity talking head synthesis. By moving beyond the limitations of GANs and the rigidity of person-specific 3D models, it offers a generalized, high-resolution solution that brings us one step closer to crossing the uncanny valley.

Summary updated

BibTeX
@inproceedings{shen2023difftalk,
  author = {Shuai Shen and Wenliang Zhao and Zibin Meng and Wanhua Li and Zheng Zhu and Jie Zhou and Jiwen Lu},
  title = {{DiffTalk: Crafting Diffusion Models for Generalized Audio-Driven Portraits Animation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  doi = {10.1109/cvpr52729.2023.00197},
}
Figure