AdaCluster: Adaptive Query-Key Clustering for Sparse Attention in Video Generation

Haoyue Tan, Shengnan Wang, Yulin Qiao, Juncheng Zhang, Youhui Bai +3 more
4/20/2026
cs.CVcs.AI

No confident code implementation found for this paper.

Abstract

Video diffusion transformers (DiTs) suffer from prohibitive inference latency due to quadratic attention complexity. Existing sparse attention methods either overlook semantic similarity or fail to adapt to heterogeneous token distributions across layers, leading to model performance degradation. We propose AdaCluster, a training-free adaptive clustering framework that accelerates the generation of DiTs while preserving accuracy. AdaCluster applies an angle-similarity-preserving clustering method to query vectors for higher compression, and designs a euclidean-similarity-preserving clustering method for keys, covering cluster number assignment, threshold-wise adaptive clustering, and efficient critical cluster selection. Experiments on CogVideoX-2B, HunyuanVideo, and Wan-2.1 on one A40 GPU demonstrate up to 1.67-4.31x speedup with negligible quality degradation.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{tan2026adacluster,
  title  = {AdaCluster: Adaptive Query-Key Clustering for Sparse Attention in Video Generation},
  author = {Haoyue Tan and Shengnan Wang and Yulin Qiao and Juncheng Zhang and Youhui Bai and Ping Gong and Zewen Jin and Cheng Li},
  year   = {2026},
  eprint = {2604.18348},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.18348v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.18348.svg)](https://codeofpaper.com/paper/2604.18348)

Discussion