TL;DR
Generating high-definition AI video usually feels like watching paint dry—taking nearly an hour for a single clip on consumer hardware. JetDiffusion changes the math by combining 4-bit precision, 90% attention sparsity, and 3-step distillation into a unified, trainable system. The result is a 273x end-to-end speedup on an RTX 5090—shrinking a 53-minute wait down to 11.6 seconds—without sacrificing visual quality.
What Problem Does This Paper Address?
Video diffusion models treat video as a massive grid of 3D spatiotemporal "tokens." Because standard self-attention compares every token to every other token, doubling the resolution or length causes compute costs to explode quadratically.
To tame this, researchers usually reach for three tools: sparse attention (ignoring unimportant token pairs), quantization (using 8-bit or 4-bit numbers instead of 16-bit), and step distillation (shrinking 50 denoising steps down to 3 or 4). NVIDIA’s new Blackwell GPUs natively support ultra-fast 4-bit floating-point math (NVFP4), offering a tempting speedup. However, 4-bit numbers leave almost zero margin for rounding errors. Slapping 4-bit quantization, 90% sparsity, and 3-step generation onto a pretrained model all at once introduces compounding perturbations that destabilize training and ruin video quality. Furthermore, quantizing attention breaks the mathematical shortcuts standard attention kernels use during backpropagation.
Methods
The authors tackle both the hardware bottlenecks and the training instability through two core innovations:
- Video Sparse Quantized Attention (VSQA): Building on standard coarse-to-fine routing (grouping adjacent tokens into 3D "cubes" and selecting only the top-$k$ relevant cubes to attend to), VSQA is the first trainable attention mechanism combining 90% sparsity with native NVFP4 math. For inference, custom GPU kernels fuse token-pooling and quantization into a single memory read so non-matrix overhead stays tiny. For training, custom backward kernels save an unrounded auxiliary output to accurately compute gradients via a straight-through estimator.
- A Staged Training Recipe (JetDiffusion): To extend NVFP4 to linear layers and distill the model to 3 steps without collapse, the authors separate error recovery into three distinct stages:
- Layer-wise Reconstruction Warm-up: With attention kept dense, each quantized layer is trained to match the exact intermediate features of the frozen 16-bit teacher—evaluated specifically along the 3 trajectory states the final generator will actually visit.
- Regularized Sparse ODE Initialization: 90% sparsity is turned on while the model learns basic 3-step trajectories, anchored by a lightweight layer-reconstruction penalty so internal features don't drift.
- DMD Refinement: Standard Distribution Matching Distillation polishes final visual quality with all compressions active.
Datasets
- Training: Text prompts only (no real video latents needed for distillation) sourced from Wan-Syn and VidProM.
- Evaluation: VBench (946 original prompts evaluated across 16 quality and semantic dimensions). No new benchmarks were introduced.
Key Insights and Ideas
- Standard QAT/QAD fails as a distillation warm-up: Usually, Quantization-Aware Training (QAT) or Distillation (QAD) recovers quality by supervising only the model's final output. Surprisingly, while the videos look fine on their own, their global layout and structure drift away from the teacher model. Supervising every layer locally locks in the teacher's exact layout, providing a stable launchpad for step distillation.
- Memory movement matters when matrices shrink: On Blackwell GPUs, 4-bit matrix multiplication is so fast—and 90% sparsity skips so much math—that mundane tasks like pooling tokens and packing 4-bit numbers become the new bottleneck. Fusing pooling and quantization around a shared memory load speeds up data preparation by 1.64x.
- Hardware quirks dictate mixed precision: On the datacenter GB300 GPU, packing 4-bit attention probabilities and moving their scaling factors adds too much overhead. Computing $QK^\top$ in NVFP4 while keeping the value product ($PV$) in 8-bit FP8 turns out to be faster with zero visible difference in output.
Key Results
Evaluated on Wan2.1-1.3B (480p) and Wan2.1-14B (720p):
- End-to-End Speedup: On Wan2.1-14B (720p), JetDiffusion cuts generation time from 3,180s to 11.6s (273x speedup) on an RTX 5090, and from 489s to 4.11s (119x speedup) on a GB300 (using the TAEHV decoder).
- Attention Kernel Speed: At 90% sparsity, VSQA alone runs 28.5x faster than FlashAttention-2 on an RTX 5090 and 8.0x faster than dense FlashAttention-4 on a GB300.
- Generation Quality: Despite 4-bit weights/activations, 90% sparsity, and 3-step sampling, JetDiffusion beats the 50-step 16-bit base models on VBench Total score—achieving 82.72 vs. 79.72 on 1.3B, and 84.06 vs. 81.82 on 14B.
Limitations and Future Work
While the authors do not include a dedicated limitations section, two constraints are apparent from the text:
- Hardware Specificity: Native NVFP4 acceleration relies on NVIDIA Blackwell tensor cores (e.g., RTX 5090, GB300), meaning these speedups won't translate to older GPU generations.
- Safety Drift: In their ethics statement, the authors note that aggressive compression can alter a base model's behavior—including its built-in safety alignments—requiring dedicated safety re-evaluation before real-world deployment.
Summary updated