atlas

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

PB-LLM: Partially Binarized Large Language Models

ICLR 2024 · Large language models › Language, safety and interpretability · approach: LLM pruning and scaling data · 7 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.

Proposes PB-LLM, which binarizes most LLM weights while keeping a small fraction of salient weights at higher bit-width, and recovers accuracy via a Hessian-guided PTQ (PB-GPTQ) and a QAT scheme with frozen salient weights and analytically optimal scaling factors.

Problem

Network binarization of LLM weights to one bit collapses model performance, so extreme low-bit LLM compression that preserves reasoning ability is unsolved.

Approach

Partially binarize the weight matrix: detect a small fraction of salient weights (by magnitude) and store them in higher bits, binarize the rest with an analytically optimal per-channel scale (mean absolute value), and recover performance with GPTQ-style Hessian compensation (PTQ) or QAT with frozen salient weights.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply PB-LLM with 30% salient weights instead of LLM-QATLLaMA-7B · Seven common-sense tasks averageaccuracy: 66.6 -> 66.9Helped
Preserve 30% salient weights and fine-tune rather than use PB-GPTQ 30%LLaMA-7B · Seven common-sense tasks averageaccuracy: 54.2 -> 66.9Helped
Reduce the preserved salient-weight fraction from 30% to 10% (ablation)PB-LLM · Seven common-sense tasks averageaccuracy: 66.9 -> 60.6Hurt
Use Hessian rather than magnitude to select salient weights (ablation)PB-GPTQ · C4perplexity: 895.0322 -> 165.6767Helped
Use group-wise quantization with g=128 rather than non-group-wise quantization (ablation)PB-GPTQ Magnitude, OPT-1.3B · C4perplexity: 895.0322 -> 1230.8537Hurt
Use group-wise quantization with g=128 rather than non-group-wise quantization (ablation)PB-GPTQ Hessian, OPT-1.3B · C4perplexity: 165.6767 -> 157.8825Helped
Use group-wise rather than non-group-wise PB-GPTQ (ablation)PB-GPTQ · C4perplexity: The group-wise PB-GPTQ performs better or worse than the non-group-wise PB-GPTQ, but the difference is not significant.Mixed
Use PB-GPTQ rather than RTNOPT-1.3B with 10% salient weights by magnitude · C4perplexity: 4889.0385 -> 895.0322Helped
Preserve 10% salient weights rather than 30% with PB-GPTQ (ablation)LLaMA-7B · Seven common-sense tasks averageaccuracy: 54.2 -> 36.5Hurt
Use PB-GPTQ rather than GPTQ 4bLLaMA-7B with 50% salient weights · C4perplexity: 8.6977 -> 8.1466Helped
Use PB-GPTQ rather than GPTQ 4bLLaMA-7B with 50% salient weights · WikiText2perplexity: 8.1368 -> 6.3089Helped
Use PB-GPTQ rather than GPTQ 4bLLaMA-7B with 50% salient weights · PTBperplexity: 57.9951 -> 54.8674Helped

Surprising findings

Limitations

Experimental setup

Datasets: RedPajama-simple-1B C4 WikiText2 PTB BoolQ PIQA HellaSwag WinoGrande ARC-Easy ARC-Challenge OpenBookQA

Benchmarks: BoolQ PIQA HellaSwag WinoGrande ARC-Easy ARC-Challenge OpenBookQA WikiText2 C4 PTB

Metrics: accuracy average accuracy over seven tasks perplexity

Baselines: RTN SmoothQuant LLM-QAT GPTQ SparseGPT BNN XNOR Bi-Real ReCU FDA

Builds on: GPTQ SparseGPT XNOR-Net BiBench AWQ

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