mlsanityData to 14 Oct 2026

Grouping First, Attending Smartly: Training-Free Acceleration for Diffusion Transformers

arXiv 2505.14687 ↗First posted 20 May 2025cs.CVcited by 13

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

  1. 2025Fast Video Generation with Sliding Tile Attention6 Feb
  2. 2024CLEAR: Conv-Like Linearization Revs Pre-Trained Diffusion Transformers Up20 Dec
  3. 2024DiTFastAttn: Attention Compression for Diffusion Transformer Models12 Jun
  4. 2023Stable Video Diffusion: Scaling Latent Video Diffusion Models to Large Datasets25 Nov

Other references · 47

  1. 2017Attention Is All You Needcited by 60,361
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  5. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  6. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  7. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  8. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  9. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 9,122
  10. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  11. 2022Scalable Diffusion Models with Transformerscited by 6,054
  12. 2022Flow Matching for Generative Modelingcited by 5,702
35 more
  1. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,181
  2. 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flowcited by 3,700
  3. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  4. 2023VBench: Comprehensive Benchmark Suite for Video Generative Modelscited by 1,822
  5. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  6. 2024HunyuanVideo: A Systematic Framework For Large Video Generative Modelscited by 1,660
  7. 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
  8. 2023ImageReward: Learning and Evaluating Human Preferences for Text-to-Image Generationcited by 1,045
  9. 2023GenEval: An Object-Focused Framework for Evaluating Text-to-Image Alignmentcited by 972
  10. 2024SiT: Exploring Flow and Diffusion-based Generative Models with Scalable Interpolant Transformerscited by 737
  11. 2022Pseudo Numerical Methods for Diffusion Models on Manifoldscited by 700
  12. 2019Stand-Alone Self-Attention in Vision Modelscited by 542
  13. 2022All are Worth Words: A ViT Backbone for Diffusion Modelscited by 502
  14. 2024PixArt-Sigma: Weak-to-Strong Training of Diffusion Transformer for 4K Text-to-Image Generationcited by 329
  15. 2020Axial-DeepLab: Stand-Alone Axial-Attention for Panoptic Segmentationcited by 326
  16. 2024An Image is Worth 32 Tokens for Reconstruction and Generationcited by 302
  17. 2023Q-Diffusion: Quantizing Diffusion Modelscited by 273
  18. 2022Post-training Quantization on Diffusion Modelscited by 267
  19. 2024Playground v2.5: Three Insights towards Enhancing Aesthetic Quality in Text-to-Image Generationcited by 256
  20. 2022Neighborhood Attention Transformercited by 239
  21. 2023Structural Pruning for Diffusion Modelscited by 195
  22. 2024Flex Attention: A Programming Model for Generating Optimized Attention Kernelscited by 185
  23. 2024Randomized Autoregressive Visual Generationcited by 127
  24. 2022Revealing the Dark Secrets of Masked Image Modelingcited by 117
  25. 2024FlowAR: Scale-wise Autoregressive Image Generation Meets Flow Matchingcited by 80
  26. 2025Beyond Next-Token: Next-X Prediction for Autoregressive Visual Generationcited by 71
  27. 2025Democratizing Text-to-Image Masked Generative Models with Compact Text-Aware One-Dimensional Tokenscited by 50
  28. 2023PPT: Token Pruning and Pooling for Efficient Vision Transformerscited by 38
  29. 2024Alleviating Distortion in Image Generation via Multi-Resolution Diffusion Models and Time-Dependent Layer Normalizationcited by 36
  30. 2025FlowTok: Flowing Seamlessly Across Text and Image Tokenscited by 33
  31. 20241.58-bit FLUXcited by 31
  32. 2023KOALA: Empirical Lessons Toward Memory-Efficient and Fast Diffusion Models for Text-to-Image Synthesiscited by 18
  33. 2025COCONut-PanCap: Joint Panoptic Segmentation and Grounded Captions for Fine-Grained Understanding and Generationcited by 12
  34. 2025Deeply Supervised Flow-Based Generative Modelscited by 9
  35. 2025ReVision: Refining Video Diffusion with Explicit 3D Motion Modelingcited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 6; 2026: 7.

13 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2025DraftAttention: Fast Video Diffusion via Low-Resolution Attention Guidance
  2. 2026APT: Accelerating Diffusion Transformers via Attention Probability-Guided Pruning and Quantization
  3. 2026MegaSlide-DiT: Memory-Centric Adaptation and Deformable Local Attention for Efficient Video Diffusion
  4. 2025SLA: Beyond Sparsity in Diffusion Transformers via Fine-Tunable Sparse-Linear Attention
  5. 2025Trainable Log-linear Sparse Attention for Efficient Diffusion Transformers
  6. 2025PipeDiT: Accelerating Diffusion Transformers in Video Generation with Task Pipelining and Model Decoupling
  7. 2025Chipmunk: Training-Free Acceleration of Diffusion Transformers with Dynamic Column-Sparse Deltas
  8. 2025FG-Attn: Leveraging Fine-Grained Sparse Attention in Video Diffusion Models