mlsanityData to 7 Oct 2026

Layer-Wise Quantization: A Pragmatic and Effective Method for Quantizing LLMs Beyond Integer Bit-Levels

arXiv 2406.17415 ↗First posted 25 Jun 2024cs.CL cs.AI cs.LGcited by 16

Not on the map. Why?

Abstract (arXiv)

We present a simple meta quantization approach that quantizes different layers of a large language model (LLM) at different bit levels, and is independent of the underlying quantization technique. Specifically, we quantize the most important layers to higher bit precision and less important layers to lower bits. We propose two effective strategies to measure the importance of layers within LLMs: the first measures the importance of a layer based on how different its output embeddings are from the input embeddings (higher is better); the second estimates the importance of a layer using the number of layer weights that are much larger than average (smaller is better). We show that quantizing different layers at varying bits according to our importance scores results in minimal performance drop with a far more compressed model size. Finally, we present several practical key takeaways from our variable layer-wise quantization experiments: (a) LLM performance under variable quantization remains close to the original model until 25-50% of layers are moved in lower quantization using our proposed ordering but only until 5-10% if moved using no specific ordering; (b) Adding layer importance to inherently dynamic quantization techniques can further improve their performance, showing that our approach is complementary to other dynamic quantization methods; (c) Quantizing LLMs to lower bits performs substantially better than pruning unless extreme quantization (2-bit) is used; and (d) Layer-wise quantization to lower bits works better in the case of larger LLMs with more layers compared to smaller LLMs with fewer layers. Our code is publicly available at https://github.com/RazvanDu/LayerwiseQuant/.

Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Builds on 28 of its 40 references that are in the map. First posted on arXiv 25 Jun 2024.

Builds on

28 of 40 references.

References · 28

  1. 2017Attention Is All You Needcited by 59,932
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  3. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  4. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  5. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  6. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  7. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  8. 2023Qwen Technical Reportcited by 3,273
  9. 2023Mistral 7Bcited by 3,065
  10. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
  11. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
  12. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
16 more
  1. 2024Mixtral of Expertscited by 1,785
  2. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,338
  3. 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,234
  4. 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,090
  5. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
  6. 2023LLM-Pruner: On the Structural Pruning of Large Language Modelscited by 643
  7. 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 517
  8. 2024ShortGPT: Layers in Large Language Models are More Redundant Than You Expectcited by 369
  9. 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 355
  10. 2023LLM-QAT: Data-Free Quantization Aware Training for Large Language Modelscited by 320
  11. 2022The case for 4-bit precision: k-bit Inference Scaling Lawscited by 247
  12. 2024The Unreasonable Ineffectiveness of the Deeper Layerscited by 219
  13. 2023Efficient Large Language Models: A Surveycited by 183
  14. 2024LaCo: Large Language Model Pruning via Layer Collapsecited by 124
  15. 2024A Comprehensive Evaluation of Quantization Strategies for Large Language Modelscited by 47
  16. 2024MPTQ-ViT: Mixed-Precision Post-Training Quantization for Vision Transformercited by 10

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 5; 2026: 10.

16 papers.

Sort:

By area:

  1. 2025The Curse of Depth in Large Language Modelscited by 58
  2. 2026Locate, Steer, and Improve: A Practical Survey of Actionable Mechanistic Interpretability in Large Language Modelscited by 22
  3. 2026Beyond Outliers: A Data-Free Layer-wise Mixed-Precision Quantization Approach Driven by Numerical and Structural Dual-Sensitivitycited by 5
  4. 2024LSAQ: Layer-Specific Adaptive Quantization for Large Language Model Deploymentcited by 4
  5. 2026When Does Sparsity Mitigate the Curse of Depth in LLMscited by 4
  6. 2025Exploring Layer-wise Information Effectiveness for Post-Training Quantization in Small Language Modelscited by 3
  7. 2025Apriel-Nemotron-15B-Thinkercited by 1
  8. 2026Do All Individual Layers Help? An Empirical Study of Task-Interfering Layers in Vision-Language Modelscited by 1
  9. 2026LAQuant: A Simple Overhead-free Large Reasoning Model Quantization by Layer-wise Lookahead Losscited by 1
  10. 2026LoKA: Low-precision Kernel Applications for Recommendation Models At Scalecited by 1
  11. 2026Beyond Activation Alignment:The Alignment-Diversity Tradeoff in Task-Aware LLM Quantizationcited by 1
  12. 2026MixQuant: Adaptive Mixed-Precision Quantization for Large Language Modelscited by 1
4 more
  1. 2025SAIL: SRAM-Accelerated LLM Inference System with Lookup-Table-based GEMVcited by 0
  2. 2025SDQ-LLM: Sigma-Delta Quantization for 1-bit LLMs of any sizecited by 0
  3. 2026ExaGEMM: Exploration Framework for CPU-Driven ML Inference via Associative In-Register Computing for Low-Bit GEMMcited by 0
  4. 2026AQLoRA: A Zero-Search Recipe for Fast Quantized LoRA Fine-Tuningcited by 0