potentialpaper

Compact Attention: Exploiting Structured Spatio-Temporal Sparsity for Fast Video Generation

Qirui Li, Guangcong Zheng, Qi Zhao, Jie Li, Yehao Lu, Bin Dong, Yiwu Yao, Zequn Qin, Xi Li

ICLR 2026 submission

Edit this page

Or clone it with git

The page gets its repository with its first edit, so start in the web editor.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. The quadratic computational complexity of self-attention mechanisms pose a critical challenge for transformer-based video generation in synthesizing ultra-long sequences. Current sparse approaches with fixed patterns fail to fully exploit the inherent spatio-temporal redundancies in video data. Through systematic analysis of video diffusion transformers (DiT), we observed that critical information in attention matrices can be stably covered in a set of structured, yet heterogeneous, sparse patterns, including a cross-shaped attention pattern and patterns' dynamic behavior over time. To fully exploit the redundancies, we propose Compact Attention, a hardware-aware acceleration framework featuring three innovations: 1) Adaptive tiling strategies that approximate diverse spatial interaction patterns via dynamic tile grouping, 2) Temporally varying windows that adjust sparsity levels based on frame proximity, and 3) a recall-driven, offline search algorithm that automatically optimizes sparse masks while preserving critical attention pathways. Our method achieves up to 3x acceleration in Hunyuan and 2.25x in 14B Wan2.1 model in attention computation on single-GPU setups while maintaining comparable visual quality with full-attention baselines. By grounding acceleration in the empirical discovery of fundamental attention structures, this work provides a principled approach to efficient long video generation through structured sparsity exploitation.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

add · history

No versions are recorded yet: its preprint, the venues it went to and what they decided, the camera-ready. Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…