NeurIPS 2026QuestionsPapersAreasAboutMarkdown

HiFloat4 Format for Language Model Pre-training on Ascend NPUs

Mehran Taghian Jazi, Yunke Peng, Xing Huang, Yao Wang, Yaoyuan Wang, Wei Guo, Yuanyong Luo, Tianchi Hu, JUNSONG WANG, Xin Wang, Hu Liu, Yu Cheng, Yu Z Wei, Hongliang Li, Mehdi Rahimifar, Lei YAN, wxuefei, Zhuang Ma, Liulei, Hui Yu, Anandharaju D Raju, Hoang Le, Hei Yi Mak, Tanzila Rahman, Shadan Golestan

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: Efficient LLM Inference & Training › Low-Precision LLM Optimization · Type: new method · Keywords: 4-bit floating-point format, LLM pre-training, numerical stability, low-precision training, hardware efficiency

Summary

HiFloat4 is a 4-bit floating-point format that provides sufficient dynamic range for stable LLM pre-training on energy-efficient hardware, requiring only a single stabilization step to keep loss within 1% of full-precision baselines.

Explained to a 5-year-old

People want to teach big computers to understand language using very little memory. Small numbers used for this can sometimes make the computer make mistakes because they can't show big differences. The researchers invented a new kind of small number that has extra space to hold big differences. With this new kind of number, they only need one tiny fix to keep the computer learning correctly. This saves energy and helps the computer work well on different types of models.

Explained to a 5-year-old, longer

Training big language models needs a lot of computer power and memory. To save power, researchers try to use very small numbers for the calculations. However, tiny numbers sometimes cause the computer to make mistakes because they can't show big changes. Existing tiny number formats need extra steps to fix these mistakes, which uses more power. The paper suggests that the design of the tiny number itself can solve the problem. They created a new tiny number format that has extra room for big differences. This new format lets the computer stay stable with just one small fix. They tested it on different kinds of language models, both simple and complex. The new format kept the learning results almost as good as using normal numbers. It also required fewer extra fixes than the older formats. This means the computer uses less energy while still learning well. The approach works on various model architectures, making it broadly useful. It shows that choosing the right tiny number can be as important as the algorithms we use.

For a technical reader

The paper introduces a new 4-bit floating-point format that expands dynamic range through hierarchical scaling, enabling stable GEMM operations in LLM training. By evaluating the format on dense and mixture-of-experts models, they demonstrate that a single low-precision stabilization step suffices to keep loss within 1% of full-precision baselines, halving the error compared to MXFP4. The results show less than 1% degradation on downstream tasks, indicating that format design can replace multiple stabilization mechanisms.

Problem

Training large language models at low numerical precision suffers from numerical instability because 4-bit formats have limited dynamic range, and current solutions rely on multiple high-precision stabilization steps that erode efficiency gains.

Method

The approach conducts a systematic study of FP4 LLM pre-training on energy-efficient hardware, designing a new 4-bit format with hierarchical scaling to increase dynamic range. It evaluates the format on both dense and mixture-of-experts models, performing all linear and expert GEMM operations in the new format and comparing it against existing 4-bit formats.

Results

The new format achieves relative loss within 1% of a full-precision baseline with a single stabilization step, roughly half the error of MXFP4 which needs three steps, and incurs less than 1% degradation on downstream tasks.

Contributions

It shows that careful numerical format design can provide enough dynamic range for stable FP4 LLM training, reducing reliance on additional stabilization mechanisms. It also offers a systematic comparison of the new format against existing 4-bit formats on dense and mixture-of-experts models.

Practical relevance

Enabling low-precision training can dramatically cut compute and memory costs for large language models, making them more accessible on energy-efficient hardware.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction