TetraJet-v2: Accurate NVFP4 Training for Large Language Models with Oscillation Suppression and Outlier Control
Abstract
Lay Summary
Large language models such as chatbots are extremely expensive to train because they require enormous amounts of computation and energy. One promising way to reduce these costs is to use lower-precision arithmetic, where numbers are stored using only 4 bits instead of the much larger formats commonly used today. However, training language models with such tiny numerical representations is difficult: important information can become unstable or distorted, causing the model to lose accuracy. In this work, we introduce TetraJet-v2, a new method for training language models efficiently with 4-bit computations from start to finish. We identify two major problems that make low-precision training unstable: some model weights repeatedly “flip” between nearby values during training, and some activations contain unusually large values that are hard to represent accurately in 4 bits. To address these issues, we design new algorithms that stabilize these oscillating weights and preserve the accuracy of important outlier values. We evaluate our method on language models trained on hundreds of billions of text tokens. Compared to previous 4-bit training methods, TetraJet-v2 produces more accurate models while also running substantially faster. Our approach achieves up to 1.67× training speedup over modern FP8 training, helping make large-scale AI training more affordable and energy-efficient.