atlas

Research map / Architectures and efficiency / Quantization

DuQuant: Distributing Outliers via Dual Transformation Makes Stronger Quantized LLMs

NeurIPS 2024 · Architectures and efficiency › Quantization · approach: Post-training quantization of LLMs · 16 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 DuQuant, a training-light 4-bit weight-activation PTQ method for LLMs that combines greedy-searched block-wise rotation, zigzag permutation, and a second rotation to spread both massive and normal outliers.

Problem

Low-bit weight-activation post-training quantization of LLMs is degraded by normal outliers (persistent across tokens) and massive outliers (very large values in few tokens, e.g., at FFN down-projection inputs), which existing smoothing methods handle poorly.

Approach

Use prior knowledge of outlier channels to build a greedy-searched block-diagonal rotation that moves outliers to neighboring channels, then a zigzag channel permutation that balances outlier magnitudes across blocks, followed by a second rotation; the same orthogonal transforms are applied to weights so no GPTQ or gradient-based training is needed for the core method.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use DuQuant instead of AtomLLaMA2-7B W4A4 · WikiText2perplexity: 8.40 -> 6.28Helped
Use DuQuant instead of AtomLLaMA2-7B W4A4 · C4perplexity: 10.96 -> 7.90Helped
Use DuQuant instead of AtomLLaMA1-7B W4A4 · Commonsense QA averageaccuracy: 56.88 -> 61.76Helped
Use DuQuant instead of AtomVicuna-v1.5-13B W4A4 · MMLU 0-shotaccuracy: 41.07 -> 50.94Helped
Use DuQuant instead of AtomVicuna-v1.5-7B W4A4 · LongBench averagescore: 34.34 -> 40.37Helped
Add smoothing (ablation)Rotation 1 + permutation + Rotation 2, LLaMA2-7B W4A4 · WikiText2perplexity: 6.79 -> 6.28Helped
Add smoothing (ablation)Rotation 1 + permutation + Rotation 2, LLaMA2-7B W4A4 · C4perplexity: 8.51 -> 7.90Helped
Add permutation and Rotation 2 (ablation)Smooth + Rotation 1, LLaMA2-7B W4A4 · WikiText2perplexity: 7.92 -> 6.28Helped
Add permutation and Rotation 2 (ablation)Smooth + Rotation 1, LLaMA2-7B W4A4 · C4perplexity: 10.64 -> 7.90Helped
Add Rotation 1 to smoothing (ablation)LLaMA2-7B W4A4 · WikiText2perplexity: NaN -> 7.92Helped
Add Rotation 1 to smoothing (ablation)LLaMA2-7B W4A4 · C4perplexity: 1379.46 -> 10.64Helped

Surprising findings

Limitations

Experimental setup

Datasets: WikiText2

Benchmarks: WikiText2 C4 PTB PIQA ARC-E ARC-C BoolQ HellaSwag WinoGrande MMLU MT-Bench LongBench

Metrics: perplexity zero-shot accuracy 5-shot accuracy win rate speedup peak memory

Baselines: SmoothQuant Outlier Suppression+ OmniQuant QLLM AffineQuant Atom QuaRot

Builds on: SmoothQuant QuaRot OmniQuant Atom

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