Pretraining Large Language Models with NVFP4
Summary
Large Language Models (LLMs) today are powerful problem solvers across many domains, and they continue to get stronger as they scale in model size, training set size, and training set quality, as shown by extensive research and experimentation across the industry. Training a frontier model today requires on the order o…
- Venue
- arXiv 2509.25149
- Publisher
- arXiv 2509.25149
- Source
- arxiv
- Access
- open arXiv PDF/abs
- Purpose
- Pretraining Large Language Models with NVFP4
- Domain
- OCR / vision-language; quantization / efficiency
- Used for
- LLM research reference
- Time period
- arXiv 2025/09/29; Discord LinkedIn mid harvested 2026-09-15
- Author type
- academic/industry (see abs)
- Added
- Sep 15, 2026
- Verified
- Sep 15, 2026
- Research status
- done
- Found via
- #random-papers
From the source
- Published
- Sep 29, 2025
- Last revised
- Mar 4, 2026
- arXiv categories
- cs.CL, cs.AI, cs.LG
- Author comment
- Update includes: (1) fixing a typo in eq. 2 (2) updating author list, and (3) adding a related work
- Citations
- 75 (17 influential)
- References
- 30
Abstract (from arXiv)
Large Language Models (LLMs) today are powerful problem solvers across many domains, and they continue to get stronger as they scale in model size, training set size, and training set quality, as shown by extensive research and experimentation across the industry. Training a frontier model today requires on the order of tens to hundreds of yottaflops, which is a massive investment of time, compute, and energy. Improving pretraining efficiency is therefore essential to enable the next generation of even more capable LLMs. While 8-bit floating point (FP8) training is now widely adopted, transitioning to even narrower precision, such as 4-bit floating point (FP4), could unlock additional improvements in computational speed and resource utilization. However, quantization at this level poses challenges to training stability, convergence, and implementation, notably for large-scale models trained on long token horizons. In this study, we introduce a novel approach for stable and accurate training of large language models (LLMs) using the NVFP4 format. Our method integrates Random Hadamard transforms (RHT) to bound block-level outliers, employs a two-dimensional quantization scheme for consistent representations across both the forward and backward passes, utilizes stochastic rounding for unbiased gradient estimation, and incorporates selective high-precision layers. We validate our approach by training a 12-billion-parameter model on 10 trillion tokens -- the longest publicly documented training run in 4-bit precision to date. Our results show that the model trained with our NVFP4-based pretraining technique achieves training loss and downstream task accuracies comparable to an FP8 baseline. These findings highlight that NVFP4, when combined with our training approach, represents a major step forward in narrow-precision LLM training algorithms.
Tags
Topics
OCR / vision-language; quantization / efficiency
Research notes
- From LinkedIn thread (Discord mid 1310951707873644665). Primary: https://www.linkedin.com/feed/update/urn:li:activity:7267088429379731456?updateEntityUrn=urn%3Ali%3Afs_updateV2%3A(urn%3Ali%3Aactivity%3A7267088429379731456%2CFEED_DETAIL%2CEMPTY%2CDEFAULT%2Cfalse).
Cites, within this collection
Similar entries
- Paper DeepSeek-OCR: Contexts Optical Compression
- Paper AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration
- Paper Hunyuan-Large: An Open-Source MoE Model with 52 Billion Activated Parameters by Tencent
- Paper Scalable In-context Ranking with Generative Models
- Paper LoongRL: Reinforcement Learning for Advanced Reasoning over Long Contexts
- Paper MEDIC: Comprehensive Evaluation of Leading Indicators for LLM Safety and Utility in Clinical Applications