MACaQ: Fast, Model-Agnostic Calibrated Quantization for Low-Precision Weights and Activations
ResearchPublished: Source: Hugging Face Daily Papers
TL;DR:The paper introduces MACaQ, a model-agnostic post-training quantization method for MXFP4 W4A4 that processes each linear layer independently.
The paper introduces MACaQ, a model-agnostic post-training quantization method for MXFP4 W4A4 that processes each linear layer independently. It uses online per-channel scaling and block-Hadamard transforms, plus a Hessian-aware Flip-Refinement procedure that adjusts FP4 codes. The authors report 2.3% inference overhead over pure MXFP4 on Qwen3-32B in vLLM, lower perplexity than DuQuant++ and MR-GPTQ, and quantization of a 122B-parameter model in 64 minutes with 32.5GB of GPU RAM.
Key points
- MACaQ performs MXFP4 W4A4 post-training quantization independently for each linear layer, enabling streaming with only one layer in memory at a time.
- Online per-channel scaling and block-Hadamard transforms avoid architecture-specific propagation across layers.
- Flip-Refinement greedily adjusts individual FP4 codes to adjacent representable values using Hessian-aware coordinate descent.
- On Qwen3-32B in vLLM, the reported end-to-end overhead is 2.3% over pure MXFP4; the paper also reports lower perplexity than DuQuant++ and MR-GPTQ.
- The authors report quantizing a 122B-parameter model in 64 minutes with 32.5GB of GPU RAM.
Why it matters
The layer-local design may make low-precision deployment easier across different model architectures, while the reported memory and runtime figures offer practical reference points for teams evaluating large-model inference.
Companies and models mentioned
- MACaQ
- Qwen3-32B
- vLLM
- Llama-3-8B
- DuQuant++
- MR-GPTQ