TRANSMISSION // 2611.39032v1

How FP4 Training Can Move Less Data

Source published

A GPU-kernel redesign cuts some intermediate memory traffic in FP4 language-model training, with reported speedups on Blackwell and AMD MI210.

AI-generated conceptual illustration for How FP4 Training Can Move Less Data
AI-generated conceptual illustration; not documentary evidence.

Four-bit arithmetic can make AI training more efficient, but surrounding calculations still move higher-precision data through GPU memory. A new preprint tests whether changing when and where that data is handled can reduce the overhead.

The memory traffic around four-bit training

FP4, or four-bit floating-point, lets specialized hardware perform matrix calculations using compact numerical values. But training cannot simply do everything in four bits: in the backward pass, gradients and weight-gradient sums are often handled at higher precision to preserve numerical behavior. Moving these intermediate values to and from GPU memory takes time.

In Reducing Memory Traffic in FP4 LLM Training, Chandra Sekhar Mummidi and Sandip Kundu examine where that movement occurs and whether some transfers can be avoided. Their central point is that the arithmetic may require particular precision and ordering without requiring every intermediate result to cross a GPU-kernel boundary through global memory.

Two boundaries, two changes

The authors characterize the backward pass in NVIDIA Transformer Engine on Blackwell GPUs and identify two sources of traffic. First, NVFP4 gradient conversion uses a tensor-wide scale based on gradient values. In the path they examine, that scale is not available until the gradient has been computed, so the gradient is written to memory in BF16 and later read for conversion to FP4.

Their proposed workaround uses earlier gradient statistics to choose the FP32 global scale before the current gradient is produced. The kernel that computes the gradient can then create FP4 values and their local scales directly, avoiding the intermediate BF16 write and read for supported operations. The scale for each small block is still calculated from the current gradient. This is not a guarantee that the chosen global scale will cover every future gradient: the authors note a trade-off between values exceeding the selected range and reduced precision in small block scales.

The second source is weight-gradient accumulation across microbatches. Separate matrix-multiplication kernels repeatedly save and reload an FP32 accumulator. The researchers instead retain that accumulator in GPU registers while processing successive microbatches, then write it out at the end of a group, or “window.” They preserve the original order of microbatch contributions rather than combining them into a differently ordered calculation.

Longer windows can reduce accumulator transfers, but require more memory to hold FP4 inputs until the calculations run. The researchers therefore test different window sizes across model projections, balancing memory use against execution time.

What the tests found

On Blackwell, the combined approach reduced GPU kernel time by 9.28% and improved CUDA Graph training throughput by 9.63% compared with the NVIDIA Transformer Engine NVFP4 reference. In continued pretraining of Llama 3.2 3B over 20 million tokens, the authors report a sustained throughput improvement of 9.7%. Validation perplexity was 11.053 for their implementation and 11.117 for the reference; the paper describes the validation behavior as comparable. Both NVFP4 runs had higher validation perplexity than the BF16 run, so the result is not evidence that FP4 matches BF16 training quality.

The accumulation strategy also involves a memory trade-off. Under a fixed additional operand-memory budget, two-microbatch windows across all projections recovered 69% of the training-step time savings achieved by four-microbatch windows across all projections, using roughly one-third of the additional operand storage. The FP32 accumulation matched the sequential reference bit for bit across more than 1.2 billion elements in the tested cases.

On an AMD MI210, the researchers tested software-emulated MXFP4 using BF16 matrix multiplications, because that GPU does not support native FP4 matrix multiplication. Optimized execution improved throughput by 30.9% over its corresponding MXFP4 reference. This is a different implementation and comparison from the native NVFP4 Blackwell experiment; the percentage should not be read as a direct hardware-to-hardware comparison. The authors also report that register-resident accumulation did not produce a measurable whole-step improvement on the AMD setup, where optimized library GEMMs remained faster overall.

What remains uncertain

These results concern specific software, GPUs, models and training configurations, including Llama 3.2 3B. They do not establish the same speedups for other models, hardware, sequence lengths or training systems. The authors also say their work optimizes execution rather than resolving the numerical differences between FP4 and BF16 training. Their historical scaling method can miss future large gradients, and the reported margin was not established as statistically optimal.

This article is based on an arXiv preprint. The supplied source does not establish whether the work has been peer reviewed elsewhere. The findings are best treated as a systems result that merits testing in other settings, rather than a guarantee of faster or equivalent-quality training in general.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • FourSight targets concentrated errors in four-bit AI training

    Shared method: Both papers fuse additional work into FP4 GEMM execution: the origin paper combines gradient computation with FP4 preparation to avoid an intermediate BF16 transfer, while FourSight folds sparse BF16 channel correction into an NVFP4 GEMM. The fused operations and workloads differ—backpropagation versus RL rollout—so this is a shared implementation approach, not evidence of equivalent performance or outcomes.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2611.39032v1 — Original paper

      Excerpt reference: static/papers/2611.39032v1.md:308-382
      Basis: Paper text
      Source file SHA-256: 3acae87e44b0c34c2cda4947d58c113b88234eae95e5a3590b5f3e51e5ba3179

    • 2611.04887v1 — Original paper

      Excerpt reference: static/papers/2611.04887v1.md:140-207
      Basis: Paper text
      Source file SHA-256: ecbd92e469b5dfb3514aeb83f2faf13ddd24bf8dd28f409c7abf735797463830

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.