Back to AI News
arxiv

MXFP4 Quantization Study Finds Format-Specific PTQ Recipes and Introduces Midmax

A new arXiv paper studies how microscaling numerical formats interact with rotation, post-training quantization algorithms, and scale selection across six LLMs. It finds that effective 4-bit recipes are format dependent: MXFP4 benefits substantially from rotation and error-correcting PTQ, while NVFP4 gains less from rotation. The authors introduce Midmax, a calibration-free scale-selection strategy that improves accuracy across most evaluated MXFP4 configurations. They also report that MXFP6 activations with MXFP4 weights recover most accuracy lost at 4-bit and, on Llama-3.1-8B, match or exceed an in-house BF16 baseline.

AI Brief

It offers practical guidance on combining numerical formats, rotation, PTQ, and scale selection for accurate low-precision LLM inference.

arXiv:2611.32873v1 Announce Type: cross Abstract: Recent advances in low-precision representation have introduced several microscaling numerical formats for LLM quantization. By sharing a scale factor across groups of 16 or 32 elements, these formats enable aggressive low-precision quantization with minimal accuracy degradation, particularly when combined with modern PTQ algorithms. Their accuracy depends on how the numerical format interacts with rotation, PTQ, and scale selection. We study the composability of PTQ configurations across six LLMs and three microscaling formats: MXFP6, MXFP4, and NVFP4, systematically varying Hadamard rotation granularity, PTQ algorithm, and scale-selection strategy. Our central finding is that effective quantization recipes are format dependent: both MXFP4 and NVFP4 support accurate 4-bit inference, but techniques that benefit one do not necessarily transfer to the other. MXFP4 benefits substantially from rotation and error-correcting PTQ, whereas NVFP4 gains less from rotation, consistent with its finer-grained scales capturing more within-block variation. Building on these findings, we introduce Midmax, a calibration-free scale-selection strategy that mitigates clipping error in power-of-two block scales and improves accuracy across a majority of the evaluated MXFP4 configurations. We show that pairing MXFP6 activations with MXFP4 weights recovers most of the accuracy lost at 4-bit and, on Llama-3.1-8B, matches or exceeds our in-house BF16 baseline. An additional study finds that augmenting MXFP4 with a per-tensor macroscale, a mechanism intrinsic to NVFP4, does not improve average accuracy, suggesting that global rescaling alone does not address the limitations of E8M0 block scales for MXFP4 quantization. Together, these results provide practical guidance for combining numerical formats, rotation, PTQ, and scale selection for accurate low-precision LLM inference.
Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!