Lune

EMNLP Findings2024

Exploring Quantization for Efficient Pre-Training of Transformer Language Models

Kamran Chitsaz, Quentin Fournier, Gonçalo Mordido, Sarath Chandar

Abstract

The increasing scale of Transformer models has led to an increase in their pre-training computational requirements. While quantization has proven to be effective after pre-training and during fine-tuning, applying quantization in Transformers during pre-training has remained largely unexplored at scale for language modeling. This study aims to explore the impact of quantization for efficient pre-training of Transformers, with a focus on linear layer components. By systematically applying straightforward linear quantization to weights, activations, gradients, and optimizer states, we assess its effects on model efficiency, stability, and performance during training. By offering a comprehensive recipe of effective quantization strategies to be applied during the pre-training of Transformers, we promote high training efficiency from scratch while retaining language modeling ability. Code is available at https:// github.com/chandar-lab/EfficientLLMs.

Ask Lune

Ask anything. The answer quotes the paper.

Lune reads all of it and the papers around it, then shows you the passages behind every answer.

Questions to start from

Lune answers from

the full paper · 2 top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Cited by top-tier papers2

  1. HALO: Hadamard-Assisted Lower-Precision Optimization for LLMsSaleh Ashkboos, Mahdi Nikdan, Rush Tabesh, Roberto L. Castro et al.NeurIPS 2025 · 16 citations
  2. Log-Normal Multiplicative Dynamics for Stable Low-Precision Deep LearningKeigo Nishida, Eren Mehmet KIRAL, Kenichi Bannai, Mohammad Emtiyaz Khan et al.ICML 2026 · 2 citations

Builds on12

  1. FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra et al.NeurIPS 2022 · 5,493 citations
  2. Sharpness-aware Minimization for Efficiently Improving GeneralizationPierre Foret, Ariel Kleiner, Hossein Mobahi, Behnam NeyshaburICLR 2021 · 1,861 citations
  3. SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language ModelsGuangxuan Xiao, Ji Lin, Mickaël Seznec, Hao Wu et al.ICML 2023 · 1,493 citations
  4. QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMsSaleh Ashkboos, Amirkeivan Mohtashami, Maximilian L. Croci, Bo Li et al.NeurIPS 2024 · 723 citations
  5. 8-bit Optimizers via Block-wise QuantizationTim Dettmers, Mike Lewis, Sam Shleifer, Luke ZettlemoyerICLR 2022 · 457 citations

Related papers

  1. Continual Quantization-Aware Pre-Training: When to transition from 16-bit to 1.58-bit pre-training for BitNet language models?Jacob Nielsen, Peter Schneider-Kamp, Lukas GalkeACL Findings 2025 · 2 citations
  2. PreQuant: A Task-agnostic Quantization Approach for Pre-trained Language ModelsZhuocheng Gong, Jiahao Liu, Qifan Wang, Yang Yang et al.ACL Findings 2023 · 5 citations
  3. FPTQuant: Function-Preserving Transforms for LLM QuantizationBoris van Breugel, Yelysei Bondarenko, Paul Whatmough, Markus NagelICML 2026 · 13 citations
  4. Quadapter: Adapter for GPT-2 QuantizationMinseop Park, Jaeseong You, Markus Nagel, Simyung ChangEMNLP Findings 2022 · 7 citations
  5. QEFT: Quantization for Efficient Fine-Tuning of LLMsChanghun Lee, Jungyu Jin, Younghyun Cho, Eunhyeok ParkEMNLP Findings 2024 · 8 citations
Dusk over the sea between two cliffs drawn in fine vertical lines