AV-DiT: Efficient Audio-Visual Diffusion Transformer for Joint Audio and Video Generation

Kai Wang, Shijian Deng, Jing Shi, Dimitrios Hatzinakos, Yapeng Tian

TL;DR

AV-DiT is the first diffusion transformer architecture designed to jointly generate synchronized video and audio. Instead of training massive multimodal networks from scratch, it freezes a pre-trained 2D image DiT backbone and adapts it for both modalities using lightweight adapters and LoRA layers—achieving state-of-the-art visual and auditory fidelity with 62% fewer trainable parameters and $3\times$ faster inference than prior joint diffusion models.

What Problem Does This Paper Address?

Real-world video is inherently multimodal, yet most modern video diffusion models generate silent clips. Existing solutions that generate both sight and sound typically fall into two camps:

  1. Two-stage pipelines: Generate silent video first, then condition a separate audio model on the video frames—a process that is computationally slow and ignores bidirectional synergy.
  2. Dual-stream U-Net architectures (e.g., MM-Diffusion): Train dedicated, heavy video and audio diffusion models from scratch, which is computationally expensive and memory-intensive.

The authors ask: Can we repurpose an off-the-shelf image diffusion transformer (DiT) as a single shared backbone for joint audio and video generation using minimal learnable parameters?

Methods

AV-DiT maps both video frames and audio mel-spectrograms into latent spaces using pre-trained VAEs (from Stable Diffusion and AudioLDM/Tango). The core model then processes both streams through a frozen DiT-XL/2 backbone (pre-trained solely on ImageNet) enhanced with three lightweight adaptation components:

[Video Latents] ---> [Frozen Spatial MHSA] ---> [Trainable Temporal Adapter] ---\
                                                                                 ---> [Shared Fusion MHSA + LoRA] ---> [FFN (+ Audio Adapter)]
[Audio Latents] ---> [Frozen MHSA + LoRA] -------------------------------------/
  • Video Temporal Adaptation: Video tokens pass through frozen spatial multi-head self-attention (MHSA) followed by a newly inserted, trainable temporal attention adapter that swaps the spatial and temporal axes to enforce frame-to-frame consistency.
  • Audio Domain Transfer: To overcome the domain gap between 2D natural images and audio mel-spectrograms, trainable LoRA layers are inserted into the frozen DiT’s MHSA projections, accompanied by a lightweight bottleneck MLP adapter placed in parallel with the feed-forward network (FFN).
  • Multimodal Alignment: Video tokens are pooled temporally and concatenated with audio tokens. A frozen DiT self-attention block augmented with LoRA performs cross-modal interaction, allowing audio and video features to steer one another.
  • Decoding: A HiFi-GAN vocoder converts generated mel-spectrograms into waveforms, while visual VAE decoders reconstruct video frames. Only adapters, LoRA weights, audio patch embeddings, and the audio prediction head are trained; the core DiT weights remain completely frozen.

Datasets

The authors evaluate AV-DiT on two standard joint audio-visual benchmarks:

  • AIST++: 1,020 dance video clips (~5.2 hours) synchronized to 60 copyright-cleared musical tracks.
  • Landscape: 1,000 nature video clips (~2.7 hours) spanning nine natural soundscapes (e.g., rain, thunder, splashing water).

No new datasets were introduced.

Key Insights and Ideas

  • Image priors transfer surprisingly well to audio: 2D spatial self-attention patterns learned from natural images provide an effective initialization for modeling the harmonic and frequency structures of audio mel-spectrograms when combined with small LoRA adapters.
  • Joint self-attention beats cross-attention: Rather than inserting separate, parameter-heavy bi-directional cross-attention layers, simply concatenating temporally pooled video tokens with audio tokens inside a single LoRA-adapted self-attention block produced better generation quality with roughly half the added parameters (159.9M vs. 289.8M).
  • Temporal modeling is non-negotiable: In ablation experiments, removing the video temporal adapter caused visual generation quality to collapse catastrophically (FVD jumped from 68.88 to 365.71), underscoring that spatial DiT representations require explicit temporal re-alignment.

Key Results

AV-DiT was compared against state-of-the-art baselines including MM-Diffusion, DIGAN, TATS, and Seeing & Hearing:

Metric / Method MM-Diffusion Seeing & Hearing AV-DiT (Ours)
AIST++ FVD $\downarrow$ 98.69 — 68.88
AIST++ FAD $\downarrow$ 10.58 — 10.17
Landscape FVD $\downarrow$ 186.09 326.23* 172.69 (260.50*)
Tunable Parameters $\downarrow$ 426.16M — 159.91M
Inference Speed $\uparrow$ 0.009 samp/s — 0.032 samp/s

(Lower is better for FVD, KVD, and FAD. *Evaluated on 200 samples for fair comparison with Seeing & Hearing).

  • Efficiency: AV-DiT trains on a single 48GB GPU (NVIDIA RTX 6000 Ada) using about 30GB VRAM at batch size 16, avoiding multi-GPU cluster requirements.
  • Inference: Delivers a $3\times$ speedup over MM-Diffusion because it generates target resolutions directly in an end-to-end pass rather than requiring cascaded super-resolution stages.

Limitations and Future Work

  • Unconditional generation only: The current setup does not support text-to-video-audio or class-conditional generation, though the authors note cross-attention/conditioning modules could be integrated.
  • Benchmark scale: Experiments are limited to small academic datasets (Landscape and AIST++); evaluation on open-domain, diverse datasets (e.g., VGGSound) is needed.
  • Real-time gap: While $3\times$ faster than prior baselines, 0.032 samples/second (~31 seconds per 1.6-second clip) remains far from real-time deployment.

Summary updated

BibTeX
@inproceedings{wang2024av,
  author = {Kai Wang and Shijian Deng and Jing Shi and Dimitrios Hatzinakos and Yapeng Tian},
  title = {{AV-DiT: Efficient Audio-Visual Diffusion Transformer for Joint Audio and Video Generation}},
  booktitle = {Audio Imagination @ NeurIPS},
  year = {2024},
  url = {https://openreview.net/forum?id=FE6zflN5G5},
}
Figure