Skip to main content
QUICK REVIEW

[Paper Review] A Survey of Low-bit Large Language Models: Basics, Systems, and Algorithms

Ruihao Gong, Yifu Ding|arXiv (Cornell University)|Sep 25, 2024
Topic ModelingComputer Science3 citations
TL;DR

This survey provides a comprehensive overview of low-bit quantization techniques for large language models (LLMs), covering fundamentals, system implementations, and algorithmic strategies. It synthesizes state-of-the-art methods for low-bit training and inference, including quantization-aware training, post-training quantization, mixed-precision approaches, and KV cache compression, offering actionable insights for improving efficiency and accuracy in resource-constrained deployments.

ABSTRACT

Large language models (LLMs) have achieved remarkable advancements in natural language processing, showcasing exceptional performance across various tasks. However, the expensive memory and computational requirements present significant challenges for their practical deployment. Low-bit quantization has emerged as a critical approach to mitigate these challenges by reducing the bit-width of model parameters, activations, and gradients, thus decreasing memory usage and computational demands. This paper presents a comprehensive survey of low-bit quantization methods tailored for LLMs, covering the fundamental principles, system implementations, and algorithmic strategies. An overview of basic concepts and new data formats specific to low-bit LLMs is first introduced, followed by a review of frameworks and systems that facilitate low-bit LLMs across various hardware platforms. Then, we categorize and analyze techniques and toolkits for efficient low-bit training and inference of LLMs. Finally, we conclude with a discussion of future trends and potential advancements of low-bit LLMs. Our systematic overview from basic, system, and algorithm perspectives can offer valuable insights and guidelines for future works to enhance the efficiency and applicability of LLMs through low-bit quantization.

Motivation & Objective

  • Address the high computational and memory demands of large language models (LLMs) in resource-constrained environments.
  • Systematically review low-bit quantization techniques that reduce model size and accelerate inference without significant accuracy loss.
  • Categorize and analyze algorithmic approaches for low-bit training and inference, including quantization-aware training and post-training quantization.
  • Survey existing systems and frameworks that enable efficient deployment of low-bit LLMs across diverse hardware platforms.
  • Identify open challenges and future research directions in low-bit LLM quantization, particularly regarding outlier handling, mixed-precision strategies, and KV cache compression.

Proposed method

  • Introduce novel low-bit data formats (e.g., custom integer and floating-point formats) to handle outliers in LLM parameters and activations.
  • Analyze quantization granularities—ranging from layer-wise to tensor-level—to balance accuracy and efficiency.
  • Differentiate dynamic and static quantization, with dynamic quantization avoiding calibration but offering less precision.
  • Categorize quantization techniques into post-training quantization (PTQ) and quantization-aware training (QAT), emphasizing their trade-offs in accuracy and efficiency.
  • Review advanced methods such as weight compensation, equivalent layer transformation, and mixed-precision quantization to mitigate quantization error.
  • Survey toolkits and systems (e.g., Hugging Face, vLLM, GPTQ, AWQ) that integrate these algorithms for end-to-end low-bit LLM deployment.

Experimental results

Research questions

  • RQ1What are the fundamental principles and data formats that enable effective low-bit quantization in LLMs?
  • RQ2How do different quantization granularities and strategies (dynamic vs. static) impact model accuracy and inference efficiency?
  • RQ3What are the most effective algorithmic techniques for maintaining model accuracy during low-bit training and inference?
  • RQ4How can mixed-precision and hybrid compression strategies improve the performance of low-bit LLMs?
  • RQ5What future hardware and algorithmic co-design opportunities exist for ultra-low-bit quantization and efficient training?

Key findings

  • Low-bit quantization significantly reduces memory usage and computational costs, enabling deployment of LLMs on devices with limited resources.
  • Quantization-aware training (QAT) is particularly effective for ultra-low-bit settings (e.g., binary or 4-bit), preserving model accuracy better than post-training quantization.
  • Post-training quantization (PTQ) remains widely used due to its efficiency and lack of need for full retraining, though it often incurs higher accuracy degradation.
  • Techniques like weight compensation and equivalent layer transformation effectively reduce quantization error, especially in low-bit regimes.
  • Mixed-precision quantization, particularly intra-layer allocation, improves accuracy while maintaining efficiency, though inter-layer allocation remains underexplored.
  • KV cache compression is identified as a critical bottleneck for long-context inference, with semantic-guided quantization emerging as a promising direction for future optimization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.