TL;DR
Shrinking Large Language Models (LLMs) down to 4-bit precision saves massive amounts of memory and energy, and hardware vendors are currently battling over the best numerical format—like open-standard MXFP4 versus proprietary NVFP4—to do it. This paper reveals that arguing over the format alone misses the forest for the trees: the "recipe" of post-training optimization techniques you pair with a format matters just as much as the format itself. What makes one 4-bit format shine can actually make another perform worse, meaning hardware formats and software algorithms must be co-designed as a single package.
What Problem Does This Paper Address?
Running modern LLMs is largely a game of moving massive weight matrices through memory. To ease this bottleneck, hardware designers introduced microscaling (block floating-point) formats. Instead of giving every single number its own bulky 8-bit exponent (like in standard BF16), a local block of 16 or 32 numbers shares a single scale factor.
Two main 4-bit contenders have emerged:
- MXFP4 (OCP open standard, supported natively on recent AMD chips): Groups 32 elements together under a coarse, power-of-two scale (
E8M0). - NVFP4: Groups 16 elements under a finer-grained 8-bit floating-point scale (
E4M3), plus an overarching per-tensor "macroscale."
Historically, benchmarks showed NVFP4 beating MXFP4 in accuracy. However, those studies usually tested both formats using a single, fixed set of Post-Training Quantization (PTQ) techniques. The authors ask: Are we measuring the limits of the format, or just an ill-fitting quantization recipe?
Methods
The authors run a massive grid search ("composability sweep") across six LLMs (from the Llama-3 and Qwen3 families, 1B to 8B parameters), testing how different formats interact with standard and novel PTQ techniques:
- Standard Techniques Swept:
- Hadamard Rotations: Mathematical transformations (at block sizes of 16, 32, or full-matrix) that smear extreme "outlier" values evenly across channels before quantization.
- PTQ Algorithms: Comparing simple Round-to-Nearest (RTN) against error-correcting algorithms GPTQ (fixes layer-wise error) and Qronos (fixes accumulated error across layers).
- Mixed Precision: Testing 4-bit weights with 6-bit MXFP6 activations (
A6W4). - What’s New:
- Midmax Scale Selection: Standard MXFP4 uses floor-rounding to pick its power-of-two block scale, which aggressively clips values near the top of the range. The authors introduce Midmax, a zero-cost, calibration-free tweak that shifts the rounding boundary halfway to the next power of two, trading tiny rounding errors to prevent painful hard-clipping.
- MXFP4 + Macroscale: They graft NVFP4’s software-level per-tensor macroscale onto MXFP4 to isolate whether global rescaling is NVFP4's secret sauce.
Datasets
No new benchmarks are introduced. Models are evaluated zero-shot using standard commonsense reasoning suites: ARC-Easy, ARC-Challenge, HellaSwag, PIQA, and WinoGrande. For the instruction-tuned Llama-3.1-8B, they also evaluate mathematical reasoning on GSM8K. (Calibration-based methods like GPTQ, Qronos, and MSE scale-selection use a calibration set, though the specific calibration dataset is not named in the text).
Key Insights and Ideas
- The Recipe Rivals the Format: As seen in the scatter plots above, the spread of accuracy across different PTQ configurations within a single format is just as wide as the gap between MXFP4 and NVFP4. Neither format is universally superior across all models when each is given its best recipe.
- What Helps MXFP4 Can Hurt NVFP4: Because MXFP4 uses coarse power-of-two scales over 32 elements, outliers ruin a whole block's precision—making Hadamard rotations a lifesaver. Conversely, NVFP4’s 16-element blocks and finer
E4M3scales already handle local variations well; applying Hadamard rotations to NVFP4 actually degrades accuracy almost across the board!
- Smaller Rotations Beat Global Ones: You don't need expensive, full-matrix rotations. Local block-wise rotations (16 or 32) actually outperform full rotations for MXFP4.
- NVFP4’s Macroscale Doesn't Rescue MXFP4: Adding a per-tensor macroscale to MXFP4 lowers average accuracy. A single global scale simply cannot fix local power-of-two block quantization bottlenecks.
Key Results
- Closing the 4-bit Gap: Combining block-32 rotation (
+1.17%), GPTQ (+1.32%), and Midmax (+0.25%unrotated) gives MXFP4 roughly a +3% cumulative accuracy boost over baseline at 4-bit (A4W4), making it go toe-to-toe with NVFP4. - Midmax Consistency: Without needing a single sample of calibration data, Midmax beats standard floor-rounding in 67% of all tested 4-bit MXFP4 configurations (and shines brightest alongside Qronos, adding
+0.30%on average). - Matching BF16 with Mixed Precision: Stepping activations up to 6-bit MXFP6 while keeping weights in 4-bit MXFP4 (
A6W4) boosts accuracy by+1.74%. On Llama-3.1-8B-Instruct,A6W4hits 78.3% on WinoGrande, 80.1% on HellaSwag, and 85.7% on GSM8K—matching or slightly beating the unquantized 16-bit BF16 baseline (78.1%,80.1%, and85.4%).
Limitations and Future Work
- Missing Precision Permutations: While the authors showed that bumping activations to 6-bit (
A6W4) recovers virtually all lost accuracy, they acknowledge they did not testA4W6(4-bit activations, 6-bit weights) to see if spending extra bits on weights first would be equally effective. - No Silver Bullet: Even with clear general trends (e.g., MXFP4 prefers GPTQ + block rotation; NVFP4 prefers Qronos + no rotation), the exact optimal recipe still varies slightly from model to model and task to task (for instance, macroscaling hurt MXFP4 on average, yet boosted GSM8K math scores by
+2.3%). Practitioners should use these findings as smart defaults for model-specific tuning.
Summary updated