Low-precision arithmetic, also called reduced-precision computing, is the practice of performing calculations with number formats that use fewer bits than 32-bit single precision, such as 16-bit, 8-bit or even 4-bit values. In AI hardware, it is the main reason modern accelerators deliver several times more throughput per watt than they would with full-precision math.
Neural networks tolerate small rounding errors well, because their outputs depend on statistical patterns across millions of weights rather than on the exact value of any single number. Chip designers exploit this tolerance by building dedicated low-precision matrix units whose area, energy and memory traffic shrink roughly in proportion to the bit width.
How fewer bits speed up AI computation
Reducing precision helps in three ways at once. A multiplier circuit for an 8-bit value needs far less silicon area and energy than one for a 32-bit value, because multiplier cost grows roughly with the square of the mantissa width. Smaller numbers also mean less memory bandwidth per operation, which matters because many AI workloads are limited by the memory wall rather than by compute.
Halving the bit width therefore roughly doubles peak throughput on the same chip and halves the memory needed to store weights. A model with 70 billion parameters needs about 140 GB in 16-bit form but only about 35 GB at 4 bits, which decides whether it fits on one accelerator or needs several.
Most designs keep a wider accumulator than the inputs. A matrix multiply unit may multiply FP8 values but sum the products in FP32, because long sums of small rounding errors would otherwise drift and lose accuracy. This pattern is known as mixed-precision arithmetic.
Common low-precision number formats
Each format balances dynamic range, set by exponent bits, against precision, set by mantissa bits. The table lists the formats most widely supported by current data-center GPUs and custom AI chips.
| Format | Total bits | Exponent and mantissa bits | Typical use |
|---|---|---|---|
| FP32 | 32 | 8 and 23 | Reference precision, master weights |
| TF32 | 19 used of 32 | 8 and 10 | Drop-in training speedup on NVIDIA GPUs |
| FP16 | 16 | 5 and 10 | Training with loss scaling, inference |
| bfloat16 | 16 | 8 and 7 | Default training format on many accelerators |
| FP8 E4M3 | 8 | 4 and 3 | Forward pass in training, inference |
| FP8 E5M2 | 8 | 5 and 2 | Gradients with wider range |
| INT8 | 8 | Integer with scale factor | Quantized inference |
| FP4 and INT4 | 4 | 2 and 1, or integer | Weight storage, aggressive inference |
bfloat16 keeps the same exponent range as FP32, so it rarely overflows and usually needs no special handling. FP16 has more mantissa precision but a narrow range, which is why training in FP16 relies on loss scaling to keep small gradients from underflowing to zero.
Scaling techniques that make very low precision work
Formats with 8 bits or fewer cannot represent the full range of values in a network, so hardware and software attach scale factors to groups of numbers. The finer the grouping, the better the accuracy, at the cost of some extra storage for the scales.
| Scaling method | Group sharing one scale | Accuracy impact | Example |
|---|---|---|---|
| Per-tensor scaling | Whole tensor | Sensitive to outliers | Early FP8 training recipes |
| Per-channel scaling | One output channel | Good for weights | INT8 inference |
| Block scaling | Block of 16 to 32 values | Robust down to 4 bits | Microscaling formats such as MXFP4 |
| Dynamic scaling | Recomputed each step | Tracks changing ranges | Transformer Engine |
The Microscaling formats standardized by the Open Compute Project, such as MXFP8 and MXFP4, share one 8-bit exponent across a block of 32 elements. NVIDIA Blackwell adds a related NVFP4 format with 16-element blocks, showing how block scaling has become central to 4-bit computing.
Training versus inference requirements
Training and inference tolerate precision loss differently. Training is more demanding because gradients span a wide range and small updates must accumulate correctly over millions of steps, so optimizers typically keep FP32 master weights even when the forward and backward passes run in bfloat16 or FP8.
| Workload | Common compute format | Precision kept for | Main risk |
|---|---|---|---|
| Large-model pretraining | bfloat16 or FP8 | Master weights and optimizer state | Divergence from rare outliers |
| Fine-tuning | bfloat16 | Optimizer state | Small accuracy loss |
| Server inference | FP8 or INT8 | Accumulators | Quality drop on long outputs |
| Edge inference | INT8 or INT4 | Sensitive layers | Calibration mismatch |
Inference can go lower through post-training quantization, which converts a trained model using a small calibration set, or quantization-aware training, which simulates rounding during training so the model learns to compensate.
Limitations and failure modes
Lower precision is not free. The most common problems come from outlier values and from accumulated rounding error, and they often appear only in specific layers or on specific inputs.
- Activation outliers in large language models can force a coarse scale that crushes all other values to zero.
- Overflow and underflow occur when values fall outside the representable range, producing infinities or lost gradients.
- Benchmark gaps arise because headline TOPS figures often quote the lowest supported precision, which a real model may not use.
- Silent quality loss can pass standard benchmarks while degrading rare tasks, so evaluation must cover the target workload.
Practitioners therefore keep sensitive layers, such as embeddings, normalization and the final output layer, in higher precision, and compare low-precision results against an FP32 or bfloat16 reference before deployment.
Explained without jargon
Think of measuring a room. A builder needs millimeters. A person buying a rug only needs the size to the nearest few centimeters. Rounding saves time and still gives a good result.
AI chips do the same with numbers. They store and multiply shorter, rounded numbers instead of long precise ones. Shorter numbers take less memory and less energy. The chip can therefore do much more work per second. The answers stay good enough because an AI model depends on millions of numbers together, not on one exact value.
A typical use case
An online retailer runs a chat assistant built on a 70-billion-parameter language model. In bfloat16, the weights need about 140 GB, so each copy of the model occupies two 80 GB accelerators. Response times during peak hours rise above three seconds.
The engineering team converts the weights to FP8 with per-channel scaling and keeps the embedding and output layers in bfloat16. Each model copy now fits on a single accelerator, and throughput per chip roughly doubles. On the internal evaluation set of 2,000 customer questions, answer quality falls by less than one percentage point, and median latency drops to about 1.4 seconds. The team ships the FP8 version and keeps the bfloat16 model as a reference for regular regression tests.