JavisDiT: Joint Audio-Video Diffusion Transformer with Hierarchical Spatio-Temporal Prior Synchronization

Kai Liu, Wei Li, Lai Chen, Shengqiong Wu, Yanhao Zheng, Jiayi Ji, Fan Zhou, Jiebo Luo, Ziwei Liu, Hao Fei, Tat-Seng Chua

TL;DR

JavisDiT is a novel end-to-end Joint Audio-Video Diffusion Transformer designed to generate high-quality, perfectly synchronized video and audio from textual prompts. By introducing a Hierarchical Spatial-Temporal Synchronized Prior (HiST-Sypo) Estimator, the model achieves fine-grained cross-modal alignment in both space and time. To address the lack of challenging evaluation standards, the authors also introduce JavisBench, a complex multi-event benchmark, and JavisScore, a robust synchronization metric.

What Problem Does This Paper Address?

Simultaneously generating realistic video and audio from a text prompt—a task known as Joint Audio-Video Generation (JAVG)—is incredibly challenging. Traditional approaches use cascaded pipelines (e.g., generating video first, then synthesizing matching audio), which suffer from error propagation.

While recent end-to-end models leverage the powerful Diffusion Transformer (DiT) architecture, they typically fall short in achieving fine-grained spatio-temporal alignment. For instance, if a text prompt describes a dog barking on the left and a robot whirring on the right, the model must ensure that the visual positioning matches the auditory timing and characteristics of each distinct object.

Furthermore, existing evaluation benchmarks (like Landscape or AIST++) feature overly simplistic, single-event scenarios, and standard metrics (like AV-Align) struggle to accurately measure synchronization in complex, real-world multi-event environments.

Figure 1: Given the text prompt, a JAVG system generates a spatial-temporally synchronized sounding video. The sounds align precisely with the temporal progression of the actions.

Methods

JavisDiT addresses these challenges through a unified DiT architecture optimized for cross-modal interaction.

1. JavisDiT Model Architecture

The model processes video and audio latents through shared AV-DiT blocks containing three core attention mechanisms:

  • Spatio-Temporal Self-Attention (ST-SelfAttn): Processes spatial and temporal dimensions sequentially to reduce computational complexity while maintaining intra-modal aggregation.
  • Fine-Grained Spatio-Temporal Cross-Attention (ST-CrossAttn): Integrates spatial and temporal priors to guide alignment along specific dimensions.
  • Multi-Modality Bidirectional Cross-Attention (MM-BiCrossAttn): Facilitates direct, bidirectional information exchange between the video and audio branches to ensure tight coupling.
Figure 2: On the left, we present the overall DiT-based sounding video generation architecture of JavisDiT, consisting of a video generation branch, audio generation branch, HiST-Sypo Estimator module, and the MM-BiCrossAttn module. On the right, we illustrate the detailed structural design of Spatio-temporal Self-attention (ST-SelfAttn), Fine-grained Spatio-temporal Cross-attention (Fine- Grained ST-CrossAttn), and Multi-Modality Bidirectional Cross-attention (MM-BiCrossAttn).

2. Hierarchical Spatial-Temporal Synchronized Prior (HiST-Sypo) Estimator

To guide the generation process, the HiST-Sypo module extracts two levels of priors from the text prompt:

  • Global Coarse-Grained Priors: Derived from a T5 text encoder to establish the overall semantic framework (the "what").
  • Fine-Grained Spatio-Temporal Priors (ST-Prior): Learned via a 4-layer transformer encoder-decoder using ImageBind text embeddings. It models the latent distribution of "where" and "when" events occur.

3. Multi-Stage Training Strategy

The model is trained in three distinct phases:

  1. Audio Pretraining: Initializing the audio branch with video weights and training on 0.8M audio-text samples.
  2. ST-Prior Training: Optimizing the prior estimator using contrastive learning with hard negative samples (e.g., cyclically shifted videos, paused frames, or mixed audio sources).
  3. JAVG Training: Freezing the self-attention blocks and training only the cross-attention modules on 0.6M synchronous triplets.

Datasets

  • Pretraining & Training Data: 780K audio-text pairs from public datasets (AudioSet, AudioCaps, VGGSound, etc.) for audio pretraining, and 611K video-audio-caption triplets from MMTrail and TAVGBench for joint training.
  • JavisBench (New Benchmark): A newly introduced dataset containing 10,140 high-quality text-captioned sounding videos across 5 dimensions and 19 categories. Unlike older benchmarks, 75% of JavisBench samples feature multiple sounding events, with 57% containing simultaneous events, making it a rigorous test for real-world synchronization.

Key Insights and Ideas

  • The 1:1 Token Ratio Balance: Video latents naturally contain significantly more spatial tokens than temporal tokens, while audio latents are the opposite. The authors discovered that a balanced 1:1 ratio for spatial and temporal prior tokens minimizes cross-modal bias and yields the best alignment performance.
  • Sensitivity to the "Worst" Frames: Traditional synchronization metrics average alignment scores across an entire clip, which dilutes local desynchronization errors. The proposed JavisScore uses a sliding window approach and specifically averages the 40% least synchronized frames, making it far more sensitive to transient alignment failures.
  • Hard Negatives for Robust Priors: Simply pairing random audio with a video creates "easy" negatives that don't teach the model fine-grained timing. By explicitly engineering "hard" negatives—such as pausing a video for 0.5 seconds while the audio continues—the contrastive learning framework forces the ST-Prior Estimator to learn true temporal boundaries.

Key Results

JavisDiT achieves state-of-the-art performance across both closed-set benchmarks and the new open-world JavisBench:

  • Landscape & AIST++: Achieved a Frechet Video Distance (FVD) of 94.2 on Landscape and a Frechet Audio Distance (FAD) of 9.6 on AIST++, outperforming existing joint generation models like MM-Diffusion and MM-LDM.
  • Synchronization Accuracy: On the 3,000-sample human-annotated verification dataset, JavisScore achieved an AUROC of 0.6533, outperforming the widely used AV-Align metric by 23% in accuracy.
  • Variant-Length Generation: JavisDiT successfully scales to generate 10-second videos while maintaining stable visual quality (233.8 FVD) and audio-video synchrony (0.154 JavisScore).

Limitations and Future Work

  • Data Scalability: JavisDiT was trained on 0.6M video-audio-text triplets, which is small compared to modern video foundation models (e.g., OpenSora uses over 60M samples). Scaling the training data is a primary next step.
  • Computational Overhead: Because it relies on a heavy Diffusion Transformer architecture, generation is slow. Generating a 2-second video at 720p takes approximately 6 minutes on a single NVIDIA H100 GPU, highlighting a need for accelerated sampling strategies.
  • Metric Perfection: While JavisScore significantly improves upon AV-Align, its classification accuracy sits at 75%, leaving room for future network-based, supervised synchronization metrics.

Summary updated

BibTeX
@inproceedings{liu2026javisdit,
  author = {Kai Liu and Wei Li and Lai Chen and Shengqiong Wu and Yanhao Zheng and Jiayi Ji and Fan Zhou and Jiebo Luo and Ziwei Liu and Hao Fei and Tat-Seng Chua},
  title = {{JavisDiT: Joint Audio-Video Diffusion Transformer with Hierarchical Spatio-Temporal Prior Synchronization}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=y7HV7KT3Bd},
}
Figure