potentialpaper

RotateAttention-FP4: A Unified Training-Free and Data-Efficient QAT Framework for Quantized Attention

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:20 UTC · 25b602a3d72c ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "bCYSwubfWA"
- }
- ],
- "title": "RotateAttention-FP4: A Unified Training-Free and Data-Efficient QAT Framework for Quantized Attention",
- "authors": [],
- "abstract": "Attention incurs substantial computation and memory traffic in video diffusion models, motivating 4-bit quantization for efficient inference. However, existing training-free 4-bit attention methods remain limited in both generation quality and runtime efficiency, while quantization-aware training (QAT) often incurs substantial training costs. We propose \\textbf{RotateAttention-FP4}, a unified NVFP4 attention framework supporting accurate and efficient video diffusion through both training-free inference and lightweight adaptation.\nOur key insight is that activation outliers and stable channel-wise biases amplify quantization error, degrading the accuracy of training-free inference and increasing the burden on model adaptation.\nWe refer to these distribution-induced errors as \\emph{structural errors} and suppress them through grouped Hadamard rotation and calibration-based channel centering using offline-estimated offsets.\nWe further optimize quantization scales for both QKV and attention weights: rotation-aware QKV scale selection reduces FP4 rounding error, while probability amplification reduces underflow of attention-weight scales.\nTogether, these corrections improve training-free inference accuracy and reduce the residual error that sensitive models must compensate for through lightweight QAT.\nExperiments on Wan2.2 and MiniMax H3 demonstrate generation quality close to 16-bit attention \\textbf{without any fine-tuning} in conventional multi-step settings and on eight-step MiniMax H3. For the quantization-sensitive four-step Wan2.2 model, QAT with low-rank adaptation (LoRA) recovers generation quality using \\textbf{only 30 randomly sampled training examples}. Our fused implementation further delivers a \\textbf{$2.11$--$2.33\\times$ end-to-end attention speedup over FlashAttention} and \\textbf{$1.18$--$1.41\\times$ preprocessing throughput over SageAttention3}.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "9fd19c3d-4718-4290-801b-d2fcfb7a460b"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "RotateAttention-FP4: A Unified Training-Free and Data-Efficient QAT Framework for Quantized Attention",
+ "authors": [],
+ "abstract": "Attention incurs substantial computation and memory traffic in video diffusion models, motivating 4-bit quantization for efficient inference. However, existing training-free 4-bit attention methods remain limited in both generation quality and runtime efficiency, while quantization-aware training (QAT) often incurs substantial training costs. We propose \\textbf{RotateAttention-FP4}, a unified NVFP4 attention framework supporting accurate and efficient video diffusion through both training-free inference and lightweight adaptation.\nOur key insight is that activation outliers and stable channel-wise biases amplify quantization error, degrading the accuracy of training-free inference and increasing the burden on model adaptation.\nWe refer to these distribution-induced errors as \\emph{structural errors} and suppress them through grouped Hadamard rotation and calibration-based channel centering using offline-estimated offsets.\nWe further optimize quantization scales for both QKV and attention weights: rotation-aware QKV scale selection reduces FP4 rounding error, while probability amplification reduces underflow of attention-weight scales.\nTogether, these corrections improve training-free inference accuracy and reduce the residual error that sensitive models must compensate for through lightweight QAT.\nExperiments on Wan2.2 and MiniMax H3 demonstrate generation quality close to 16-bit attention \\textbf{without any fine-tuning} in conventional multi-step settings and on eight-step MiniMax H3. For the quantization-sensitive four-step Wan2.2 model, QAT with low-rank adaptation (LoRA) recovers generation quality using \\textbf{only 30 randomly sampled training examples}. Our fused implementation further delivers a \\textbf{$2.11$--$2.33\\times$ end-to-end attention speedup over FlashAttention} and \\textbf{$1.18$--$1.41\\times$ preprocessing throughput over SageAttention3}.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}