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