# Integer-Exact Microscaling: Running MXFP4 Language Models on INT8 Matrix Units

DevFeed: [Integer-Exact Microscaling: Running MXFP4 Language Models on INT8 Matrix Units](<https://devfeed.tech/articles/integer-exact-microscaling-running-mxfp4-language-models-on-int8-matrix-units-114394.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.00486>)

Author: Shinyoung Kang, Junhyung Ahn, Yujun Kim, Jungho Park

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [quantization](<https://devfeed.tech/topics/quantization.md>), [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [NVFP4](<https://devfeed.tech/topics/nvfp4.md>), [MLX](<https://devfeed.tech/topics/mlx.md>), [Mixture of Experts (MoE)](<https://devfeed.tech/topics/mixture-of-experts-moe.md>)

Tags: [accelerators](<https://devfeed.tech/tags/accelerators.md>), [apple](<https://devfeed.tech/tags/apple.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [fp4](<https://devfeed.tech/tags/fp4.md>), [gpus](<https://devfeed.tech/tags/gpus.md>), [int4](<https://devfeed.tech/tags/int4.md>), [int8](<https://devfeed.tech/tags/int8.md>), [kernels](<https://devfeed.tech/tags/kernels.md>), [kl-divergence](<https://devfeed.tech/tags/kl-divergence.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [layer](<https://devfeed.tech/tags/layer.md>), [mixture-of-experts](<https://devfeed.tech/tags/mixture-of-experts.md>), [mixture-of-experts-moe](<https://devfeed.tech/tags/mixture-of-experts-moe.md>), [mlx](<https://devfeed.tech/tags/mlx.md>), [mxfp4](<https://devfeed.tech/tags/mxfp4.md>), [nvfp4](<https://devfeed.tech/tags/nvfp4.md>), [perplexity](<https://devfeed.tech/tags/perplexity.md>), [prefill](<https://devfeed.tech/tags/prefill.md>), [qwen3](<https://devfeed.tech/tags/qwen3.md>), [qwen3-8](<https://devfeed.tech/tags/qwen3-8.md>), [qwen3-8-flash-next](<https://devfeed.tech/tags/qwen3-8-flash-next.md>)

## AI overview

The paper shows how to run MXFP4 weights as a single INT8 GEMM by constraining each row's block exponents to span at most three, avoiding per-block scaling in the reduction. The adjustment adds at most 1/16 of a row's largest rounding error to changed blocks; 97.9-99.97% of rows across seven models already meet the condition. The standard-MXFP4 variant and a separate integer-exact format both use INT8 matrix units. The latter uses 16-wide blocks and multipliers 1-10 (4.26 bits), and outperforms standard-scale NVFP4 on five small models while staying within 0.06 perplexity of NVFP4 with scale search. On Qwen3.8-Flash-Next, its expert quantization results are close to FP8, and quantizing routed experts with INT8 activations costs at most 0.2% perplexity. The M5 W4A8 system matches its quantized reference bit for bit; reported prefill speedups over MLX range from 1.10x to 1.74x, with shared non-GEMM work limiting gains on the largest model.

## Source excerpt

arXiv:2611.00486v1 Announce Type: new Abstract: On hardware whose fastest matrix datapath is INT8$\times$INT8, such as the Neural Accelerators of Apple's M5 GPUs, 4-bit weights must become INT8 operands. Existing MXFP4 kernels already map FP4 (E2M1) values to integers by doubling them, but apply every 32-element block scale inside the reduction. We show when no per-block work is needed: a row of MXFP4 weights is exactly one INT8 vector times one power-of-two scale if its block exponents span at most three, so a linear layer becomes a single INT8 GEMM with one rescale per output. Enforcing the condition adds at most 1/16 of a row's largest rounding error to the blocks it changes, and real weights already satisfy it: 97.9-99.97% of rows across seven models, including 99.93% of the 95M rows of a 125B-parameter mixture-of-experts (MoE) model, Qwen3.8-Flash-Next. The resulting spread-constrained MXFP4 files stay standard MXFP4. With integer instead of power-of-two block multipliers, an integer-exact format (16-wide blocks, multipliers 1..10, 4.26 bits) runs as one exact INT8 GEMM and is more accurate than NVFP4 (4.5 bits) with its standard scale rule on five small models, within 0.06 perplexity of NVFP4 with scale search. On Qwen3.8-Flash-Next's routed experts with INT8 activations it is as close to the FP8 model as NVFP4 with scale search (KL divergence 0.0557 vs. 0.0553) and closer than MLX's MXFP4 and affine INT4; with every matrix quantized it solves 94.8% of GSM8K vs. 91.0% for MLX's MXFP4. Quantizing only the 74k routed expert matrices (96% of the parameters) to either of our formats with INT8 activations costs at most 0.2% perplexity. A complete W4A8 system on the M5 produces outputs bit-identical to the quantized reference; prefill is 1.34-1.74x faster than MLX on a dense model, 1.10-1.57x on two MoE models up to 35B parameters and 1.22-1.29x on Qwen3.8-Flash-Next, where shared non-GEMM work bounds the gain.