IF-MDM: Implicit Face Motion Diffusion Model for High-Fidelity Realtime Talking Head Generation

Sejong Yang, Seoung Wug Oh, Yang Zhou, Seon Joo KimarXiv 2024

TL;DR

IF-MDM (Implicit Face Motion Diffusion Model) achieves high-fidelity, real-time talking head generation at 512x512 resolution at up to 45 frames per second (FPS). By predicting highly compressed, appearance-aware implicit motion vectors via a diffusion transformer rather than generating full video frames or relying on rigid 3D face models, it successfully bridges the gap between visual quality and computational efficiency.

What Problem Does This Paper Address?

Generating a realistic talking head video from a single portrait image and an audio track usually forces researchers to choose between two flawed paradigms:

  1. Explicit Face Models: Methods using 3D Morphable Models (3DMMs) or facial landmarks are computationally efficient but lack appearance-aware motion details. This often results in uncanny "floating head" artifacts where the face moves unnaturally relative to the hair, torso, and background.
  2. Video Diffusion Models: Generative models that synthesize full video frames pixel-by-pixel yield stunning visual quality but are incredibly slow (often running at less than 1 FPS), making them impractical for real-time applications like virtual assistants or interactive avatars.

IF-MDM tackles this speed-versus-quality trade-off by operating in a compressed, implicit motion space that retains structural harmony without the heavy pixel-level rendering overhead.

The speed vs. quality trade-off between explicit face models, video diffusion models, and the proposed IF-MDM approach.

Methods

The authors decouple the generation process into a two-stage framework:

Stage 1: Disentangling Implicit Motion and Appearance

The model trains a visual encoder ($E_v$) and a generator ($G$) using a self-supervised inter-frame reconstruction task. Given a source identity image and a target motion frame from the same video, the network learns to compress the target frame's motion into a highly compact 20-dimensional implicit motion vector. Crucially, this vector is "decoder-aware"—it inherently integrates appearance boundaries, preventing the background separation artifacts common in explicit warping methods.

Stage 2: Audio-Driven Motion Generation via Diffusion

Instead of diffusing pixels, the authors train a lightweight Diffusion Transformer (DiT) to generate the 20-D implicit motion vector sequence, conditioned on speech features extracted from an off-the-shelf Wav2Vec model.

Because implicit motion vectors lack explicit spatial coordinates, standard lip-sync losses cannot be easily applied. To fix this, the authors introduce a key novelty: conditioning the diffusion process on motion statistics (the mean $\mu$ and standard deviation $\sigma$ of the motion sequence).

Figure 1. The main difference of Implicit Face Motion Diffusion Model (IF-MDM) compared to previous methods.

Datasets

The model was trained and evaluated using the following datasets:

  • CelebV-Text & HDTF (High-Definition Talking Face): Used jointly during Stage 1 to learn robust, identity-agnostic motion representations.
  • HDTF Test Set: A subset of approximately 60 high-definition videos held out exclusively for quantitative benchmarking against baseline models.
  • Unsplash: Free-license, in-the-wild portrait images used to verify the model's generalization capabilities on unseen identities.

Key Insights and Ideas

  • The Power of Motion Statistics: Introducing the mean ($m^\mu$) and standard deviation ($m^\sigma$) of motion as conditional guidance cues provides a dual benefit. First, it gives the diffusion model structural anchors to better align implicit latents with subtle lip movements. Second, it unlocks motion controllability at inference time.
  • Granular Control Without Retraining: By manually adjusting these statistical parameters during inference, users can independently scale different dynamics:
  • Adjusting the motion mean controls global head poses, rotations, and translations.
  • Adjusting the motion standard deviation scales the intensity and expressiveness of facial expressions.
  • Hybrid Architecture: Combining a diffusion transformer for low-dimensional latent generation with a convolutional generator for final frame rendering yields the temporal consistency of diffusion models alongside the raw speed of GAN-based decoders.

Key Results

IF-MDM demonstrates a superior balance of speed and fidelity compared to state-of-the-art baselines:

  • Inference Speed: Reaches 30.90 FPS using 100 diffusion steps and up to 45.75 FPS at 50 steps on a standard GPU setup, comfortably clearing the bar for real-time deployment. For comparison, the video diffusion baseline AniPortrait runs at a sluggish 0.88 FPS.
  • Visual Quality: Achieved a Frechet Inception Distance (FID) score of 42.84 on the HDTF dataset, significantly outperforming both AniPortrait (49.13) and the explicit model Real3DPortrait (74.68).
  • Qualitative Realism: Unlike explicit models, IF-MDM generates seamless transitions between the face, hair, and background, eliminating the "floating head" look.
Qualitative comparison on the HDTF dataset. Real3DPortrait suffers from unharmonized torso/background boundaries, while IF-MDM maintains full-frame consistency.

Limitations and Future Work

While IF-MDM excels at overall image quality and processing speed, it exhibits a minor trade-off in lip-sync precision. Explicit 3DMM-based models (Real3DPortrait) still achieve slightly better quantitative lip-sync scores (LSE-D of 8.23 vs. IF-MDM's 11.04) because they enforce rigid geometric constraints around the mouth area.

The authors note that future work will focus on closing this lip-sync gap, improving expression expressiveness, and extending the framework to handle more complex environmental conditions and multi-person interactions.

Summary updated

BibTeX
@misc{yang2024if,
  author = {Sejong Yang and Seoung Wug Oh and Yang Zhou and Seon Joo Kim},
  title = {{IF-MDM: Implicit Face Motion Diffusion Model for High-Fidelity Realtime Talking Head Generation}},
  year = {2024},
  eprint = {2412.04000},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.04000},
}
Figure