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.
| Component | Typical encoding | Purpose |
|---|---|---|
| Block size | 32 elements | Sets how many values share one scale |
| Shared scale | E8M0, an 8-bit power of two | Restores the dynamic range of the block |
| Element type | FP8, FP6, FP4 or INT8 | Stores each value with few bits |
| Scale placement | Separate scale tensor | Lets hardware fetch scales alongside data |
| Effective bit width | Element bits plus scale bits divided by block size | Measures real storage cost |
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.
| Format | Element type | Block size | Scale type | Effective bits per value |
|---|---|---|---|---|
| MXFP8 | FP8 E4M3 or E5M2 | 32 | E8M0 | 8.25 |
| MXFP6 | FP6 E3M2 or E2M3 | 32 | E8M0 | 6.25 |
| MXFP4 | FP4 E2M1 | 32 | E8M0 | 4.25 |
| MXINT8 | 8-bit integer | 32 | E8M0 | 8.25 |
| NVFP4 | FP4 E2M1 | 16 | FP8 E4M3 plus a per-tensor FP32 scale | 4.5 |
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.
| Approach | Scaling granularity | Hardware support | Typical use |
|---|---|---|---|
| bfloat16 and FP16 | None, each value is self-contained | Universal on AI accelerators | Baseline training and inference |
| FP8 with per-tensor scaling | One scale per tensor | Hopper-generation GPUs and later | Training with a Transformer Engine |
| Microscaling formats | One scale per 16 or 32 values | Blackwell-generation GPUs and some custom chips | Low-bit training and inference |
| INT4 weight quantization | Per channel or per group, in software | Varies, often dequantized in kernels | Weight-only inference compression |
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.
| Problem | Cause | Typical mitigation |
|---|---|---|
| Accuracy loss at 4 bits | Only eight magnitudes per element | Keep sensitive layers in FP8 or bfloat16 |
| Training divergence | Biased rounding of gradients | Stochastic rounding and higher-precision master weights |
| Outlier blocks | One large value coarsens its block | Smaller blocks or random Hadamard transforms |
| Scale underflow | Power-of-two scale is too coarse | Finer scale types such as FP8 E4M3 |
| Limited portability | Formats differ between vendors | Check exact block size and scale type per chip |
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.