Training Transformers with 4-bit Integers
Not on the map. Why?
Abstract (arXiv)
Quantizing the activation, weight, and gradient to 4-bit is promising to accelerate neural network training. However, existing 4-bit training methods require custom numerical formats which are not supported by contemporary hardware. In this work, we propose a training method for transformers with all matrix multiplications implemented with the INT4 arithmetic. Training with an ultra-low INT4 precision is challenging. To achieve this, we carefully analyze the specific structures of activation and gradients in transformers to propose dedicated quantizers for them. For forward propagation, we identify the challenge of outliers and propose a Hadamard quantizer to suppress the outliers. For backpropagation, we leverage the structural sparsity of gradients by proposing bit splitting and leverage score sampling techniques to quantize gradients accurately. Our algorithm achieves competitive accuracy on a wide range of tasks including natural language understanding, machine translation, and image classification. Unlike previous 4-bit training methods, our algorithm can be implemented on the current generation of GPUs. Our prototypical linear operator implementation is up to 2.2 times faster than the FP16 counterparts and speeds up the training by up to 35.1%.
Key facts. Cited by 58 papers in the map (data through 7 Oct 2026). Builds on 53 of its 68 references that are in the map. First posted on arXiv 21 Jun 2023.
Builds on
53 of 68 references.
References · 53
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
- 2018A Call for Clarity in Reporting BLEU Scorescited by 1,790
- 2020Reformer: The Efficient Transformercited by 1,658
- 2020Rethinking Attention with Performerscited by 1,584
38 more
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,338
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,278
- 2017Mixed Precision Trainingcited by 1,135
- 2016Deep Networks with Stochastic Depthcited by 973
- 2019Deep Double Descent: Where Bigger Models and More Data Hurtcited by 667
- 2019Learned Step Size Quantizationcited by 604
- 2018PACT: Parameterized Clipping Activation for Quantized Neural Networkscited by 456
- 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 434
- 2019HAWQ: Hessian AWare Quantization of Neural Networks with Mixed-Precisioncited by 387
- 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 355
- 2018SWAG: A Large-Scale Adversarial Dataset for Grounded Commonsense Inferencecited by 333
- 2019Q8BERT: Quantized 8Bit BERTcited by 296
- 2018LQ-Nets: Learned Quantization for Highly Accurate and Compact Deep Neural Networkscited by 272
- 2019HAWQ-V2: Hessian Aware trace-Weighted Quantization of Neural Networkscited by 250
- 2021I-BERT: Integer-only BERT Quantizationcited by 250
- 2019Differentiable Soft Quantization: Bridging Full-Precision and Low-Bit Neural Networkscited by 234
- 2017Incremental Network Quantization: Towards Lossless CNNs with Low-Precision Weightscited by 211
- 2020ReActNet: Towards Precise Binary Neural Network with Generalized Activation Functionscited by 183
- 2022Outlier Suppression: Pushing the Limit of Low-bit Transformer Language Modelscited by 176
- 2020BinaryBERT: Pushing the Limit of BERT Quantizationcited by 175
- 2018Training Deep Neural Networks with 8-bit Floating Point Numberscited by 163
- 2019Improving Neural Network Quantization without Retraining using Outlier Channel Splittingcited by 150
- 2020TernaryBERT: Distillation-aware Ultra-low Bit BERTcited by 145
- 2018Scalable Methods for 8-bit Training of Neural Networkscited by 139
- 2020Beat the AI: Investigating Adversarial Human Annotation for Reading Comprehensioncited by 131
- 2018Training and Inference with Integers in Deep Neural Networkscited by 84
- 2019Towards Unified INT8 Training for Convolutional Neural Networkcited by 77
- 2020A Statistical Framework for Low-bitwidth Training of Deep Neural Networkscited by 51
- 2021How Do Adam and Training Strategies Help BNNs Optimization?cited by 46
- 2018Training DNNs with Hybrid Block Floating Pointcited by 39
- 2019Training High-Performance and Large-Scale Deep Neural Networks with Full 8-bit Integerscited by 32
- 2018Faster Neural Network Training with Approximate Tensor Operationscited by 14
- 2022MKQ-BERT: Quantized BERT with 4-bits Weights and Activationscited by 10
- 2019Cheetah: Mixed Low-Precision Hardware & Software Co-Design Framework for DNNs on the Edgecited by 8
50 most cited of 53 All 53 (JSON)
Built on by
Citing papers per year: 2023: 4; 2024: 19; 2025: 27; 2026: 8.
58 papers.
Sort:
By area:
- 2024QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMscited by 598
- 2024QuIP#: Even Better LLM Quantization with Hadamard Incoherence and Lattice Codebookscited by 354
- 2024DuQuant: Distributing Outliers via Dual Transformation Makes Stronger Quantized LLMscited by 165
- 2024A Survey on Large Language Model Acceleration based on KV Cache Managementcited by 125
- 2024FlatQuant: Flatness Matters for LLM Quantizationcited by 116
- 2025TurboQuant: Online Vector Quantization with Near-optimal Distortion Ratecited by 116
- 2023Pushing Large Language Models to the 6G Edge: Vision, Challenges, and Opportunitiescited by 89
- 2023Federated Full-Parameter Tuning of Billion-Sized Language Models with Communication Cost under 18 Kilobytescited by 55
- 2025Optimizing Large Language Model Training Using FP4 Quantizationcited by 53
- 2025BitVLA: 1-bit Vision-Language-Action Models for Robotics Manipulationcited by 42
- 2025Quartet: Native FP4 Training Can Be Optimal for Large Language Modelscited by 37
- 2025Training LLMs with MXFP4cited by 36
38 more
- 2024COAT: Compressing Optimizer states and Activation for Memory-Efficient FP8 Trainingcited by 32
- 2024ResQ: Mixed-Precision Quantization of Large Language Models with Low-Rank Residualscited by 32
- 2024Jetfire: Efficient and Accurate Transformer Pretraining with INT8 Data Flow and Per-Block Quantizationcited by 30
- 2024Zeroth-Order Fine-Tuning of LLMs with Extreme Sparsitycited by 27
- 2026The Spike, the Sparse and the Sink: Anatomy of Massive Activations and Attention Sinkscited by 23
- 2025GSQ-Tuning: Group-Shared Exponents Integer in Fully Quantized Training for LLMs On-Device Fine-tuningcited by 21
- 2026A Unified View of Attention and Residual Sinks: Outlier-Driven Rescaling is Essential for Transformer Trainingcited by 21
- 2025Oscillation-Reduced MXFP4 Training for Vision Transformerscited by 20
- 2026Quartet II: Accurate LLM Pre-Training in NVFP4 by Improved Unbiased Gradient Estimationcited by 16
- 2025QSVD: Efficient Low-rank Approximation for Unified Query-Key-Value Weight Compression in Low-Precision Vision-Language Modelscited by 15
- 2024LUT Tensor Core: A Software-Hardware Co-Design for LUT-Based Low-Bit LLM Inferencecited by 14
- 2025HALO: Hadamard-Assisted Lower-Precision Optimization for LLMscited by 14
- 2025Accurate INT8 Training Through Dynamic Block-Level Fallbackcited by 14
- 2024SDP4Bit: Toward 4-bit Communication Quantization in Sharded Data Parallelism for LLM Trainingcited by 13
- 2025Provable Post-Training Quantization: Theoretical Analysis of OPTQ and Qronoscited by 13
- 2025TetraJet-v2: Accurate NVFP4 Training for Large Language Models with Oscillation Suppression and Outlier Controlcited by 13
- 2025Low-Precision Training of Large Language Models: Methods, Challenges, and Opportunitiescited by 11
- 2025Low-bit Model Quantization for Deep Neural Networks: A Surveycited by 11
- 2024Exploring Quantization for Efficient Pre-Training of Transformer Language Modelscited by 10
- 2024Collage: Light-Weight Low-Precision Strategy for LLM Trainingcited by 9
- 2025QuZO: Quantized Zeroth-Order Fine-Tuning for Large Language Modelscited by 9
- 2025Neural Network Quantization for Microcontrollers: A Comprehensive Survey of Methods, Platforms, and Applicationscited by 6
- 2024PIM-Opt: Demystifying Distributed Optimization Algorithms on a Real-World Processing-In-Memory Systemcited by 5
- 2025CASP: Compression of Large Multimodal Models Based on Attention Sparsitycited by 5
- 2025Pushing the Limits of Low-Bit Optimizers: A Focus on EMA Dynamicscited by 5
- 2025Improving the Straight-Through Estimator with Zeroth-Order Informationcited by 5
- 2024SeedLM: Compressing LLM Weights into Seeds of Pseudo-Random Generatorscited by 4
- 2025Conda: Column-Normalized Adam for Training Large Language Models Fastercited by 4
- 2026StoSignSGD: Unbiased Structural Stochasticity Fixes SignSGD for Training Large Language Modelscited by 4
- 2023Hadamard Domain Training with Integers for Class Incremental Quantized Learningcited by 3
- 20241-Bit FQT: Pushing the Limit of Fully Quantized Training to 1-bitcited by 3
- 2024Robust Training of Neural Networks at Arbitrary Precision and Sparsitycited by 3
- 2025Beacon: Post-Training Quantization with Integrated Grid Selectioncited by 3
- 2025A Comprehensive FP8 Training Recipe for Reasoning-Enhanced Language Modelscited by 3
- 2023LMTuner: An user-friendly and highly-integrable Training Framework for fine-tuning Large Language Modelscited by 2
- 2024HLQ: Fast and Efficient Backpropagation via Hadamard Low-rank Quantizationcited by 2
- 2024Towards Accurate and Efficient Sub-8-Bit Integer Trainingcited by 2
- 2025HOT: Hadamard-based Optimized Trainingcited by 2
50 most cited of 58 All 58 (JSON)
- 2026Quantization-Aware Pre-Training with Constrained Empirical Weight Distribution26 Sep 2026
- 2026A Target-Centric Survey of Quantization-Aware Training30 Aug 2026
- 2026Saliency-Aware Regularized Quantization Calibration for Large Language Models7 May 2026
- 2026StoSignSGD: Unbiased Structural Stochasticity Fixes SignSGD for Training Large Language Models16 Apr 2026
- 2026The Spike, the Sparse and the Sink: Anatomy of Massive Activations and Attention Sinks5 Mar 2026
- 2026Boosting Entropy with Bell Box Quantization2 Mar 2026
- 2026A Unified View of Attention and Residual Sinks: Outlier-Driven Rescaling is Essential for Transformer Training30 Jan 2026
- 2026Quartet II: Accurate LLM Pre-Training in NVFP4 by Improved Unbiased Gradient Estimation30 Jan 2026
- 2025BOOST: BOttleneck-Optimized Scalable Training Framework for Low-Rank Large Language Models13 Dec 2025
- 2025HQ-DM: Single Hadamard Transformation-Based Quantization-Aware Training for Low-Bit Diffusion Models5 Dec 2025
- 2025R2Q: Towards Robust 2-Bit Large Language Models via Residual Refinement Quantization21 Nov 2025
- 2025TetraJet-v2: Accurate NVFP4 Training for Large Language Models with Oscillation Suppression and Outlier Control31 Oct 2025
38 more
- 2025Improving the Straight-Through Estimator with Zeroth-Order Information27 Oct 2025
- 2025QSVD: Efficient Low-rank Approximation for Unified Query-Key-Value Weight Compression in Low-Precision Vision-Language Models18 Oct 2025
- 2025Conda: Column-Normalized Adam for Training Large Language Models Faster29 Sep 2025
- 2025A Comprehensive FP8 Training Recipe for Reasoning-Enhanced Language Models26 Sep 2025
- 2025Beacon: Post-Training Quantization with Integrated Grid Selection27 Aug 2025
- 2025Neural Network Quantization for Microcontrollers: A Comprehensive Survey of Methods, Platforms, and Applications20 Aug 2025
- 2025Provable Post-Training Quantization: Theoretical Analysis of OPTQ and Qronos6 Aug 2025
- 2025BitVLA: 1-bit Vision-Language-Action Models for Robotics Manipulation9 Jun 2025
- 2025Quartet: Native FP4 Training Can Be Optimal for Large Language Models20 May 2025
- 2025Low-bit Model Quantization for Deep Neural Networks: A Survey8 May 2025
- 2025Low-Precision Training of Large Language Models: Methods, Challenges, and Opportunities2 May 2025
- 2025Pushing the Limits of Low-Bit Optimizers: A Focus on EMA Dynamics1 May 2025
- 2025TurboQuant: Online Vector Quantization with Near-optimal Distortion Rate28 Apr 2025
- 2025pychop: Emulating Low-Precision Arithmetic in Numerical Methods and Neural Networks10 Apr 2025
- 2025HOT: Hadamard-based Optimized Training27 Mar 2025
- 2025Accurate INT8 Training Through Dynamic Block-Level Fallback11 Mar 2025
- 2025CASP: Compression of Large Multimodal Models Based on Attention Sparsity7 Mar 2025
- 2025Oscillation-Reduced MXFP4 Training for Vision Transformers28 Feb 2025
- 2025Training LLMs with MXFP427 Feb 2025
- 2025GSQ-Tuning: Group-Shared Exponents Integer in Fully Quantized Training for LLMs On-Device Fine-tuning18 Feb 2025
- 2025QuZO: Quantized Zeroth-Order Fine-Tuning for Large Language Models17 Feb 2025
- 2025Optimizing Large Language Model Training Using FP4 Quantization28 Jan 2025
- 2025HALO: Hadamard-Assisted Lower-Precision Optimization for LLMs5 Jan 2025
- 2024A Survey on Large Language Model Acceleration based on KV Cache Management27 Dec 2024
- 2024ResQ: Mixed-Precision Quantization of Large Language Models with Low-Rank Residuals18 Dec 2024
- 2024Towards Accurate and Efficient Sub-8-Bit Integer Training17 Nov 2024
- 2024COAT: Compressing Optimizer states and Activation for Memory-Efficient FP8 Training25 Oct 2024
- 2024SDP4Bit: Toward 4-bit Communication Quantization in Sharded Data Parallelism for LLM Training20 Oct 2024
- 2024SeedLM: Compressing LLM Weights into Seeds of Pseudo-Random Generators14 Oct 2024
- 2024FlatQuant: Flatness Matters for LLM Quantization12 Oct 2024
- 2024Robust Training of Neural Networks at Arbitrary Precision and Sparsity14 Sep 2024
- 20241-Bit FQT: Pushing the Limit of Fully Quantized Training to 1-bit26 Aug 2024
- 2024LUT Tensor Core: A Software-Hardware Co-Design for LUT-Based Low-Bit LLM Inference12 Aug 2024
- 2024Exploring Quantization for Efficient Pre-Training of Transformer Language Models16 Jul 2024
- 2024HLQ: Fast and Efficient Backpropagation via Hadamard Low-rank Quantization21 Jun 2024
- 2024Zeroth-Order Fine-Tuning of LLMs with Extreme Sparsity5 Jun 2024
- 2024DuQuant: Distributing Outliers via Dual Transformation Makes Stronger Quantized LLMs3 Jun 2024
- 2024Collage: Light-Weight Low-Precision Strategy for LLM Training6 May 2024
50 newest of 58 All 58 (JSON)
- 2024QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMscited by 598
- 2024QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs30 Mar 2024
- 2024QuIP#: Even Better LLM Quantization with Hadamard Incoherence and Lattice Codebookscited by 354
- 2024DuQuant: Distributing Outliers via Dual Transformation Makes Stronger Quantized LLMscited by 165
- 2024FlatQuant: Flatness Matters for LLM Quantizationcited by 116
- 2025TurboQuant: Online Vector Quantization with Near-optimal Distortion Ratecited by 116
- 2023Pushing Large Language Models to the 6G Edge: Vision, Challenges, and Opportunitiescited by 89
- 2023Federated Full-Parameter Tuning of Billion-Sized Language Models with Communication Cost under 18 Kilobytescited by 55
- 2025Optimizing Large Language Model Training Using FP4 Quantizationcited by 53
- 2025Quartet: Native FP4 Training Can Be Optimal for Large Language Modelscited by 37
- 2025Training LLMs with MXFP4cited by 36
- 2024COAT: Compressing Optimizer states and Activation for Memory-Efficient FP8 Trainingcited by 32
- 2024ResQ: Mixed-Precision Quantization of Large Language Models with Low-Rank Residualscited by 32
- 2024Jetfire: Efficient and Accurate Transformer Pretraining with INT8 Data Flow and Per-Block Quantizationcited by 30
12 most cited of 51 All 51 (JSON)
- 2026Quantization-Aware Pre-Training with Constrained Empirical Weight Distribution26 Sep 2026
- 2026A Target-Centric Survey of Quantization-Aware Training30 Aug 2026
- 2026Saliency-Aware Regularized Quantization Calibration for Large Language Models7 May 2026
- 2026StoSignSGD: Unbiased Structural Stochasticity Fixes SignSGD for Training Large Language Models16 Apr 2026
- 2026The Spike, the Sparse and the Sink: Anatomy of Massive Activations and Attention Sinks5 Mar 2026
- 2026Boosting Entropy with Bell Box Quantization2 Mar 2026
- 2026A Unified View of Attention and Residual Sinks: Outlier-Driven Rescaling is Essential for Transformer Training30 Jan 2026
- 2026Quartet II: Accurate LLM Pre-Training in NVFP4 by Improved Unbiased Gradient Estimation30 Jan 2026
- 2025BOOST: BOttleneck-Optimized Scalable Training Framework for Low-Rank Large Language Models13 Dec 2025
- 2025R2Q: Towards Robust 2-Bit Large Language Models via Residual Refinement Quantization21 Nov 2025
- 2025TetraJet-v2: Accurate NVFP4 Training for Large Language Models with Oscillation Suppression and Outlier Control31 Oct 2025
- 2025Improving the Straight-Through Estimator with Zeroth-Order Information27 Oct 2025
12 newest of 51 All 51 (JSON)