Source-linked AI summary

DiffDub: Person-generic Visual Dubbing Using Inpainting Renderer with Diffusion Auto-encoder

Tao Liu, Chenpeng Du, Shuai Fan, Feilong Chen, Kai Yu

arXiv:2311.01811v2cs.CVcs.AI

TL;DR

Visual dubbing must align lower-face motion with audio while preserving the source video, and existing approaches face challenges including limited speaker generalization. DiffDub combines masked inpainting and person-generic video generation; the authors report seamless, intelligible outcomes that outperform a baseline.

  • Problem

    Visual dubbing must synchronize lower-face movement with driving audio while preserving the source video's identity, head pose, and background, amid visual-quality, temporal-consistency, and lip-synchronization challenges.

    Source: §1 · p. 1
  • Method

    DiffDub combines masked inpainting with a Diffusion Auto-encoder and Conformer-based reference and motion modules with cross-attention for person-specific textures.

    Source: §1 · p. 2
  • Results

    The authors report seamless, intelligible outcomes and that DiffDub outstrips the baseline by a margin.

    Source: §4 · p. 4
  • Takeaways & Limitations

    DiffDub is presented as person-generic dubbing without fine-tuning, accommodating varied references while reducing dependence on the training corpus.

    Source: §4 · p. 4

Abstract

from arXiv · show

Generating high-quality and person-generic visual dubbing remains a challenge. Recent innovation has seen the advent of a two-stage paradigm, decoupling the rendering and lip synchronization process facilitated by intermediate representation as a conduit. Still, previous methodologies rely on rough landmarks or are confined to a single speaker, thus limiting their performance. In this paper, we propose DiffDub: Diffusion-based dubbing. We first craft the Diffusion auto-encoder by an inpainting renderer incorporating a mask to delineate editable zones and unaltered regions. This allows for seamless filling of the lower-face region while preserving the remaining parts. Throughout our experiments, we encountered several challenges. Primarily, the semantic encoder lacks robustness, constricting its ability to capture high-level features. Besides, the modeling ignored facial positioning, causing mouth or nose jitters across frames. To tackle these issues, we employ versatile strategies, including data augmentation and supplementary eye guidance. Moreover, we encapsulated a conformer-based reference encoder and motion generator fortified by a cross-attention mechanism. This enables our model to learn person-specific textures with varying references and reduces reliance on paired audio-visual data. Our rigorous experiments comprehensively highlight that our ground-breaking approach outpaces existing methods with considerable margins and delivers seamless, intelligible videos in person-generic and multilingual scenarios.

1. INTRODUCTION

Visual dubbing must synchronize lower-face movement with audio while preserving the source video, yet prior approaches face challenges in visual quality, temporal consistency, and speaker generalization. DiffDub combines masked inpainting with person-generic video generation and strategies for robust semantic encoding and personalized textures.

  • Visual dubbing aligns lower-face movement to driving audio while preserving identity, head pose, and background, amid visual-quality, temporal-consistency, and lip-synchronization challenges.Source: §1 · p. 1
  • Prior approaches include GAN renderers with training instability and mode collapse, while diffusion dubbing must handle temporal consistency and DAE-talker remains single-speaker.Short audio clips can also require extensive aligned data and yield lip-synced but unintelligible videos.Source: §1 · pp. 1–2
  • DiffDub uses a two-stage design: masked inpainting with a Diffusion Auto-encoder produces semantic latent codes, then video generation combines them with audio latent codes.Source: Figure 2 · p. 2
  • Its inpainting renderer generates editable lower-face regions under immutable-image and semantic conditioning, while encoder strategies target subtle movements and mouth-and-nose positioning.Source: §1 · p. 2
  • The authors report that DiffDub far surpasses preceding methods and was evaluated quantitatively and qualitatively in few-shot and one-shot settings.Source: §1 · p. 2
  • A Conformer with cross-attention supports varied references and audio sequences, learning person-specific textures while reducing reliance on paired audio-visual data.Source: §1 · p. 2

2. DIFFDUB FRAMEWORK

DiffDub uses masked diffusion inpainting to synthesize editable lower-face regions while retaining source-image content, then maps driving audio and visual references into person-specific video sequences.

2.1. Inpainting Renderer with Diffusion Auto-encoder

  • A lower-face mask separates retained reference content—identity, pose, and background—from facial-motion guidance for editable-region synthesis.The reference supplies information to preserve, while facial motion supplies information for the editable region.Source: §2.1 · p. 2
  • The semantic encoder receives only facial images, while augmentation encourages high-level features and noise is restricted to masked editable pixels.The mask combines known source pixels with noisy pixels in the editable region at each diffusion step.Source: §2.1 · p. 3
  • Including eye area beyond the masked region helps localize the nose and mouth, stabilizing their positions across frames.Source: §2.1 · p. 3
  • Training computes diffusion loss only over editable facial motion, and inference uses DDIM to accelerate sampling.DDIM is selected as an alternative non-Markovian noising process because diffusion involves extensive iteration steps.Source: §2.1 · p. 3

2.2. Video Sequence Generation

  • A Conformer-based reference encoder and motion generator accept variable-length inputs and capture global and local facial-motion interactions.The phase processes N reference facial images alongside one driving audio input.Source: §2.2 · p. 3
  • A frozen semantic encoder and self-supervised audio model produce latent codes; reference texture and audio-driven motion latents then feed the inpainting renderer.The reference encoder extracts person-specific texture, while the motion generator maps T audio codes to T visual codes.Source: §2.2 · p. 3
  • Cross-attention uses the reference decoder output as query and audio latents as key and value to generate person-aware facial-motion codes.Source: §2.2 · p. 3
  • Weighted sums of self-supervised audio-model layers provide language-flexible audio latents, while shared DDIM starting noise supports deterministic, consistent outputs.Source: §2.2 · p. 3

3. EXPERIMENTS

Experiments compare DiffDub with person-generic baselines across reconstruction, dubbing, and one-shot settings. Results show competitive visual quality and intelligibility, with synchronization metrics favoring methods explicitly optimized for them.

3.1. Experimental Setups

  • Experiments use HDTF, with 245 training clips and 68 test clips, resized to 256 × 256 pixels and standardized to 25 FPS.Six unavailable online videos meant the experimental video count fell slightly short of the official release.Source: §3.1 · p. 3
  • The model uses a 512-dimensional semantic code, multiple image augmentations, 20 DDIM steps, and 75 reference frames for few-shot experiments.Training proceeds for four first-stage epochs and 100 second-stage epochs; the reference encoder and motion generator use 2-layer and 8-layer Conformers, respectively.Source: §3.1 · p. 3
  • Evaluation covers lower-face visual similarity, lip-sync alignment, and lower-face shape, with comparisons against four person-generic baselines.The comparison spans reconstruction, dubbing with alternate dialogue or other speakers, and one-shot synthesis from a single portrait; PC-AVS uses ground-truth pose and DAE-Talker is retrained on HDTF.Source: §3.1 · p. 3, §3.2 · p. 4

3.2. Method Comparison

  • DiffDub delivers commendable visual quality, while Wav2Lip and PC-AVS outperform it on LSE metrics and IP-LAP on LMD.The authors attribute this difference to those methods’ explicit optimization of LSE or LMD; DiffDub remains competitive without such optimization.Source: §3.2 · p. 4, Table 1 · p. 4
  • Generated lower-face and teeth regions appear clearer, and outputs track longer pronunciation units such as syllables, supporting more comprehensible results.Figure 3 highlights the corresponding pronounced syllables in red.Source: §3.2 · p. 4, Figure 3 · p. 4
  • Ablations link eye guidance to lower LMD, augmentation to improved LSE, and weighted-sum features to better results across all metrics than Mel-based features.Reducing paired audio-visual data to about 1.5 hours caused no significant degradation.Source: §3.2 · p. 4, Table 2 · p. 4
  • A user study with 12 participants rated mouth fidelity, reading intelligibility, naturalness, and cross-lingual performance using five randomly selected HDTF videos.English videos were translated into Mandarin Chinese, Korean, and French; the authors report language generality.Source: §3.2 · p. 4, Table 3 · p. 4

4. CONCLUSION

DiffDub targets person-generic dubbing without fine-tuning, combining inpainting with a Conformer-based approach to person-specific textures. The authors report seamless, intelligible outcomes and better subjective evaluations than the baseline.

4. CONCLUSION

  • DiffDub is designed for person-generic dubbing without requiring fine-tuning.The conclusion describes it as an approach for person-generic dubbing.Source: §4 · p. 4
  • An inpainting renderer integrates editable regions, while a Conformer-based method with cross-attention learns person-specific textures and details from varied references.The approach is described as reducing dependence on the training corpus.Source: §4 · p. 4
  • Quantitative and qualitative experiments show seamless and intelligible outcomes, and subjective evaluations rate DiffDub above the baseline.Source: §4 · p. 4
Loading 2311.01811v2…