Author-updated Summary
Verified author edit
Stable 4-bit floating-point (FP4) pretraining is challenging due to the limited dynamic range of the standard E2M1 payload. Existing recipes, such as NVIDIA's Transformer Engine (TE) NVFP4, rely on complex techniques like randomized Hadamard transforms (RHT), current-tensor scaling, and bfloat16 (BF16) exemptions for final layers to maintain stability. This paper investigates whether using a wider, unsigned E5M3 block-scale format can provide sufficient dynamic range to simplify the pretraining recipe while maintaining or improving model quality.
Instead of the standard E4M3 block scales, the authors use unsigned E5M3 (UE5M3) block scales, which reallocate the unused sign bit to provide a significantly wider exponent range. The proposed recipe uses periodic sample-and-hold tensor scaling (refreshed every 50 steps), 2D weight scaling, and selective stochastic rounding for backward gradients. Crucially, the authors omit RHT and apply FP4 quantization to all internal linear layers, including those typically exempted in the TE recipe. To validate this, they pretrain a Nemotron-H 8B model for 188.7 billion tokens and develop a probe-matched software emulator to model native hardware GEMM outputs.
This work provides a viable path toward simpler, more efficient FP4 pretraining by leveraging the wider range of UE5M3 block scales. By demonstrating that complex stabilization techniques like RHT are not strictly necessary with the right scaling format, the authors provide a strong motivation for hardware vendors to include native support for UE5M3 block scaling in future AI accelerators.
AI-generated third-party summary by ResearchPod. Not official content or an endorsement by the paper authors or affiliated organizations.