Conference Paper
Large Language Models

A Survey on Model Compression for Large Language Models

Xunyu Zhu(Chinese Academy of Sciences), Jian Li(Beijing Normal University), Yong Liu(Renmin University of China), Can Ma(Chinese Academy of Sciences), Weiping Wang(Chinese Academy of Sciences)
January 1, 2024Transactions of the Association for Computational Linguistics539 citations

539

Citations

14

Influential Citations

Transactions of the Association for Computational Linguistics

Venue

2024

Year

Abstract

Abstract Large Language Models (LLMs) have transformed natural language processing tasks successfully. Yet, their large size and high computational needs pose challenges for practical use, especially in resource-limited settings. Model compression has emerged as a key research area to address these challenges. This paper presents a survey of model compression techniques for LLMs. We cover methods like quantization, pruning, and knowledge distillation, highlighting recent advancements. We also discuss benchmarking strategies and evaluation metrics crucial for assessing compressed LLMs. This survey offers valuable insights for researchers and practitioners, aiming to enhance efficiency and real-world applicability of LLMs while laying a foundation for future advancements.

Analysis

Why This Paper Matters

Large Language Models (LLMs) have revolutionized natural language processing but come with substantial computational and memory demands, hindering their deployment in resource-constrained environments. This survey addresses the critical need for model compression techniques that can reduce the size and computational footprint of LLMs without sacrificing performance. By consolidating recent advancements in quantization, pruning, and knowledge distillation, the paper provides a timely and comprehensive resource for both researchers and practitioners.

The survey's importance is underscored by the rapid growth of LLMs and the increasing demand for efficient inference on edge devices and in real-time applications. As models continue to scale, compression becomes not just an optimization but a necessity for practical use. This paper helps navigate the complex landscape of compression methods, offering a structured overview that can guide future research and inform deployment decisions.

Moreover, the survey emphasizes benchmarking and evaluation metrics, which are crucial for objectively assessing compressed models. By highlighting these aspects, the paper encourages standardized evaluation practices, which are essential for comparing different compression techniques and fostering reproducibility.

Technical Contributions

  • Comprehensive Taxonomy: The survey categorizes compression techniques into three main families: quantization, pruning, and knowledge distillation, providing a clear framework for understanding the field.
  • Recent Advancements: It highlights state-of-the-art methods within each category, discussing their strengths and limitations.
  • Evaluation Focus: The paper discusses benchmarking strategies and metrics specific to compressed LLMs, addressing the need for tailored evaluation.
  • Practical Insights: It offers guidance for practitioners on selecting appropriate compression techniques based on resource constraints and performance requirements.
  • Future Directions: The survey identifies open challenges and potential research directions, laying a foundation for future work.

Results

As a survey paper, it does not present new experimental results. Instead, it synthesizes findings from existing literature, reporting on the effectiveness of various compression methods as documented in original research. For example, it discusses how quantization can reduce model size by 4x with minimal accuracy loss, pruning can remove redundant parameters, and knowledge distillation can transfer knowledge to smaller models. The paper also reviews evaluation metrics such as perplexity, accuracy, and compression ratio, and benchmarking datasets used in the literature.

Significance

This survey is significant for the AI community as it provides a centralized reference for model compression techniques tailored to LLMs. It bridges the gap between theoretical research and practical deployment by emphasizing efficiency and real-world applicability. By outlining evaluation methodologies, it promotes rigorous assessment of compressed models, which is vital for trustworthy AI systems. Furthermore, the paper's insights can inspire new compression algorithms and facilitate the adoption of LLMs in resource-limited settings, thereby broadening access to advanced NLP capabilities. Overall, it serves as a foundational resource that will likely influence both future research and industrial practices in the era of large models.