TBDub: Production-Oriented Visual Dubbing
Organizations: TaoLive AIGC, Taobao & Tmall Group of Alibaba
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 , the Student reaches 7.13 effective FPS and reduces total latency by ; the DiT stage alone is accelerated by . 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.
Figures & tables
| Layer | Inherited or adopted mechanisms | TBDub task adaptation |
|---|---|---|
| Base model | Causal video VAE, latent video DiT, reference-conditioned mask-free editing | Full-DiT post-training with motion dropout and spatial/temporal weighted flow matching |
| Conditions | X-Dub reference-video, audio-conditioning, motion-context, and CFG interfaces | Replacement of the original Whisper/wav2vec 2.0 audio path with an English-pretrained HuBERT-large frontend, concatenating layers 9–12 with a learned projection and segment-level temporal alignment |
| Data | X-Dub generative bootstrapping, identity/articulation/visual-quality filtering, and relighting | Production-domain data ingestion, audiovisual calibration and production-specific failure rules, mixture, asymmetric condition degradation, and an identity-matched clean oral prior |
| Distillation and sampling | X-Dub three-route dynamic CFG; DMD score difference and online FakeScore; DMD2 two-timescale updates and multi-step generation | Guided Teacher as the DMD real-score, differentiable two-step generation, condition-state handling, temporary region-selective supervision, and causal first-latent handling |
| Method | Mouth PSNR | Mouth SSIM | Crop LPIPS | Mouth LPIPS | FID | CSIM | LSE-C | LSE-D | Response Mouth PSNR |
|---|---|---|---|---|---|---|---|---|---|
| Ground truth | – | – | – | – | – | – | 6.28 | 8.35 | – |
| X-Dub | 22.20 | 0.76 | 0.07 | 0.08 | 9.96 | 0.88 | 5.66 | 9.28 | 23.05 |
| LipForcing | 24.33 | 0.82 | 0.05 | 0.06 | 4.34 | 0.91 | 6.13 | 8.37 | 29.28 |
| KeySync | 23.23 | 0.82 | 0.05 | 0.08 | 16.19 | 0.86 | 6.97 | 7.82 | 22.61 |
| LatentSync | 31.30 | 0.95 | 0.01 | 0.02 | 3.70 | 0.97 | 7.76 | 7.00 | 30.98 |
| TBDub Teacher (30 steps) | 27.13 | 0.87 | 0.06 | 0.06 | 9.40 | 0.91 | 6.80 | 7.98 | 25.67 |
| Method | Ratings | Lip-sync MOS | Identity MOS | Visual-quality MOS |
|---|---|---|---|---|
| KeySync | 114 | 2.75 | 2.40 | 2.33 |
| LatentSync | 114 | 1.91 | 2.23 | 1.87 |
| LipForcing | 114 | 2.18 | 2.88 | 2.52 |
| X-Dub | 114 | 3.57 | 2.83 | 2.88 |
| TBDub Teacher (30 steps) | 114 | 3.71 | 3.78 | 3.78 |
| TBDub Student (2 steps, EMA) | 114 | 3.85 | 3.72 | 3.80 |
| Method | Model / steps | FPS |
|---|---|---|
| KeySync | Default best configuration | 1.05 |
| LatentSync | Default best configuration | 1.31 |
| LipForcing | 14B open-source model, full Wan VAE | 2.83 |
| Original X-Dub | 30 steps | 0.51 |
| TBDub Teacher | 30 steps | 0.51 |
| TBDub Student | 2 steps | 7.13 |
| Method | VAE enc. | DiT | Other | VAE dec. | Total | Eff. FPS |
|---|---|---|---|---|---|---|
| Teacher (30 steps) | 9.29 (1.26%) | 696.77 (94.83%) | 5.15 (0.70%) | 23.54 (3.20%) | 734.75 | 0.51 |
| Student (2 steps) | 9.27 (17.58%) | 16.40 (31.09%) | 3.55 (6.73%) | 23.54 (44.61%) | 52.76 | 7.13 |
Video Diffusion Models
Video diffusion models generate or edit temporally coherent video by iteratively denoising latent sequences conditioned on text, images, motion, or other signals.
See all 710 papers