atlas

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

Accuracy is Not All You Need

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: Uncertainty quantification for LLMs · 3 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.

Shows that LLM compression (quantization, layer dropping, pruning) can keep benchmark accuracy nearly unchanged while many individual answers flip correct/incorrect, and proposes flips and KL-divergence as distance metrics for evaluating compression.

Problem

Accuracy on benchmarks is the standard way to validate LLM compression, but similar accuracy can hide large changes in per-question model behavior that end users see, especially in free-form generation.

Approach

Introduces "flips" (percentage of answers changing correct to incorrect or incorrect to correct between baseline and compressed model) and KL-divergence as distance metrics, showing they correlate with each other and with MT-Bench degradation while accuracy stays flat.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Quantize to 8-bit weights and activations with BnB W8A8Llama2-70B chat · MT-Benchaverage score: 7.431 -> 7.059Hurt
Quantize to 8-bit weights and 16-bit activations with GPTQ W8A16Llama2-70B chat · MMLU 5-shotflips (%): 0.26No clear effect
Quantize to 4-bit weights and activations with BnB W4A4Llama2-70B chat · MT-Benchaverage score: 7.431 -> 7.018Hurt
Quantize to 4-bit weights and activations with BnB W4A4Llama2-70B chat · MMLU 5-shotflips (%): 5.65Hurt
Use lower-bit quantizationLLM compression methods · MMLU and other evaluated tasksflips (%)Hurt
Quantize models using methods other than GPTQ W8A16evaluated LLMs · seven benchmark tasksflips (%): up to 13.6%Hurt
Drop more model layersLlama2-13B · MMLU 5-shotflips (%)Hurt
Increase the pruning ratioWanda · MMLUflips (%)Hurt
Add Gaussian noise with standard deviation 3.0 to log-probability outputsLlama2-13B chat · Wiki-2KL divergence: 0.00 -> 1.86Hurt

Surprising findings

Limitations

Experimental setup

Datasets: MMLU PIQA HellaSwag ARC Easy ARC Challenge LAMBADA Winogrande GSM8K TriviaQA WikiText-2

Benchmarks: MMLU PIQA HellaSwag ARC Easy ARC Challenge LAMBADA Winogrande GSM8K TriviaQA MT-Bench

Metrics: accuracy flips AllFlips KL divergence perplexity MT-Bench score Spearman correlation

Baselines: GPTQ AWQ SmoothQuant LLM.int8() (BnB) Wanda SliceGPT layer dropping

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

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