Search papers, labs, and topics across Lattice.
This paper introduces MXSens, a training-free method for mixed-precision quantization that optimally assigns mantissa bitwidths based on sensitivity analysis across layers and columns of large language models (LLMs). By addressing the uneven distribution of quantization sensitivity and the impact of outliers, MXSens leverages the hardware-encoded scales of microscaling formats like MXINT, eliminating inefficiencies associated with traditional software-managed scaling. The method significantly enhances inference accuracy, achieving impressive perplexities of 3.77 and 7.63 on LLaMA-2-70B and LLaMA-3-8B, respectively, while outperforming existing quantization techniques on benchmark tasks.
MXSens redefines LLM quantization by achieving state-of-the-art accuracy with mixed precision, leveraging sensitivity-aware bitwidth allocation.
4-bit quantization enables efficient LLM inference, but suffers from significant accuracy degradation due to outliers. Prior work addresses this problem via data rotation or mixed-precision integer quantization, but often relies on software-managed scaling and frequent dequantization, incurring substantial overhead. Microscaling formats, such as MXINT, eliminate these inefficiencies by encoding scales in hardware, yet remain incompatible with rotation-based methods. Our analysis reveals that outliers vary in severity, from rare extremes to frequent mild deviations, and that quantization sensitivity is unevenly distributed across layers and columns. These insights motivate a fine-grained, sensitivity-guided approach. We introduce MXSens, a training-free method that assigns mixed mantissa bitwidths (4/6/8) based on column- and layer-wise sensitivity, naturally leveraging the block-wise structure of MXINT. MXSens outperforms state-of-the-art quantization methods across a range of models and tasks. Under the W4A4KV4 setting, MXSens achieves perplexities of 3.77 and 7.63 on LLaMA-2-70B and LLaMA-3-8B, respectively, substantially improving over existing baselines on WikiText-2. Our work establishes a new balance between accuracy and resource efficiency for LLM quantization.