[Paper Review] A Comprehensive Survey of Compression Algorithms for Language Models
This paper presents a comprehensive survey of compression algorithms for large language models (LLMs), categorizing and analyzing pruning, quantization, knowledge distillation, low-rank approximation, parameter sharing, and efficient architecture design. It identifies key challenges in low-cost compression, highlights representative algorithms like Kprune, and proposes future research directions focused on iterative, accurate, and unified compression techniques for LLMs.
How can we compress language models without sacrificing accuracy? The number of compression algorithms for language models is rapidly growing to benefit from remarkable advances of recent language models without side effects due to the gigantic size of language models, such as increased carbon emissions and expensive maintenance fees. While numerous compression algorithms have shown remarkable progress in compressing language models, it ironically becomes challenging to capture emerging trends and identify the fundamental concepts underlying them due to the excessive number of algorithms. In this paper, we survey and summarize diverse compression algorithms including pruning, quantization, knowledge distillation, low-rank approximation, parameter sharing, and efficient architecture design. We not only summarize the overall trend of diverse compression algorithms but also select representative algorithms and provide in-depth analyses of them. We discuss the value of each category of compression algorithms, and the desired properties of low-cost compression algorithms which have a significant impact due to the emergence of large language models. Finally, we introduce promising future research topics based on our survey results.
Motivation & Objective
- Address the growing challenge of compressing large language models (LLMs) to reduce carbon emissions and high maintenance costs.
- Systematically survey diverse compression algorithms—including pruning, quantization, knowledge distillation, low-rank approximation, parameter sharing, and efficient architecture design—across high-cost and low-cost categories.
- Identify and analyze representative algorithms to clarify core principles and performance trends in model compression.
- Highlight the limitations of low-cost compression algorithms in preserving model performance, especially under high compression rates.
- Propose promising future research directions focused on cost-effective, accurate, and unified compression strategies for LLMs.
Proposed method
- Categorize and summarize 10+ compression techniques used in language model compression, including pruning, quantization, knowledge distillation, low-rank approximation, parameter sharing, and efficient architecture design.
- Select and analyze three representative algorithms per category: Kprune (pruning), GPTQ (quantization), and LLaMA-Adapter (parameter-efficient fine-tuning) for in-depth technical and performance comparison.
- Evaluate compression algorithms based on compression rate, inference speed, and accuracy retention, particularly under low-cost settings with limited fine-tuning data.
- Introduce a framework to assess the trade-offs between compression cost and performance, emphasizing the importance of iterative compression and error compensation.
- Propose a shift from proxy objectives (e.g., sublayer-wise reconstruction) to direct optimization of the target loss function to improve accuracy.
- Explore integration of parameter-efficient fine-tuning (PEFT) with high-accuracy compression methods to reduce retraining costs.
Experimental results
Research questions
- RQ1How can iterative compression processes improve the accuracy of low-cost compression algorithms in large language models?
- RQ2What are the key limitations of low-cost compression algorithms in preserving model performance, especially under high compression rates?
- RQ3How can direct optimization of the target objective function improve compression accuracy compared to proxy objectives like reconstruction error?
- RQ4In what ways can parameter-efficient fine-tuning (PEFT) replace expensive retraining in high-accuracy compression methods like knowledge distillation or low-rank approximation?
- RQ5What structural or architectural properties of LLMs cause severe accuracy degradation in pruning algorithms, and how can they be mitigated?
Key findings
- Low-cost compression algorithms often fail to preserve model performance due to one-shot weight transformation and insufficient recovery of features learned from large pretraining corpora.
- Kprune achieves significant performance improvement over other low-cost algorithms by using an iterative pruning and error compensation process, even at a 20% compression rate.
- Existing low-cost algorithms struggle with activation quantization below 8-bit precision, indicating a need for more accurate low-bit quantization techniques for LLMs.
- Pruning algorithms exhibit severe accuracy degradation in LLMs even at low compression rates, suggesting architectural or attention mechanism-specific vulnerabilities.
- Integrating PEFT with high-cost compression methods can reduce retraining costs while maintaining high accuracy, offering a promising path for efficient model compression.
- Unifying multiple compression techniques (e.g., pruning + quantization + low-rank approximation) is a viable strategy to achieve extremely high compression rates with minimal accuracy loss.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.