atlas

Research map / Architectures and efficiency / Quantization

Norm Tweaking: High-Performance Low-Bit Quantization of Large Language Models

AAAI 2024 · Architectures and efficiency › Quantization · approach: Post-training quantization of LLMs · 10 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 Norm-Tweaking, a plug-in PTQ step that tunes only LayerNorm/RMSNorm parameters with a channel-wise mean/variance distribution loss and self-generated calibration data, to recover accuracy in 2-bit and W4A8 quantization of LLMs.

Problem

Low-bit (2-bit weight-only and W4A8) post-training quantization of LLMs causes severe accuracy degradation, with quantized activation distributions drifting from float ones layer by layer.

Approach

Adjust only the LayerNorm (or RMSNorm) parameters of each quantized transformer block, after GPTQ quantization, to match per-channel mean and variance of the float model's activations, using a small learning rate, one iteration over LLM-generated calibration text, and a layer-wise increasing learning rate schedule.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply Norm-Tweaking to GPTQ W2BLOOM-7B1 · LAMBADAaccuracy: 33.4714 -> 37.4539Helped
Apply Norm-Tweaking to GPTQ W2BLOOM-176B · LAMBADAaccuracy: 63.0507 -> 65.6317Helped
Apply Norm-Tweaking to GPTQ W2LLaMa-7B · LAMBADAaccuracy: 11.8766 -> 21.3856Helped
Apply Norm-Tweaking to GPTQ W2LLaMa-65B · LAMBADAaccuracy: 57.1512 -> 67.4753Helped
Apply Norm-Tweaking to GPTQ W4GLM-130B · LAMBADAaccuracy: 69.2218 -> 69.1964Hurt
Apply Norm-Tweaking to GPTQ W2GLM-130B · LAMBADAaccuracy: 67.6499 -> 69.4293Helped
Add Norm-Tweaking to RTN W4A16BLOOM-7B · LAMBADAaccuracy: 48.3602 -> 51.5622Helped
Add Norm-Tweaking to SmoothQuant W4A8BLOOM-7B · LAMBADAaccuracy: 53.9492 -> 54.5896Helped
Use 2 tweaking iterations rather than 1 (ablation)Norm-Tweaking on BLOOM-7B · LAMBADAaccuracy: 57.4811 -> 55.7539Hurt
Use 5 tweaking iterations rather than 1 (ablation)Norm-Tweaking on BLOOM-7B · LAMBADAaccuracy: 57.4811 -> 52.1056Hurt
Use 10 tweaking iterations rather than 1 (ablation)Norm-Tweaking on BLOOM-7B · LAMBADAaccuracy: 57.4811 -> 46.8465Hurt
Use 20 tweaking iterations rather than 1 (ablation)Norm-Tweaking on BLOOM-7B · LAMBADAaccuracy: 57.4811 -> 32.3307Hurt

Surprising findings

Limitations

Experimental setup

Datasets: LLM-generated calibration data WikiText-2 PTB C4

Benchmarks: LAMBADA HellaSwag PIQA WinoGrande OpenBookQA RTE MRPC QNLI BoolQ CB COPA WiC

Metrics: accuracy perplexity

Baselines: GPTQ SmoothQuant RTN OmniQuant AWQ ZeroQuant-V2

Builds on: GPTQ SmoothQuant LLM-QAT RTN

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