atlas

Research map / Architectures and efficiency / Quantization

LeanQuant: Accurate and Scalable Large Language Model Quantization with Loss-error-aware Grid

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 LeanQuant, a post-training weight quantization method that learns loss-error-aware affine and non-uniform grids inside the GPTQ/OBQ framework, enabling accurate and scalable quantization of models up to Llama-3.1 405B.

Problem

Iterative loss-error-based PTQ methods (OBQ/GPTQ) use min-max affine grids that fail to preserve precision for outliers in inverse Hessian diagonals, degrading quality at low bit widths; accurate methods also often need specialized kernels or heavy resources to scale to hundreds of billions of param

Approach

Replace the min-max affine grid with grids learned to minimize a Hessian-inverse-weighted quantization error (weights (H^-1_ii)^-p), using k-means with uniform initialization for non-uniform grids and a fused GPU kernel for enumerative search over affine scale/zero-point, so the result stays compatible with standard affine and non-uniform kernels.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use a loss-error-aware affine grid instead of the standard affine gridGPTQ-style quantization · Llama-3-8B, 3-bit affine zero-shot benchmarksaverage accuracy: 37.75 -> 56.13Helped
Use a loss-error-aware affine grid instead of the standard affine gridGPTQ-style quantization · Mistral-7B, 3-bit affine zero-shot benchmarksaverage accuracy: 52.60 -> 61.00Helped
Use a loss-error-aware non-uniform grid instead of SqueezeLLM's gridLlama-3-8B, 3.02-bit non-uniform quantization · zero-shot benchmarksaverage accuracy: 59.70 -> 62.97Helped
Use a loss-error-aware non-uniform grid instead of SqueezeLLM's gridMistral-7B, 4.05-bit non-uniform quantization · zero-shot benchmarksaverage accuracy: 65.73 -> 65.99Helped
Use loss-error-aware non-uniform rather than affine grids (ablation)LeanQuant on Mistral-Large-Instruct-2407 · 4-bit zero-shot benchmarksaverage accuracy: 79.28 -> 79.99Helped
Use loss-error-aware affine quantizationLeanQuant on Llama-3.1-405B-Instruct · 4.25-bit, group size 128 zero-shot benchmarksaverage accuracy: 80.83 -> 80.95Helped
Use loss-error-aware non-uniform gridsLeanQuant on Llama-3.1-405B-Instruct · 4.05-bit zero-shot benchmarksaverage accuracyHelped
Use LeanQuant-nu-Exact instead of OBQBERT-3 · SQuAD test, approximately 4-bit quantizationF1: 84.40 -> 84.58Helped
Use LeanQuant-nu-Exact instead of OBQBERT · SQuAD test, approximately 4-bit quantizationF1: 87.96 -> 88.49Helped
Use LeanQuant-nu-Exact instead of OBQBERT-3 · SQuAD test, approximately 3-bit quantizationF1: 83.47 -> 84.20Helped
Use LeanQuant-nu-Exact instead of OBQBERT · SQuAD test, approximately 3-bit quantizationF1: 84.72 -> 86.21Helped
Add uniformly spaced grid initialization rather than k-means++ initialization (ablation)LeanQuant-nu · 3-bit and 2-bit quantization across modelszero-shot accuracyHelped

Surprising findings

Limitations

Experimental setup

Datasets: C4 WikiText2 SQuAD

Benchmarks: ARC LAMBADA MMLU HellaSwag PIQA WinoGrande WikiText2 C4 MT-Bench SQuAD

Metrics: zero-shot accuracy perplexity win rate F1 peak GPU memory quantization time

Baselines: GPTQ OmniQuant AWQ SqueezeLLM QuaRot

Builds on: GPTQ Optimal Brain Quantization SqueezeLLM 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