论文

arXiv 论文解析 MXFP4 与 NVFP4 量化技术如何组合才有效

MXFP4 for LLM Inference: Complementary Post-Training Quantization Techniques and Their Interactions

精选理由

做 4-bit 推理部署的工程师可以看看这篇。它用六个模型和三种格式做了系统消融,结论很实用:MXFP4 要配旋转和纠错 PTQ,NVFP4 不用。MXFP6 激活加 MXFP4 权重在 Llama-3.1-8B 上能打平 BF16。

一篇新论文系统研究了三种 microscaling 数值格式 MXFP6、MXFP4、NVFP4 与后训练量化(PTQ)技术的组合效果,实验覆盖六个 LLM,变量包括 Hadamard 旋转粒度、PTQ 算法和 scale 选择策略。

正文

核心发现是有效的量化配方依赖具体格式:MXFP4 和 NVFP4 都能支持准确的 4-bit 推理,但受益于一种格式的技术未必适用于另一种。MXFP4 从旋转和纠错型 PTQ 中获益明显,NVFP4 因更细粒度的 scale 从旋转中获益较少。

论文还提出免校准的 scale 选择策略 Midmax,能缓解 2 的幂次块 scale 的裁剪误差;在 Llama-3.1-8B 上,MXFP6 激活配 MXFP4 权重可匹配或超过 BF16 基线。给做低精度推理部署的工程师提供了格式、旋转、PTQ 和 scale 选择的实用参考。

原文 · arXiv cs.AI

MXFP4 for LLM Inference: Complementary Post-Training Quantization Techniques and Their Interactions

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.

产业坐标与信源核验

本条情报归属 AITOP「论文」核心追踪栏目。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:MXFP4、NVFP4、量化、PTQ,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始线索采编自「arXiv cs.AI」(@Natalia Frumkin, Alireza Khodamoradi, Kristof Denolf, Eric Dellinger, Stuart Biles),经 AITOP 多维评分管线结构化提炼。