mlsanityData to 7 Oct 2026

MXAttention: Data-Free Optimal Scaling and Pre-Normalization Quantization for MXFP4 Attention

arXiv 2607.24377 ↗First posted 27 Jul 2026cs.LG cs.AI cs.CVcited by 2

On the map: Diffusion models → Video generation

Abstract (arXiv)

The quadratic cost of attention is a major bottleneck in diffusion-based video generation models. MXFP4 attention provides a promising path toward efficient inference, but direct MXFP4 quantization often degrades generation quality due to two numerical issues: the clipping-underflow trade-off from power-of-two scaling and the row-wise normalization error introduced in the softmax loop. We propose MXAttention, a data-free post-training quantization framework for MXFP4 attention. MXAttention introduces two components: Universal Optimal Scaling (UOS), which exploits the periodic structure of power-of-two microscaling to derive a distribution-independent optimal scaling boundary Qmax=7.25 without calibration or search, and Pre-Normalization Quantization (PNQ), which quantizes unnormalized softmax exponentials before row-wise summation to preserve normalization by construction. Experiments on Wan2.2 and HunyuanVideo show that MXAttention closes at least 95% of the VBench Imaging Quality gap between OCP MXFP4 and FP16, substantially improves frame-level similarity, and preserves FP16-level generation quality with less than 0.01 absolute degradation on all reported VBench metrics. MXAttention also achieves performance competitive with strong NVFP4-based baselines with negligible overhead when fused into the attention pipeline. The implementation is publicly available in MindIE-SD.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Video generation, one of 14 directions in Diffusion models. Builds on 24 of its 33 references that are in the map. First posted on arXiv 27 Jul 2026.

Builds on

24 of 33 references.

Closest ancestors · 2

Same direction, newest first

  1. 2024Timestep Embedding Tells: It's Time to Cache for Video Diffusion Model28 Nov
  2. 2024CogVideoX: Text-to-Video Diffusion Models with An Expert Transformer12 Aug

Other references · 22

  1. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  2. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  3. 2025Wan: Open and Advanced Large-Scale Video Generative Modelscited by 2,536
  4. 2023VBench: Comprehensive Benchmark Suite for Video Generative Modelscited by 1,755
  5. 2024HunyuanVideo: A Systematic Framework For Large Video Generative Modelscited by 1,597
  6. 2023Latent Consistency Models: Synthesizing High-Resolution Images with Few-Step Inferencecited by 826
  7. 2024Open-Sora: Democratizing Efficient Video Production for Allcited by 637
  8. 2024QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMscited by 598
  9. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 507
  10. 2024SpinQuant: LLM quantization with learned rotationscited by 446
  11. 2024SageAttention: Accurate 8-Bit Attention for Plug-and-play Inference Accelerationcited by 158
  12. 2024Real-Time Video Generation with Pyramid Attention Broadcastcited by 140
10 more
  1. 2023Microscaling Data Formats for Deep Learningcited by 132
  2. 2024SageAttention2: Efficient Attention with Thorough Outlier Smoothing and Per-thread INT4 Quantizationcited by 113
  3. 2024Phased Consistency Modelscited by 83
  4. 2025SageAttention3: Microscaling FP4 Attention for Inference and An Exploration of 8-Bit Trainingcited by 63
  5. 2025SageAttention2++: A More Efficient Implementation of SageAttention2cited by 21
  6. 2025Oscillation-Reduced MXFP4 Training for Vision Transformerscited by 20
  7. 2026M2XFP: A Metadata-Augmented Microscaling Data Format for Efficient Low-bit Quantizationcited by 7
  8. 2026Attn-QAT: 4-Bit Attention With Quantization-Aware Trainingcited by 5
  9. 2026Unveiling the Potential of Quantization with MXFP4: Strategies for Quantization Error Reductioncited by 5
  10. 2026Search Your Block Floating Point Scales!cited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025QuantSparse: Comprehensively Compressing Video Diffusion Transformer with Model Quantization and Attention Sparsification
  2. 2025FPSAttention: Training-Aware FP8 and Sparsity Co-Design for Fast Video Diffusion
  3. 2026Where Compute Matters: Heterogeneous Attention for Efficient Video Diffusion
  4. 2025FreeSwim: Revisiting Sliding-Window Attention Mechanisms for Training-Free Ultra-High-Resolution Video Generation
  5. 2025Attention Surgery: An Efficient Recipe to Linearize Your Video Diffusion Transformer
  6. 2026ScalingAttention: Discovering Intrinsic Sparse Attention Topology for Video Diffusion Transformers
  7. 2025Training-Free Efficient Video Generation via Dynamic Token Carving
  8. 2026SPADE: An Input-Adaptive Sparse Attention Engine for Fast Video Diffusion Models Inference