mlsanityData to 7 Oct 2026

RotateAttention: RoPE-Aware Rotation and Range Rectification for INT4 Quantized Attention in Video Generation

arXiv 2607.02584 ↗First posted 1 Jul 2026cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

In DiT-based video generation models equipped with 3D Rotary Position Embeddings (3D RoPE), the attention mechanism remains a primary computational bottleneck due to its quadratic complexity with respect to sequence length. While quantized FlashAttention offers a promising path toward hardware acceleration, existing low-bit quantization methods overlook two critical challenges in this setting: 1) applying online rotation matrices -- a widely used technique for mitigating outliers in Queries (Q) and Keys (K) -- is difficult to reconcile with RoPE; and 2) the non-negative attention matrix P = exp(QK - max(QK)) makes symmetric quantization waste half of the 4-bit dynamic range. In this work, we observe that the outlier distributions of Q and K are strongly affected by the dimensional partitioning of 3D RoPE. Based on this finding, we propose RotateAttention, an efficient mixed-precision INT4 FlashAttention framework tailored for DiT-based video generation models with 3D RoPE, using selective FP16 fallback for accuracy-sensitive attention blocks and denoising steps. RotateAttention introduces two core techniques: 1) RoPE-aware Rotation, which employs either mergeable rotation matrices that can be fused into RoPE or negligible-overhead matrices to mitigate RoPE-induced outliers in Q and K; and 2) Range-optimized P Quantization, which uses fixed scales and zero-points to fully exploit the INT4 numerical range with minimal computational overhead. Experiments show that RotateAttention preserves video generation quality nearly identical to full-precision baselines while achieving up to 1.68× end-to-end speedup and 2.2× kernel-level acceleration.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 53 of its 57 references that are in the map. First posted on arXiv 1 Jul 2026.

Builds on

53 of 57 references.

References · 53

  1. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  2. 2022Scalable Diffusion Models with Transformerscited by 5,931
  3. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  4. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  5. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  6. 2025Wan: Open and Advanced Large-Scale Video Generative Modelscited by 2,536
  7. 2024CogVideoX: Text-to-Video Diffusion Models with An Expert Transformercited by 2,198
  8. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  9. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
  10. 2023VBench: Comprehensive Benchmark Suite for Video Generative Modelscited by 1,755
  11. 2024HunyuanVideo: A Systematic Framework For Large Video Generative Modelscited by 1,597
  12. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,338
38 more
  1. 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,234
  2. 2024Open-Sora: Democratizing Efficient Video Production for Allcited by 637
  3. 2024QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMscited by 598
  4. 2024DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Servingcited by 595
  5. 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
  6. 2023Splitwise: Efficient generative LLM inference using phase splittingcited by 536
  7. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 507
  8. 2024SpinQuant: LLM quantization with learned rotationscited by 446
  9. 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 375
  10. 2023Q-Diffusion: Quantizing Diffusion Modelscited by 266
  11. 2022Post-training Quantization on Diffusion Modelscited by 262
  12. 2023LongLoRA: Efficient Fine-tuning of Long-Context Large Language Modelscited by 243
  13. 2025Sparse VideoGen: Accelerating Video Diffusion Transformers with Spatial-Temporal Sparsitycited by 204
  14. 2024Mooncake: A KVCache-centric Disaggregated Architecture for LLM Servingcited by 193
  15. 2024InfLLM: Training-Free Long-Context Extrapolation for LLMs with an Efficient Context Memorycited by 192
  16. 2024DuQuant: Distributing Outliers via Dual Transformation Makes Stronger Quantized LLMscited by 165
  17. 2024SVDQuant: Absorbing Outliers by Low-Rank Components for 4-Bit Diffusion Modelscited by 161
  18. 2024SageAttention: Accurate 8-Bit Attention for Plug-and-play Inference Accelerationcited by 158
  19. 2025Open-Sora 2.0: Training a Commercial-Level Video Generation Model in 200kcited by 157
  20. 2025Fast Video Generation with Sliding Tile Attentioncited by 123
  21. 2024FlatQuant: Flatness Matters for LLM Quantizationcited by 116
  22. 2025SpargeAttention: Accurate and Training-free Sparse Attention Accelerating Any Model Inferencecited by 113
  23. 2024ViDiT-Q: Efficient and Accurate Quantization of Diffusion Transformers for Image and Video Generationcited by 110
  24. 2024DiTFastAttn: Attention Compression for Diffusion Transformer Modelscited by 109
  25. 2025Sparse VideoGen2: Accelerate Video Generation with Sparse Attention via Semantic-Aware Permutationcited by 100
  26. 2024Evaluating Quantized Large Language Modelscited by 75
  27. 2025SageAttention3: Microscaling FP4 Attention for Inference and An Exploration of 8-Bit Trainingcited by 63
  28. 2025SLA: Beyond Sparsity in Diffusion Transformers via Fine-Tunable Sparse-Linear Attentioncited by 55
  29. 2024MBQ: Modality-Balanced Quantization for Large Vision-Language Modelscited by 45
  30. 2024MixDQ: Memory-Efficient Few-Step Text-to-Image Diffusion Models with Metric-Decoupled Mixed Precision Quantizationcited by 42
  31. 2025TileLang: A Composable Tiled Programming Model for AI Systemscited by 42
  32. 2024BitsFusion: 1.99 bits Weight Quantization of Diffusion Modelcited by 37
  33. 2023Skip-Attention: Improving Vision Transformers by Paying Less Attentioncited by 23
  34. 2024EDA-DM: Enhanced Distribution Alignment for Post-Training Quantization of Diffusion Modelscited by 23
  35. 2023Post-training Quantization for Text-to-Image Diffusion Models with Progressive Calibration and Activation Relaxingcited by 21
  36. 2025Phased DMD: Few-step Distribution Matching Distillation via Score Matching within Subintervalscited by 21
  37. 2025QVGen: Pushing the Limit of Quantized Video Generative Modelscited by 20
  38. 2025PM-KVQ: Progressive Mixed-precision KV Cache Quantization for Long-CoT LLMscited by 19

50 most cited of 53 All 53 (JSON)

Built on by

Not cited yet.