Manuscript Offprint

arXiv:2610.26262

Dynamics-Aware Sparse Attention for Efficient Autoregressive Video Diffusion

Yuanyu He, Zhuokun Chen, Yefei He, Zhiwei Tang, Jiasheng Tang, Yinghao Yu, Jianfei Cai, Bohan Zhuang

Abstract

Autoregressive Diffusion Transformers have emerged as a powerful paradigm for long video generation. However, they are often constrained by prohibitive computational overhead and substantial memory footprints. This inefficiency arises from dense computation mechanisms that allocate uniform processing resources across all spatiotemporal regions, failing to leverage the inherent temporal redundancy of video where motion is typically confined to sparse areas. In this paper, we propose Dynamics-Aware Sparse Attention (DASA), a unified framework that shifts from dense computation to sparse, motion-driven generation to eliminate both storage and computational redundancies. Inspired by video codec principles, our approach explicitly decouples video content into dynamic and static regions. To mitigate memory bottlenecks, we selectively compress the historical KV cache by retaining only dynamic features within the generated chunk. Furthermore, to reduce computational overhead, we employ a region-level computation allocation strategy based on localized dynamics. Additionally, a dynamics-guided distillation method is introduced to enhance performance via a lightweight distillation training process. Experiments on VBench demonstrate that our approach accelerates autoregressive video generation by 2.16×2.16\times, while preserving high visual fidelity. Code is available on our project page: https://yuanyu0.github.io/DASA/.

1 Introduction

Video generation has witnessed unprecedented breakthroughs, propelled by the rapid progress of both proprietary [2, 27, 35, 34] and open-source [40, 26, 44, 29] foundational models. While these models demonstrate remarkable spatial-temporal fidelity, their outputs remain largely constrained to brief 5- to 20-second clips due to the quadratic computational complexity inherent in full-attention mechanisms. To achieve causally consistent, minute-level synthesis, the field is shifting toward Autoregressive (AR) Diffusion Models [22, 39, 3, 42, 47]. By factorizing the generation process into sequential chunks, AR diffusion offers a promising pathway toward infinite-length video synthesis.

Despite these compelling advantages, chunk-wise AR diffusion currently faces two severe efficiency bottlenecks in long video generation. First, prohibitive memory expansion. To maintain long-term causal consistency, AR video models typically retain the full historical KV cache across chunks. For example, when generating a 480P 60-second video with LingBot-World [39], the KV cache can occupy 300GB of memory space, while the model weights only require 56GB. Moreover, the KV cache grows further as video resolution and duration increase. Second, severe latency stems from redundant computation. Current AR architectures blindly allocate identical dense compute resources to every token per chunk, despite most scenes having high temporal redundancy.

While recent acceleration methods [12, 32, 48] for AR diffusion have analyzed attention patterns to prune inactive tokens or heads, they often overlook the inherent nature of video—where most scenes

  • Equal contribution. †\dagger Project Lead. ‡\ddagger Corresponding author.

Prompt: A smooth shot over a scenic countryside landscape.

(a) Real-world scenes

Figure

(b) Attention distributions

Prompt: A stylish woman walks down a Tokyo street.

(a) Real-world scenes

(b) Attention distributions

(c) Cosine similarity

(c) Cosine similarity

Figure 1: Spatiotemporal dynamic analysis of video generation under different motion priors (left: camera panning; right: subject motion). (a) Real-world scenes. The videos are synthesized via Self Forcing, conditioned on a single text prompt provided at the initialization stage. (b) Attention distributions. Visualizations reveal the distribution of temporal attention scores, indicating that the generation process predominantly focuses on active dynamic elements alongside adjacent temporal context. (c) Cosine similarity between the currently generated frame and preceding frames. The consistently high similarity observed in static background regions demonstrates the potential for extensive feature reuse during computation.

exhibit high temporal redundancy and motion is confined to sparse regions. As shown in Figure 1(a), real-world videos are dominated by static backgrounds and continuous dynamics, demonstrating massive spatiotemporal redundancy in adjacent frames. Addressing these intertwined memory and computational bottlenecks is therefore crucial for efficient AR-diffusion based video generation.

To address these challenges, we propose Dynamics-Aware Sparse Attention (DASA), an efficient framework for AR video generation. Inspired by modern video coding principles [59, 33], we tackle both memory and computational bottlenecks through a unified dynamic and static separation perspective. From a storage standpoint, our analysis reveals that AR models primarily attend to historical dynamic elements and immediate temporal contexts (Figure 1 (b)). Based on this observation, we introduce a Frame-wise Memory Management module that employs layer-wise similarity pruning and a static token refresh strategy. This allows the framework to aggressively compress the KV cache while preserving essential high-frequency details. From a computational perspective, we implement a Region-level Computation Allocation strategy. By identifying static regions that exhibit minimal feature variation across chunks (Figure 1 (c)), we utilize an early-exit mechanism to bypass redundant forward passes, focusing resources exclusively on dynamic updates. By integrating these mechanisms, our framework curtails the KV cache memory footprint while reducing the computational overhead during chunk-wise video generation.

While these mechanisms are inherently training-free, pursuing higher acceleration ratios and framework scalability necessitates their integration into the training phase. However, directly exposing the network to static-feature reuse during training creates an optimization shortcut, resulting in motion sluggishness. To counteract this degradation, we introduce a Dynamics-guided Distillation strategy. By leveraging motion priors, we apply a spatially varying loss reweighting that explicitly amplifies the learning penalty in dynamic regions, successfully preserving the natural dynamics of the generated videos.

In summary, our main contributions are as follows:

• We identify that current autoregressive video diffusion suffers from inefficient resource allocation across highly redundant sequences. We observe that the generation process predominantly focuses on active dynamic elements, while static backgrounds exhibit extensive feature redundancy across adjacent chunks.

• We propose Dynamics-Aware Sparse Attention (DASA) to eliminate spatiotemporal redundancy from both storage and computation perspectives. By integrating adaptive memory management, motion-aware computation skipping, and dynamics-guided distillation, DASA facilitates scalable video synthesis while avoiding static degradation.

• Extensive experiments demonstrate DASA’s effectiveness in accelerating autoregressive video synthesis while preserving high visual fidelity, achieving a 2.16×2.16\times inference speedup at 1080P with a minimal quality drop of less than 0.2%.

References (63)