Grouping First, Attending Smartly: Training-Free Acceleration for Diffusion Transformers
On the map: Diffusion models → Video generation
Abstract (arXiv)
Diffusion-based Transformers have demonstrated impressive generative capabilities, but their high computational costs hinder practical deployment, for example, generating an 8192× 8192 image can take over an hour on an A100 GPU. In this work, we propose GRAT (GRouping first, ATtending smartly), a training-free attention acceleration strategy for fast image and video generation without compromising output quality. The key insight is to exploit the inherent sparsity in learned attention maps (which tend to be locally focused) in pretrained Diffusion Transformers and leverage better GPU parallelism. Specifically, GRAT first partitions contiguous tokens into non-overlapping groups, aligning both with GPU execution patterns and the local attention structures learned in pretrained generative Transformers. It then accelerates attention by having all query tokens within the same group share a common set of attendable key and value tokens. These key and value tokens are further restricted to structured regions, such as surrounding blocks or criss-cross regions, significantly reducing computational overhead (e.g., attaining a 35.8× speedup over full attention when generating 8192× 8192 images) while preserving essential attention patterns and long-range context. We validate GRAT on pretrained Flux and HunyuanVideo for image and video generation, respectively. In both cases, GRAT achieves substantially faster inference without any fine-tuning, while maintaining the performance of full attention. We hope GRAT will inspire future research on accelerating Diffusion Transformers for scalable visual generation.
Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Placed in Video generation, one of 14 directions in Diffusion models. Builds on 51 of its 56 references that are in the map. First posted on arXiv 20 May 2025.
Builds on
51 of 56 references.
Closest ancestors · 4
Same direction, newest first
- 2025Fast Video Generation with Sliding Tile Attention6 Feb
- 2024CLEAR: Conv-Like Linearization Revs Pre-Trained Diffusion Transformers Up20 Dec
- 2024DiTFastAttn: Attention Compression for Diffusion Transformer Models12 Jun
- 2023Stable Video Diffusion: Scaling Latent Video Diffusion Models to Large Datasets25 Nov
Other references · 47
- 2017Attention Is All You Needcited by 60,361
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 9,122
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2022Scalable Diffusion Models with Transformerscited by 6,054
- 2022Flow Matching for Generative Modelingcited by 5,702
35 more
- 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,181
- 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flowcited by 3,700
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2023VBench: Comprehensive Benchmark Suite for Video Generative Modelscited by 1,822
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
- 2024HunyuanVideo: A Systematic Framework For Large Video Generative Modelscited by 1,660
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2023ImageReward: Learning and Evaluating Human Preferences for Text-to-Image Generationcited by 1,045
- 2023GenEval: An Object-Focused Framework for Evaluating Text-to-Image Alignmentcited by 972
- 2024SiT: Exploring Flow and Diffusion-based Generative Models with Scalable Interpolant Transformerscited by 737
- 2022Pseudo Numerical Methods for Diffusion Models on Manifoldscited by 700
- 2019Stand-Alone Self-Attention in Vision Modelscited by 542
- 2022All are Worth Words: A ViT Backbone for Diffusion Modelscited by 502
- 2024PixArt-Sigma: Weak-to-Strong Training of Diffusion Transformer for 4K Text-to-Image Generationcited by 329
- 2020Axial-DeepLab: Stand-Alone Axial-Attention for Panoptic Segmentationcited by 326
- 2024An Image is Worth 32 Tokens for Reconstruction and Generationcited by 302
- 2023Q-Diffusion: Quantizing Diffusion Modelscited by 273
- 2022Post-training Quantization on Diffusion Modelscited by 267
- 2024Playground v2.5: Three Insights towards Enhancing Aesthetic Quality in Text-to-Image Generationcited by 256
- 2022Neighborhood Attention Transformercited by 239
- 2023Structural Pruning for Diffusion Modelscited by 195
- 2024Flex Attention: A Programming Model for Generating Optimized Attention Kernelscited by 185
- 2024Randomized Autoregressive Visual Generationcited by 127
- 2022Revealing the Dark Secrets of Masked Image Modelingcited by 117
- 2024FlowAR: Scale-wise Autoregressive Image Generation Meets Flow Matchingcited by 80
- 2025Beyond Next-Token: Next-X Prediction for Autoregressive Visual Generationcited by 71
- 2025Democratizing Text-to-Image Masked Generative Models with Compact Text-Aware One-Dimensional Tokenscited by 50
- 2023PPT: Token Pruning and Pooling for Efficient Vision Transformerscited by 38
- 2024Alleviating Distortion in Image Generation via Multi-Resolution Diffusion Models and Time-Dependent Layer Normalizationcited by 36
- 2025FlowTok: Flowing Seamlessly Across Text and Image Tokenscited by 33
- 20241.58-bit FLUXcited by 31
- 2023KOALA: Empirical Lessons Toward Memory-Efficient and Fast Diffusion Models for Text-to-Image Synthesiscited by 18
- 2025COCONut-PanCap: Joint Panoptic Segmentation and Grounded Captions for Fine-Grained Understanding and Generationcited by 12
- 2025Deeply Supervised Flow-Based Generative Modelscited by 9
- 2025ReVision: Refining Video Diffusion with Explicit 3D Motion Modelingcited by 5
Built on by
Citing papers per year: 2025: 6; 2026: 7.
13 papers.
Sort:
By area:
- 2025DiCache: Let Diffusion Model Determine Its Own Cachecited by 42
- 2025Bidirectional Sparse Attention for Faster Video Diffusion Trainingcited by 19
- 2026A Frame is Worth One Token: Efficient Generative World Modeling with Delta Tokenscited by 10
- 2025QuantSparse: Comprehensively Compressing Video Diffusion Transformer with Model Quantization and Attention Sparsificationcited by 7
- 2026Efficient Video Diffusion Models: Advancements and Challengescited by 7
- 2026Frequency-Aware Flow Matching for High-Quality Image Generationcited by 6
- 2025Rectified SpaAttn: Revisiting Attention Sparsity for Efficient Video Generationcited by 5
- 2025UltraImageGen: Efficient Ultra-High-Resolution Image Generation with Hierarchical Local Attentioncited by 3
- 2025Fast3Dcache: Training-free 3D Geometry Synthesis Accelerationcited by 3
- 2026DC-DiT: Adaptive Compute and Elastic Inference for Visual Generation via Dynamic Chunkingcited by 3
- 2026Attention Sinks in Diffusion Transformers: A Causal Analysiscited by 3
- 2026ACID: Adaptive Caching for vIDeo generationcited by 1
- 2026SCOPE: Subspace Clustering with Online Per-Head Top-K Estimation for Sparse Video Attention13 Aug 2026
- 2026ACID: Adaptive Caching for vIDeo generation14 Jul 2026
- 2026Attention Sinks in Diffusion Transformers: A Causal Analysis10 May 2026
- 2026Efficient Video Diffusion Models: Advancements and Challenges17 Apr 2026
- 2026Frequency-Aware Flow Matching for High-Quality Image Generation16 Apr 2026
- 2026A Frame is Worth One Token: Efficient Generative World Modeling with Delta Tokens6 Apr 2026
- 2026DC-DiT: Adaptive Compute and Elastic Inference for Visual Generation via Dynamic Chunking6 Mar 2026
- 2025Fast3Dcache: Training-free 3D Geometry Synthesis Acceleration27 Nov 2025
- 2025Rectified SpaAttn: Revisiting Attention Sparsity for Efficient Video Generation25 Nov 2025
- 2025UltraImageGen: Efficient Ultra-High-Resolution Image Generation with Hierarchical Local Attention18 Oct 2025
- 2025QuantSparse: Comprehensively Compressing Video Diffusion Transformer with Model Quantization and Attention Sparsification28 Sep 2025
- 2025Bidirectional Sparse Attention for Faster Video Diffusion Training1 Sep 2025
1 more
- 2025DiCache: Let Diffusion Model Determine Its Own Cache24 Aug 2025
- 2025DiCache: Let Diffusion Model Determine Its Own Cachecited by 42
- 2025Bidirectional Sparse Attention for Faster Video Diffusion Trainingcited by 19
- 2025QuantSparse: Comprehensively Compressing Video Diffusion Transformer with Model Quantization and Attention Sparsificationcited by 7
- 2026Efficient Video Diffusion Models: Advancements and Challengescited by 7
- 2026Frequency-Aware Flow Matching for High-Quality Image Generationcited by 6
- 2025Rectified SpaAttn: Revisiting Attention Sparsity for Efficient Video Generationcited by 5
- 2025UltraImageGen: Efficient Ultra-High-Resolution Image Generation with Hierarchical Local Attentioncited by 3
- 2025Fast3Dcache: Training-free 3D Geometry Synthesis Accelerationcited by 3
- 2026DC-DiT: Adaptive Compute and Elastic Inference for Visual Generation via Dynamic Chunkingcited by 3
- 2026Attention Sinks in Diffusion Transformers: A Causal Analysiscited by 3
- 2026ACID: Adaptive Caching for vIDeo generationcited by 1
- 2026SCOPE: Subspace Clustering with Online Per-Head Top-K Estimation for Sparse Video Attentioncited by 0
- 2026SCOPE: Subspace Clustering with Online Per-Head Top-K Estimation for Sparse Video Attention13 Aug 2026
- 2026ACID: Adaptive Caching for vIDeo generation14 Jul 2026
- 2026Attention Sinks in Diffusion Transformers: A Causal Analysis10 May 2026
- 2026Efficient Video Diffusion Models: Advancements and Challenges17 Apr 2026
- 2026Frequency-Aware Flow Matching for High-Quality Image Generation16 Apr 2026
- 2026DC-DiT: Adaptive Compute and Elastic Inference for Visual Generation via Dynamic Chunking6 Mar 2026
- 2025Fast3Dcache: Training-free 3D Geometry Synthesis Acceleration27 Nov 2025
- 2025Rectified SpaAttn: Revisiting Attention Sparsity for Efficient Video Generation25 Nov 2025
- 2025UltraImageGen: Efficient Ultra-High-Resolution Image Generation with Hierarchical Local Attention18 Oct 2025
- 2025QuantSparse: Comprehensively Compressing Video Diffusion Transformer with Model Quantization and Attention Sparsification28 Sep 2025
- 2025Bidirectional Sparse Attention for Faster Video Diffusion Training1 Sep 2025
- 2025DiCache: Let Diffusion Model Determine Its Own Cache24 Aug 2025
Similar, not cited
Close in wording, no citation either way
- 2025DraftAttention: Fast Video Diffusion via Low-Resolution Attention Guidance
- 2026APT: Accelerating Diffusion Transformers via Attention Probability-Guided Pruning and Quantization
- 2026MegaSlide-DiT: Memory-Centric Adaptation and Deformable Local Attention for Efficient Video Diffusion
- 2025SLA: Beyond Sparsity in Diffusion Transformers via Fine-Tunable Sparse-Linear Attention
- 2025Trainable Log-linear Sparse Attention for Efficient Diffusion Transformers
- 2025PipeDiT: Accelerating Diffusion Transformers in Video Generation with Task Pipelining and Model Decoupling
- 2025Chipmunk: Training-Free Acceleration of Diffusion Transformers with Dynamic Column-Sparse Deltas
- 2025FG-Attn: Leveraging Fine-Grained Sparse Attention in Video Diffusion Models