Papers · arXiv 2610.05416
Prism: Dynamic Sparse Attention for Native 2K Joint Video-Audio Generation Model Training
Summary in three lines
- 🎯 Full attention at native 2K resolution dilutes attention over vast redundant background tokens and destroys pretrained cross-modal audio-visual priors, while fixed-shape sparse attention fails to capture localized audio-visual synchronization.
- 🔧 Prism groups tokens into spatiotemporal macro-zones and dynamically selects 3D block shapes guided jointly by channel-wise video feature variance and audio-to-video cross-attention norms, combined with a hybrid Top-k/Top-p block selection strategy.
- 📈 Achieves a 2.5× training speedup and 3× inference speedup over full attention, reducing inference GPU memory by 47% while outperforming prior open-source methods across video, audio, and synchronization metrics.
Abstract
Natively training joint video-audio generation models at higher resolutions empowers them to learn richer visual details and sharper motion dynamics. However, full attention incurs quadratic cost and, as resolution increases, spreads attention over increasingly redundant tokens, diluting learning signals for informative content and disrupting pretrained priors. Existing sparse attention methods either target training-free acceleration or overlook the unique structure of joint video-audio data, where cross-modal interactions are inherently concentrated around sound-producing regions. To address this, we propose Prism, a dynamic sparse attention framework for natively training joint video-audio generation models at 2K. In particular, Prism organizes the token sequence into spatiotemporal macro-zones, enabling the attention structure to adapt to local content. For each zone, it estimates local information structure via video feature variance along the channel and feature norms from the audio-to-video cross-attention, jointly capturing how visual content varies directionally and how strongly audio influences each visual region. Based on these signals, Prism dynamically assigns a tailored block shape to each zone, applying finer partitioning along axes of rapid visual content variation and strong audio-visual coupling. This encourages tokens within each block to remain semantically coherent, allowing block-level features to capture both visual content and joint video-audio interaction patterns. Prism further adopts a hybrid block selection strategy to dynamically determine per-query sparsity. Experiments show that Prism achieves 2.5 training speedup compared to full attention, while surpassing it in generation quality.
Reading guide
Problem and motivation
Natively training joint video-audio diffusion models at 2K resolution enables the synthesis of rich spatial details, sharp motion dynamics, and synchronized sound. However, after VAE compression, a 2K clip yields hundreds of thousands to over one million tokens. Standard full attention suffers from two fatal issues:
- Quadratic complexity: The computational and memory footprints make training prohibitively expensive.
- Attention weight dilution: Massive repetitive background tokens dominate the token sequence, diluting the attention budget assigned to informative, localized content (such as moving faces, hands, and sound-producing objects) and disrupting pretrained multimodal priors.
Prior sparse attention approaches either apply training-free approximations, focus only on silent video at lower resolutions (480p/720p), or enforce rigid, uniform block shapes. Because audio-visual synchronization is strictly concentrated in compact sound-producing regions, fixed block shapes mix disparate tokens together, corrupt mean-pooled block representations, and fail to adapt to cross-modal interaction patterns.
Key ideas
- Macro-Zone Partitioning: The spatiotemporal token volume is partitioned into macro-zones of size to permit Triton-aligned block configurations.
- Dual-Guidance Variation Indicator: Each zone dynamically measures directional content variation using video channel-wise variance alongside audio-to-video cross-attention norms.
- Content-Adaptive 3D Block Shapes: Zones choose from a 16-shape candidate set with total volumes , partitioning finely along axes of rapid change and intense audio coupling.
- Hybrid Top- / Top- Selection: Block-level sparse attention uses Top- to ensure a guaranteed baseline context, adaptively expanded via Top- for queries with dispersed attention distributions.
Method
Prism operates on a dual-branch Diffusion Transformer (DiT) initialized from MOVA-720p, replacing full video self-attention with dynamic sparse attention while keeping cross-attention and audio self-attention unmodified.
1. Variation Indicator Formulation
For each macro-zone , the directional video variation ratio along axis is derived from mean-pooled value features :
From the audio-to-video cross-attention norms cached from the preceding layer, the audio coupling strength and normalized directional variance are computed. The composite variation indicator is:
2. Block Volume and Shape Quantization
Total block volume is assigned by evaluating normalized spatiotemporal information density against thresholds and . Minimizing intra-block information loss subject to yields the optimal continuous edge length . In space (): The block shape is chosen from candidate set by minimizing Euclidean distance to .
3. Hybrid Top- / Top- Attention
Key blocks are mean-pooled into representatives , scored against query blocks to yield block probabilities . The attended set combines fixed and cumulative probability thresholds: An online softmax Triton kernel executes sparse attention solely across .
Results
- Benchmark Superiority: On the 2K-Bench (300 native 2K test videos), Prism achieves Aesthetic Quality (AQ), Temporal Flickering (TF), DeSync, and MotionQ, substantially beating MOVA (Full Attn: AQ, DeSync, MotionQ) and LTX-2.3 with super-resolution ( AQ, DeSync, MotionQ).
- Efficiency Gains: Training speed is faster than full attention at 2K ( vs. per step). In 4-GPU inference, Prism runs in using VRAM per GPU, compared to MOVA's and .
- Resolution Scaling: Prism is the only tested framework showing monotonic improvements across all quality and cross-modal sync metrics when scaling from 480p to 2K, whereas full attention and fixed-block sparse baselines degrade at 2K due to background token saturation.
- User Study: In a 200-participant 2AFC perceptual study across 30 2K clips, Prism achieved preference over all open-source baselines across text alignment, audio quality, visual detail, motion realism, and lip synchronization.
Limitations and open questions
- Fixed Temporal Macro-Zones: Macro-zones have a static temporal window of . Rapid shot cuts or zoom transitions within this window introduce abrupt feature disparities that a single block shape cannot represent, causing transient distortion artifacts.
- Resolution and Model Scaling: Prism has been evaluated up to 2K resolution on a 16B parameter backbone; scaling to native 4K (which quadruples token counts) and exploring larger 30B+ DiT architectures remain unexplored.
- Audio-Visual Dependency Order: Because self-attention precedes cross-attention in the DiT block, audio cross-attention guidance relies on norms cached from the previous layer, introducing a single-layer delay in guidance signal propagation.
Key terms
- Dynamic Sparse Attention
- An attention framework where key-value token blocks are selectively attended per query based on dynamically computed relevance scores and content-adaptive block shapes.
- Spatiotemporal Macro-Zones
- Non-overlapping token partitions of the video latent grid used to locally compute information density and assign uniform 3D block shapes.
- Video Channel-Wise Variance Guidance
- A directional statistic calculated across channel dimensions of value features that captures how rapidly visual content changes along the temporal, height, and width axes.
- Audio-to-Video Cross-Attention Norm Guidance
- A guidance metric derived from the norm of audio-modulated video features that quantifies the intensity and directional variation of audio influence across video regions.
- Attention Weight Dilution
- A failure mode in ultra-long high-resolution sequences where massive numbers of redundant background tokens collectively monopolize attention softmax weights, under-attending informative regions.
- Hybrid Top-k / Top-p Selection
- A block selection mechanism uniting a fixed Top- threshold for guaranteed minimum context with an adaptive Top- cumulative threshold for queries with dispersed attention.
- 2K-Bench
- A newly introduced evaluation benchmark comprising 300 unseen 10-second native 2K video-audio clips with complex motions, high-frequency visual details, and diverse sound interactions.
- MotionQ
- An automated evaluation metric using Gemini-3.1 to assess video motion dynamics, consistency, and spatial interaction quality.
Questions
Why is sparse attention applied only to video self-attention?
Video self-attention accounts for the vast majority of computational cost at 2K (over 870K tokens for a 10s clip). Cross-modal attention modules and audio self-attention operate on much shorter token sequences (audio is typically under 1K tokens), making their computational overhead negligible and sparse approximation unnecessary.
How does audio information influence the shape of visual attention blocks?
The norm of audio-to-video cross-attention hidden states is measured per macro-zone. In sound-producing regions with high audio coupling, an audio coupling gate steers block partitioning to allocate shorter edges (finer granularity) along axes with high audio variance, such as temporal changes around moving lips.
Why does Prism select block shapes at the macro-zone level rather than per token?
Per-token variable block shapes cause irregular clustering and require substantial memory padding, disrupting coalesced memory access in custom Triton GPU kernels. Macro-zones of size ensure block sizes remain multiples of 64 tokens, enabling hardware-aligned compute tiles.
How does Prism avoid error propagation given that block selection is non-differentiable?
Following standard trainable block-sparse attention practices, the statistics driving block shape selection (density , variation indicator , and block relevance ) are treated as detached constants during backpropagation. Gradients flow strictly through the sparse attention computation over the selected key-value blocks.
The overview on this page was written by AI from the paper and may contain mistakes. Read the paper for the details.