atlas

Research map / Architectures and efficiency / Quantization

MagR: Weight Magnitude Reduction for Enhancing Post-Training Quantization

NeurIPS 2024 · Architectures and efficiency › Quantization · approach: Post-training weight quantization · 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.

Proposes MagR, a non-linear preprocessing step that reduces per-channel weight magnitudes via an l_infinity-regularized least-squares problem solved by proximal gradient descent, improving RTN/OPTQ post-training quantization of LLaMA models with no inference overhead.

Problem

Post-training quantization of LLMs to low bit-widths (especially INT2/INT3) loses accuracy; existing linear-transformation preprocessing methods reduce weight range but add inference overhead.

Approach

Preprocess each linear layer's weights by solving a column-wise l_inf-regularized layer-reconstruction problem (solved by proximal gradient with l1-ball projection) so the weight range shrinks while layer outputs are preserved; the transform is non-linear and requires no inference-time changes.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add MagR preprocessing before OPTQOPTQ on LLaMA2-7B W3A16 · WikiText2perplexity: 8.37 -> 6.41Helped
add MagR preprocessing before OPTQOPTQ on LLaMA2-7B W3A16 · C4perplexity: 9.81 -> 8.23Helped
add MagR preprocessing before OPTQOPTQ on LLaMA2-7B W4A16 · WikiText2perplexity: 5.83 -> 5.70Helped
add MagR preprocessing to QuIP (ablation)QuIP on LLaMA2-7B W2A16 · WikiText2perplexity: 27.13 -> 13.31Helped
set α from 0.001 to 0.0005 (ablation)MagR+OPTQ on LLaMA2-7B W4A16 · Wikitext2perplexity: 5.70 -> 5.72Hurt
set α from 0.001 to 0.0001 (ablation)MagR+OPTQ on LLaMA2-7B W4A16 · Wikitext2perplexity: 5.70 -> 5.78Hurt
set α from 0.001 to 0.00001 (ablation)MagR+OPTQ on LLaMA2-7B W4A16 · Wikitext2perplexity: 5.70 -> 5.81Hurt
set α from 0.001 to 0.005 (ablation)MagR+OPTQ on LLaMA2-7B W4A16 · Wikitext2perplexity: 5.70 -> 5.84Hurt
set β from 1 to 0.9 (ablation)MagR+OPTQ on LLaMA2-7B W3A16 · Wikitext2perplexity: 6.43 -> 6.41Helped
set β from 1 to 0.8 (ablation)MagR+OPTQ† on LLaMA2-7B W2A16 · Wikitext2perplexity: 16.99 -> 16.73Helped
set β from 1 to 0.9 (ablation)MagR+OPTQ† on LLaMA2-7B W2A16 · Wikitext2perplexity: 16.99 -> 20.88Hurt

Surprising findings

Limitations

Experimental setup

Datasets: WikiText2 C4

Benchmarks: WikiText2 C4 PIQA ARC-Easy ARC-Challenge Winogrande

Metrics: perplexity zero-shot accuracy runtime

Baselines: RTN OPTQ AWQ OmniQuant QuIP

Builds on: OPTQ AWQ QuIP OmniQuant

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