CMPQ: Compensatory Quantization via Input-Aware Hessian Damping

Deng Pan, Grigorii Khvatskii, Xiaobao Huang, Peiyu Li, Shangqian Gao, Ting Hua, Nitesh V. ChawlaNeurIPS 2026

TL;DR

When you shrink massive language models down to 2-bit or 3-bit weights so they fit on everyday GPUs, standard compression algorithms accidentally calibrate deeper layers using noisy, corrupted outputs from earlier layers—like playing a neural game of telephone. CMPQ (Compensatory Quantization) fixes this by measuring where that upstream noise lives and folding it directly into the optimization landscape. The result is a zero-overhead, drop-in upgrade to standard quantization that prevents models from collapsing into gibberish at ultra-low 2-bit precision.

What Problem Does This Paper Address?

To run giant LLMs without a supercomputer, engineers rely on Post-Training Quantization (PTQ)—rounding 16-bit weights down to 4, 3, or 2 bits using a tiny calibration dataset and zero gradient retraining. The gold-standard solver for this is GPTQ, which marches through a weight matrix column by column. Whenever it rounds a column of weights, it tweaks the remaining unquantized columns to compensate for the rounding error, guided by the Hessian ($H = XX^\top$), a matrix capturing the second-order curvature (sensitivity) of the layer's calibration inputs $X$.

Here is the catch: layers are quantized sequentially. By the time you reach layer 20, the input $X$ you feed it isn't crisp, clean data—it is the output of 19 previously quantized, slightly broken layers.

Two failure modes of existing weight-only solvers under upstream noise: GPTQ anchors to a corrupted input snapshot (a), while GPTAQ's per-column residual correction drifts away from the true target as columns are updated (b).

Standard GPTQ treats this single noisy snapshot $X$ as ground truth, over-optimizing for a corrupted signal and remaining blind to the broader neighborhood of noise it will face at inference time (Figure a). A recent fix called GPTAQ tries to directly subtract out this noise column-by-column. However, because GPTAQ calculates its correction against weights that are actively being modified during the loop, its target drifts—creating a compounding "missed correction" gap across columns (Figure b).

Methods

CMPQ sidesteps both traps by acting on the curvature before the column-by-column rounding loop even begins.

Instead of chasing the noise with a drifting per-column patch, the authors frame the problem using a classic statistical tool: an errors-in-variables (EIV) model. During calibration, CMPQ runs two forward passes side-by-side: the clean 16-bit model (producing reference activations $X^{\text{ref}}$) and the quantized chain (producing noisy activations $X$).

  1. Measure the Noise Covariance: It computes the exact upstream divergence $\Delta X = X - X^{\text{ref}}$ and forms its sample covariance matrix, $V = \Delta X \Delta X^\top$.
  2. Reshape the Hessian: Minimizing expected reconstruction error under Gaussian input noise mathematically reduces to adding $V$ right onto GPTQ's standard Hessian: $\hat{H} = H + \lambda r V$ (where $\lambda$ is a scalar strength and $r$ normalizes the trace of $V$ to match $H$ so $\lambda$ behaves uniformly across all layers).
  3. Run Standard GPTQ: This noise-augmented Hessian $\hat{H}$ is handed verbatim to the untouched GPTQ Cholesky solver.

Intuitively, $\hat{H}$ inflates the curvature along noisy input directions. When the solver sees high curvature in an unreliable direction, it stops wasting its compensation budget trying to fit upstream static and redirects its effort toward clean, reliable input subspaces. Even better, because CMPQ only alters calibration math, the saved checkpoint format and inference speed are 100% identical to vanilla GPTQ.

Datasets

No new benchmarks are introduced; the authors use standard open-source datasets strictly for calibration and evaluation:

  • Calibration: 128 sequences (2048 tokens each) from the C4 training split.
  • Perplexity Evaluation: WikiText-2 (also used to pick $\lambda$ from $\{0.01, 0.1, 0.5, 1\}$) and C4 validation.
  • Zero-Shot Reasoning: Six tasks via lm-evaluation-harness: ARC-Easy, ARC-Challenge, HellaSwag, PIQA, WinoGrande, and BoolQ.

Key Insights and Ideas

  • Treat corruption as directional evidence, not a target: Trying to cancel out activation noise at every step (like GPTAQ) invites compounding drift because the weights themselves are moving targets. Encoding noise as static second-order curvature ($V$) before rounding begins completely eliminates drift.
  • Directionality matters (Anisotropic Damping): Vanilla GPTQ already adds tiny uniform damping ($\epsilon I$) to keep matrices invertible. Ablations replacing CMPQ's full covariance $V$ with isotropic or diagonal-only damping degraded sharply at higher $\lambda$—proving you need the exact off-diagonal geometry of the noise subspace.
  • Plug-and-play composability: Because CMPQ only touches the Hessian, it slots cleanly into advanced rounding methods like QuIP# (which uses Hadamard rotations and lattice codebooks), boosting their accuracy too.

Key Results

Tested on Qwen3-Base (4B, 8B, and 14B parameters)—with extra checks on Qwen2.5-7B and Mistral-Nemo-12B—CMPQ shines brightest when bit-widths get painfully tight:

Main results at 2-bit weight-only quantization across Qwen3 models.
  • Rescuing 2-bit Collapse: At 2-bit precision, GPTQ and AWQ crash to near-random zero-shot averages (37%–43%). CMPQ achieves 54.74%, 58.08%, and 65.68% on Qwen3-4B, 8B, and 14B—beating GPTQ by +17 to +22.7 points, outperforming GPTAQ across every single zero-shot task on all three models (+3.2 to +6.8 points on average), and recovering 76%–85% of full BF16 performance.
  • 3-bit Gains: CMPQ beats GPTQ across all models (+2.8 to +3.8 zero-shot points and lower perplexity) while remaining neck-and-neck with GPTAQ.
  • Negligible Overhead: On a single A100 GPU, CMPQ uses modestly more peak calibration memory (for the paired FP16 pass), while wall-clock quantization time stays within normal run-to-run variation and inference overhead is literally zero.

Limitations and Future Work

  • Zero-mean noise assumption: The mathematical derivation assumes upstream quantization noise has zero mean. In practice, on 2-bit Qwen3 models, nonzero noise means account for a median of 6%–9% (and up to 29%–37% in worst-case layers) of $V$'s trace.
  • Evaluation scope: When testing composability with QuIP#, the authors omitted QuIP#'s fine-tuning stage and evaluated on only two model sizes.
  • Future combinations: Because CMPQ acts on second-order curvature before the solver loop while activation scalers (like AWQ) and drift-corrected first-order updates act elsewhere, the authors note these orthogonal techniques could be combined in future pipelines.

Summary updated

Abstract

As large language models (LLMs) scale, post-training weight quantization (PTQ) has become a standard tool for deploying them on commodity hardware with little loss in quality. However, existing quantization solvers such as GPTQ calibrate each weight matrix against a corrupted signal: the calibration input observed at any deep layer is the output of the cumulative quantized chain, not a clean full-precision reference. We propose \textbf{CMPQ (Compensatory Quantization)}, which reframes the corruption as evidence about \emph{which input directions have become unreliable} and tells the solver to stop spending its compensation budget on them. CMPQ measures the divergence between the quantized and full-precision input and uses it to reshape the curvature that GPTQ already relies on, redirecting compensation onto weights attached to clean input subspaces and cutting the propagation path of upstream noise. On the Qwen3 family at three sizes (4B / 8B / 14B), CMPQ improves over GPTQ and is competitive with GPTAQ at 3-bit; at 2-bit, where GPTQ and AWQ collapse to near-random accuracy, it outperforms all baselines.
BibTeX
@inproceedings{pan2026cmpq,
  author = {DENG PAN and Grigorii Khvatskii and Xiaobao Huang and Peiyu Li and Shangqian Gao and Ting Hua and Nitesh V. Chawla},
  title = {{CMPQ: Compensatory Quantization via Input-Aware Hessian Damping}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=LmeQn4hd4y},
}
Figure