Sparse Forcing: Native Trainable Sparse Attention for Real-time Autoregressive Diffusion Video Generation

Boxun Xu, Yuming Du, Zichang Liu, Siyu Yang, Ziyang Jiang, Siqi Yan, Rajasi Saha, Albert Pumarola, Wenchen Wang, Peng LiarXiv 2026

TL;DR

Sparse Forcing is a novel training-and-inference paradigm for autoregressive video diffusion models that simultaneously tackles long-horizon quality degradation and massive key-value (KV) cache memory footprints. By natively learning to compress and retain only the most salient "persistent" visual blocks while sparsifying local attention, it delivers up to 1.27× decoding speedups, a 42% reduction in peak memory, and significantly better visual consistency over long rollouts.

What Problem Does This Paper Address?

Generating high-fidelity, long-form videos is one of the most computationally demanding frontiers in AI. While Diffusion Transformers (DiTs) excel at capturing complex spatiotemporal dynamics, their standard full-sequence bidirectional attention scales quadratically ($O(N^2)$) with video length.

To scale up video duration, researchers have turned to autoregressive (AR) diffusion models, which generate videos chunk-by-chunk and use key-value (KV) caching to look back at past frames. However, AR video diffusion introduces two massive bottlenecks:

  1. Exploding KV Cache Memory: For a modest 1.3B parameter model generating a 1-minute video, the uncompressed KV cache balloon to a staggering 44.9 GB—over 17 times the memory required for the model parameters themselves.
  2. Exposure Bias and Error Accumulation: During long rollouts, the model conditions on its own imperfect past predictions. Dense attention provides too many pathways for these early, minor mistakes to propagate, causing severe long-term drift, geometric distortions, and color artifacts.

Methods

The authors introduce Sparse Forcing, a paradigm built on a key empirical discovery: during autoregressive rollouts, attention naturally concentrates on a persistent subset of salient visual blocks (global anchors like subject identity or scene layout) and exhibits a locally diagonal block-sparse pattern within a sliding window.

Visualizing how attention concentrates on specific persistent anchors and exhibits local block sparsity.

To exploit this, Sparse Forcing decomposes the KV cache memory ($M_t^k$) into two distinct components:

  • Persistent Memory ($P_t$): A discrete, bounded set of fully denoised spatiotemporal blocks that act as long-range semantic anchors.
  • Local Window ($L_t^k$): A streaming sliding window containing the most recent spatiotemporally contiguous blocks.

The Sparse Forcing Pipeline:

  1. Blockified Compression: Latent tensors are partitioned into contiguous spatiotemporal blocks and pooled into compact "block representatives" to enable efficient, coarse-grained routing.
  2. Coarse Scoring & Dynamic Updates: The model computes a lightweight block-level attention matrix to rank historical blocks. The most critical blocks are promoted to Persistent Memory via a Top-C retention strategy, while less useful history is evicted to maintain a strict memory budget.
  3. Persistent Block-Sparse Attention (PBSA): To make this irregular sparsity pattern practical at scale, the authors developed a customized GPU kernel using the ThunderKittens framework. PBSA handles persistent-block carry-over and dynamic local block selection efficiently during both training and inference.
Overview of the Sparse Forcing memory architecture and the PBSA kernel execution.
  1. Training with DMD: The model is trained by distilling a pretrained bidirectional video diffusion model using Distribution Matching Distillation (DMD) loss. Crucially, the dynamic cache and adaptive local attention are kept active during training to eliminate the train-test mismatch.

Datasets

  • Training: The model was trained on 5-second video clips using text prompts from a filtered and LLM-extended version of VidProM, a large-scale dataset of real-world user prompts for video generation.
  • Evaluation: The authors conducted a comprehensive evaluation using VBench, generating 4,730 videos (946 prompts $\times$ 5 samples per prompt) to systematically measure 16 semantic and perceptual quality dimensions.

Key Insights and Ideas

  • Sparsity as an Error Filter: Traditionally, sparsity is viewed purely as a hardware optimization to save compute and memory. Sparse Forcing proves that well-designed sparsity acts as a regularizer. By pruning the dependency graph and blocking pathways from uncertain tokens, it prevents early generation errors from compounding.
  • Emergent Spatiotemporal Memory: Rather than treating all past tokens equally, video models naturally form an implicit memory structure. A few "heavy hitter" blocks carry the vast majority of the contextual weight required to keep a long video coherent.

Key Results

Sparse Forcing was evaluated against state-of-the-art diffusion and chunk-wise autoregressive baselines (including Self-Forcing and CausVid), demonstrating a dominant quality-efficiency profile.

Quantitative Performance:

  • Short Horizons (5-Second Videos): Sparse Forcing outperformed the full-attention baseline (Self-Forcing) on VBench scores while cutting the peak KV cache footprint by 42% and delivering a 1.11–1.17× decoding speedup.
  • Long Horizons (20-Second & 1-Minute Videos): The benefits became even more pronounced over longer rollouts. On 1-minute generations, Sparse Forcing achieved a +2.74 VBench improvement and a 1.27× speedup over Self-Forcing.
Performance comparison on short-horizon video generation.
Performance comparison on long-horizon video generation.

Kernel Efficiency:

The custom PBSA kernel achieved end-to-end execution speedups ranging from 1.16× to 11.11× over FlashAttention-2, with the highest gains observed under stronger local sparsity and longer sequence lengths.

Qualitative Improvements:

Qualitatively, Sparse Forcing successfully mitigates the long-horizon drift that plagues standard AR models. It maintains strict appearance, color tone, and identity consistency across extended generations where baseline models dissolve into artifacts or undergo sudden semantic rewrites.

Qualitative comparison showing how Sparse Forcing maintains visual stability over long horizons compared to Self Forcing.

Limitations and Future Work

While highly effective, the authors note a few limitations:

  • Backbone and Resolution Constraints: The current evaluation was restricted to a single pretrained video diffusion backbone (Wan2.1-T2V-1.3B) at a fixed resolution.
  • Motion Trade-offs: In some settings, motion-oriented metrics (like temporal flickering) were slightly lower, indicating a minor trade-off between maintaining rich, dynamic scene changes and absolute temporal smoothness.

Future Directions: The authors plan to extend Sparse Forcing to alternative video transformer architectures, scale it to higher resolutions, and explore more sophisticated block-compression operators beyond average pooling.

Summary updated

BibTeX
@misc{xu2026sparse,
  author = {Boxun Xu and Yuming Du and Zichang Liu and Siyu Yang and Ziyang Jiang and Siqi Yan and Rajasi Saha and Albert Pumarola and Wenchen Wang and Peng Li},
  title = {{Sparse Forcing: Native Trainable Sparse Attention for Real-time Autoregressive Diffusion Video Generation}},
  year = {2026},
  eprint = {2604.21221},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.21221},
}
Figure