# Pretraining Large Language Models with NVFP4

- **ID:** 946
- **Kind:** paper
- **URL:** https://arxiv.org/abs/2509.25149
- **Authors:** NVIDIA, Abecassis, Felix, Agrusa, Anjulie, Ahn, Dong, Alben, Jonah, Alborghetti, Stefania, Andersch, Michael, Arayandi, Sivakumar, et al. (90 authors)
- **Venue:** arXiv 2509.25149
- **Publisher:** arXiv 2509.25149
- **Published:** 2025
- **Source:** arxiv
- **Access:** open arXiv PDF/abs
- **Tags:** arxiv, 2509-25149, ocr-vision-language, quantization-efficiency, linkedin-thread
- **Topics:** OCR / vision-language; quantization / efficiency
- **Added:** 2026-09-15
- **Verified:** 2026-09-15
- **Research status:** done
- **Needs deep evaluation:** no
- **Page:** https://papers.projxon.ai/entries/946

## 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…

## Attributes

- **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)

## From the source (fetched 2026-10-03)

- **Published:** Sep 29, 2025 (arXiv)
- **Last revised:** Mar 4, 2026 (arXiv)
- **arXiv categories:** cs.CL, cs.AI, cs.LG (arXiv)
- **Author comment:** Update includes: (1) fixing a typo in eq. 2 (2) updating author list, and (3) adding a related work (arXiv)
- **Citations:** 75 (17 influential) (Semantic Scholar)
- **References:** 30 (Semantic Scholar)

## Abstract

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.

## 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

- [Optimizing Large Language Model Training Using FP4 Quantization](https://papers.projxon.ai/entries/565) (paper 2025, #565)
- [FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision](https://papers.projxon.ai/entries/575) (paper 2024, #575)

## Similar entries

- [DeepSeek-OCR: Contexts Optical Compression](https://papers.projxon.ai/entries/940) (paper, #940)
- [AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration](https://papers.projxon.ai/entries/963) (paper, #963)
- [Hunyuan-Large: An Open-Source MoE Model with 52 Billion Activated Parameters by Tencent](https://papers.projxon.ai/entries/929) (paper, #929)
- [Scalable In-context Ranking with Generative Models](https://papers.projxon.ai/entries/958) (paper, #958)
- [LoongRL: Reinforcement Learning for Advanced Reasoning over Long Contexts](https://papers.projxon.ai/entries/930) (paper, #930)
- [MEDIC: Comprehensive Evaluation of Leading Indicators for LLM Safety and Utility in Clinical Applications](https://papers.projxon.ai/entries/965) (paper, #965)
