{
  "id": 946,
  "kind": "paper",
  "title": "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…",
  "body": "",
  "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).",
  "url": "https://arxiv.org/abs/2509.25149",
  "links": [],
  "authors": [
    "NVIDIA",
    "Abecassis",
    "Felix",
    "Agrusa",
    "Anjulie",
    "Ahn",
    "Dong",
    "Alben",
    "Jonah",
    "Alborghetti",
    "Stefania",
    "Andersch",
    "Michael",
    "Arayandi",
    "Sivakumar",
    "et al. (90 authors)"
  ],
  "tags": [
    "arxiv",
    "2509-25149",
    "ocr-vision-language",
    "quantization-efficiency",
    "linkedin-thread"
  ],
  "topics": "OCR / vision-language; quantization / efficiency",
  "venue": "arXiv 2509.25149",
  "publisher": "arXiv 2509.25149",
  "source": "arxiv",
  "language": "",
  "access": "open arXiv PDF/abs",
  "license": "",
  "published_year": 2025,
  "added_at": "2026-09-15T00:46:23.000Z",
  "verified_at": "2026-09-15T00:46:23.000Z",
  "attrs": {
    "domain": "OCR / vision-language; quantization / efficiency",
    "purpose": "Pretraining Large Language Models with NVFP4",
    "used_for": "LLM research reference",
    "author_type": "academic/industry (see abs)",
    "time_period": "arXiv 2025/09/29; Discord LinkedIn mid harvested 2026-09-15"
  },
  "enrichment": {
    "s2": {
      "venue": "arXiv.org",
      "paper_id": "f40de94180dc4f858185d1a9eacf4b0799a1938e",
      "published": "2025-09-29",
      "fetched_at": "2026-10-03T14:59:07.238Z",
      "citation_count": 75,
      "reference_count": 30,
      "influential_citation_count": 17
    },
    "arxiv": {
      "id": "2509.25149",
      "title": "Pretraining Large Language Models with NVFP4",
      "authors": [
        "NVIDIA",
        "Felix Abecassis",
        "Anjulie Agrusa",
        "Dong Ahn",
        "Jonah Alben",
        "Stefania Alborghetti",
        "Michael Andersch",
        "Sivakumar Arayandi",
        "Alexis Bjorlin",
        "Aaron Blakeman",
        "Evan Briones",
        "Ian Buck",
        "Bryan Catanzaro",
        "Muya Chang",
        "Jinhang Choi",
        "Mike Chrzanowski",
        "Eric Chung",
        "Victor Cui",
        "Steve Dai",
        "Bita Darvish Rouhani",
        "Carlo del Mundo",
        "Deena Donia",
        "Burc Eryilmaz",
        "Henry Estela",
        "Abhinav Goel",
        "Oleg Goncharov",
        "Yugi Guvvala",
        "Robert Hesse",
        "Russell Hewett",
        "Herbert Hum",
        "Ujval Kapasi",
        "Brucek Khailany",
        "Mikail Khona",
        "Nick Knight",
        "Alex Kondratenko",
        "Ronny Krashinsky",
        "Ben Lanir",
        "Simon Layton",
        "Michael Lightstone",
        "Daniel Lo",
        "Paulius Micikevicius",
        "Asit Mishra",
        "Tim Moon",
        "Deepak Narayanan",
        "Chao Ni",
        "Abhijit Paithankar",
        "Satish Pasumarthi",
        "Ankit Patel",
        "Mostofa Patwary",
        "Ashwin Poojary",
        "Gargi Prasad",
        "Sweta Priyadarshi",
        "Yigong Qin",
        "Xiaowei Ren",
        "Oleg Rybakov",
        "Charbel Sakr",
        "Sanjeev Satheesh",
        "Stas Sergienko",
        "Pasha Shamis",
        "Kirthi Shankar",
        "Nishant Sharma",
        "Mohammad Shoeybi",
        "Michael Siu",
        "Misha Smelyanskiy",
        "Darko Stosic",
        "Dusan Stosic",
        "Bor-Yiing Su",
        "Frank Sun",
        "Nima Tajbakhsh",
        "Shelby Thomas",
        "Przemek Tredak",
        "Evgeny Tsykunov",
        "Gandhi Vaithilingam",
        "Aditya Vavre",
        "Rangharajan Venkatesan",
        "Roger Waleffe",
        "Qiyu Wan",
        "Hexin Wang",
        "Mengdi Wang",
        "Lizzie Wei",
        "Hao Wu",
        "Evan Wu",
        "Keith Wyss",
        "Ning Xu",
        "Jinze Xue",
        "Charlene Yang",
        "Yujia Zhai",
        "Ruoxi Zhang",
        "Jingyang Zhu",
        "Zhongbo Zhu"
      ],
      "comment": "Update includes: (1) fixing a typo in eq. 2 (2) updating author list, and (3) adding a related work",
      "updated": "2026-03-04",
      "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.",
      "published": "2025-09-29",
      "categories": [
        "cs.CL",
        "cs.AI",
        "cs.LG"
      ],
      "fetched_at": "2026-10-03T14:59:07.238Z"
    }
  },
  "enriched_at": "2026-10-03T14:59:07.271Z",
  "license_class": "unknown",
  "langs": [],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "1338",
    "needs_deep_eval": "no",
    "pipeline_status": "done",
    "research_status": "done"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T12:29:06.561Z",
  "page": "https://papers.projxon.ai/entries/946",
  "markdown": "https://papers.projxon.ai/entries/946.md",
  "api": "https://papers.projxon.ai/api/entries/946",
  "relations": [
    {
      "relation": "cites",
      "direction": "out",
      "note": "",
      "via": "citations",
      "entry": {
        "id": 565,
        "kind": "paper",
        "title": "Optimizing Large Language Model Training Using FP4 Quantization",
        "summary": "First from-scratch FP4 LLM pretraining: Differentiable Gradient Estimator (DGE, k=5) corrects E2M1 weight grads vs STE, and Outlier Clamping and Compensation (OCC, α=0.99 plus a ~2% sparse residual) keeps activations from collapsing. Mixed-precision W4A4 GeMM simulated on H100 FP8 cores with token-wise activation and channel-wise weight scaling. LLaMA-2 1.3B/7B/13B on 100B DCLM tokens: train loss 2.55/2.17/1.97 vs BF16 2.49/2.07/1.88; zero-shot avg 53.13/54.42/54.95 vs 53.23/53.87/54.44. Direct W4A4 diverges. ICML 2025. Framework https://aka.ms/MS.AMP (Azure/MS-AMP).",
        "url": "https://arxiv.org/abs/2501.17116",
        "authors": [
          "Ruizhe Wang",
          "Yeyun Gong",
          "Xiao Liu",
          "Guoshuai Zhao",
          "Ziyue Yang",
          "Baining Guo",
          "Zhengjun Zha",
          "Peng Cheng"
        ],
        "tags": [
          "fp4",
          "quantization",
          "dge",
          "occ",
          "mixed-precision",
          "llama2",
          "dclm",
          "icml",
          "microsoft",
          "e2m1"
        ],
        "venue": "arXiv / Microsoft Research Asia / University of Science and Technology of China",
        "source": "",
        "license": "",
        "published_year": 2025,
        "added_at": "2026-10-01T16:45:06.278Z",
        "has_dataset_profile": false,
        "license_class": "unknown",
        "langs": [],
        "modalities": [],
        "size_class": null,
        "citation_count": 62,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/565",
        "markdown": "https://papers.projxon.ai/entries/565.md",
        "api": "https://papers.projxon.ai/api/entries/565"
      }
    },
    {
      "relation": "cites",
      "direction": "out",
      "note": "",
      "via": "citations",
      "entry": {
        "id": 575,
        "kind": "paper",
        "title": "FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision",
        "summary": "FlashAttention-3 redesigns FA2 for Hopper: warp-specialized TMA/WGMMA producer-consumer, pingpong scheduling so softmax hides under GEMM, and FP8 with in-kernel V transpose, block quantization, and Hadamard incoherent processing. H100 FP16 is 1.5-2.0× FA2 (up to 740 TFLOPs/s, 75% util) and 1.5-1.75× backward; FP8 reaches ~1.2 PFLOPs/s with 2.6× lower RMSE vs per-tensor FP8 on outlier-injected QKV. Competitive with or faster than cuDNN FA2 at seq≥1k. Code https://github.com/Dao-AILab/flash-attention.",
        "url": "https://arxiv.org/abs/2407.08608",
        "authors": [
          "Jay Shah",
          "Ganesh Bikshandi",
          "Ying Zhang",
          "Vijay Thakkar",
          "Pradeep Ramani",
          "Tri Dao"
        ],
        "tags": [
          "flashattention-3",
          "hopper",
          "wgmma",
          "tma",
          "fp8",
          "warp-specialization",
          "colfax",
          "nvidia",
          "meta",
          "attention"
        ],
        "venue": "arXiv / Colfax International / Meta / NVIDIA",
        "source": "",
        "license": "CC BY 4.0",
        "published_year": 2024,
        "added_at": "2026-10-01T16:45:06.278Z",
        "has_dataset_profile": false,
        "license_class": "permissive",
        "langs": [],
        "modalities": [],
        "size_class": null,
        "citation_count": 719,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/575",
        "markdown": "https://papers.projxon.ai/entries/575.md",
        "api": "https://papers.projxon.ai/api/entries/575"
      }
    }
  ],
  "duplicates": [],
  "similar": [
    {
      "id": 940,
      "kind": "paper",
      "title": "DeepSeek-OCR: Contexts Optical Compression",
      "summary": "We present DeepSeek-OCR as an initial investigation into the feasibility of compressing long contexts via optical 2D mapping. DeepSeek-OCR consists of two components: DeepEncoder and DeepSeek3B-MoE-A570M as the decoder. Specifically, DeepEncoder serves as the core engine, designed to maintain low activations under high…",
      "url": "https://arxiv.org/abs/2510.18234",
      "authors": [
        "Wei",
        "Haoran",
        "Sun",
        "Yaofeng",
        "Li",
        "Yukun"
      ],
      "tags": [
        "arxiv",
        "2510-18234",
        "ocr-vision-language",
        "quantization-efficiency",
        "linkedin-thread"
      ],
      "venue": "arXiv 2510.18234",
      "source": "arxiv",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-09-15T00:46:23.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 194,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/940",
      "markdown": "https://papers.projxon.ai/entries/940.md",
      "api": "https://papers.projxon.ai/api/entries/940"
    },
    {
      "id": 963,
      "kind": "paper",
      "title": "AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration",
      "summary": "Large language models (LLMs) have transformed numerous AI applications. On-device LLM is becoming increasingly important: running LLMs locally on edge devices can reduce the cloud computing cost and protect users' privacy. However, the astronomical model size and the limited hardware resource pose significant deploymen…",
      "url": "https://arxiv.org/abs/2306.00978",
      "authors": [
        "Lin",
        "Ji",
        "Tang",
        "Jiaming",
        "Haotian",
        "Yang",
        "Shang",
        "Chen",
        "Wei-Ming",
        "Wang",
        "Wei-Chen",
        "Xiao",
        "Guangxuan",
        "Dang",
        "Xingyu",
        "et al. (10 authors)"
      ],
      "tags": [
        "arxiv",
        "2306-00978",
        "ocr-vision-language",
        "quantization-efficiency",
        "linkedin-thread"
      ],
      "venue": "arXiv 2306.00978",
      "source": "arxiv",
      "license": "",
      "published_year": 2023,
      "added_at": "2026-09-15T00:46:23.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 1868,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/963",
      "markdown": "https://papers.projxon.ai/entries/963.md",
      "api": "https://papers.projxon.ai/api/entries/963"
    },
    {
      "id": 929,
      "kind": "paper",
      "title": "Hunyuan-Large: An Open-Source MoE Model with 52 Billion Activated Parameters by Tencent",
      "summary": "In this paper, we introduce Hunyuan-Large, which is currently the largest open-source Transformer-based mixture of experts model, with a total of 389 billion parameters and 52 billion activation parameters, capable of handling up to 256K tokens. We conduct a thorough evaluation of Hunyuan-Large's superior performance a…",
      "url": "https://arxiv.org/abs/2411.02265",
      "authors": [
        "Sun",
        "Xingwu",
        "Chen",
        "Yanfeng",
        "Huang",
        "Yiqing",
        "Xie",
        "Ruobing",
        "Zhu",
        "Jiaqi",
        "Zhang",
        "Kai",
        "Li",
        "Shuaipeng",
        "Yang",
        "Zhen",
        "et al. (108 authors)"
      ],
      "tags": [
        "arxiv",
        "2411-02265",
        "reasoning-rl",
        "quantization-efficiency",
        "linkedin-thread"
      ],
      "venue": "arXiv 2411.02265",
      "source": "arxiv",
      "license": "",
      "published_year": 2024,
      "added_at": "2026-09-15T00:46:23.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 112,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/929",
      "markdown": "https://papers.projxon.ai/entries/929.md",
      "api": "https://papers.projxon.ai/api/entries/929"
    },
    {
      "id": 958,
      "kind": "paper",
      "title": "Scalable In-context Ranking with Generative Models",
      "summary": "In-context Ranking (ICR) is an emerging paradigm for Information Retrieval (IR), which leverages contextual understanding of LLMs by directly incorporating the task description, candidate documents, and the query into the model's input prompt and tasking the LLM to identify relevant document(s). While it is effective, …",
      "url": "https://arxiv.org/abs/2510.05396",
      "authors": [
        "Gupta",
        "Nilesh",
        "You",
        "Chong",
        "Bhojanapalli",
        "Srinadh",
        "Kumar",
        "Sanjiv",
        "Dhillon",
        "Inderjit",
        "Yu",
        "Felix"
      ],
      "tags": [
        "arxiv",
        "2510-05396",
        "ocr-vision-language",
        "long-context",
        "linkedin-thread"
      ],
      "venue": "arXiv 2510.05396",
      "source": "arxiv",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-09-15T00:46:23.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 10,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/958",
      "markdown": "https://papers.projxon.ai/entries/958.md",
      "api": "https://papers.projxon.ai/api/entries/958"
    },
    {
      "id": 930,
      "kind": "paper",
      "title": "LoongRL: Reinforcement Learning for Advanced Reasoning over Long Contexts",
      "summary": "Reasoning over long contexts is essential for large language models. While reinforcement learning (RL) enhances short-context reasoning by inducing \"Aha\" moments in chain-of-thought, the advanced thinking patterns required for long-context reasoning remain largely unexplored, and high-difficulty RL data are scarce. In …",
      "url": "https://arxiv.org/abs/2510.19363",
      "authors": [
        "Wang",
        "Siyuan",
        "Zhang",
        "Gaokai",
        "Li Lyna",
        "Shang",
        "Ning",
        "Yang",
        "Fan",
        "Chen",
        "Dongyao",
        "Mao"
      ],
      "tags": [
        "arxiv",
        "2510-19363",
        "reasoning-rl",
        "ocr-vision-language",
        "linkedin-thread"
      ],
      "venue": "arXiv 2510.19363",
      "source": "arxiv",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-09-15T00:46:23.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 28,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/930",
      "markdown": "https://papers.projxon.ai/entries/930.md",
      "api": "https://papers.projxon.ai/api/entries/930"
    },
    {
      "id": 965,
      "kind": "paper",
      "title": "MEDIC: Comprehensive Evaluation of Leading Indicators for LLM Safety and Utility in Clinical Applications",
      "summary": "While Large Language Models (LLMs) achieve superhuman performance on standardized medical licensing exams, these static benchmarks have become saturated and increasingly disconnected from the functional requirements of clinical workflows. To bridge the gap between theoretical capability and verified utility, we introdu…",
      "url": "https://arxiv.org/abs/2409.07314",
      "authors": [
        "Kanithi",
        "Praveenkumar",
        "Christophe",
        "Clément",
        "Pimentel",
        "Marco AF",
        "Raha",
        "Tathagata",
        "Munjal",
        "Prateek",
        "Saadi",
        "Nada",
        "Javed",
        "Hamza A",
        "Maslenkova",
        "Svetlana",
        "et al. (11 authors)"
      ],
      "tags": [
        "arxiv",
        "2409-07314",
        "ocr-vision-language",
        "safety",
        "linkedin-thread"
      ],
      "venue": "arXiv 2409.07314",
      "source": "arxiv",
      "license": "",
      "published_year": 2024,
      "added_at": "2026-09-15T00:46:23.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 29,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/965",
      "markdown": "https://papers.projxon.ai/entries/965.md",
      "api": "https://papers.projxon.ai/api/entries/965"
    }
  ]
}
