Efficiency · Training

Compression Algorithms for LLMs

First page
Compression Algorithms for LLMs
Paper summary

A survey covering the main families of LLM compression techniques and when each one is appropriate.

Ask this paper

Key points
01

Six technique families: Pruning, quantization, knowledge distillation, low-rank approximation, parameter sharing, and efficient architecture design - with worked examples in each.

02

Trade-off framing: Walks through memory, latency, and accuracy trade-offs so practitioners can pick techniques that match their deployment constraints.

03

Training vs. post-training: Distinguishes methods that require retraining or fine-tuning from purely post-training approaches, a practical axis for production teams.

04

Open problems: Flags hardware co-design, combining compression techniques, and evaluating compressed LLMs on long-context and reasoning tasks as under-explored areas.

Abstract

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.

Every Monday
Get next week’s papers.
Subscribe on Substack