atlas

Research map / Architectures and efficiency / Quantization

QERA: an Analytical Framework for Quantization Error Reconstruction

ICLR 2025 · Architectures and efficiency › Quantization · approach: Post-training quantization of LLMs · 0 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 QERA, an analytical closed-form solution for quantization error reconstruction that minimizes layer output error (exact and diagonal-approximate variants), applied to QPEFT initialization and PTQ.

Problem

Low-rank error reconstruction for quantized LLMs is usually computed by SVD of the weight quantization error, which minimizes weight error rather than layer/model output error; prior activation-aware heuristics (LQER, LQ-LoRA) lack theoretical grounding for QPEFT and PTQ.

Approach

Derives a closed-form optimal low-rank term that minimizes expected layer output error: exact solution via SVD of R_XX^{1/2}(W - W~) (QERA-exact), and a diagonal approximation under an uncorrelated-input assumption (QERA-approx) that reduces to a scaled SVD similar to LQER but with theoretical justification.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Initialize quantized RoBERTa-base with QERA-approx instead of LoftQRoBERTa-base fine-tuning · GLUE, 3.25-bitaverage accuracy: 73.31 -> 77.43Helped
Initialize quantized RoBERTa-base with QERA-exact instead of LoftQRoBERTa-base fine-tuning · GLUE, 2.50-bitaverage accuracy: 70.18 -> 76.23Helped
Initialize low-rank terms with QERA-approx instead of LoftQLLaMA-3.1-8B fine-tuning · GSM8K, 2.25-bitaccuracy: 13.72 (-42.00) -> 19.41 (-36.31)Helped
Use QERA-exact rather than LQER for low-rank error reconstructionLLaMA-3.1-80B PTQ · WikiText2, 4.25-bitperplexity: 4.10 -> 3.82Helped
Use QERA-exact rather than QERA-approx for low-rank error reconstruction (ablation)LLaMA-2-7B PTQ · WikiText2, 3.25-bitperplexity: 10.99 -> 10.67Helped
Use QERA-exact rather than HQQLLaMA-3.1-80B PTQ · six-task averageaverage accuracy: 71.31 -> 71.42Helped
Increase LoftQ iterations while minimizing weight approximation error (ablation)RoBERTa-base quantization error reconstruction · Model output error, rank 8model output errorMixed
Increase LoftQ rank (ablation)RoBERTa-base quantization error reconstruction · Model output error across 2-, 3-, and 4-bit settingsmodel output errorMixed
Increase QERA-approx rank (ablation)RoBERTa-base quantization error reconstruction · Model output error across precision settingsmodel output errorHelped
Calibrate QERA on WikiText2 instead of SST2 (ablation)2-bit RoBERTa-base fine-tuning · SST2training lossHelped
Increase calibration sample count (ablation)LQER · PTQ model performancemodel performanceNo clear effect
Increase calibration sample count (ablation)QERA · PTQ model performancemodel performanceHelped

Surprising findings

Limitations

Experimental setup

Datasets: GLUE SlimPajama GSM8K WikiText2 SST2 MRPC

Benchmarks: GLUE WikiText2 ARC-challenge BoolQ CommonSenseQA Winogrande MMLU BigBench-Hard GSM8K SlimPajama AlpacaEval 2.0

Metrics: accuracy perplexity win rate

Baselines: LoRA QLoRA LoftQ ZeroQuant-V2 LQER HQQ w-only quantization

Builds on: LoftQ LQER ZeroQuant-V2 QLoRA CALDERA

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