Re-ttention: Ultra Sparse Visual Generation via Attention Statistical Reshape

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Chen, Ruichen, Mills, Keith G., Jiang, Liyao, Gao, Chao, Niu, Di
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866911238363021312
author Chen, Ruichen
Mills, Keith G.
Jiang, Liyao
Gao, Chao
Niu, Di
author_facet Chen, Ruichen
Mills, Keith G.
Jiang, Liyao
Gao, Chao
Niu, Di
contents Diffusion Transformers (DiT) have become the de-facto model for generating high-quality visual content like videos and images. A huge bottleneck is the attention mechanism where complexity scales quadratically with resolution and video length. One logical way to lessen this burden is sparse attention, where only a subset of tokens or patches are included in the calculation. However, existing techniques fail to preserve visual quality at extremely high sparsity levels and might even incur non-negligible compute overheads. To address this concern, we propose Re-ttention, which implements very high sparse attention for visual generation models by leveraging the temporal redundancy of Diffusion Models to overcome the probabilistic normalization shift within the attention mechanism. Specifically, Re-ttention reshapes attention scores based on the prior softmax distribution history in order to preserve the visual quality of the full quadratic attention at very high sparsity levels. Experimental results on T2V/T2I models such as CogVideoX and the PixArt DiTs demonstrate that Re-ttention requires as few as 3.1% of the tokens during inference, outperforming contemporary methods like FastDiTAttn, Sparse VideoGen and MInference.
format Preprint
id arxiv_https___arxiv_org_abs_2505_22918
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Re-ttention: Ultra Sparse Visual Generation via Attention Statistical Reshape
Chen, Ruichen
Mills, Keith G.
Jiang, Liyao
Gao, Chao
Niu, Di
Computer Vision and Pattern Recognition
Diffusion Transformers (DiT) have become the de-facto model for generating high-quality visual content like videos and images. A huge bottleneck is the attention mechanism where complexity scales quadratically with resolution and video length. One logical way to lessen this burden is sparse attention, where only a subset of tokens or patches are included in the calculation. However, existing techniques fail to preserve visual quality at extremely high sparsity levels and might even incur non-negligible compute overheads. To address this concern, we propose Re-ttention, which implements very high sparse attention for visual generation models by leveraging the temporal redundancy of Diffusion Models to overcome the probabilistic normalization shift within the attention mechanism. Specifically, Re-ttention reshapes attention scores based on the prior softmax distribution history in order to preserve the visual quality of the full quadratic attention at very high sparsity levels. Experimental results on T2V/T2I models such as CogVideoX and the PixArt DiTs demonstrate that Re-ttention requires as few as 3.1% of the tokens during inference, outperforming contemporary methods like FastDiTAttn, Sparse VideoGen and MInference.
title Re-ttention: Ultra Sparse Visual Generation via Attention Statistical Reshape
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2505.22918