Bridging the Gap Between Promise and Performance for Microscaling FP4 Quantization

Vage Egiazarian, Roberto L. Castro, Denis Kuznedelev, Andrei Panferov, Eldar Kurtic, Shubhra Pandit, Alexandre Noll Marques, Mark Kurtz, Saleh Ashkboos, Torsten Hoefler, Dan Alistarh

TL;DR

This paper investigates why new hardware-accelerated 4-bit floating-point formats (NVFP4 and MXFP4) often fail to live up to their accuracy promises in Large Language Model (LLM) inference. The authors introduce MR-GPTQ, a specialized quantization algorithm using "micro-rotations," and QuTLASS, a high-performance kernel library that delivers up to 4x end-to-end speedups on next-generation GPUs like the RTX 5090.

What Problem Does This Paper Address?

As LLMs grow in size, the industry is moving toward "microscaling" formats to reduce memory and compute bottlenecks. Instead of using one scale factor for an entire tensor, formats like NVIDIA’s NVFP4 and the OCP standard MXFP4 group small blocks of numbers (e.g., 16 or 32 elements) together with a shared scale.

MXFP4 and NVFP4 format structures

While hardware like NVIDIA’s Blackwell architecture and new AMD GPUs are designed to accelerate these formats, there is a catch: existing quantization methods do not work well with them. The authors identify two primary gaps:

  1. The Outlier Problem: NVFP4 uses very small groups (16 elements). Traditional techniques that try to "smooth out" outliers—extreme values that ruin quantization—are mathematically neutralized by these tiny group sizes.
  2. The Scaling Error: MXFP4 uses "power-of-two" scales to simplify hardware. This makes the scaling grid too coarse, leading to significant accuracy drops (up to 10% relative) compared to uncompressed models.

Methods

To bridge the performance-accuracy gap, the authors propose a new approach called Micro-Rotated-GPTQ (MR-GPTQ). It relies on three main ingredients:

  • Micro-Rotations (Block-wise Hadamard Transforms): Instead of rotating the entire weight matrix, which is computationally expensive, MR-GPTQ applies rotations at the group level. This "normalizes" the distribution of weights and activations, reducing extreme outliers and making them easier to quantize without losing information.
Effect of rotations on weight and activation distributions
  • Static Activation Reordering: Standard GPTQ often reorders columns dynamically to improve accuracy, but this slows down inference by 10-20%. MR-GPTQ performs this reordering statically during the quantization process and shuffles them back, providing the accuracy boost with zero runtime penalty.
  • MSE-Optimized Grids: Moving away from simple "max-value" scaling, the method optimizes the scales to minimize Mean Squared Error (MSE) specifically tailored for the FP4 format.

To make this practical, the researchers developed QuTLASS, a library of GPU kernels that fuses these rotations directly into the matrix multiplication. This ensures the mathematical overhead does not negate the hardware speedups.

Datasets

The researchers conducted an extensive evaluation using:

  • Models: Llama-3 (1B to 70B parameters) and Qwen-3 (8B to 32B parameters).
  • Benchmarks: Standard zero-shot tasks including GSM8K (math), MMLU (knowledge), Winogrande, and HellaSwag (language understanding).
  • PlatinumBench: A curated, lower-noise benchmark used to distinguish subtle differences between quantization variants.

Key Insights and Ideas

  • The "Crossover" Phenomenon: Analytically, the authors prove that Hadamard rotations actually hurt accuracy for very small group sizes (like NVFP4’s 16) when using simple rounding. However, as group sizes grow or more advanced algorithms like GPTQ are used, the rotations become a massive net positive.
  • MXFP4 is Faster, NVFP4 is More Accurate: Interestingly, MXFP4 (the more "restrictive" format) achieves ~15% higher throughput on B200 hardware than NVFP4, likely due to its simpler power-of-two scaling logic.
  • FP4 is not a "Magic Bullet": The paper debunks the idea that switching to FP4 automatically beats the older INT4 format. Without specialized algorithms like MR-GPTQ, standard 4-bit integer quantization often remains more accurate.

Key Results

  • Accuracy Recovery: MR-GPTQ allows MXFP4 to recover accuracy to within 1-2% of the much more precise NVFP4 format. For large models (70B+), both formats can recover 98-99% of the original FP16 accuracy.
  • Massive Speedups:
    • On NVIDIA B200: Up to 3.6x layer-wise speedup and 2.2x end-to-end.
  • On NVIDIA RTX 5090: Up to 6x layer-wise speedup and 4x end-to-end.
  • Kernel Efficiency: The QuTLASS kernels prove that "micro-rotations" can be supported with essentially zero overhead compared to standard matrix multiplications on the Blackwell architecture.

Limitations and Future Work

The primary limitation noted is the small-batch regime. In scenarios where text is generated for a single user (low batch size), the system is "memory-bound." In this state, quantizing activations (the "A" in W4A4) provides little to no speed benefit over quantizing only the weights. The authors suggest that for these cases, weight-only quantization remains the better trade-off.

Future work will likely focus on optimizing these kernels for the memory-bound "decode" phase of LLM inference and exploring how these formats handle even more extreme compression (e.g., 2-bit).

Summary updated

BibTeX
@inproceedings{egiazarian2026bridging,
  author = {Vage Egiazarian and Roberto L. Castro and Denis Kuznedelev and Andrei Panferov and Eldar Kurtic and Shubhra Pandit and Alexandre Noll Marques and Mark Kurtz and Saleh Ashkboos and Torsten Hoefler and Dan Alistarh},
  title = {{Bridging the Gap Between Promise and Performance for Microscaling FP4 Quantization}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=zCBGe9AqJZ},
}
Figure