Microscaling formats

Also known as: MX formats · MXFP4 · MXFP8 · NVFP4

On this page 7

Microscaling formats are block-scaled number formats in which a small block of low-precision values, typically 16 or 32 elements, shares a single scale factor, so that each element can be stored in as little as 4 to 8 bits while the block as a whole keeps a wide dynamic range. In AI hardware, they let accelerators run matrix multiplications for training and inference at far lower memory and bandwidth cost than FP16 or bfloat16, with accuracy losses that are often small.

The best-known family is the MX formats defined in the Open Compute Project Microscaling specification, which includes MXFP8, MXFP6, MXFP4 and MXINT8. Vendor variants such as NVFP4 follow the same principle with different block sizes and scale encodings. Native support for these formats appears in recent data-center GPUs and custom AI chips.

How block scaling works in microscaling formats

A microscaling format splits a tensor into fixed-size blocks along one dimension, usually the reduction dimension of a matrix multiplication. For each block, the hardware or software computes a shared scale from the largest absolute value in that block. Every element is then divided by the scale and rounded to a narrow element data type, such as a 4-bit floating-point value.

To reconstruct a value, the element is multiplied by its block scale. Because the scale adapts to each small group, an outlier only affects the precision of its own block rather than the whole tensor. This is the key improvement over per-tensor scaling, where a single large value forces every other value into a coarse quantization range.

The table below lists the building blocks of an MX-compliant value and what each one contributes.

ComponentTypical encodingPurpose
Block size32 elementsSets how many values share one scale
Shared scaleE8M0, an 8-bit power of twoRestores the dynamic range of the block
Element typeFP8, FP6, FP4 or INT8Stores each value with few bits
Scale placementSeparate scale tensorLets hardware fetch scales alongside data
Effective bit widthElement bits plus scale bits divided by block sizeMeasures real storage cost
Anatomy of an MX block

Since the E8M0 scale is a pure power of two, applying it requires only an exponent adjustment, not a full multiplication. This keeps the extra logic in the matrix multiply unit small and allows scaled dot products to be accumulated in higher precision, commonly FP32.

MX formats and vendor variants

The Open Compute Project specification defines several concrete MX formats that differ in their element type, while sharing the same 32-element block and E8M0 scale. NVIDIA introduced NVFP4 with the Blackwell architecture as a related 4-bit format that uses smaller blocks and a more precise scale.

FormatElement typeBlock sizeScale typeEffective bits per value
MXFP8FP8 E4M3 or E5M232E8M08.25
MXFP6FP6 E3M2 or E2M332E8M06.25
MXFP4FP4 E2M132E8M04.25
MXINT88-bit integer32E8M08.25
NVFP4FP4 E2M116FP8 E4M3 plus a per-tensor FP32 scale4.5
Common microscaling formats

The FP4 E2M1 element can represent only the magnitudes 0, 0.5, 1, 1.5, 2, 3, 4 and 6, plus a sign bit. Such a tiny grid is usable only because the block scale shifts it to the right magnitude. NVFP4 trades a slightly higher storage cost for finer scale granularity, since an FP8 scale can express non-power-of-two factors and a 16-element block isolates outliers more tightly.

Comparison with other low-precision approaches

Microscaling formats sit between plain low-precision floating point and software quantization schemes. The comparison below places them next to the neighboring formats of AI hardware.

ApproachScaling granularityHardware supportTypical use
bfloat16 and FP16None, each value is self-containedUniversal on AI acceleratorsBaseline training and inference
FP8 with per-tensor scalingOne scale per tensorHopper-generation GPUs and laterTraining with a Transformer Engine
Microscaling formatsOne scale per 16 or 32 valuesBlackwell-generation GPUs and some custom chipsLow-bit training and inference
INT4 weight quantizationPer channel or per group, in softwareVaries, often dequantized in kernelsWeight-only inference compression
Microscaling compared with other numeric approaches

The decisive difference is that the block scale is part of the hardware data type. Group-wise integer quantization uses a similar idea, but it is usually implemented in software kernels, whereas microscaling lets the tensor cores consume scaled operands directly and apply scales inside the dot-product pipeline.

Benefits for memory, bandwidth and throughput

Halving the bits per value roughly halves memory footprint and memory traffic, which matters because many AI workloads are limited by the memory wall rather than by arithmetic. A model stored in MXFP4 needs about a quarter of the memory of the same model in bfloat16, so larger models fit on a single accelerator and more tokens can be served per second.

Narrow elements also raise peak math throughput. On recent accelerators, FP4 tensor operations typically deliver about twice the throughput of FP8 and about four times that of FP16 for the same silicon area and power. In roofline terms, low-precision formats raise both the compute ceiling and the effective arithmetic intensity.

Limitations and practical pitfalls

Microscaling formats are not a free accuracy win. The narrowest variants introduce real quantization error, and their success depends on careful recipes. The table below lists frequent problems and how practitioners address them.

ProblemCauseTypical mitigation
Accuracy loss at 4 bitsOnly eight magnitudes per elementKeep sensitive layers in FP8 or bfloat16
Training divergenceBiased rounding of gradientsStochastic rounding and higher-precision master weights
Outlier blocksOne large value coarsens its blockSmaller blocks or random Hadamard transforms
Scale underflowPower-of-two scale is too coarseFiner scale types such as FP8 E4M3
Limited portabilityFormats differ between vendorsCheck exact block size and scale type per chip
Common problems with microscaling formats

Another pitfall is assuming that every layer benefits equally. Attention softmax, normalization layers and the final output layer are often kept at higher precision, and quality must be verified on task benchmarks rather than inferred from perplexity alone.

The simple explanation

AI chips do huge amounts of math on long lists of numbers. Storing each number with many digits costs memory and time. Microscaling formats store each number with very few bits. They then add one shared multiplier for every small group of numbers.

Think of a shop that prices items in a catalog. Instead of writing the full price on every item, it writes a short code on each item and one exchange rate per page. You get the real price by applying the page rate. The catalog becomes much smaller, yet the prices stay close to correct.

How it is used in practice

An engineering team serves a 70-billion-parameter language model for a customer support assistant. In bfloat16, the weights alone need about 140 GB, so the model must be split across two accelerators. After converting most weights to a 4-bit microscaling format, the weights shrink to roughly 37 to 40 GB, and the model fits on one GPU with room left for the key-value cache.

The team keeps the embedding layer and output head in higher precision and compares answers on an internal evaluation set of 2,000 support questions. Quality drops by less than one percentage point, while throughput per GPU rises substantially. The result is a lower serving cost per request with no change visible to users.