arXiv(opens in a new tab)cs.CVSep 2026Cited by 3 papers on PaperVantage

Manuscript Offprint

arXiv:2609.06144

TBDub: Production-Oriented Visual Dubbing

Bihan Li, Xinyang Li, Zeran Xu, Meiguang Jin, Junfeng Ma

ABSTRACT

Visual dubbing must synchronize mouth motion with replacement speech while preserving identity, appearance, and temporal consistency. Although X-Dub provides a strong mask-free video-editing baseline, its application to livestream and generated-video content reveals limitations in production-domain robustness, temporal and motion stability, identity and oral-detail preservation, and inference efficiency. We present TBDub, a production-oriented extension of X-Dub that combines task-adaptive post-training with task-aware few-step distillation. Post-training adapts the video DiT using production-domain data, production-specific conditioning and filtering, and enhanced audio features to obtain a 30-step Teacher. Distillation adapts DMD/DMD2 to conditional video editing and compresses the Teacher into a two-step Student. On 38 TalkVid clips, the Teacher improves all eight reported reconstruction, perceptual, identity, and synchronization metrics over X-Dub. In the MOS evaluation, it improves lip-sync consistency, identity consistency, and visual quality over X-Dub by 0.14, 0.95, and 0.90 points, while the Student achieves the highest lip-sync and visual-quality scores and remains close to the Teacher in identity consistency. In paired end-to-end generation timing from the first VAE encode through the final VAE decode on a single NVIDIA H20 GPU at 512 × 512, the Student reaches 7.13 effective FPS and reduces total latency by 13.93×; the DiT stage alone is accelerated by 42.49×. The Student largely retains the Teacher's generation quality and audiovisual synchronization. The code is available on GitHub at https://github.com/TaoLiveAIGC/TBDub, and the 30-step Teacher and two-step Student weights are available on Hugging Face at https://huggingface.co/TaoLiveAIGC/TBDub.

1 Introduction

Visual dubbing changes the speech content of an existing video by regenerating audio-correlated facial motion while preserving the subject, camera motion, expression, illumination, occlusions, and background. It is therefore more constrained than unconstrained talking-head generation: the desired edit must be large enough to express new phonetic content, yet small enough to remain visually indistinguishable from the source outside speech-related regions. Errors that appear minor in a single frame—a changed tooth shape, unstable lip color, or a small identity shift—often become conspicuous in video.

Recent diffusion-based systems have substantially improved this trade-off. LatentSync [1] and KeySync [2] use strong latent generative priors for localized lip synchronization. X-Dub [3] goes further by formulating the task as mask-free, reference-conditioned video editing and constructing training pairs through generative self-bootstrapping. Its full visual context and video diffusion prior make X-Dub a capable starting point for our production setting. TBDub builds on this architecture with production-oriented post-training and few-step distillation.

Our production inputs are broader than clean research data. They include controlled green-screen footage, compressed livestream recordings, and videos produced by upstream speech-driven generation systems. In these

*Equal contribution. †Corresponding author.

Technical Report · September 2026

domains, we observe six recurring classes of failure. First, a full-face editable generator can change identity-sensitive texture rather than only articulation. Second, small faces receive weak effective supervision and lose high-frequency lip and tooth structure. Third, defects already present in an upstream mouth—blurred or fused teeth, green color spill, and lip-tooth adhesion—can be copied through the reference branch. Fourth, local illumination, color, and optical-flow discontinuities can cause flicker, trajectory drift, and boundary jitter. Fifth, robustness remains insufficient for occlusions, large poses, rapid motion, shot cuts, and videos generated by upstream AIGC systems. Finally, abrupt acoustic and alignment changes at the junction between two speech segments can disrupt mouth motion and, in severe cases, cause segment-generation failure. Even when quality is acceptable, the original 30-step sampler remains too expensive for practical throughput.

TBDub addresses these issues through two connected workstreams. Task-adaptive post-training extends X-Dub's bootstrapping, filtering, and relighting pipeline with production-domain data, audiovisual calibration, production-specific failure rules, asymmetric condition degradation, an identity-matched clean oral prior, and multi-layer HuBERT speech features. The resulting 30-step model serves as the production Teacher. Task-aware few-step distillation combines DMD/DMD2 distribution matching with X-Dub's native three-route dynamic CFG, then adapts it to conditional video editing through a differentiable two-step trajectory, consistent condition handling, and temporary region-selective reconstruction supervision.

The contributions documented in this report are:

  • we adapt X-Dub to production data and task-specific failure modes through calibrated production-domain data curation, asymmetric lighting and oral degradation with an identity-matched clean oral prior, and full-DiT post-training with motion dropout, spatial face/mouth weighting, later-frame and cold-start temporal weighting, and multi-layer HuBERT conditioning;

  • we extend DMD/DMD2 to two-step visual dubbing by constructing the real score from X-Dub's three-route dynamically guided Teacher prediction, differentiating through the complete two-step video trajectory, and using staged ground-truth warmup with region-selective supervision to stabilize identity and oral detail;

  • experiments show stronger qualitative robustness on complex production inputs, improved visual quality and identity preservation, and well-preserved audiovisual synchronization. Compressing sampling from 30 steps to 2, the Student reaches 7.13 FPS and achieves 13.93× end-to-end and 42.49× DiT speedups over the Teacher while largely retaining its quality.

Open-source release. The implementation is publicly available on GitHub at https://github.com/TaoLiveAIGC/TBDub. The undistilled 30-step Teacher and distilled two-step Student weights are available on Hugging Face at https://huggingface.co/TaoLiveAIGC/TBDub.

References (34)

  • Latentsync: Audio conditioned latent diffusion models for lip sync, 2024
  • Keysync: A robust approach for leakage-free lip synchronization in high resolution, 2025
  • From inpainting to editing: Unlocking robust mask-free visual dubbing via generative bootstrapping, 2025
  • A lip sync expert is all you need for speech to lip generation in the wild
  • Videoretalking: Audio-based lip synchronization for talking head video editing in the wild, 2022
  • DINet: Deformation inpainting network for realistic face visually dubbing on high resolution video (opens the publisher in a new tab)
  • Identity-preserving talking face generation with landmark and appearance priors
  • Diff2lip: Audio conditioned diffusion models for lip-synchronization, 2023
  • DiffDub: Person-generic visual dubbing using inpainting renderer with diffusion auto-encoder, 2023
  • Musetalk: Real-time high quality lip synchronization with latent space inpainting, 2024
  • SayAnything: Audio-driven lip synchronization with conditional video diffusion, 2025
  • Classifier-free diffusion guidance, 2022
  • Effective whole-body pose estimation with two-stages distillation, 2023
  • Robust speech recognition via large-scale weak supervision, 2022
  • wav2vec 2.0: A framework for self-supervised learning of speech representations
  • HuBERT: Self-Supervised Speech Representation Learning by Masked Prediction of Hidden Units
  • Flow matching for generative modeling
  • Flow straight and fast: Learning to generate and transfer data with rectified flow
  • One-step diffusion with distribution matching distillation
  • Improved distribution matching distillation for fast image synthesis, 2024
  • Progressive distillation for fast sampling of diffusion models
  • On distillation of guided diffusion models
  • Latent consistency models: Synthesizing high-resolution images with few-step inference, 2023
  • VideoLCM: Video latent consistency model, 2023
  • Motion consistency model: Accelerating video diffusion with disentangled motion-appearance distillation, 2024
  • Accelerating video diffusion models via distribution matching, 2024
  • TalkVid: A large-scale diversified dataset for audio-driven talking head synthesis, 2025
  • Lip forcing: Few-step autoregressive diffusion for real-time lip synchronization, 2026
  • Image quality assessment: From error visibility to structural similarity (opens the publisher in a new tab)
  • The unreasonable effectiveness of deep features as a perceptual metric
  • Gans trained by a two time-scale update rule converge to a local nash equilibrium
  • Arcface: Additive angular margin loss for deep face recognition
  • Out of time: Automated lip sync in the wild
  • Audio-visual speech representation expert for enhanced talking face video generation and evaluation