NewsCrawler.org

MACaQ: a fast quantization method for low-precision weights and activations

The paper presents MACaQ, a post-training quantization[1] method that converts both the weights and the activations of a neural network to the MXFP4[2] format, a setup the authors call W4A4[3]. Each linear layer is processed independently. MACaQ applies a per-channel scale and a block-Hadamard transform to each layer's activations during inference, and absorbs the matching inverse transforms into the weights.

Because the transforms run online, there are no dependencies between layers, which allows a streaming implementation in which only one layer must be in memory at a time. To improve on round-to-nearest quantization, the authors add Flip-Refinement, a Hessian-aware coordinate-descent procedure that greedily moves individual FP4 codes to adjacent representable values.

On Qwen3-32B in vLLM, MACaQ adds 2.3% end-to-end overhead compared with pure MXFP4. It reaches lower perplexity[4] than DuQuant++ and MR-GPTQ, and on Llama-3-8B it matches their best perplexity in 11 times less quantization time. The method was also applied without architecture-specific changes to an image diffusion model, and a 122B parameter model was quantized in 64 minutes using 32.5GB of GPU RAM.

Read the original arxiv.org

Sources

  • arxiv.org

    MACaQ: Fast, Model Agnostic Calibrated Quantization for Low-Precision Weights and Activations

    2 mentions2 communities1 country

Published: First seen: Читать по-русски

Open as a page