[Paper Review] BATQuant: Outlier-resilient MXFP4 Quantization via Learnable Block-wise Optimization
BATQuant introduces block-wise affine transformations with Global and Private Kronecker decomposition and block-wise clipping to quantize MXFP4 with minimal performance loss across MLLMs and LLMs, outperforming prior PTQ methods especially in aggressive low-bit settings.
Microscaling floating-point (MXFP) formats have emerged as a promising standard for deploying Multi-modal Large Language Models (MLLMs) and Large Language Models (LLMs) on modern accelerator architectures. However, existing Post-Training Quantization (PTQ) methods, particularly rotation-based techniques designed for integer formats, suffer from severe performance collapse when applied to MXFP4. Recent studies attribute this failure to a fundamental format mismatch: global orthogonal rotations inadvertently transfer outlier energy across quantization blocks, inducing new outliers that disrupt local block-wise scaling, while often creating bimodal activation distributions that underutilize the limited quantization range. To address these issues, we propose BATQuant (Block-wise Affine Transformation), which restricts transformations to align with MXFP granularity to prevent cross-block outlier propagation, while relaxing orthogonality constraints to optimize distribution shaping. To ensure parameter efficiency, we introduce Global and Private Kronecker (GPK) decomposition to effectively reduces storage and runtime overhead and incorporate Block-wise Learnable Clipping to suppress residual outliers. Extensive experiments on both MLLMs and LLMs demonstrate that BATQuant establishes new state-of-the-art results under aggressive W4A4KV16 configurations, recovering up to 96.43% of full-precision performance on multimodal benchmarks and clearly outperforming existing methods across diverse tasks.
Motivation & Objective
- Motivate robust 4-bit MXFP quantization for MLLMs/LLMs where global rotations fail due to cross-block outlier transfer and bimodal distributions.
- Develop a block-aligned affine transformation to prevent cross-block energy transfer while learning distribution shaping.
- Reduce parameter and runtime overhead via Global and Private Kronecker (GPK) decomposition and add block-wise learnable clipping to suppress residual outliers.
- Demonstrate BATQuant’s effectiveness across multimodal and linguistic tasks under aggressive MXFP configurations.
Proposed method
- Introduce Block-wise Affine Transformation (BAT) that uses block-diagonal P with blocks aligned to MXFP granularity (e.g., 32) to limit outlier transfer.
- Apply Global and Private Kronecker (GPK) decomposition: P_i = B_i ⊗ A with A shared globally and B_i private per block to reduce parameters.
- Incorporate Block-wise Learnable Clipping with per-block learnable thresholds to adapt to local statistics.
- Train learnable parameters by minimizing layer-wise quantization error on a calibration set: Θ_l^* = argmin_Θ_l E_X∼D_cal [||F_l(X) − F̂_l(X; Θ_l)||_2^2].
- Integrate BATQuant into Transformer: weight-side offline fusion and activation-side online application; use BF16 for certain components and low-bit GEMMs.
- Adopt MXFP quantization with block size g=32 and align P block size with g for precise local distribution reshaping.
Experimental results
Research questions
- RQ1Can BATQuant maintain high accuracy under MXFP4 with aggressive W4A4KV16 and related configurations where existing methods degrade?
- RQ2Do block-wise affine transformations with GPK and clipping generalize across MLLMs and LLMs and across multimodal and linguistic tasks?
- RQ3What is the impact of block size alignment, GPK configuration, and clipping on quantization performance and parameter efficiency?
Key findings
- BATQuant achieves near-lossless performance on W4A8KV16, recovering up to 99% of BF16 performance on evaluated benchmarks.
- Under W4A4KV16, BATQuant attains an average recovery of 96.43% on multimodal benchmarks, outperforming FlatQuant by 1.64%.
- BATQuant consistently outperforms baselines in W4A8KV16, W4A8KV8, and W4A8KV4 across MLLMs and LLMs, including multimodal and reasoning tasks.
- Block-wise affine transformation prevents cross-block energy transfer and mitigates bimodal distributions that arise with Hadamard/rotation-based methods.
- GPK decomposition reduces parameter counts by over 74%–79% compared to FlatQuant/Naive Kronecker, while preserving efficient inference via vectorization of the Kronecker product.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.