Benchmarking Post-Training Quantization of Large Language Models under Microscaling Floating Point Formats
Manyi Zhang, Ji-Fu Li, Zhongao Sun, Haoli Bai, Hui-Ling Zhen, Zhenhua Dong, Xianzhi Yu
TL;DR
This work tackles the problem of post-training quantization for Microscaling Floating-Point (MXFP) formats in large language models. It conducts a comprehensive empirical study across MXFP8 and MXFP4, evaluating more than seven PTQ algorithms on 15 benchmarks and three LLM families, using four quantization paradigms. Key findings show MXFP8 enables near-lossless deployment, while MXFP4 remains challenging and highly sensitive to scaling factors; error compensation and affine methods generally perform best, with RTN serving as a strong baseline. The results offer practical guidance for MXFP-aware quantization design and highlight that MXFP is a distinct numerical regime that benefits from format-specific optimization, particularly in multimodal models where the LLM dominates sensitivity and visual tokens exhibit robust behavior under MXFP.
Abstract
Microscaling Floating-Point (MXFP) has emerged as a promising low-precision format for large language models (LLMs). Despite various post-training quantization (PTQ) algorithms being proposed, they mostly focus on integer quantization, while their applicability and behavior under MXFP formats remain largely unexplored. To address this gap, this work conducts a systematic investigation of PTQ under MXFP formats, encompassing over 7 PTQ algorithms, 15 evaluation benchmarks, and 3 LLM families. The key findings include: 1) MXFP8 consistently achieves near-lossless performance, while MXFP4 introduces substantial accuracy degradation and remains challenging; 2) PTQ effectiveness under MXFP depends strongly on format compatibility, with some algorithmic paradigms being consistently more effective than others; 3) PTQ performance exhibits highly consistent trends across model families and modalities, in particular, quantization sensitivity is dominated by the language model rather than the vision encoder in multimodal LLMs; 4) The scaling factor of quantization is a critical error source in MXFP4, and a simple pre-scale optimization strategy can significantly mitigate its impact. Together, these results provide practical guidance on adapting existing PTQ methods to MXFP quantization.
