TL;DR
AlignDiT is a novel multimodal diffusion transformer that synthesizes high-quality, synchronized speech from text, silent video, and reference audio without relying on external duration predictors or forced aligners. By introducing multimodal cross-attention and independent classifier-free guidance scales for text and video, it achieves state-of-the-art performance across automated dialogue replacement, video-to-speech synthesis, and visual forced alignment tasks.
What Problem Does This Paper Address?
Generating speech from multiple modalities—such as a text script, a silent video of a talking face, and a short reference audio clip—is highly valuable for film post-production (automated dialogue replacement, or ADR), virtual avatars, and video dubbing.
To be effective, the synthesized speech must satisfy three strict conditions simultaneously:
- Content Accuracy: It must perfectly match the text script.
- Temporal Synchronization: It must match the speaker's lip movements frame-by-frame.
- Acoustic Consistency: It must mimic the vocal characteristics of the target speaker.
Existing architectures struggle to balance these constraints. Crucially, most current methods rely on external forced aligners or explicit duration predictors during training. This introduces a brittle dependency: preprocessing becomes complex, and any upstream alignment errors propagate directly into the generated audio. Furthermore, existing models lack the robustness to handle scenarios where one or more input modalities are missing or corrupted.
Methods
The authors introduce AlignDiT, a non-autoregressive architecture built on a Diffusion Transformer (DiT) and trained using a conditional flow matching (CFM) objective.
[Text Script] ------> (ConvNeXt v2 Encoder) -------\
|---> [Multimodal Cross-Attention] ---> [18 DiT Blocks] ---> [HiFi-GAN] ---> [Speech]
[Silent Video] -----> (AV-HuBERT + Conformer) ----/
[Reference Audio] --> (Masked Mel-Spectrogram) --/
Key technical innovations include:
- Implicit Alignment via Multimodal Cross-Attention: Instead of naively concatenating modalities or using text as a prefix, AlignDiT processes time-aligned audio-visual features as the query, while text embeddings serve as the key and value in a cross-attention mechanism. This preserves the natural frame-level synchronization between audio and video while smoothly integrating the non-time-aligned text sequence.
- Auxiliary CTC Loss: To force the model to learn accurate text-to-speech alignment without explicit duration labels, the authors attach lightweight projection heads to intermediate DiT blocks and optimize them using a Connectionist Temporal Classification (CTC) loss.
- Audio-Only Pretraining: To give the model a strong initialization, it is first pretrained on large audio-only datasets to master unconditional speech generation before introducing video and text conditioning.
- Multimodal Classifier-Free Guidance (CFG): Rather than using a single global guidance scale during inference, AlignDiT introduces independent scales for text ($s_{text}$) and video ($s_{video}$). This allows practitioners to adaptively tune the model's focus—for instance, increasing text guidance to improve intelligibility or increasing video guidance to tighten lip-sync accuracy.
Datasets
- LRS3: A large-scale audio-visual dataset containing 439 hours of English TED and TEDx talk videos. The authors constructed a rigorous "LRS3-cross" test set where the reference speech is sampled from a different utterance by the same speaker, ensuring no information leakage during evaluation.
- LibriSpeech: A massive public audio book dataset used exclusively during the audio-only pretraining phase to improve model convergence and generalization.
Key Insights and Ideas
- Cross-Attention Beats Input Fusion: The authors' ablation studies revealed that early fusion (channel-wise concatenation) or prefix-based self-attention causes severe text-to-speech alignment degradation. Cross-attention is uniquely suited here because it treats the audio-video stream as the temporal anchor and maps text tokens dynamically to it.
- Flow Matching Needs a Helping Hand: Relying solely on the CFM loss provides too weak of a signal for the model to learn proper text alignment implicitly. Introducing the intermediate CTC loss acts as a regularizer that dramatically slashes Word Error Rates (WER).
- Modality-Specific Knobs Matter: Splitting the CFG scale into independent parameters ($s_{text}=5, s_{video}=2$) yields significantly better results than a single global scale, proving that different modalities require different levels of regularization during the diffusion reverse process.
Key Results
AlignDiT was evaluated against state-of-the-art ADR baselines (HPMDubbing and StyleDubber) and achieved dominant results:
- Automated Dialogue Replacement (ADR): AlignDiT achieved a WER of 1.401%, vastly outperforming HPMDubbing (5.382%) and StyleDubber (3.170%). It also achieved the highest lip-sync accuracy (AVSync: 0.751) and speaker similarity score (spkSIM: 0.515).
- Video-to-Speech Synthesis: When evaluated without text inputs (using an off-the-shelf lip reader to generate pseudo-text), AlignDiT still outperformed specialized models like LipVoicer, achieving a 19.513% WER and 0.508 spkSIM.
- Visual Forced Alignment (VFA): By leveraging its highly synchronized speech generation capabilities alongside the Montreal Forced Aligner, AlignDiT achieved a Mean Absolute Error (MAE) of 41.5ms, nearly halving the error of the previous state-of-the-art VFA model, DVFA (97.7ms).
Limitations and Future Work
While AlignDiT demonstrates impressive versatility, the authors note or imply a few limitations:
- Computational Overhead: As an iterative diffusion-based transformer model, inference speed and real-time deployment constraints are not deeply explored in this work.
- Language Constraints: The model was trained and evaluated strictly on English datasets (LRS3 and LibriSpeech). Extending this implicit multimodal alignment framework to multilingual or cross-lingual dubbing scenarios remains an open challenge for future research.
Summary updated