atlas

Research map / Large language models / Language, safety and interpretability

Evaluating Quantized Large Language Models

ICML 2024 · Large language models › Language, safety and interpretability · approach: LLM unlearning and benchmarks · 9 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Comprehensive evaluation of post-training quantization (weight-only, weight-activation, KV cache) across 11 LLM families (125M–180B) on basic NLP, emergent abilities, trustworthiness, dialogue, and long-context tasks, yielding bit-width recommendations.

Problem

Existing evaluations of quantized LLMs cover only a few tensor types (mostly weights/activations) and a narrow set of tasks, leaving unclear how PTQ affects KV cache, trustworthiness, dialogue, and long-context performance across model families and sizes.

Approach

Systematically benchmark weight-only, weight-activation, and KV cache quantization (with uniform group-wise/per-token formats) across many model families and sizes and many task types, complemented by tensor statistics (AbsMax, std, kurtosis) to explain sensitivity, and summarize bit-width recommendations per task.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use AWQ instead of RTN for W3 weight quantizationLLaMA2 · LAMBADAaccuracy: 66.41 -> 69.63; 76.46 -> 78.73Helped
Use AWQ instead of RTN for W2 weight quantizationLLaMA2-70B · LAMBADAaccuracy: 16.96 -> 0.00Hurt
Use SmoothQuant for W4A4 instead of RTNLLaMA2 · LAMBADAaccuracy: 4.31 -> 25.56; 0.04 -> 38.11Helped
Quantize weights to W4LLaMA2-13B-chat · MT-bench turn 2GPT-4 score: 5.05 -> 4.65Hurt
Quantize weights and activations to W4A4LLaMA2-13B-chat · MT-bench turn 1GPT-4 score: 5.72 -> 1.00Hurt
Use SmoothQuant with W4A4 instead of ordinary W4A4 quantizationLLaMA2-13B-chat · MT-bench turn 1GPT-4 score: 1.00 -> 2.34Helped
Quantize the KV cache to KV4LLaMA2-13B-chat · MT-bench turn 1GPT-4 score: 5.72 -> 5.86No clear effect
Quantize weights to W3LLaMA2-7B · Self-CalibrationperformanceHurt
Quantize weights and KV cache to W8KV8LLaMA2-7B-chat · MT-bench averageGPT-4 score: 4.73 -> 4.72No clear effect
Quantize weights and KV cache to W8KV4Vicuna-7B · LongEval 16Kaccuracy: 57.80 -> 37.00Hurt
Quantize weights and KV cache to W4KV8Vicuna-7B · LongEval 16Kaccuracy: 57.80 -> 59.60No clear effect
Quantize weights and KV cache to W4KV4LLaMA2-7B · LAMBADAaccuracy: 73.32 -> 70.54Hurt

Surprising findings

Limitations

Experimental setup

Datasets: CHID Winogrande RACE LAMBADA PIQA SIQA MMLU CEval GSM8K StrategyQA Hellaswag ARC

Benchmarks: CHID Winogrande RACE LAMBADA PIQA SIQA MMLU CEval GSM8K StrategyQA Hellaswag ARC

Metrics: accuracy GPT-4 score normalized performance Spearman correlation kurtosis

Baselines: AWQ SmoothQuant RTN

Builds on: AWQ SmoothQuant GPTQ LLM.int8() KIVI

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy