mlsanityData to 14 Oct 2026

LLM-FP4: 4-Bit Floating-Point Quantized Transformers

arXiv 2310.16836 ↗First posted 25 Oct 2023cs.CL cs.AI cs.ARcited by 69

Not on the map. Why?

Abstract (arXiv)

We propose LLM-FP4 for quantizing both weights and activations in large language models (LLMs) down to 4-bit floating-point values, in a post-training manner. Existing post-training quantization (PTQ) solutions are primarily integer-based and struggle with bit widths below 8 bits. Compared to integer quantization, floating-point (FP) quantization is more flexible and can better handle long-tail or bell-shaped distributions, and it has emerged as a default choice in many hardware platforms. One characteristic of FP quantization is that its performance largely depends on the choice of exponent bits and clipping range. In this regard, we construct a strong FP-PTQ baseline by searching for the optimal quantization parameters. Furthermore, we observe a high inter-channel variance and low intra-channel variance pattern in activation distributions, which adds activation quantization difficulty. We recognize this pattern to be consistent across a spectrum of transformer models designed for diverse tasks, such as LLMs, BERT, and Vision Transformer models. To tackle this, we propose per-channel activation quantization and show that these additional scaling factors can be reparameterized as exponential biases of weights, incurring a negligible cost. Our method, for the first time, can quantize both weights and activations in the LLaMA-13B to only 4-bit and achieves an average score of 63.1 on the common sense zero-shot reasoning tasks, which is only 5.8 lower than the full-precision model, significantly outperforming the previous state-of-the-art by 12.7 points. Code is available at: https://github.com/nbasyl/LLM-FP4.

Key facts. Cited by 69 papers in the map (data through 14 Oct 2026). Builds on 25 of its 30 references that are in the map. First posted on arXiv 25 Oct 2023.

Builds on

25 of 30 references.

References · 25

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  6. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  7. 2020Scaling Laws for Neural Language Modelscited by 6,586
  8. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  9. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  10. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  11. 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 906
  12. 2020Up or Down? Adaptive Rounding for Post-Training Quantizationcited by 621
13 more
  1. 2021BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstructioncited by 479
  2. 2021VATT: Transformers for Multimodal Self-Supervised Learning from Raw Video, Audio and Textcited by 429
  3. 2019Data-Free Quantization Through Weight Equalization and Bias Correctioncited by 336
  4. 2021Post-Training Quantization for Vision Transformercited by 278
  5. 2020ZeroQ: A Novel Zero Shot Quantization Frameworkcited by 269
  6. 2019Low-bit Quantization of Neural Networks for Efficient Inferencecited by 193
  7. 2022QDrop: Randomly Dropping Quantization for Extremely Low-bit Post-Training Quantizationcited by 180
  8. 2021PTQ4ViT: Post-training quantization for vision transformers with twin uniform quantizationcited by 179
  9. 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantizationcited by 141
  10. 2022FP8 Quantization: The Power of the Exponentcited by 88
  11. 2023Towards Accurate Post-Training Quantization for Vision Transformercited by 71
  12. 2020EasyQuant: Post-training Quantization via Scale Optimizationcited by 57
  13. 2023Q-HyViT: Post-Training Quantization of Hybrid Vision Transformers with Bridge Block Reconstruction for IoT Systemscited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 5; 2024: 27; 2025: 20; 2026: 17.

69 papers.

Sort:

By area:

  1. 2024SpinQuant: LLM quantization with learned rotationscited by 471
  2. 2023Atom: Low-bit Quantization for Efficient and Accurate LLM Servingcited by 272
  3. 2024MobileLLM: Optimizing Sub-billion Parameter Language Models for On-Device Use Casescited by 223
  4. 2024A Survey on Efficient Inference for Large Language Modelscited by 205
  5. 2024BitDistiller: Unleashing the Potential of Sub-4-Bit LLMs via Self-Distillationcited by 84
  6. 2025Optimizing Large Language Model Training Using FP4 Quantizationcited by 56
  7. 2025BitVLA: 1-bit Vision-Language-Action Models for Robotics Manipulationcited by 43
  8. 2024Pruner-Zero: Evolving Symbolic Pruning Metric from scratch for Large Language Modelscited by 40
  9. 2024Large Language Model Inference Acceleration: A Comprehensive Hardware Perspectivecited by 38
  10. 2025Four Over Six: More Accurate NVFP4 Quantization with Adaptive Block Scalingcited by 35
  11. 2024APTQ: Attention-aware Post-Training Mixed-Precision Quantization for Large Language Modelscited by 34
  12. 2024A Survey of Small Language Modelscited by 31
38 more
  1. 2023LLaMAntino: LLaMA 2 Models for Effective Text Generation in Italian Languagecited by 25
  2. 2024A Survey: Collaborative Hardware and Software Design in the Era of Large Language Modelscited by 23
  3. 2026Quantization-Aware Distillation for NVFP4 Inference Accuracy Recoverycited by 22
  4. 2023Jellyfish: A Large Language Model for Data Preprocessingcited by 20
  5. 2024Transformer-Lite: High-efficiency Deployment of Large Language Models on Mobile Phone GPUscited by 17
  6. 2024HQ-DiT: Efficient Diffusion Transformer with FP4 Hybrid Quantizationcited by 17
  7. 2023ZeroQuant(4+2): Redefining LLMs Quantization with a New FP6-Centric Strategy for Diverse Generative Taskscited by 14
  8. 2024Toward Adaptive Large Language Models Structured Pruning via Hybrid-grained Weight Importance Assessmentcited by 13
  9. 2024Model Quantization and Hardware Acceleration for Vision Transformers: A Comprehensive Surveycited by 13
  10. 2024RoLoRA: Fine-tuning Rotated Outlier-free LLMs for Effective Weight-Activation Quantizationcited by 13
  11. 2025SLED: A Speculative LLM Decoding Framework for Efficient Edge Servingcited by 13
  12. 2025BlockDialect: Block-wise Fine-grained Mixed Format Quantization for Energy-Efficient LLM Inferencecited by 11
  13. 2025QuZO: Quantized Zeroth-Order Fine-Tuning for Large Language Modelscited by 11
  14. 2025MX+: Pushing the Limits of Microscaling Formats for Efficient Large Language Model Servingcited by 11
  15. 2023A Speed Odyssey for Deployable Quantization of LLMscited by 10
  16. 2025LUT-DLA: Lookup Table as Efficient Extreme Low-Bit Deep Learning Acceleratorcited by 9
  17. 2024PatentGPT: A Large Language Model for Intellectual Propertycited by 8
  18. 2024eXmY: A Data Type and Technique for Arbitrary Bit Precision Quantizationcited by 7
  19. 2024Designing Large Foundation Models for Efficient Training and Inference: A Surveycited by 7
  20. 2025RaZeR: Pushing the Limits of NVFP4 Quantization with Redundant Zero Remappingcited by 7
  21. 2024COMET: Towards Partical W4A4KV4 LLMs Servingcited by 6
  22. 2025Dynamic LLM Routing and Selection based on User Preferences: Balancing Performance, Cost, and Ethicscited by 6
  23. 2025FP4DiT: Towards Effective Floating Point Quantization for Diffusion Transformerscited by 6
  24. 2025Pioneering 4-Bit FP Quantization for Diffusion Models: Mixup-Sign Quantization and Timestep-Aware Fine-Tuningcited by 6
  25. 2024On the Compressibility of Quantized Large Language Modelscited by 5
  26. 2024mhGPT: A Lightweight Generative Pre-Trained Transformer for Mental Health Text Analysiscited by 5
  27. 2024FlexiBit: Fully Flexible Precision Bit-parallel Accelerator Architecture for Arbitrary Mixed Precision AIcited by 5
  28. 2026Pretraining large language models with MXFP4 on Native FP4 Hardwarecited by 5
  29. 2026What Limits Does Quantization Place on Dense Top-k Retrieval? A Theoretical Studycited by 4
  30. 2024MAPLE: Multilingual Evaluation of Parameter Efficient Finetuning of Large Language Modelscited by 3
  31. 2025A Comprehensive Evaluation on Quantization Techniques for Large Language Modelscited by 3
  32. 2026FP4 Explore, BF16 Train: Diffusion Reinforcement Learning via Efficient Rollout Scalingcited by 3
  33. 2024Genetic Quantization-Aware Approximation for Non-Linear Operations in Transformerscited by 2
  34. 2025Energy-Efficient Transformer Inference: Optimization Strategies for Time Series Classificationcited by 2
  35. 2025OASIS: Outlier-Aware LUT-Based GEMM with Dual-Side Quantization for LLM Inference Accelerationcited by 2
  36. 2026Modern Neuromorphic AI: From Intra-Token to Inter-Token Processingcited by 2
  37. 2026LATMiX: Learnable Affine Transformations for Microscaling Quantization of LLMscited by 2
  38. 2026Diagnosing FP4 inference: a layer-wise and block-wise sensitivity analysis of NVFP4 and MXFP4cited by 2

50 most cited of 69 All 69 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2023ZeroQuant-FP: A Leap Forward in LLMs Post-Training W4A8 Quantization Using Floating-Point Formats
  2. 2025FP4 All the Way: Fully Quantized Training of LLMs
  3. 2025Achieving binary weight and activation for LLMs using Post-Training Quantization
  4. 2023Integer or Floating Point? New Outlooks for Low-Bit Quantization on Large Language Models
  5. 2023INT-FP-QSim: Mixed Precision and Formats For Large Language Models and Vision Transformers
  6. 2024I-LLM: Efficient Integer-Only Inference for Fully-Quantized Low-Bit Large Language Models
  7. 2025Towards Efficient Pre-training: Exploring FP4 Precision in Large Language Models
  8. 2025Scaling Laws for Floating Point Quantization Training